Home
last modified time | relevance | path

Searched refs:snprintf (Results 51 – 75 of 122) sorted by relevance

12345

/PHP-5.4/ext/mysqli/
H A Dmysqli.c955 snprintf(buf, sizeof(buf), "%ld", MyG(num_active_persistent)); in PHP_MINFO_FUNCTION()
957 snprintf(buf, sizeof(buf), "%ld", MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION()
959 snprintf(buf, sizeof(buf), "%ld", MyG(num_links)); in PHP_MINFO_FUNCTION()
1174snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LL… in php_mysqli_fetch_into_hash_aux()
1392 snprintf((char *)data->error_msg, sizeof(data->error_msg), "Can't find file '%-.64s'.", filename); in php_local_infile_init()
/PHP-5.4/ext/dom/
H A Delement.c714 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs()
716 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs()
722 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs()
724 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs()
/PHP-5.4/ext/zip/lib/
H A Dzip_close.c531 snprintf(buf, sizeof(buf), "%08lX", (long)crc); in write_cdir()
613 snprintf(temp, len, "%s.XXXXXX", za->zn); in _zip_create_temp_output()
/PHP-5.4/ext/gd/libgd/
H A Dgd_jpeg.c212snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), quality = %d\n", … in gdImageJpegCtx()
214snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), default quality\n… in gdImageJpegCtx()
H A Dgdft.c386 snprintf(fullname, sizeof(fullname) - 1, "%s", name);
407 snprintf(fullname, sizeof(fullname) - 1, "%s/%s%s", dir, name, ext); \
/PHP-5.4/ext/standard/
H A Diptc.c347 snprintf(key, sizeof(key), "%d#%03d", (unsigned int) dataset, (unsigned int) recnum); in PHP_FUNCTION()
H A Ddir.c466 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
H A Dscanf.c1065 snprintf(buf, sizeof(buf), "%lu", value); /* INTL: ISO digit */ in php_sscanf_internal()
/PHP-5.4/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h139 char * (*snprintf)(int,char*,const char*,...); member
386 #define sqlite3_snprintf sqlite3_api->snprintf
/PHP-5.4/ext/ldap/
H A Dldap.c241 snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION()
243 snprintf(tmp, 31, "%ld/%ld", LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION()
248 snprintf(tmp, 31, "%d", LDAP_API_VERSION); in PHP_MINFO_FUNCTION()
257 snprintf(tmp, 31, "%d", LDAP_VENDOR_VERSION); in PHP_MINFO_FUNCTION()
263 snprintf(tmp, 31, "%F", SDKVersion/100.0); in PHP_MINFO_FUNCTION()
266 snprintf(tmp, 31, "%F", ver.protocol_version/100.0); in PHP_MINFO_FUNCTION()
269 snprintf(tmp, 31, "%F", ver.SSL_version/100.0); in PHP_MINFO_FUNCTION()
273 snprintf(tmp, 31, "%d", ver.security_level); in PHP_MINFO_FUNCTION()
/PHP-5.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c378 (void)snprintf(buf, sizeof(buf), "%c", in mprint()
399 (void)snprintf(buf, sizeof(buf), "%hu", in mprint()
422 (void)snprintf(buf, sizeof(buf), "%u", (uint32_t)v); in mprint()
535 (void)snprintf(buf, sizeof(buf), "%g", vf); in mprint()
555 (void)snprintf(buf, sizeof(buf), "%g", vd); in mprint()
/PHP-5.4/Zend/
H A Dzend.c176 snprintf(key, sizeof(key), "%ld", num_key); in print_hash()
246 …Z_STRLEN_P(expr_copy) = snprintf(Z_STRVAL_P(expr_copy), sizeof("Resource id #") - 1 + MAX_LENGTH_O… in zend_make_printable_zval()
905snprintf(new_info, new_info_length, " with %s v%s, %s, by %s\n", extension->name, extension->ve… in END_EXTERN_C()
/PHP-5.4/sapi/litespeed/
H A Dlsapi_main.c393 len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, in sapi_lsapi_send_headers()
416 snprintf( buf, 8191, "%s\n", message ); in sapi_lsapi_log_message()
/PHP-5.4/ext/posix/
H A Dposix.c1220 snprintf(hard, 80, "hard %s", name); in posix_addlimit()
1221 snprintf(soft, 80, "soft %s", name); in posix_addlimit()
/PHP-5.4/ext/snmp/
H A Dsnmp.c628 snprintf(buf, buflen, "%d.%d.%d.%d", in php_snmp_getvalue()
640 snprintf(buf, buflen, "%lu", *vars->val.integer); in php_snmp_getvalue()
646 snprintf(buf, buflen, "%ld", *vars->val.integer); in php_snmp_getvalue()
653 snprintf(buf, buflen, "%f", *vars->val.floatVal); in php_snmp_getvalue()
658 snprintf(buf, buflen, "%Lf", *vars->val.doubleVal); in php_snmp_getvalue()
/PHP-5.4/ext/xsl/
H A Dxsltprocessor.c123 snprintf(value, str_len, "'%s'", string); in php_xsl_xslt_string_to_xpathexpr()
126 snprintf(value, str_len, "\"%s\"", string); in php_xsl_xslt_string_to_xpathexpr()
/PHP-5.4/ext/interbase/
H A Dibase_service.c323 snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result); in _php_ibase_service_query()
/PHP-5.4/ext/oci8/
H A Doci8.c1346 snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent)); in PHP_MINFO_FUNCTION()
1348 snprintf(buf, sizeof(buf), "%ld", OCI_G(num_links)); in PHP_MINFO_FUNCTION()
1357 snprintf(buf, sizeof(buf), "%d.%d", OCI_MAJOR_VERSION, OCI_MINOR_VERSION); in PHP_MINFO_FUNCTION()
1359 snprintf(buf, sizeof(buf), "%s", PHP_OCI8_ORACLE_VERSION); in PHP_MINFO_FUNCTION()
1361 snprintf(buf, sizeof(buf), "Unknown"); in PHP_MINFO_FUNCTION()
2457snprintf(version_buff, sizeof(version_buff), "%d.%d.%d.%d.%d", major_version, minor_version, updat… in php_oci_client_get_version()
/PHP-5.4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c727 snprintf(buf, in xml_elem_parse_buf()
/PHP-5.4/ext/zip/
H A Dphp_zip.c555 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
649 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
695 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, namelist[i]); in php_zip_pcre()
1733 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped); in php_zip_add_from_pattern()
/PHP-5.4/ext/readline/
H A Dreadline_cli.c571 snprintf(tmp, len, "%s::%s", (*pce)->name, retval); in cli_completion_generator()
/PHP-5.4/
H A Dacinclude.m41504 dnl Check for broken snprintf(), C99 conformance
1507 AC_CACHE_CHECK(whether snprintf is broken, ac_cv_broken_snprintf,[
1513 res = res || (snprintf(buf, 2, "marcus") != 6);
1516 snprintf(buf, 0, "boerger");
1519 res = res || (snprintf(NULL, 0, "boerger") != 7);
1520 res = res || (snprintf(buf, sizeof(buf), "%f", 0.12345678) != 8);
1532 AC_DEFINE(PHP_BROKEN_SNPRINTF, 1, [Whether snprintf is C99 conform])
1534 AC_DEFINE(PHP_BROKEN_SNPRINTF, 0, [Whether snprintf is C99 conform])
/PHP-5.4/main/streams/
H A Dplain_wrapper.c1423 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1477 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
/PHP-5.4/ext/odbc/
H A Dphp_odbc.c850 snprintf(buf, sizeof(buf), "%ld", ODBCG(num_persistent)); in PHP_MINFO_FUNCTION()
852 snprintf(buf, sizeof(buf), "%ld", ODBCG(num_links)); in PHP_MINFO_FUNCTION()
894 snprintf(state, sizeof(state), "HY000"); in odbc_sql_error()
895 snprintf(errormsg, sizeof(errormsg), "Failed to fetch error message"); in odbc_sql_error()
1509 snprintf(cursorname, max_len+1, "php_curs_%d", (int)result->stmt); in PHP_FUNCTION()
/PHP-5.4/ext/ereg/
H A Dereg.c273 snprintf(message, buf_len, "%s: ", buf); in php_ereg_eprint()

Completed in 144 milliseconds

12345