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

123

/PHP_TRUNK/ext/ereg/regex/
H A Dmain.c429 sprintf(grump, "start %ld end %ld", (long)sub.rm_so,
442 sprintf(grump, "start %ld end %ld, past end of string",
453 sprintf(grump, "matched `%.*s'", len, p);
459 sprintf(grump, "matched `%.*s' instead", len, p);
472 sprintf(grump, "matched null at `%.20s'", p);
505 sprintf(efbuf, "REG_%s", name);
/PHP_TRUNK/ext/mysqli/tests/
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'
H A Dskipifconnectfailure.inc7 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
/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/zip/lib/
H A Dzip_error_strerror.c56 sprintf(buf, "Unknown error %d", err->zip_err);
84 sprintf(s, "%s%s%s",
/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",
/PHP_TRUNK/ext/mysql/tests/
H A Dconnect.inc30 $host = sprintf("%s:%s", $host, $socket);
32 $host = sprintf("%s:%s", $host, $port);
H A Dskipifconnectfailure.inc5 $myhost = sprintf("%s:%s", $host, $socket);
7 $myhost = sprintf("%s:%s", $host, $port);
10 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysql_errno(), mysql_error()));
13 die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysql_errno(), mysql_error()));
/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;
625 $usage .= sprintf(" -%s %-12s %s\n",$arg,$arg_info[1],$arg_info[3]);
769 $info .= sprintf("%-20.s: %s\n",$k,$v);
781 $conf .= sprintf("%-20.s: %s\n",$k,$v);
926 "Exts skipped : " . sprintf("%4d",$this->exts_skipped) . "\n".
927 "Exts tested : " . sprintf("%4d",$this->exts_tested) . "\n".
929 "Number of tests : " . sprintf("
[all...]
H A Drun-tests.php2210 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2213 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2216 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2217 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2247 $diff[] = sprintf("%03d- ", $idx1 + 1) . $w[$idx1++];
2251 $diff[] = sprintf("%03d+ ", $idx2 + 1) . $ar2[$idx2++];
2382 Exts skipped : ' . sprintf('%4d', $exts_skipped) . '
2383 Exts tested : ' . sprintf('%4d', $exts_tested) . '
2389 Number of tests : ' . sprintf('%4d', $n_total) . ' ' . sprintf('
[all...]
/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/Zend/
H A Dzend_config.nw.h62 #define zend_sprintf sprintf
H A Dzend_config.w32.h60 #define zend_sprintf sprintf
/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_posix.c53 sprintf(shared_segment_name, "/ZendAccelerator.%d", getpid());
/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/ext/openssl/tests/
H A DServerClientTestCase.inc51 $cmd = sprintf('%s "%s" %s', PHP_BINARY, __FILE__, WORKER_ARGV_VALUE);
/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/* ",
430 //echo sprintf("\t{\"%-21s 1, 0x%05d},\n", $matches[1].",", $matches[2]);
474 sprintf("%05s", $k), "[] = {", "\n";
478 echo "\t{ {", sprintf("%02d", count($v) - 1),
479 ",\t\t", sprintf("\"%-21s", $v["default"].'",'), "\t",
480 sprintf("
[all...]
/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/sapi/phpdbg/tests/
H A Drun-tests.php200 $stats = @sprintf(
222 $stats = @sprintf(
267 $test = sprintf('%s/%s', $path, $file);
433 $options = sprintf('-i%s -nqb', $this->file);
436 $options = sprintf(
443 $options = sprintf(
505 $difffile = sprintf(
532 $log = sprintf(
570 'phpdbg' => realpath(sprintf(

Completed in 79 milliseconds

123