Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-5.5/ext/standard/tests/math/
H A Dbase_convert_basic.phpt26 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 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";
71 $res = mt_rand($min[$x], 100);
73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
74 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";
71 $res = rand($min[$x], 100);
73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) {
74 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
/PHP-5.5/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-5.5/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-5.5/ext/standard/tests/time/
H A Dstrptime_parts.phpt28 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-5.5/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_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 …]
H A Dmysqli_field_tell.phpt27 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 …]
H A Dmysqli_data_seek_oo.phpt22 $res = new mysqli_result($mysqli);
23 if (NULL !== ($tmp = @$res->data_seek(0)))
29 if (NULL !== ($tmp = @$res->data_seek()))
38 if (true !== ($tmp = $res->data_seek(3)))
41 $row = $res->fetch_assoc();
45 if (true !== ($tmp = $res->data_seek(0)))
48 $row = $res->fetch_assoc();
52 if (false !== ($tmp = $res->data_seek(4)))
58 $res->free_result();
66 $res->free_result();
[all …]
/PHP-5.5/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-5.5/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-5.5/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-5.5/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-5.5/ext/standard/
H A Dphp_dns.h27 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
28 ((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
29 #define php_dns_free_handle(res) \ argument
30 dns_free(res)
33 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
34 res_nsearch(res, dname, class, type, answer, anslen);
35 #define php_dns_free_handle(res) \ argument
36 res_nclose(res); \
37 php_dns_free_res(*res)
40 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
[all …]
/PHP-5.5/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-5.5/ext/openssl/tests/
H A D007.phpt18 openssl_x509_free($res);
19 var_dump($res);
21 openssl_x509_free($res);
22 var_dump($res);
24 openssl_x509_free($res);
25 var_dump($res);
27 openssl_x509_free($res);
28 var_dump($res);
30 openssl_x509_free($res);
31 var_dump($res);
[all …]
/PHP-5.5/win32/
H A Dsendmail.c385 int res; in SendText() local
422 return (res); in SendText()
428 return (res); in SendText()
597 return (res); in SendText()
604 return (res); in SendText()
617 return (res); in SendText()
648 return(res); in SendText()
656 return (res); in SendText()
659 return (res); in SendText()
690 int res; in PostHeader() local
[all …]
/PHP-5.5/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-5.5/ext/com_dotnet/
H A Dcom_persist.c339 HRESULT res; in CPH_METHOD() local
371 HRESULT res; in CPH_METHOD() local
434 HRESULT res; in CPH_METHOD() local
481 HRESULT res; in CPH_METHOD() local
500 if (res != S_OK) { in CPH_METHOD()
513 HRESULT res; in CPH_METHOD() local
540 HRESULT res; in CPH_METHOD() local
561 res = S_OK; in CPH_METHOD()
586 if (FAILED(res)) { in CPH_METHOD()
600 HRESULT res; in CPH_METHOD() local
[all …]
/PHP-5.5/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 …]
/PHP-5.5/ext/mysql/tests/
H A Dmysql_result.phpt28 var_dump(mysql_result($res, -1));
29 var_dump(mysql_result($res, 2));
31 var_dump(mysql_result($res, 0, -1));
32 var_dump(mysql_result($res, 0, 500));
35 var_dump(mysql_result($res, 0));
36 var_dump(mysql_result($res, 0, 1));
38 var_dump(mysql_result($res, 0, 'id'));
45 var_dump(mysql_result($res, 0, chr(0)));
48 var_dump(mysql_result($res, 0, '_id'));
56 mysql_free_result($res);
[all …]
/PHP-5.5/ext/intl/
H A Dintl_convertcpp.cpp54 int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status) in intl_charFromString() argument
65 *res = (char*)emalloc(1); in intl_charFromString()
66 **res = '\0'; in intl_charFromString()
71 *res = (char*)emalloc(capacity); in intl_charFromString()
76 u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(), in intl_charFromString()
80 efree(*res); in intl_charFromString()
81 *res = NULL; in intl_charFromString()
84 (*res)[actual_len] = '\0'; in intl_charFromString()

Completed in 50 milliseconds

12345678910>>...23