Home
last modified time | relevance | path

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

12

/PHP-8.4/ext/mysqli/tests/
H A Dmysqli_stmt_attr_set.phpt38 // expecting max_length not to be set and be 0 in all cases
46 if ($meta->max_length !== 0)
47 …printf("[007] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta…
58 printf("[007.1] max_length should be 1, got %s\n", $res);
64 if ($meta->max_length !== 0)
65 …printf("[008] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta…
70 // expecting max_length not to be set
76 printf("[008.1] max_length should be 0, got %s\n", $res);
82 if ($meta->max_length !== 0)
83 …printf("[009] max_length should not be set (= 0), got %s for field %s\n", $meta->max_length, $meta…
H A Dmysqli_stmt_get_result_metadata_fetch_field.phpt50 if ($field->length != $charsetInfo->max_length) {
52 $charsetInfo->max_length, $field->max_length);
81 ["max_length"]=>
109 ["max_length"]=>
137 ["max_length"]=>
165 ["max_length"]=>
H A Dmysqli_field_seek.phpt87 if ($field->length != $charsetInfo->max_length) {
89 $charsetInfo->max_length, $field->max_length);
140 ["max_length"]=>
169 ["max_length"]=>
198 ["max_length"]=>
230 ["max_length"]=>
H A D047.phpt79 ["max_length"]=>
108 ["max_length"]=>
139 ["max_length"]=>
167 ["max_length"]=>
197 ["max_length"]=>
225 ["max_length"]=>
H A Dmysqli_stmt_get_result_metadata.phpt113 if ($info->max_length !== $fields['meta'][$k]->max_length)
114 printf("[020 - %d] Expecting max_length %s/%s got %s/%s\n",
115 …$k, gettype($info->max_length), $info->max_length, gettype($fields['meta'][$k]->max_length), $fiel…
138 $tmp = $fields['all_res'][$k]->max_length;
139 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length;
146 $fields['all_res'][$k]->max_length = $tmp;
160 $tmp2->max_length = $tmp1->max_length;
H A Dmysqli_fetch_field.phpt94 ["max_length"]=>
122 ["max_length"]=>
156 ["max_length"]=>
H A Dmysqli_fetch_fields.phpt72 ["max_length"]=>
100 ["max_length"]=>
H A Dmysqli_fetch_field_oo.phpt72 ["max_length"]=>
100 ["max_length"]=>
H A Dmysqli_explain_metadata.phpt47 $field->max_length = 0;// change it or we will get diff error
130 unset($fields_stmt_val->max_length);
131 unset($fields_val->max_length);
H A Dmysqli_get_charset.phpt63 ($charset->min_length > $charset->max_length))
64 printf("[020] Expecting int between 0 ... %d, got %s/%s\n", $charset->max_length,
H A Dmysqli_fetch_field_direct.phpt62 ["max_length"]=>
H A Dmysqli_fetch_field_direct_oo.phpt64 ["max_length"]=>
H A Dmysqli_field_tell.phpt75 ["max_length"]=>
H A Dmysqli_stmt_result_metadata.phpt105 ["max_length"]=>
H A Dbug_mysql_49406.phpt72 printf("Maxlength : %d\n", $field->max_length);
/PHP-8.4/ext/zlib/
H A Dzlib.stub.php186 function zlib_decode(string $data, int $max_length = 0): string|false {} argument
198 function gzinflate(string $data, int $max_length = 0): string|false {} argument
201 function gzdecode(string $data, int $max_length = 0): string|false {} argument
204 function gzuncompress(string $data, int $max_length = 0): string|false {} argument
/PHP-8.4/ext/pdo_dblib/tests/
H A Dbug_45876.phpt24 ["max_length"]=>
/PHP-8.4/ext/zlib/tests/
H A D005.phpt56 gzuncompress(): Argument #2 ($max_length) must be greater than or equal to 0
H A D006.phpt57 gzinflate(): Argument #2 ($max_length) must be greater than or equal to 0
/PHP-8.4/ext/date/lib/
H A Dparse_iso_intervals.re106 static timelib_sll timelib_get_nr(const char **ptr, int max_length)
120 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
132 static timelib_ull timelib_get_unsigned_nr(const char **ptr, int max_length)
150 return dir * timelib_get_nr(ptr, max_length);
H A Dparse_iso_intervals.c108 static timelib_sll timelib_get_nr(const char **ptr, int max_length) in timelib_get_nr() argument
122 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr()
134 static timelib_ull timelib_get_unsigned_nr(const char **ptr, int max_length) in timelib_get_unsigned_nr() argument
152 return dir * timelib_get_nr(ptr, max_length); in timelib_get_unsigned_nr()
/PHP-8.4/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h144 unsigned max_length:1; member
H A Dmysql_statement.c188 int calc_max_length = H->buffered && S->max_length == 1; in pdo_mysql_stmt_after_execute_prepared()
221 S->fields[i].max_length? S->fields[i].max_length: in pdo_mysql_stmt_after_execute_prepared()
233 …if (S->fields[i].max_length == 0 && S->bound_result[i].buffer_length < 128 && MYSQL_TYPE_VAR_STRIN… in pdo_mysql_stmt_after_execute_prepared()
/PHP-8.4/main/streams/
H A Dxp_socket.c596 …unsigned long max_length = is_abstract_ns ? sizeof(unix_addr->sun_path) : sizeof(unix_addr->sun_pa… in parse_unix_address() local
600 if (xparam->inputs.namelen > max_length) { in parse_unix_address()
606 xparam->inputs.namelen = max_length; in parse_unix_address()
609 "and was truncated", max_length); in parse_unix_address()
/PHP-8.4/ext/standard/
H A Dstreamsfuncs.c1360 zend_long max_length; in PHP_FUNCTION() local
1367 Z_PARAM_LONG(max_length) in PHP_FUNCTION()
1372 if (max_length < 0) { in PHP_FUNCTION()
1376 if (!max_length) { in PHP_FUNCTION()
1377 max_length = PHP_SOCK_CHUNK_SIZE; in PHP_FUNCTION()
1382 if ((buf = php_stream_get_record(stream, max_length, str, str_len))) { in PHP_FUNCTION()

Completed in 38 milliseconds

12