Searched refs:sprintf (Results 1 - 25 of 59) sorted by relevance

123

/PHP_TRUNK/ext/mysqli/tests/
H A Dskipifconnectfailure.inc7 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
H A Dlocal_infile_tools.inc17 return sprintf("Server variable 'local_infile' seems not set to 'ON', found '%s'", $row['Value']);
19 if (!mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name))) {
23 if (!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=%s',
29 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));
33 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
40 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));
46 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name));
101 if (!mysqli_query($link, sprintf("DELETE FROM test"))) {
106 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
/PHP_TRUNK/ext/pdo_firebird/tests/
H A Dtestdb.inc15 $test_db = ibase_query(IBASE_CREATE,sprintf("CREATE DATABASE '%s' USER '%s' PASSWORD '%s'",
/PHP_TRUNK/ext/phar/
H A Dshortarc.php235 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
271 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_trace_pread.c40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid);
/PHP_TRUNK/ext/intl/tests/
H A Dresourcebundle.inc11 return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
/PHP_TRUNK/ext/ldap/tests/
H A Dskipifbindfailure.inc9 die(sprintf("skip Can't bind to LDAP Server - [%d] %s", ldap_errno($link), ldap_error($link)));
/PHP_TRUNK/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c225 sprintf(buf_cp932, "%%%02x%%%02x", (c >> 8) & 0xff, c & 0xff);
228 sprintf(buf_cp932, "%%%02x", c);
257 sprintf(buf_cp932, "\\x%02x\\x%02x", (c >> 8) & 0xff, c & 0xff);
259 sprintf(buf_cp932, "\\x%02x", c);
309 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff);
313 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff);
316 sprintf(buf_cp50220, "%%%02x", c);
352 sprintf(buf_cp50220, "%%0e%%%02x%%0f", c - 0x80);
356 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff);
359 sprintf(buf_cp5022
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregposerr.c87 sprintf(tbuf, "undefined error code (%d)", posix_ecode);
H A Dregversion.c39 sprintf(s, "%d.%d.%d",
51 sprintf(s, "Oniguruma %d.%d.%d : Copyright (C) 2002-2008 K.Kosako",
H A Dregerror.c187 sprintf(s, "%02x", (v & 0377));
192 sprintf(s, "\\x%02x", (v & 0377));
/PHP_TRUNK/sapi/phpdbg/
H A Dweb-bootstrap.php16 define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP));
44 'SCRIPT_FILENAME' => sprintf(
H A Dtest.php3 include (sprintf("%s/web-bootstrap.php", dirname(__FILE__)));
9 private $sprintf = "%s: %s\n"; variable
12 printf($this->sprintf, __METHOD__, $greeting);
/PHP_TRUNK/ext/openssl/tests/
H A DServerClientTestCase.inc51 $cmd = sprintf('%s "%s" %s', PHP_BINARY, __FILE__, WORKER_ARGV_VALUE);
/PHP_TRUNK/ext/interbase/tests/
H A Dinterbase.inc18 sprintf("CREATE SCHEMA '%s' USER '%s' PASSWORD '%s' DEFAULT CHARACTER SET %s",$test_base,
72 return sprintf("%02d/%02d/%4d %02d:%02d:%02d",
83 $s .= sprintf("%c", rand() % 256);
93 $s .= sprintf("%c", rand() % 26 + 65);
/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_posix.c53 sprintf(shared_segment_name, "/ZendAccelerator.%d", getpid());
/PHP_TRUNK/Zend/
H A Dzend_config.nw.h62 #define zend_sprintf sprintf
H A Dzend_config.w32.h59 #define zend_sprintf sprintf
/PHP_TRUNK/main/
H A Dsnprintf.h24 Comparing: sprintf, snprintf, slprintf, spprintf
26 sprintf offers the ability to make a lot of failures since it does not know
27 the size of the buffer it uses. Therefore usage of sprintf often
29 use this version only if you are sure the call is safe. sprintf
60 sprintf(buffer, "test"); | snprintf(buffer, MAX, "test"); | spprintf(&buffer, MAX, "text");
63 // sprintf always terminates | // manual termination of | // spprintf allays terminates buffer
122 #ifdef sprintf
123 #undef sprintf macro
125 #define sprintf php_sprintf macro
/PHP_TRUNK/
H A Dserver-tests.php133 foreach($w1 as $idx => $val) $w2[sprintf("%03d<",$idx)] = sprintf("%03d- ", $idx+1).$val;
134 foreach($o1 as $idx => $val) $o2[sprintf("%03d>",$idx)] = sprintf("%03d+ ", $idx+1).$val;
624 $usage .= sprintf(" -%s %-12s %s\n",$arg,$arg_info[1],$arg_info[3]);
768 $info .= sprintf("%-20.s: %s\n",$k,$v);
780 $conf .= sprintf("%-20.s: %s\n",$k,$v);
925 "Exts skipped : " . sprintf("%4d",$this->exts_skipped) . "\n".
926 "Exts tested : " . sprintf("%4d",$this->exts_tested) . "\n".
928 "Number of tests : " . sprintf("
[all...]
H A Drun-tests.php2302 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2305 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2308 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2309 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2339 $diff[] = sprintf("%03d- ", $idx1 + 1) . $w[$idx1++];
2343 $diff[] = sprintf("%03d+ ", $idx2 + 1) . $ar2[$idx2++];
2474 Exts skipped : ' . sprintf('%4d', $exts_skipped) . '
2475 Exts tested : ' . sprintf('%4d', $exts_tested) . '
2481 Number of tests : ' . sprintf('%4d', $n_total) . ' ' . sprintf('
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapptype.c62 (void)sprintf(path, "%s%s%s%s", drive,
/PHP_TRUNK/ext/standard/html_tables/
H A Dhtml_table_gen.php125 echo sprintf($t, date("Y"));
219 sprintf("%02X", $i << 6)." = { {\n";
225 echo sprintf("0x%04X,", $mstable[$i][$j]);
348 echo "\t{ ", sprintf("0x%04X", $k), ", ", sprintf("0x%02X", $v[0]), " },\t/* ",
429 //echo sprintf("\t{\"%-21s 1, 0x%05d},\n", $matches[1].",", $matches[2]);
473 sprintf("%05s", $k), "[] = {", "\n";
477 echo "\t{ {", sprintf("\"%-21s", $v["default"].'",'),
478 "\t", sprintf("%02d", (count($v) - 1)), ",\t\t",
479 sprintf("
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_error_strerror.c52 sprintf(buf, "Unknown error %d", err->zip_err);
80 sprintf(s, "%s%s%s",
H A Dzip_source_win32a.c103 if (sprintf((char *)*temp, "%s.%08x", (const char *)ctx->fname, value) != len - 1) {

Completed in 68 milliseconds

123