Searched refs:slprintf (Results 1 - 23 of 23) sorted by relevance

/PHP_TRUNK/ext/exif/
H A Dexif.c1041 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len);
1045 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset);
1049 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c);
1053 p += slprintf(buf+p, sizeof(buf)-p, " ");
1056 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp);
/PHP_TRUNK/ext/ftp/
H A Dftp.c1114 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args);
1120 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd);
/PHP_TRUNK/ext/hash/
H A Dhash.c822 len = slprintf(buf, 127, "MHASH_%s", algorithm.mhash_name, strlen(algorithm.mhash_name));
1077 s += slprintf(s, e - s, "%s ", str->val);
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c1337 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d", *(ISC_INT64 *) data);
1343 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, n % f);
1345 l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, -n % f);
1347 l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f);
1362 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, n % f);
1364 l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, -n % f);
1366 l = slprintf(string_data, sizeof(string_data), "-0.%0*ld", -scale, -n % f);
1406 l = slprintf(string_data, sizeof(string_data), "%02d/%02d/%4d %02d:%02d:%02d", t.tm_mon+1, t.tm_mday,
1410 l = slprintf(string_data, sizeof(string_data), "%02d/%02d/%4d", t.tm_mon + 1, t.tm_mday, t.tm_year+1900);
1413 l = slprintf(string_dat
[all...]
H A Dibase_service.c161 int chunk = slprintf(&buf[spb_len], sizeof(buf) - spb_len, "%c%c%c%s",
225 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%s" "%s:service_mgr",
444 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%s%c%c%c%c%c",
546 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%c%c",
555 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c",
H A Dinterbase.c859 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_args[i],(unsigned char)len[i],args[i]);
865 dpb_len = slprintf(dpb, buf_len, "%c\2%c%c", isc_dpb_num_buffers,
871 dpb_len = slprintf(dpb, buf_len, "%c\1%c", isc_dpb_force_write, largs[SYNC] == isc_spb_prp_wm_sync ? 1 : 0);
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_methods.cpp1263 ts_str_len = slprintf(ts_str, sizeof(ts_str), "@%I64d", ts);
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp75 id_len = slprintf(id, sizeof(offset_id), "GMT%+03d:%02d",
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c669 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_flags[i], (unsigned char)strlen(dpb_values[i]),
H A Dfirebird_statement.c343 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d",
346 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d.%0*" LL_MASK "d",
349 *len = slprintf(*ptr, CHAR_BUF_LEN, "-0.%0*" LL_MASK "d", -var->sqlscale, -n % f);
366 *len = slprintf(*ptr, CHAR_BUF_LEN, "%d", *(short*)var->sqldata);
370 *len = slprintf(*ptr, CHAR_BUF_LEN, "%ld", *(ISC_LONG*)var->sqldata);
374 *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d", *(ISC_INT64*)var->sqldata);
378 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F", *(float*)var->sqldata);
382 *len = slprintf(*ptr, CHAR_BUF_LEN, "%F" , *(double*)var->sqldata);
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c89 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line);
99 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line);
104 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, line);
108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line);
112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line);
116 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line);
120 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line);
124 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_CONTINUE (%s:%d)", what, file, line);
489 slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d",
510 slprintf(verst
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_mm.c287 if (!(euid_len = slprintf(euid, sizeof(euid), "%d", geteuid()))) {
H A Dsession.c1138 n = slprintf(buf, sizeof(buf), "%s, %02d %s %d %02d:%02d:%02d GMT", /* SAFE */
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2339 intern->file_name_len = slprintf(tmp_fname, sizeof(tmp_fname), "php://temp/maxmemory:%pd", max_memory);
/PHP_TRUNK/main/
H A DSAPI.c907 http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_response_code);
H A Dsnprintf.h24 Comparing: sprintf, snprintf, slprintf, spprintf
42 slprintf same as snprintf with the difference that it actually returns the
94 #ifdef slprintf
95 #undef slprintf macro
97 #define slprintf ap_php_slprintf macro
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c421 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s\r\n", SG(sapi_headers).http_status_line);
438 len = slprintf(buf, sizeof(buf), "Status:%s\r\n", s);
461 len = slprintf(buf, sizeof(buf), "Status: %d %s\r\n", SG(sapi_headers).http_response_code, err->msg);
463 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code);
596 len = slprintf(buf, len - 1, "%s=%s", name, value);
602 len = slprintf(buf, len - 1, "%s=", name);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c413 len = slprintf(buf, SAPI_CGI_MAX_HEADER_LENGTH, "%s\r\n", SG(sapi_headers).http_status_line);
430 len = slprintf(buf, sizeof(buf), "Status:%s\r\n", s);
453 len = slprintf(buf, sizeof(buf), "Status: %d %s\r\n", SG(sapi_headers).http_response_code, err->msg);
455 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c716 slprintf(buf, sizeof(buf), "%d", conf_getglobals()->Vport);
772 slprintf(buf, sizeof(buf), "%d", rc->http_error);
/PHP_TRUNK/ext/date/
H A Dphp_date.c1098 case 'd': length = slprintf(buffer, 32, "%02d", (int) t->d); break;
1099 case 'D': length = slprintf(buffer, 32, "%s", php_date_short_day_name(t->y, t->m, t->d)); break;
1100 case 'j': length = slprintf(buffer, 32, "%d", (int) t->d); break;
1101 case 'l': length = slprintf(buffer, 32, "%s", php_date_full_day_name(t->y, t->m, t->d)); break;
1102 case 'S': length = slprintf(buffer, 32, "%s", english_suffix(t->d)); break;
1103 case 'w': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_week(t->y, t->m, t->d)); break;
1104 case 'N': length = slprintf(buffer, 32, "%d", (int) timelib_iso_day_of_week(t->y, t->m, t->d)); break;
1105 case 'z': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_year(t->y, t->m, t->d)); break;
1110 length = slprintf(buffer, 32, "%02d", (int) isoweek); break; /* iso weeknr */
1113 length = slprintf(buffe
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3915 offset += slprintf(bufferTo + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host);
3944 offset += slprintf(bufferCc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host);
3970 offset += slprintf(bufferBcc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host);
/PHP_TRUNK/ext/standard/
H A Dhttp_fopen_wrapper.c590 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) {
614 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval));
629 scratch_len = slprintf(scratch, scratch_len, "Content-Length: %d\r\n", Z_STRLEN_P(tmpzval));
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c118 len = slprintf(status_line, 30, "HTTP/1.1 %d NA\r\n", SG(sapi_headers).http_response_code);
194 ctr.line_len = slprintf(buf, sizeof(buf), "Server: %s", TUXAPI_version);

Completed in 64 milliseconds