Home
last modified time | relevance | path

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

12

/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_fetch_lengths_oo.phpt2 mysqli_result->lengths
17 var_dump($res->lengths);
19 var_dump($res->lengths);
20 var_dump($res->lengths);
24 $res->lengths;
H A Dmysqli_multi_query.phpt76 if (!($lengths = mysqli_fetch_lengths($res)))
79 if (count($lengths) != 2)
80 … printf("[016 - %d] Expecting 2 column lengths got %d [%d] %s\n", $res_num, count($lengths));
82 foreach ($lengths as $k => $length)
84 … 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),
154 lengths
163 mysqli_result->lengths -> '1 1'/array ('1 1'/array)
H A Dgracefull_fail_on_empty_result_set.phpt38 ["lengths"]=>
51 ["lengths"]=>
H A Dmysqli_store_result_copy.phpt74 /* meta and fetch lengths code */
/PHP-8.3/ext/standard/tests/strings/
H A Dstrncasecmp_variation3.phpt2 Test strncasecmp() function: usage variations - various lengths
5 /* Test strncasecmp() with various lengths */
7 echo "*** Test strncasecmp() function: with different lengths ***\n";
19 *** Test strncasecmp() function: with different lengths ***
H A Dstrncmp_variation3.phpt2 Test strncmp() function: usage variations - different lengths
5 /* Test strncmp() with various lengths */
7 echo "*** Test strncmp() function: with different lengths ***\n";
19 \*\*\* Test strncmp\(\) function: with different lengths \*\*\*
H A Dstrtr_basic.phpt24 //$from and $to are of different lengths, extra chars in the longer one are ignored
/PHP-8.3/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.phpt234 /* we compare the results of fgets using differing line lengths to
/PHP-8.3/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.phpt12 $lengths = array(10, 14, 7, 99, 2000);
14 foreach ($lengths as $length) {
H A Dgzgets_basic.phpt13 $lengths = array(10, 14, 7, 99);
14 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-8.3/sapi/phpdbg/
H A Dphpdbg_cmd.c279 size_t lengths[2] = { in phpdbg_match_param() local
282 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
285 l->file.name, r->file.name, lengths[0]) == SUCCESS); in phpdbg_match_param()
298 size_t lengths[2] = { in phpdbg_match_param() local
300 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
301 if (memcmp(l->method.class, r->method.class, lengths[0]) == SUCCESS) { in phpdbg_match_param()
302 lengths[0] = strlen(l->method.name); in phpdbg_match_param()
303 lengths[1] = strlen(r->method.name); in phpdbg_match_param()
305 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
307 l->method.name, r->method.name, lengths[0]) == SUCCESS); in phpdbg_match_param()
H A Dphpdbg_bp.c1052 size_t lengths[2] = {strlen(param->file.name), strlen(str)}; in phpdbg_find_breakpoint_param() local
1054 if (lengths[0] == lengths[1]) { in phpdbg_find_breakpoint_param()
1056 param->file.name, str, lengths[0]) == SUCCESS); in phpdbg_find_breakpoint_param()
1071 size_t lengths[2] = { strlen(param->method.class), ZSTR_LEN(ops->scope->name) }; in phpdbg_find_breakpoint_param() local
1072 …if (lengths[0] == lengths[1] && memcmp(param->method.class, ops->scope->name, lengths[0]) == SUCCE… in phpdbg_find_breakpoint_param()
1073 lengths[0] = strlen(param->method.name); in phpdbg_find_breakpoint_param()
1074 lengths[1] = ZSTR_LEN(ops->function_name); in phpdbg_find_breakpoint_param()
1076 …if (lengths[0] == lengths[1] && memcmp(param->method.name, ops->function_name, lengths[0]) == SUCC… in phpdbg_find_breakpoint_param()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_result.c377 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
460 size_t *lengths = set->lengths; in MYSQLND_METHOD() local
461 if (lengths) { in MYSQLND_METHOD()
464 lengths[i] = Z_TYPE_P(data) == IS_STRING ? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
577 if (set->lengths) { in MYSQLND_METHOD()
1163 ret->lengths = NULL; in mysqlnd_result_unbuffered_init()
1167 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1168 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1199 ret->lengths = NULL; in mysqlnd_result_buffered_init()
1203 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init()
[all …]
H A Dmysqlnd_structs.h1168 size_t *lengths; member
1199 size_t *lengths; member
/PHP-8.3/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
9 echo "*** array_splice() function : usage variations - lengths and offsets\n";
74 *** array_splice() function : usage variations - lengths and offsets
/PHP-8.3/ext/gmp/tests/
H A Dgmp_import.phpt62 // Invalid data lengths
/PHP-8.3/ext/random/tests/03_randomizer/methods/
H A DgetBytesFromString_fast_path.phpt50 // Test lengths that are one more than the powers of two. For these

Completed in 60 milliseconds

12