Home
last modified time | relevance | path

Searched refs:bin (Results 1 – 25 of 118) sorted by relevance

12345

/PHP-5.3/tests/security/
H A Dopen_basedir_001.phpt8 if (!is_dir("/usr/local/bin")) {
9 die('skip.. no /usr/local/bin on this machine');
15 var_dump(ini_set("open_basedir", "/usr/local/bin"));
22 string(14) "/usr/local/bin"
24 string(14) "/usr/local/bin"
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_bit.phpt28 $bin = '';
31 $bin .= '1';
34 $bin .= '0';
37 return $bin;
78 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
79 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
80 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++)
82 $bin2 = substr($bin, $i, strlen($bin));
100 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
103 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
[all …]
H A Dmysqli_fetch_assoc_bit.phpt25 $bin = '';
28 $bin .= '1';
31 $bin .= '0';
34 return $bin;
72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
74 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++)
76 $bin2 = substr($bin, $i, strlen($bin));
88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
[all …]
H A Dmysqli_stmt_bind_result_bit.phpt16 $bin = '';
19 $bin .= '1';
22 $bin .= '0';
25 return $bin;
89 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
90 for ($i = 0; ($i < strlen($bin)) && ($bin[$i] == '0'); $i++)
92 $bin2 = substr($bin, $i, strlen($bin));
126 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
128 … printf("[012 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n",
129 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
/PHP-5.3/ext/standard/tests/general_functions/
H A Dproc_open02.phpt5 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
13 '/bin/sleep 2',
37 string(12) "/bin/sleep 2"
56 string(12) "/bin/sleep 2"
H A Dbug34794.phpt5 if (!is_executable('/bin/cat')) echo 'skip cat not found';
10 $process1 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes1);
13 $process2 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes2);
H A Dbug39322.phpt6 if (!is_executable('/bin/sleep')) echo 'skip sleep not found';
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
29 string(14) "/bin/sleep 120"
H A Dproc_open.phpt5 if (!is_executable("/bin/cat")) echo "skip";
17 "/bin/cat",
/PHP-5.3/ext/ereg/regex/
H A Dmkh3 PATH=/bin:/usr/bin ; export PATH
/PHP-5.3/ext/pgsql/tests/
H A D17result.phpt33 ["bin"]=>
47 ["bin"]=>
63 ["bin"]=>
H A D10pg_convert.phpt16 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
27 ["bin"]=>
H A D10pg_convert_85.phpt17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
28 ["bin"]=>
H A D12pg_insert.phpt15 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
23 INSERT INTO php_pgsql_test (num,str,bin) VALUES (1234,'AAA','BBB');
H A D12pg_insert_85.phpt17 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
25 INSERT INTO php_pgsql_test (num,str,bin) VALUES (1234,'AAA','\\x424242');
H A D18pg_escape_bytea.phpt16 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
19 $unesc_image = pg_unescape_bytea($rows[0]['bin']);
H A D14pg_update.phpt15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
24 UPDATE php_pgsql_test SET num=1234,str='ABC',bin='XYZ' WHERE num=1234;
H A D13pg_select.phpt15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
32 ["bin"]=>
H A D13pg_select_85.phpt15 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
32 ["bin"]=>
H A D14pg_update_85.phpt17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
26 UPDATE php_pgsql_test SET num=1234,str='ABC',bin='\\x58595a' WHERE num=1234;
H A D08escape.phpt46 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (-9999, CAST ('".$escaped_data."' AS BYTEA));…
50 $sql = "SELECT bin::bytea FROM ".$table_name." WHERE num = -9999";
54 if ($data === pg_unescape_bytea($row['bin'])) {
/PHP-5.3/sapi/roxen/
H A Dconfig.m418 if test -f $PHP_ROXEN/bin/roxen; then
19 PIKE=$PHP_ROXEN/bin/roxen
20 elif test -f $PHP_ROXEN/bin/pike; then
21 PIKE=$PHP_ROXEN/bin/pike
23 AC_MSG_ERROR([Could not find a pike in $PHP_ROXEN/bin/])
/PHP-5.3/ext/zlib/
H A Dzlib_filter.c81 size_t bin = 0, desired; in php_zlib_inflate_filter() local
84 while (bin < bucket->buflen) { in php_zlib_inflate_filter()
91 desired = bucket->buflen - bin; in php_zlib_inflate_filter()
95 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_inflate_filter()
114 bin += desired; in php_zlib_inflate_filter()
206 size_t bin = 0, desired; in php_zlib_deflate_filter() local
210 while (bin < bucket->buflen) { in php_zlib_deflate_filter()
211 desired = bucket->buflen - bin; in php_zlib_deflate_filter()
215 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_deflate_filter()
228 bin += desired; in php_zlib_deflate_filter()
/PHP-5.3/ext/bz2/
H A Dbz2_filter.c92 size_t bin = 0, desired; in php_bz2_decompress_filter() local
95 while (bin < bucket->buflen) { in php_bz2_decompress_filter()
111 desired = bucket->buflen - bin; in php_bz2_decompress_filter()
115 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_decompress_filter()
136 bin += desired; in php_bz2_decompress_filter()
229 size_t bin = 0, desired; in php_bz2_compress_filter() local
233 while (bin < bucket->buflen) { in php_bz2_compress_filter()
234 desired = bucket->buflen - bin; in php_bz2_compress_filter()
238 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_bz2_compress_filter()
251 bin += desired; in php_bz2_compress_filter()
/PHP-5.3/sapi/caudium/
H A Dconfig.m421 if test -f $PHP_CAUDIUM/bin/caudium; then
22 PIKE=$PHP_CAUDIUM/bin/caudium
23 elif test -f $PHP_CAUDIUM/bin/pike; then
24 PIKE=$PHP_CAUDIUM/bin/pike
26 AC_MSG_ERROR([Could not find a pike in $PHP_CAUDIUM/bin/])
/PHP-5.3/
H A Dconfig.guess324 case `/usr/bin/uname -p` in
465 UNAME_PROCESSOR=`/usr/bin/uname -p`
502 if [ -x /usr/bin/oslevel ] ; then
503 IBM_REV=`/usr/bin/oslevel`
542 if [ -x /usr/bin/oslevel ] ; then
543 IBM_REV=`/usr/bin/oslevel`
576 if [ -x /usr/bin/getconf ]; then
1077 case `/bin/uname -X | grep "^Machine"` in
1088 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1137 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
[all …]

Completed in 26 milliseconds

12345