Home
last modified time | relevance | path

Searched refs:lengths (Results 1 – 25 of 29) sorted by relevance

12

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_lengths_oo.phpt2 mysqli_result->lengths
21 var_dump($res->lengths);
23 var_dump($res->lengths);
24 var_dump($res->lengths);
27 var_dump($res->lengths);
H A Dmysqli_multi_query.phpt87 if (!($lengths = mysqli_fetch_lengths($res)))
90 if (count($lengths) != 2)
91 … printf("[016 - %d] Expecting 2 column lengths got %d [%d] %s\n", $res_num, count($lengths));
93 foreach ($lengths as $k => $length)
95 … printf("[017 - %d] Strange column lengths for column %d, got %d expecting any > 0\n",
H A Dmysqli_class_mysqli_result_interface.phpt92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
93 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n",
94 ((is_array($mysqli_result->lengths)) ? implode(' ', $mysqli_result->lengths) : 'n/a'),
95 gettype($mysqli_result->lengths),
167 lengths
174 lengths
181 mysqli_result->lengths -> '1 1'/array ('1 1'/array)
H A Dgracefull_fail_on_empty_result_set.phpt39 ["lengths"]=>
52 ["lengths"]=>
H A Dmysqli_class_mysqli_result_reflection.phpt343 Inspecting property 'lengths'
368 Default property 'lengths'
H A Dmysqli_store_result_copy.phpt78 /* meta and fetch lengths code */
/PHP-7.4/ext/standard/tests/file/
H A Dbug26938.phpt10 . '$lengths = array(10,20000,10000,5,10000,3);'
11 . 'foreach($lengths as $length) {'
17 . '$lengths = array(10,20000,10000,5,10000,3);'
18 . 'foreach($lengths as $length) {'
H A Dbug12556.phpt2 Bug #12556 (fgetcsv() ignores lengths when quotes not closed)
H A Duserstreams.phpt230 /* we compare the results of fgets using differing line lengths to
/PHP-7.4/ext/standard/tests/strings/
H A Dstrncasecmp_variation3.phpt2 Test strncasecmp() function: usage variations - various lengths
10 /* Test strncasecmp() with various lengths */
12 echo "*** Test strncasecmp() function: with different lengths ***\n";
24 *** Test strncasecmp() function: with different lengths ***
H A Dstrncmp_variation3.phpt2 Test strncmp() function: usage variations - different lengths
10 /* Test strncmp() with various lengths */
12 echo "*** Test strncmp() function: with different lengths ***\n";
24 \*\*\* Test strncmp\(\) function: with different lengths \*\*\*
H A Dstrtr_basic.phpt29 //$from and $to are of different lengths, extra chars in the longer one are ignored
/PHP-7.4/ext/zlib/tests/
H A Dinflate_get_read_len.phpt23 echo ($compressed_len == $detected_compressed_len) ? 'The lengths are equal.' : 'The lengths are un…
29 The lengths are equal.
H A Dgzread_basic.phpt16 $lengths = array(10, 14, 7, 99, 2000);
18 foreach ($lengths as $length) {
H A Dgzgets_basic.phpt17 $lengths = array(10, 14, 7, 99);
18 foreach ($lengths as $length) {
H A Dgzwrite_error2.phpt2 Test function gzwrite() by calling it invalid lengths
H A Dgzread_error2.phpt2 Test function gzread() by calling it invalid lengths
H A Dbug60761.phpt43 var_dump($lens); // show lengths to help triage in case of failure
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c277 size_t lengths[2] = { in phpdbg_match_param() local
280 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
283 l->file.name, r->file.name, lengths[0]) == SUCCESS); in phpdbg_match_param()
296 size_t lengths[2] = { in phpdbg_match_param() local
298 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
299 if (memcmp(l->method.class, r->method.class, lengths[0]) == SUCCESS) { in phpdbg_match_param()
300 lengths[0] = strlen(l->method.name); in phpdbg_match_param()
301 lengths[1] = strlen(r->method.name); in phpdbg_match_param()
303 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
305 l->method.name, r->method.name, lengths[0]) == SUCCESS); in phpdbg_match_param()
H A Dphpdbg_bp.c1059 size_t lengths[2] = {strlen(param->file.name), strlen(str)}; in phpdbg_find_breakpoint_param() local
1061 if (lengths[0] == lengths[1]) { in phpdbg_find_breakpoint_param()
1063 param->file.name, str, lengths[0]) == SUCCESS); in phpdbg_find_breakpoint_param()
1078 size_t lengths[2] = { strlen(param->method.class), ZSTR_LEN(ops->scope->name) }; in phpdbg_find_breakpoint_param() local
1079 …if (lengths[0] == lengths[1] && memcmp(param->method.class, ops->scope->name, lengths[0]) == SUCCE… in phpdbg_find_breakpoint_param()
1080 lengths[0] = strlen(param->method.name); in phpdbg_find_breakpoint_param()
1081 lengths[1] = ZSTR_LEN(ops->function_name); in phpdbg_find_breakpoint_param()
1083 …if (lengths[0] == lengths[1] && memcmp(param->method.name, ops->function_name, lengths[0]) == SUCC… in phpdbg_find_breakpoint_param()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_result.c592 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
615 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
711 size_t * lengths = result->unbuf->lengths; in MYSQLND_METHOD() local
726 if (lengths) { in MYSQLND_METHOD()
727 lengths[i] = len; in MYSQLND_METHOD()
842 size_t * lengths = result->unbuf->lengths; in MYSQLND_METHOD() local
869 if (lengths) { in MYSQLND_METHOD()
870 lengths[i] = len; in MYSQLND_METHOD()
1964 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
2002 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_buffered_zval_init()
[all …]
H A Dmysqlnd_structs.h1199 size_t *lengths; \
1253 size_t *lengths; member
/PHP-7.4/ext/standard/tests/array/
H A Dbug28974.phpt2 Bug #28974 (array_(p)slice() treats large lengths incorrectly - overflow)
H A Darray_splice_variation3.phpt2 Test array_splice() function : usage variations - lengths and offsets
10 echo "*** array_splice() function : usage variations - lengths and offsets\n";
75 *** array_splice() function : usage variations - lengths and offsets
/PHP-7.4/ext/gmp/tests/
H A Dgmp_import.phpt57 // Invalid data lengths

Completed in 155 milliseconds

12