Searched refs:max_length (Results 1 - 20 of 20) sorted by relevance

/PHP_5_3/ext/mssql/
H A Dphp_mssql.c1227 result->fields[i].max_length = dbcollen(mssql_ptr->link,i+1);
1727 add_property_long(return_value, "max_length",result->fields[field_offset].max_length);
1760 RETURN_LONG(result->fields[field_offset].max_length);
H A Dphp_mssql.h182 long max_length; member in struct:mssql_field
/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c392 max_length to be updated. this is done only for BLOBS because we don't want to allocate
395 if (stmt->stmt->fields[ofs].max_length == 0 &&
412 if (!(stmt->result.buf[ofs].buflen = stmt->stmt->fields[ofs].max_length))
1063 add_property_long(value, "max_length", field->max_length);
/PHP_5_3/ext/oci8/
H A Doci8_statement.c965 /* int curr_element_length = strlen(((text *)bind->array.elements)+i*bind->array.max_length); */
969 ZVAL_STRINGL(*entry, (char *)(((text *)bind->array.elements)+i*bind->array.max_length), curr_element_length, 1);
972 add_next_index_stringl(bind->zval, (char *)(((text *)bind->array.elements)+i*bind->array.max_length), curr_element_length, 1);
1482 (sb4) bind->array.max_length,
1531 bind->array.max_length = maxlength;
1588 bind->array.max_length = sizeof(ub4);
1626 bind->array.max_length = sizeof(double);
1664 bind->array.max_length = sizeof(OCIDate);
H A Dphp_oci8_int.h219 ub4 max_length; member in struct:__anon115::__anon116
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c268 S->max_length = pdo_attr_lval(driver_options, PDO_ATTR_MAX_COLUMN_LEN, 0 TSRMLS_CC);
H A Dmysql_statement.c194 int calc_max_length = H->buffered && S->max_length == 1;
236 S->fields[i].max_length? S->fields[i].max_length:
248 if (S->fields[i].max_length == 0 && S->bound_result[i].buffer_length < 128 && MYSQL_TYPE_VAR_STRING) {
H A Dphp_pdo_mysql_int.h146 unsigned max_length:1; member in struct:__anon138
/PHP_5_3/ext/sybase_ct/
H A Dphp_sybase_ct.c1408 result->fields[i].max_length = result->datafmt[i].maxlength-1;
2010 add_property_long(return_value, "max_length", result->fields[field_offset].max_length);
H A Dphp_sybase_ct.h94 int max_length, numeric; member in struct:__anon227
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c416 DBG_INF_FMT("name=%s max_length=%u",
418 meta->fields[meta->current_field].max_length);
430 DBG_INF_FMT("name=%s max_length=%u",
432 meta->fields[meta->current_field].max_length);
H A Dmysqlnd_structs.h74 unsigned long max_length; /* Max width for selected set */ member in struct:st_mysqlnd_field
H A Dmysqlnd_ps.c768 String of zero size, definitely can't be the next max_length.
773 if (meta->fields[i].max_length < len) {
774 meta->fields[i].max_length = len;
902 && (result->meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data)))
904 result->meta->fields[i].max_length = Z_STRLEN_P(data);
1092 && (result->meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data)))
1094 result->meta->fields[i].max_length = Z_STRLEN_P(data);
1794 /* stored result, we have to update the max_length before we clone the meta data :( */
H A Dmysqlnd_result.c69 String of zero size, definitely can't be the next max_length.
74 if (result->meta->fields[i].max_length < len) {
75 result->meta->fields[i].max_length = len;
713 if (field->max_length < len) {
714 field->max_length = len;
851 if (field->max_length < len) {
852 field->max_length = len;
983 String of zero size, definitely can't be the next max_length.
988 if (field->max_length < len) {
989 field->max_length
[all...]
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c1309 long max_length; local
1315 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|s", &zstream, &max_length, &str, &str_len) == FAILURE) {
1319 if (max_length < 0) {
1323 if (!max_length) {
1324 max_length = PHP_SOCK_CHUNK_SIZE;
1329 if ((buf = php_stream_get_record(stream, max_length, &buf_size, str, str_len TSRMLS_CC))) {
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c2384 add_property_long(return_value, "max_length", mysql_field->max_length);
/PHP_5_3/ext/date/lib/
H A Dparse_date.c446 static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length) argument
459 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
474 static timelib_sll timelib_get_nr(char **ptr, int max_length) argument
476 return timelib_get_nr_ex(ptr, max_length, NULL);
489 static double timelib_get_frac_nr(char **ptr, int max_length) argument
502 while (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) {
517 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) argument
535 return dir * timelib_get_nr(ptr, max_length);
H A Dparse_date.re444 static timelib_sll timelib_get_nr_ex(char **ptr, int max_length, int *scanned_length)
457 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
472 static timelib_sll timelib_get_nr(char **ptr, int max_length)
474 return timelib_get_nr_ex(ptr, max_length, NULL);
487 static double timelib_get_frac_nr(char **ptr, int max_length)
500 while (((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) && len < max_length) {
515 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length)
533 return dir * timelib_get_nr(ptr, max_length);
H A Dparse_iso_intervals.c135 static timelib_sll timelib_get_nr(char **ptr, int max_length) argument
148 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
160 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length) argument
178 return dir * timelib_get_nr(ptr, max_length);
H A Dparse_iso_intervals.re133 static timelib_sll timelib_get_nr(char **ptr, int max_length)
146 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
158 static timelib_ull timelib_get_unsigned_nr(char **ptr, int max_length)
176 return dir * timelib_get_nr(ptr, max_length);

Completed in 80 milliseconds