Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 592) sorted by relevance

12345678910>>...24

/PHP-7.1/ext/standard/tests/math/
H A Dbase_convert_basic.phpt26 echo ".........value= ", $values[$i], " res = ", $res, "\n";
35 .........value= 27 res = 0
36 .........value= 39 res = 0
37 .........value= 3 res = 0
38 .........value= 95 res = 0
40 .........value= 27 res = 0
41 .........value= 39 res = 0
42 .........value= 5F res = 0
45 .........value= 10 res = 2
48 .........value= 3 res = 0
[all …]
H A Dlcg_value_basic.phpt11 $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 Dmt_rand_basic.phpt9 $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 Drand_basic.phpt9 $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.1/ext/gd/tests/
H A Dbug24594.phpt30 $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.1/ext/date/tests/
H A Dbug41964.phpt10 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.1/Zend/
H A Dzend_list.c70 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 Dzend_smart_str.c83 char *res; in smart_str_append_escaped() local
93 *res++ = '\\'; in smart_str_append_escaped()
95 case '\n': *res++ = 'n'; break; in smart_str_append_escaped()
96 case '\r': *res++ = 'r'; break; in smart_str_append_escaped()
97 case '\t': *res++ = 't'; break; in smart_str_append_escaped()
98 case '\f': *res++ = 'f'; break; in smart_str_append_escaped()
99 case '\v': *res++ = 'v'; break; in smart_str_append_escaped()
103 *res++ = 'x'; in smart_str_append_escaped()
105 *res++ = (c >> 4) + '0'; in smart_str_append_escaped()
110 *res++ = (c & 0xf) + '0'; in smart_str_append_escaped()
[all …]
H A Dzend_list.h30 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 Dzend_multiply.h129 : "%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.1/ext/standard/tests/time/
H A Dstrptime_parts.phpt27 var_dump($res["tm_sec"]);
28 var_dump($res["tm_min"]);
29 var_dump($res["tm_hour"]);
30 var_dump($res["tm_mday"]);
31 var_dump($res["tm_mon"]);
32 var_dump($res["tm_year"]);
36 var_dump($res["tm_sec"]);
37 var_dump($res["tm_min"]);
40 var_dump($res["tm_mon"]);
45 var_dump($res["tm_sec"]);
[all …]
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_no_alias.phpt17 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 Dmysqli_stmt_get_result2.phpt45 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 Dmysqli_store_result_copy.phpt31 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 Dmysqli_stmt_get_result_seek.phpt25 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 …]
/PHP-7.1/ext/odbc/
H A Dbirdstep.c179 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.1/ext/standard/
H A Dphp_dns.h27 #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.1/ext/filter/tests/
H A D038.phpt9 $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.1/ext/pdo_pgsql/tests/
H A Dbug_33876.phpt25 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.1/ext/interbase/tests/
H A D005.phpt78 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.1/ext/com_dotnet/
H A Dcom_persist.c99 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.1/ext/pdo/tests/
H A Dbug_44861.phpt40 $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.1/ext/gd/libgd/
H A Dgd_io_ss.c82 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.1/win32/
H A Dsendmail.c389 int res; in SendText() local
429 return (res); in SendText()
435 return (res); in SendText()
604 return (res); in SendText()
611 return (res); in SendText()
624 return (res); in SendText()
654 return(res); in SendText()
662 return (res); in SendText()
665 return (res); in SendText()
696 int res; in PostHeader() local
[all …]
/PHP-7.1/ext/intl/tests/
H A Dcollation_customization.phpt15 $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 …]

Completed in 43 milliseconds

12345678910>>...24