/PHP-5.5/ext/date/tests/ |
H A D | bug63435.phpt | 9 $res = $datetime->format("u"); 10 if ($res != $i) { 11 echo "$i != $res\n";
|
/PHP-5.5/ext/dba/ |
H A D | dba_inifile.c | 83 int res; in DBA_UPDATE_FUNC() local 91 res = inifile_append(dba, &ini_key, &ini_val TSRMLS_CC); in DBA_UPDATE_FUNC() 93 res = inifile_replace(dba, &ini_key, &ini_val TSRMLS_CC); in DBA_UPDATE_FUNC() 96 switch(res) { in DBA_UPDATE_FUNC() 126 int res; in DBA_DELETE_FUNC() local 131 res = inifile_delete(dba, &ini_key TSRMLS_CC); in DBA_DELETE_FUNC() 134 return (res == -1 ? FAILURE : SUCCESS); in DBA_DELETE_FUNC()
|
/PHP-5.5/ext/dba/libflatfile/ |
H A D | flatfile.c | 202 datum res; in flatfile_firstkey() local 221 res.dptr = buf; in flatfile_firstkey() 223 return res; in flatfile_firstkey() 236 res.dptr = NULL; in flatfile_firstkey() 237 res.dsize = 0; in flatfile_firstkey() 238 return res; in flatfile_firstkey() 245 datum res; in flatfile_nextkey() local 276 return res; in flatfile_nextkey() 280 res.dptr = NULL; in flatfile_nextkey() 281 res.dsize = 0; in flatfile_nextkey() [all …]
|
/PHP-5.5/ext/dba/libinifile/ |
H A D | inifile.c | 248 int res, grp_eq = 0; in inifile_fetch() local 263 if (!(res=inifile_key_cmp(&ln.key, key TSRMLS_CC))) { in inifile_fetch() 273 } else if (res == 1) { in inifile_fetch() 314 int res; in inifile_truncate() local 316 if ((res=php_stream_truncate_set_size(dba->fp, size)) != 0) { in inifile_truncate() 317 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in ftruncate: %d", res); in inifile_truncate() 338 int res; in inifile_find_group() local 341 res = 1; in inifile_find_group() 343 if ((res=inifile_key_cmp(&ln.key, key TSRMLS_CC)) < 2) { in inifile_find_group()
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_handler.inc | 70 $res = array(); 72 $res[$key] = dba_fetch($key, $db_file); 75 ksort($res); 76 var_dump($res);
|
/PHP-5.5/ext/exif/ |
H A D | test.txt | 310 $res = ''; 315 $res = ''; 325 $res .= AddInfo($Name,'Array('.count($Value).')'); 329 $res .= AddInfo($Name.':'.$idx,$Entry); 333 $res .= AddInfo($Name,$Value); 350 $tab2 .= $res;
|
/PHP-5.5/ext/fileinfo/ |
H A D | fileinfo.php | 10 $res = finfo_open(FILEINFO_MIME); /* return mime type ala mimetype extension */ variable 13 echo finfo_file($res, $file) . "\n"; 15 finfo_close($res);
|
H A D | libmagic.patch | 2154 + char *res; 2172 + res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl, 2184 + if (NULL == res) { 2200 + strncpy(ms->o.buf, res, res_len); 2203 + efree(res);
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | funcs.c | 447 char *res; in file_replace() local 465 res = php_pcre_replace_impl(pce, ms->o.buf, strlen(ms->o.buf), repl, in file_replace() 472 if (NULL == res) { in file_replace() 476 strncpy(ms->o.buf, res, res_len); in file_replace() 479 efree(res); in file_replace()
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | magic | 8514 # MULTIBEAM SONARS http://www.ldeo.columbia.edu/res/pi/MB-System/formatdoc/ 13791 # .res 13792 0 string \000\000\000\000\040\000\000\000\377 MSVC .res 13793 0 string \377\003\000\377\001\000\020\020\350 MSVC .res 13794 0 string \377\003\000\377\001\000\060\020\350 MSVC .res
|
/PHP-5.5/ext/filter/ |
H A D | logical_filters.c | 730 int res = 0; in php_filter_validate_ip() local 731 res = _php_filter_validate_ipv6(Z_STRVAL_P(value), Z_STRLEN_P(value) TSRMLS_CC); in php_filter_validate_ip() 732 if (res < 1) { in php_filter_validate_ip()
|
/PHP-5.5/ext/filter/tests/ |
H A D | 034.phpt | 25 $res =filter_var($val, FILTER_VALIDATE_BOOLEAN); 26 if ($res !== $exp) { 27 echo "$val failed,'$exp' expect, '$res' received.\n";
|
H A D | 037.phpt | 21 $res = filter_input_array(INPUT_GET, array( 30 var_dump($res);
|
H A D | 038.phpt | 9 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL)); 10 var_dump($res); 13 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL)); 14 var_dump($res); 17 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR… 18 var_dump($res); 23 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_REQUIRE_… 24 var_dump($res); 28 var_dump($res); 32 var_dump($res); [all …]
|
H A D | bug7715.phpt | 20 $res = filter_var($val, FILTER_VALIDATE_FLOAT); 21 var_dump($res);
|
/PHP-5.5/ext/gd/ |
H A D | gd.c | 4857 int nelem, i, j, res; in PHP_FUNCTION() local 4897 res = gdImageConvolution(im_src, matrix, (float)div, (float)offset); in PHP_FUNCTION() 4899 if (res) { in PHP_FUNCTION() 5286 int res = GD_FALSE, i; in PHP_FUNCTION() local 5331 res = gdAffineTranslate(affine, x, y); in PHP_FUNCTION() 5333 res = gdAffineScale(affine, x, y); in PHP_FUNCTION() 5351 res = gdAffineShearHorizontal(affine, angle); in PHP_FUNCTION() 5353 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION() 5355 res = gdAffineRotate(affine, angle); in PHP_FUNCTION() 5365 if (res == GD_FALSE) { in PHP_FUNCTION()
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_interpolation.c | 884 LineContribType *res; in _gdContributionsAlloc() local 888 if (!res) { in _gdContributionsAlloc() 894 gdFree(res); in _gdContributionsAlloc() 899 gdFree(res); in _gdContributionsAlloc() 914 gdFree(res); in _gdContributionsAlloc() 918 return res; in _gdContributionsAlloc() 938 LineContribType *res; in _gdContributionsCalc() local 950 if (res == NULL) { in _gdContributionsCalc() 988 return res; in _gdContributionsCalc() 2285 int res; in gdTransformAffineGetImage() local [all …]
|
H A D | gd_io_ss.c | 82 int res; in sourceGetbuf() local 93 if (res == 0) { in sourceGetbuf() 95 } else if (res < 0) { in sourceGetbuf() 98 return res; in sourceGetbuf() 104 int res; in sourceGetchar() local 107 res = sourceGetbuf (ctx, &buf, 1); in sourceGetchar() 109 if (res == 1) { in sourceGetchar() 119 int res; in sinkPutbuf() local 123 res = (lctx->snk->sink) (lctx->snk->context, buf, size); in sinkPutbuf() 125 if (res <= 0) { in sinkPutbuf() [all …]
|
H A D | webpimg.c | 632 const vpx_codec_err_t res = vpx_codec_control_(enc, id, value); in codec_ctl() local 633 if (res != VPX_CODEC_OK) { in codec_ctl() 669 vpx_codec_err_t res; in VPXEncode() local 687 res = vpx_codec_enc_config_default(iface, &cfg, 0); in VPXEncode() 688 if (res != VPX_CODEC_OK) { in VPXEncode() 696 res = vpx_codec_enc_init(&enc, iface, &cfg, 0); in VPXEncode() 698 if (res == VPX_CODEC_OK) { in VPXEncode() 718 res = vpx_codec_encode(&enc, &img, 0, 1, 0, VPX_DL_BEST_QUALITY); in VPXEncode() 720 if (res == VPX_CODEC_OK) { in VPXEncode()
|
/PHP-5.5/ext/gd/tests/ |
H A D | bug24594.phpt | 30 $res = imagecolorat($base,0,10)==$black?'1':'0'; 31 $res .= imagecolorat($base,0,20)==$black?'1':'0'; 32 $res .= imagecolorat($base,0,30)==$black?'1':'0'; 33 $res .= imagecolorat($base,0,40)==$black?'1':'0'; 34 $res .= imagecolorat($base,0,50)==$black?'1':'0'; 35 $res .= imagecolorat($base,0,60)==$black?'1':'0'; 37 $res .= imagecolorat($base,11,12)==$white?'1':'0'; 38 $res .= imagecolorat($base,12,13)==$white?'1':'0'; 50 echo "$res\n"; 57 $res = imagecolorat($base,0,10)==$black?'1':'0'; [all …]
|
H A D | bug41442.phpt | 16 $res = imagecreatefromstring($str); 20 imagegd2($res); 26 imagegd2($res, $file);
|
/PHP-5.5/ext/gmp/ |
H A D | gmp.c | 1247 int res; local 1257 res=mpz_invert(*gmpnum_result, *gmpnum_a, *gmpnum_b); 1260 if (res) { 1291 int use_si = 0, res; local 1307 res = mpz_cmp_si(*gmpnum_a, Z_LVAL_PP(b_arg)); 1309 res = mpz_cmp(*gmpnum_a, *gmpnum_b); 1314 RETURN_LONG(res);
|
/PHP-5.5/ext/hash/ |
H A D | hash.c | 563 int res; in PHP_FUNCTION() local 575 res = hash->ops->hash_copy(hash->ops, hash->context, context); in PHP_FUNCTION() 576 if (res != SUCCESS) { in PHP_FUNCTION()
|
/PHP-5.5/ext/iconv/tests/ |
H A D | iconv_mime_decode_variation3.phpt | 102 $res = iconv_mime_decode($header, $mode, $input); 103 if ($res !== false) { 104 var_dump(bin2hex($res)); 107 var_dump($res);
|
/PHP-5.5/ext/imap/tests/ |
H A D | bug44098.phpt | 12 $res = imap_utf8('=?iso-8859-1?b?THV6b26uMTQ=?= dot CoM'); 13 if ($res != $exp) { 14 echo "failed: got <$res>, expected <exp>\n";
|