Home
last modified time | relevance | path

Searched refs:max_length (Results 1 – 25 of 47) sorted by path

12

/PHP-5.5/
H A DNEWS8703 - Fixed bug #36981 (SplFileObject->fgets() ignores max_length). (Tony)
/PHP-5.5/ext/date/lib/
H A Dparse_date.c444 static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length) in timelib_get_nr_ex() argument
457 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr_ex()
472 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr() argument
474 return timelib_get_nr_ex(ptr, max_length, NULL); in timelib_get_nr()
487 static double timelib_get_frac_nr(char **ptr, int max_length) in timelib_get_frac_nr() argument
500 …le (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) { in timelib_get_frac_nr()
515 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) in timelib_get_unsigned_nr() argument
533 return dir * timelib_get_nr(ptr, max_length); in timelib_get_unsigned_nr()
H A Dparse_date.re442 static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length)
455 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
470 static timelib_sll timelib_get_nr(char **ptr, int max_length)
472 return timelib_get_nr_ex(ptr, max_length, NULL);
485 static double timelib_get_frac_nr(char **ptr, int max_length)
498 …le (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) {
513 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length)
531 return dir * timelib_get_nr(ptr, max_length);
H A Dparse_iso_intervals.c133 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr() argument
146 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr()
158 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) in timelib_get_unsigned_nr() argument
176 return dir * timelib_get_nr(ptr, max_length); in timelib_get_unsigned_nr()
H A Dparse_iso_intervals.re131 static timelib_sll timelib_get_nr(char **ptr, int max_length)
144 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
156 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length)
174 return dir * timelib_get_nr(ptr, max_length);
/PHP-5.5/ext/mssql/
H A Dphp_mssql.c1232 result->fields[i].max_length = dbcollen(mssql_ptr->link,i+1);
1722 add_property_long(return_value, "max_length",result->fields[field_offset].max_length);
1755 RETURN_LONG(result->fields[field_offset].max_length);
H A Dphp_mssql.h182 long max_length; member
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c2426 add_property_long(return_value, "max_length", mysql_field->max_length);
/PHP-5.5/ext/mysql/tests/
H A Dmysql_fetch_field.phpt167 [%u|b%"max_length"]=>
195 [%u|b%"max_length"]=>
228 [%u|b%"max_length"]=>
257 [%u|b%"max_length"]=>
H A Dmysql_field_seek.phpt58 [%u|b%"max_length"]=>
87 [%u|b%"max_length"]=>
116 [%u|b%"max_length"]=>
/PHP-5.5/ext/mysqli/
H A Dmysqli_api.c512 if (stmt->stmt->fields[ofs].max_length == 0 && in mysqli_stmt_bind_result_do_bind()
529 if (!(stmt->result.buf[ofs].buflen = stmt->stmt->fields[ofs].max_length)) in mysqli_stmt_bind_result_do_bind()
1216 add_property_long(value, "max_length", field->max_length);
/PHP-5.5/ext/mysqli/tests/
H A D047.phpt78 [%u|b%"max_length"]=>
107 [%u|b%"max_length"]=>
138 [%u|b%"max_length"]=>
166 [%u|b%"max_length"]=>
196 [%u|b%"max_length"]=>
224 [%u|b%"max_length"]=>
H A Dbug_mysql_49406.phpt72 printf("Maxlength : %d\n", $field->max_length);
H A Dmysqli_explain_metadata.phpt51 $field->max_length = 0;// change it or we will get diff error
134 unset($fields_stmt_val->max_length);
135 unset($fields_val->max_length);
H A Dmysqli_fetch_field.phpt47 if ($tmp->length != $charsetInfo->max_length) {
49 $charsetInfo->max_length, $tmp->max_length);
105 [%u|b%"max_length"]=>
133 [%u|b%"max_length"]=>
168 [%u|b%"max_length"]=>
H A Dmysqli_fetch_field_direct.phpt65 [%u|b%"max_length"]=>
H A Dmysqli_fetch_field_direct_oo.phpt74 [%u|b%"max_length"]=>
H A Dmysqli_fetch_field_oo.phpt49 if ($tmp->length != $charsetInfo->max_length) {
51 $charsetInfo->max_length, $tmp->max_length);
88 [%u|b%"max_length"]=>
116 [%u|b%"max_length"]=>
H A Dmysqli_fetch_fields.phpt47 if ($field->length != $charsetInfo->max_length) {
49 $charsetInfo->max_length,
50 $field->max_length);
84 [%u|b%"max_length"]=>
112 [%u|b%"max_length"]=>
H A Dmysqli_field_seek.phpt94 if ($field->length != $charsetInfo->max_length) {
96 $charsetInfo->max_length, $field->max_length);
144 [%u|b%"max_length"]=>
173 [%u|b%"max_length"]=>
202 [%u|b%"max_length"]=>
239 [%u|b%"max_length"]=>
H A Dmysqli_field_tell.phpt82 [%u|b%"max_length"]=>
H A Dmysqli_get_charset.phpt89 ($charset->min_length > $charset->max_length))
90 printf("[020] Expecting int between 0 ... %d, got %s/%s\n", $charset->max_length,
H A Dmysqli_stmt_attr_get.phpt30 $valid_attr = array("max_length" => MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH);
H A Dmysqli_stmt_attr_set.phpt84 $max_lengths[$meta->name] = $meta->max_length;
85 if ($meta->max_length !== 0)
86 …printf("[007] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta…
91 // expecting max_length to _be_ set
104 $max_lengths[$meta->name] = $meta->max_length;
105 if ($meta->max_length === 0)
106 …printf("[008] max_length should be set (!= 0), got %s for field %s\n", $meta->max_length, $meta->n…
111 // expecting max_length not to be set
124 $max_lengths[$meta->name] = $meta->max_length;
125 if ($meta->max_length !== 0)
[all …]
H A Dmysqli_stmt_bind_result.phpt287 a hugge max_length(type) = 4GB bind buffer */

Completed in 112 milliseconds

12