/PHP-7.0/ext/standard/tests/math/ |
H A D | base_convert_basic.phpt | 26 echo ".........value= ", $values[$i], " res = ", $res, "\n"; 36 .........value= 27 res = 0 37 .........value= 39 res = 0 38 .........value= 3 res = 0 39 .........value= 95 res = 0 41 .........value= 27 res = 0 42 .........value= 39 res = 0 43 .........value= 5F res = 0 46 .........value= 10 res = 2 49 .........value= 3 res = 0 [all …]
|
H A D | lcg_value_basic.phpt | 11 $res = lcg_value(); 13 if (!is_float($res) || $res < 0 || $res > 1) { 25 $res = lcg_value(23); 27 if (!is_float($res) || $res < 0 || $res > 1) { 33 $res = lcg_value(10,false); 34 if (!is_float($res) || $res < 0 || $res > 1) {
|
H A D | mt_rand_basic.phpt | 9 $res = mt_rand(); 12 if (!is_int($res) || $res < 0 || $res > $default_max) { 18 echo "FAILED: res = ", $res, " min = 0 max = ", $default_max, "\n"; 41 $res = mt_rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 69 $res = mt_rand($min[$x], 100); 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
|
H A D | rand_basic.phpt | 9 $res = rand(); 12 if (!is_int($res) || $res < 0 || $res > $default_max) { 18 echo "FAILED: res = ", $res, " min = 0 max = ", $default_max, "\n"; 41 $res = rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 69 $res = rand($min[$x], 100); 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
|
/PHP-7.0/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 …]
|
/PHP-7.0/ext/date/tests/ |
H A D | bug41964.phpt | 10 var_dump($res['zone'], $res['tz_abbr']); 13 $res = date_parse('A '); 14 var_dump($res['zone'], $res['tz_abbr']); 17 $res = date_parse('A'); 18 var_dump($res['zone'], $res['tz_abbr']); 21 $res = date_parse('a '); 22 var_dump($res['zone'], $res['tz_abbr']); 25 $res = date_parse('a'); 26 var_dump($res['zone'], $res['tz_abbr']); 30 var_dump($res['zone'], $res['tz_abbr']); [all …]
|
/PHP-7.0/Zend/ |
H A D | zend_list.c | 70 res->type = -1; in zend_resource_dtor() 71 res->ptr = NULL; in zend_resource_dtor() 105 if (res) { in zend_fetch_resource2() 107 return res->ptr; in zend_fetch_resource2() 111 return res->ptr; in zend_fetch_resource2() 127 return res->ptr; in zend_fetch_resource() 142 if (res == NULL) { in zend_fetch_resource_ex() 163 if (res == NULL) { in zend_fetch_resource2_ex() 186 if (res->type >= 0) { in list_entry_destructor() 196 if (res->type >= 0) { in plist_entry_destructor() [all …]
|
H A D | zend_list.h | 30 typedef void (*rsrc_dtor_func_t)(zend_resource *res); 31 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res) 58 ZEND_API int zend_list_free(zend_resource *res); 59 ZEND_API int zend_list_delete(zend_resource *res); 60 ZEND_API int zend_list_close(zend_resource *res); 63 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource… 64 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resourc… 65 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type); 66 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type… 68 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
|
H A D | zend_multiply.h | 129 : "%0"(res), in zend_safe_address() 138 return res; in zend_safe_address() 158 : "%0"(res), in zend_safe_address() 168 return res; in zend_safe_address() 175 size_t res; in zend_safe_address() local 190 return res; in zend_safe_address() 197 size_t res; in zend_safe_address() local 211 return res; in zend_safe_address() 218 size_t res; in zend_safe_address() local 235 return res; in zend_safe_address() [all …]
|
/PHP-7.0/ext/standard/tests/time/ |
H A D | strptime_parts.phpt | 28 var_dump($res["tm_sec"]); 29 var_dump($res["tm_min"]); 30 var_dump($res["tm_hour"]); 31 var_dump($res["tm_mday"]); 32 var_dump($res["tm_mon"]); 33 var_dump($res["tm_year"]); 37 var_dump($res["tm_sec"]); 38 var_dump($res["tm_min"]); 41 var_dump($res["tm_mon"]); 46 var_dump($res["tm_sec"]); [all …]
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_no_alias.phpt | 17 var_dump(mysqli_fetch_assoc($res)); 18 mysqli_free_result($res); 24 var_dump(mysqli_fetch_assoc($res)); 25 mysqli_free_result($res); 31 var_dump(mysqli_fetch_assoc($res)); 32 mysqli_free_result($res); 39 mysqli_free_result($res); 50 mysqli_free_result($res); 60 mysqli_free_result($res); 70 mysqli_free_result($res); [all …]
|
H A D | mysqli_stmt_get_result2.phpt | 45 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 50 mysqli_free_result($res); 54 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 60 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 65 mysqli_free_result($res); 83 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 95 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 114 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 124 mysqli_free_result($res); 135 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); [all …]
|
H A D | mysqli_store_result_copy.phpt | 31 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 37 var_dump($res->fetch_assoc()); 47 mysqli_free_result($res); 61 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 67 $row = $res->fetch_assoc(); 95 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 122 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 133 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 146 gettype($res), $res, mysqli_errno($link), mysqli_error($link)); 148 /* user conn killed, res associated with conn, fetch from res */ [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 25 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) { 27 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 30 if (3 !== $res->num_rows) 31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows); 33 if (2 !== $res->field_count) 34 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count… 36 if (0 !== $res->current_field) 37 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f… 40 if (!$res->data_seek($i)) 67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1))) [all …]
|
H A D | mysqli_field_tell.phpt | 27 var_dump(mysqli_field_tell($res)); 29 var_dump(mysqli_field_tell($res)); 30 var_dump(mysqli_fetch_field($res)); 31 var_dump(mysqli_fetch_field($res)); 32 var_dump(mysqli_field_tell($res)); 38 var_dump(mysqli_field_seek($res, 2)); 39 var_dump(mysqli_field_tell($res)); 42 var_dump(mysqli_field_tell($res)); 45 var_dump(mysqli_field_tell($res)); 49 mysqli_free_result($res); [all …]
|
/PHP-7.0/ext/odbc/ |
H A D | birdstep.c | 179 if ( res && res->values ) { in _free_birdstep_result() 187 if ( res ) { in _free_birdstep_result() 188 efree(res); in _free_birdstep_result() 268 Vresult *res; in birdstep_find_result() local 275 return(res); in birdstep_find_result() 367 efree(res); in PHP_FUNCTION() 374 efree(res); in PHP_FUNCTION() 382 efree(res); in PHP_FUNCTION() 394 efree(res); in PHP_FUNCTION() 401 res->values[i].name,sizeof(res->values[i].name), in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/standard/ |
H A D | php_dns.h | 27 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument 29 #define php_dns_free_handle(res) \ argument 30 dns_free(res) 34 res_nsearch(res, dname, class, type, answer, anslen); 36 #define php_dns_free_handle(res) \ argument 37 res_ndestroy(res); \ 38 php_dns_free_res(res) 40 #define php_dns_free_handle(res) \ argument 41 res_nclose(res); \ 42 php_dns_free_res(res) [all …]
|
/PHP-7.0/ext/filter/tests/ |
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 …]
|
/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | bug_33876.phpt | 25 if (!$res->execute()) 26 print_r($res->errorInfo()); 32 if (!$res->execute()) 33 print_r($res->errorInfo()); 41 print_r($res->errorInfo()); 48 print_r($res->errorInfo()); 61 if (!$res->execute()) 62 print_r($res->errorInfo()); 68 if (!$res->execute()) 69 print_r($res->errorInfo()); [all …]
|
/PHP-7.0/ext/interbase/tests/ |
H A D | 005.phpt | 78 out_result($res,"test5"); 80 ibase_free_result($res); 86 out_result($res,"test5"); 88 ibase_free_result($res); 94 out_result($res,"test5"); 96 ibase_free_result($res); 112 ibase_free_result($res); 130 ibase_free_result($res); 137 ibase_free_result($res); 151 ibase_free_result($res); [all …]
|
/PHP-7.0/ext/com_dotnet/ |
H A D | com_persist.c | 99 if (stm->res) in stm_release() 253 if (stm->res) { in istream_destructor() 254 zend_resource *res = stm->res; in istream_destructor() local 340 HRESULT res; in CPH_METHOD() local 375 HRESULT res; in CPH_METHOD() local 438 HRESULT res; in CPH_METHOD() local 485 HRESULT res; in CPH_METHOD() local 517 HRESULT res; in CPH_METHOD() local 544 HRESULT res; in CPH_METHOD() local 565 res = S_OK; in CPH_METHOD() [all …]
|
/PHP-7.0/ext/pdo/tests/ |
H A D | bug_44861.phpt | 40 $res = $db->prepare($query, $aParams); 41 $res->execute(); 42 var_dump($res->fetchColumn()); 43 var_dump($res->fetchColumn()); 44 var_dump($res->fetchColumn()); 45 var_dump($res->fetchColumn()); 46 var_dump($res->fetchColumn()); 58 $res->execute(array("it's working")); 63 $res->execute(array("try again")); 64 var_dump($res->fetchColumn()); [all …]
|
/PHP-7.0/ext/gd/libgd/ |
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 …]
|
/PHP-7.0/win32/ |
H A D | sendmail.c | 388 int res; in SendText() local 428 return (res); in SendText() 434 return (res); in SendText() 603 return (res); in SendText() 610 return (res); in SendText() 623 return (res); in SendText() 653 return(res); in SendText() 661 return (res); in SendText() 664 return (res); in SendText() 695 int res; in PostHeader() local [all …]
|
/PHP-7.0/ext/intl/tests/ |
H A D | collation_customization.phpt | 15 $res = ''; 20 $res .= "$i"; 25 $res .= " $eq $i"; 30 $res .= "\n"; 32 return $res; 37 $res = ''; 42 $res .= cmp_array( $coll, array( 'di Silva', 'Di Silva', 'diSilva', 'U.S.A.', 'USA' ) ); 46 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) ); 50 $res .= cmp_array( $coll, array( 'di Silva', 'diSilva', 'Di Silva', 'U.S.A.', 'USA' ) ); 51 $res .= "\n"; [all …]
|