Home
last modified time | relevance | path

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

12345678910>>...24

/php-src/ext/standard/tests/math/
H A Dbase_convert_basic.phpt26 echo ".........value= ", $values[$i], " res = ", $res, "\n";
34 .........value= 10 res = 10
37 .........value= 27 res = 0
40 .........value= 39 res = 0
43 .........value= 3 res = 0
46 .........value= 95 res = 0
50 .........value= 27 res = 0
53 .........value= 39 res = 0
56 .........value= 5F res = 0
61 .........value= 10 res = 2
[all …]
/php-src/ext/gd/tests/
H A Dbug24594.phpt26 $res = imagecolorat($base,0,10)==$black?'1':'0';
27 $res .= imagecolorat($base,0,20)==$black?'1':'0';
28 $res .= imagecolorat($base,0,30)==$black?'1':'0';
29 $res .= imagecolorat($base,0,40)==$black?'1':'0';
30 $res .= imagecolorat($base,0,50)==$black?'1':'0';
31 $res .= imagecolorat($base,0,60)==$black?'1':'0';
33 $res .= imagecolorat($base,11,12)==$white?'1':'0';
34 $res .= imagecolorat($base,12,13)==$white?'1':'0';
46 echo "$res\n";
53 $res = imagecolorat($base,0,10)==$black?'1':'0';
[all …]
/php-src/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-src/Zend/
H A Dzend_list.c66 res->type = -1; in zend_resource_dtor()
67 res->ptr = NULL; in zend_resource_dtor()
81 zend_list_free(res); in zend_list_close()
98 if (res) { in zend_fetch_resource2()
100 return res->ptr; in zend_fetch_resource2()
104 return res->ptr; in zend_fetch_resource2()
120 return res->ptr; in zend_fetch_resource()
135 if (res == NULL) { in zend_fetch_resource_ex()
156 if (res == NULL) { in zend_fetch_resource2_ex()
179 if (res->type >= 0) { in list_entry_destructor()
[all …]
H A Dzend_list.h28 typedef void (*rsrc_dtor_func_t)(zend_resource *res);
29 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res)
56 ZEND_API void ZEND_FASTCALL zend_list_free(zend_resource *res);
57 ZEND_API zend_result ZEND_FASTCALL zend_list_delete(zend_resource *res);
58 ZEND_API void ZEND_FASTCALL zend_list_close(zend_resource *res);
61 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource…
62 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resourc…
63 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type);
64 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type…
66 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
H A Dzend_multiply.h178 : "%0"(res), in zend_safe_address()
183 : "%0"(res), in zend_safe_address()
193 return res; in zend_safe_address()
213 : "%0"(res), in zend_safe_address()
220 : "%0"(res), in zend_safe_address()
230 return res; in zend_safe_address()
237 size_t res; in zend_safe_address() local
252 return res; in zend_safe_address()
259 size_t res; in zend_safe_address() local
273 return res; in zend_safe_address()
[all …]
/php-src/ext/pgsql/tests/
H A Dgh13354.phpt25 pg_free_result($res);
29 pg_free_result($res);
35 pg_free_result($res);
39 pg_free_result($res);
45 $res = pg_get_result($db);
47 pg_free_result($res);
51 $res = pg_get_result($db);
53 pg_free_result($res);
59 $res = pg_get_result($db);
61 pg_free_result($res);
[all …]
/php-src/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-src/ext/mysqli/tests/
H A Dmysqli_fetch_column.phpt17 var_dump(mysqli_fetch_column($res));
20 var_dump(mysqli_fetch_column($res));
25 $res = mysqli_query($link, "SELECT
32 $res = mysqli_query($link, "SELECT
39 $res = mysqli_query($link, "SELECT
47 $res = mysqli_query($link, "SELECT
56 $res = mysqli_query($link, "SELECT
94 mysqli_free_result($res);
96 mysqli_fetch_column($res);
104 var_dump($res->fetch_column());
[all …]
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.phpt29 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
34 mysqli_free_result($res);
38 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
67 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
79 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
98 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
105 mysqli_fetch_assoc($res);
108 mysqli_free_result($res);
119 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_get_result_seek.phpt22 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
24 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
27 if (3 !== $res->num_rows)
28 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
30 if (2 !== $res->field_count)
33 if (0 !== $res->current_field)
37 if (!$res->data_seek($i))
62 $res->data_seek(-1);
67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
97 mysqli_free_result($res);
[all …]
H A Dmysqli_field_tell.phpt16 var_dump(mysqli_field_tell($res));
17 var_dump(mysqli_field_tell($res));
18 var_dump(mysqli_fetch_field($res));
19 var_dump(mysqli_fetch_field($res));
20 var_dump(mysqli_field_tell($res));
27 var_dump(mysqli_field_tell($res));
34 var_dump(mysqli_field_tell($res));
36 var_dump(mysqli_field_seek($res, 0));
37 var_dump(mysqli_field_tell($res));
41 mysqli_free_result($res);
[all …]
/php-src/ext/standard/
H A Dphp_dns.h23 #define php_dns_search(res, dname, class, type, answer, anslen) \ argument
25 #define php_dns_free_handle(res) \ argument
26 dns_free(res)
31 res_nsearch(res, dname, class, type, answer, anslen);
33 #define php_dns_free_handle(res) \ argument
34 res_ndestroy(res); \
35 php_dns_free_res(res)
37 #define php_dns_free_handle(res) \ argument
38 res_nclose(res); \
39 php_dns_free_res(res)
[all …]
H A Dcrc32.c43 static int res = -1; in has_crc32_insn() local
44 if (res != -1) in has_crc32_insn()
45 return res; in has_crc32_insn()
48 return res; in has_crc32_insn()
51 return res; in has_crc32_insn()
53 size_t reslen = sizeof(res); in has_crc32_insn()
55 res = 0; in has_crc32_insn()
56 return res; in has_crc32_insn()
59 return res; in has_crc32_insn()
61 res = 0; in has_crc32_insn()
[all …]
/php-src/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());
40 if (!$res->execute(array(true)))
41 print_r($res->errorInfo());
61 if (!$res->execute())
62 print_r($res->errorInfo());
68 if (!$res->execute())
69 print_r($res->errorInfo());
[all …]
/php-src/ext/standard/tests/time/
H A Dstrptime_parts.phpt23 var_dump($res["tm_sec"]);
24 var_dump($res["tm_min"]);
25 var_dump($res["tm_hour"]);
26 var_dump($res["tm_mday"]);
27 var_dump($res["tm_mon"]);
28 var_dump($res["tm_year"]);
32 var_dump($res["tm_sec"]);
33 var_dump($res["tm_min"]);
36 var_dump($res["tm_mon"]);
41 var_dump($res["tm_sec"]);
[all …]
/php-src/ext/sqlite3/tests/
H A Dbug79294.phpt12 $res = $stmt->execute();
13 var_dump($res->fetchArray() !== false);
14 var_dump($res->columnType(0));
15 var_dump($res->fetchArray() !== false);
16 var_dump($res->columnType(0));
18 var_dump($res->fetchArray() !== false);
19 var_dump($res->columnType(0));
20 $res->reset();
21 var_dump($res->fetchArray() !== false);
22 var_dump($res->columnType(0));
/php-src/ext/com_dotnet/
H A Dcom_persist.c318 HRESULT res; in CPH_METHOD() local
351 HRESULT res; in CPH_METHOD() local
412 HRESULT res; in CPH_METHOD() local
456 HRESULT res; in CPH_METHOD() local
479 if (res != S_OK) { in CPH_METHOD()
491 HRESULT res; in CPH_METHOD() local
521 HRESULT res; in CPH_METHOD() local
541 res = S_OK; in CPH_METHOD()
566 if (FAILED(res)) { in CPH_METHOD()
579 HRESULT res; in CPH_METHOD() local
[all …]
/php-src/ext/pdo/tests/
H A Dbug_44861.phpt48 $res = $db->prepare($query, $aParams);
49 $res->execute();
50 var_dump($res->fetchColumn());
51 var_dump($res->fetchColumn());
52 var_dump($res->fetchColumn());
53 var_dump($res->fetchColumn());
54 var_dump($res->fetchColumn());
66 $res->execute(array("it's working"));
71 $res->execute(array("try again"));
72 var_dump($res->fetchColumn());
[all …]
/php-src/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-src/ext/odbc/tests/
H A Dodbc_primarykeys_001.phpt31 var_dump(odbc_fetch_array($res));
32 odbc_free_result($res);
37 var_dump(odbc_fetch_array($res));
38 odbc_free_result($res);
41 var_dump(odbc_fetch_array($res));
42 odbc_free_result($res);
44 $res = odbc_primarykeys($conn, null, "dbo", "primarykeys");
45 var_dump(odbc_fetch_array($res));
46 odbc_free_result($res);
49 var_dump(odbc_fetch_array($res));
[all …]
H A Dodbc_fetch_row_001.phpt18 $res = odbc_exec($conn, 'SELECT * FROM fetch_row');
20 var_dump(odbc_fetch_row($res, 0));
22 var_dump(odbc_fetch_row($res, null));
23 var_dump(odbc_result($res, 'test'));
25 var_dump(odbc_fetch_row($res, null));
26 var_dump(odbc_result($res, 'test'));
28 var_dump(odbc_fetch_row($res, 2));
29 var_dump(odbc_result($res, 'test'));
31 var_dump(odbc_fetch_row($res, 4));
33 odbc_free_result($res);
/php-src/ext/opcache/tests/jit/
H A Dmul_004.phpt18 $res = $a * 8; // shift cnt: 3
19 var_dump($res);
23 $res = 16 * $a; // shift cnt: 4
24 var_dump($res);
28 $res = $a * 0x10000000; // shift cnt: 29
29 var_dump($res);
33 $res = $a * 0x100000000; // shift cnt: 32
34 var_dump($res);
38 $res = $a * 2; // $a + $a
39 var_dump($res);
/php-src/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 46 milliseconds

12345678910>>...24