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

123

/PHP_5_4/ext/ereg/regex/
H A Ddebug.c238 sprintf(buf, "%c", ch);
240 sprintf(buf, "\\%o", ch);
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_5_4/ext/pdo_firebird/tests/
H A Dtestdb.inc15 $test_db = ibase_query(IBASE_CREATE,sprintf("CREATE DATABASE '%s' USER '%s' PASSWORD '%s'",
/PHP_5_4/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_5_4/ext/zip/lib/
H A Dzip_error_strerror.c56 sprintf(buf, "Unknown error %d", err->zip_err);
84 sprintf(s, "%s%s%s",
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_trace_pread.c40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid);
/PHP_5_4/ext/fileinfo/libmagic/
H A Dapptype.c62 (void)sprintf(path, "%s%s%s%s", drive,
/PHP_5_4/ext/intl/tests/
H A Dresourcebundle.inc11 return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
/PHP_5_4/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_5_4/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_5_4/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_5_4/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_5_4/
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.php2203 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2206 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2209 $old1[$idx1] = sprintf("%03d- ", $idx1+1) . $w[$idx1++];
2210 $old2[$idx2] = sprintf("%03d+ ", $idx2+1) . $ar2[$idx2++];
2240 $diff[] = sprintf("%03d- ", $idx1 + 1) . $w[$idx1++];
2244 $diff[] = sprintf("%03d+ ", $idx2 + 1) . $ar2[$idx2++];
2375 Exts skipped : ' . sprintf('%4d', $exts_skipped) . '
2376 Exts tested : ' . sprintf('%4d', $exts_tested) . '
2382 Number of tests : ' . sprintf('%4d', $n_total) . ' ' . sprintf('
[all...]
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregerror.c200 sprintf((char* )(&(buf[len])), "\\%03o",
349 sprintf((char* )bs, "\\%03o", *p++ & 0377);
358 sprintf((char* )bs, "\\%03o", *p++ & 0377);
H A Dregposerr.c79 sprintf(tbuf, "undefined error code (%d)", posix_ecode);
H A Dregversion.c38 sprintf(s, "%d.%d.%d",
50 sprintf(s, "Oniguruma %d.%d.%d : Copyright (C) 2002-2006 K.Kosako",
/PHP_5_4/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_5_4/Zend/
H A Dzend_config.nw.h62 #define zend_sprintf sprintf
H A Dzend_config.w32.h60 #define zend_sprintf sprintf
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_bt.c237 sprintf(s_tmp, "#%d ", (*num)++);
248 sprintf(s_tmp, "(%ld): ", line);
414 sprintf(s_tmp, "#%d ", (*num)++);
424 sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line);
465 sprintf(s_tmp, "#%d {main}", num);
/PHP_5_4/ext/standard/html_tables/
H A Dhtml_table_gen.php122 echo sprintf($t, date("Y"));
216 sprintf("%02X", $i << 6)." = { {\n";
222 echo sprintf("0x%04X,", $mstable[$i][$j]);
345 echo "\t{ ", sprintf("0x%04X", $k), ", ", sprintf("0x%02X", $v[0]), " },\t/* ",
427 //echo sprintf("\t{\"%-21s 1, 0x%05d},\n", $matches[1].",", $matches[2]);
471 sprintf("%05s", $k), "[] = {", "\n";
475 echo "\t{ {", sprintf("%02d", count($v) - 1),
476 ",\t\t", sprintf("\"%-21s", $v["default"].'",'), "\t",
477 sprintf("
[all...]
/PHP_5_4/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);

Completed in 55 milliseconds

123