Home
last modified time | relevance | path

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

12

/PHP-8.1/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);
28 $res->lengths;
H A Dmysqli_multi_query.phpt78 if (!($lengths = mysqli_fetch_lengths($res)))
81 if (count($lengths) != 2)
82 … printf("[016 - %d] Expecting 2 column lengths got %d [%d] %s\n", $res_num, count($lengths));
84 foreach ($lengths as $k => $length)
86 … printf("[017 - %d] Strange column lengths for column %d, got %d expecting any > 0\n",
H A Dmysqli_class_mysqli_result_interface.phpt93 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
94 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n",
95 ((is_array($mysqli_result->lengths)) ? implode(' ', $mysqli_result->lengths) : 'n/a'),
96 gettype($mysqli_result->lengths),
162 lengths
171 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.phpt82 /* meta and fetch lengths code */
/PHP-8.1/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.1/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.phpt233 /* we compare the results of fgets using differing line lengths to
/PHP-8.1/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.1/sapi/phpdbg/
H A Dphpdbg_cmd.c275 size_t lengths[2] = { in phpdbg_match_param() local
278 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
281 l->file.name, r->file.name, lengths[0]) == SUCCESS); in phpdbg_match_param()
294 size_t lengths[2] = { in phpdbg_match_param() local
296 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
297 if (memcmp(l->method.class, r->method.class, lengths[0]) == SUCCESS) { in phpdbg_match_param()
298 lengths[0] = strlen(l->method.name); in phpdbg_match_param()
299 lengths[1] = strlen(r->method.name); in phpdbg_match_param()
301 if (lengths[0] == lengths[1]) { in phpdbg_match_param()
303 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.1/ext/mysqlnd/
H A Dmysqlnd_result.c379 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
462 size_t *lengths = set->lengths; in MYSQLND_METHOD() local
463 if (lengths) { in MYSQLND_METHOD()
466 lengths[i] = Z_TYPE_P(data) == IS_STRING ? Z_STRLEN_P(data) : 0; in MYSQLND_METHOD()
579 if (set->lengths) { in MYSQLND_METHOD()
1158 ret->lengths = NULL; in mysqlnd_result_unbuffered_init()
1162 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1163 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1194 ret->lengths = NULL; in mysqlnd_result_buffered_init()
1198 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init()
[all …]
H A Dmysqlnd_structs.h1171 size_t *lengths; member
1202 size_t *lengths; member
/PHP-8.1/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.1/ext/gmp/tests/
H A Dgmp_import.phpt62 // Invalid data lengths
/PHP-8.1/ext/mysqli/
H A Dmysqli.stub.php446 public ?array $lengths; variable in mysqli_result

Completed in 59 milliseconds

12