Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 151) sorted by last modified time

1234567

/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst63 where we're not dealing with a ``zval`` directly. It also stores some additional fields, described
H A Dzval.rst75 The rest of the fields aren't important for now.
81 Together, the value and the tag make up the ``zval``, along with some other fields. It may look
130 The fields in ``zval`` should never be accessed directly. Instead, there are a plethora of macros to
197 or function, the ``zval.value.ce`` or ``zval.value.func`` fields may be used, respectively.
H A Dzend_string.rst15 the strings length, along with some other fields. It looks as follows:
57 string was allocated. After releasing the string, you must not access any of its fields anymore, as
104 As per php-src fashion, you are not supposed to access the ``zend_string`` fields directly. Instead,
/php-src/scripts/gdb/
H A Dphp_gdb.py45 for field in self.val.type.fields():
81 for field in self.val.type.fields():
149 for field in val.type.fields():
253 for field in self.val.type.fields():
342 return ary_type.fields()[0].type.range()[1]+1
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c1405 php_mysqlnd_rowp_read_binary_protocol(MYSQLND_ROW_BUFFER * row_buffer, zval * fields, in php_mysqlnd_rowp_read_binary_protocol() argument
1417 if (!fields) { in php_mysqlnd_rowp_read_binary_protocol()
1421 end_field = (start_field = fields) + field_count; in php_mysqlnd_rowp_read_binary_protocol()
1496 php_mysqlnd_rowp_read_text_protocol(MYSQLND_ROW_BUFFER * row_buffer, zval * fields, in php_mysqlnd_rowp_read_text_protocol() argument
1508 if (!fields) { in php_mysqlnd_rowp_read_text_protocol()
1512 end_field = (start_field = fields) + field_count; in php_mysqlnd_rowp_read_text_protocol()
H A Dmysqlnd_result.c540 row_packet->fields_metadata = result->meta->fields; in MYSQLND_METHOD()
570 meta->fields, in MYSQLND_METHOD()
646 row_packet.fields_metadata = meta->fields; in MYSQLND_METHOD()
990 MYSQLND_FIELD *field = meta->fields; in MYSQLND_METHOD()
1008 if (meta->fields[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1009 zend_hash_update(row_ht, meta->fields[i].sname, data); in MYSQLND_METHOD()
1011 zend_hash_index_update(row_ht, meta->fields[i].num_key, data); in MYSQLND_METHOD()
1034 MYSQLND_FIELD *field = result->meta->fields; in MYSQLND_METHOD()
H A Dmysqlnd_structs.h622 …f enum_func_status (*func_mysqlnd_res__row_decoder)(MYSQLND_ROW_BUFFER * row_buffer, zval * fields,
1152 MYSQLND_FIELD *fields; member
/php-src/ext/standard/
H A Dbasic_functions.stub.php2886 function fputcsv($stream, array $fields, string $separator = ",", string $enclosure = "\"", string …
H A Dbasic_functions_arginfo.h1329 ZEND_ARG_TYPE_INFO(0, fields, IS_ARRAY, 0)
/php-src/ext/ffi/
H A Dffi.c128 HashTable fields; member
360 ZEND_HASH_MAP_FOREACH_PTR(&type->record.fields, field) { in zend_ffi_face_struct_add_fields()
398 zend_hash_num_elements(&field_type->record.fields) : 1; in zend_ffi_face_struct_add_fields()
424 zend_hash_num_elements(&type->record.fields) : 1; in zend_ffi_make_fake_struct_type()
1243 field = zend_hash_find_ptr(&type->record.fields, field_name); in zend_ffi_cdata_read_field()
2312 zend_hash_destroy(&type->record.fields); in _zend_ffi_type_dtor()
3093 … if (zend_hash_num_elements(&old->record.fields) != zend_hash_num_elements(&type->record.fields)) { in zend_ffi_same_types()
3098 Bucket *b = type->record.fields.arData; in zend_ffi_same_types()
4797 ZEND_HASH_MAP_FOREACH_STR_KEY(&type->record.fields, name) { in ZEND_METHOD()
4821 ptr = zend_hash_find_ptr(&type->record.fields, name); in ZEND_METHOD()
[all …]
/php-src/
H A Dphp.ini-development1137 ; Handling of LONG fields. Returns number of bytes to variables. 0 means
H A Dphp.ini-production1139 ; Handling of LONG fields. Returns number of bytes to variables. 0 means
/php-src/ext/spl/
H A Dspl_directory.c2356 zval *fields = NULL; in PHP_METHOD() local
2359 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|sssS", &fields, &delim, &d_len, &enclo, &e_len, &esc… in PHP_METHOD()
2389 ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape, eol); in PHP_METHOD()
H A Dspl_directory_arginfo.h191 ZEND_ARG_TYPE_INFO(0, fields, IS_ARRAY, 0)
/php-src/ext/pdo_mysql/
H A Dmysql_statement.c152 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_fill_stmt_from_result()
175 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared()
189 S->fields = mysql_fetch_fields(S->result); in pdo_mysql_stmt_after_execute_prepared()
203 switch (S->fields[i].type) { 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()
222 S->fields[i].length; in pdo_mysql_stmt_after_execute_prepared()
652 cols[i].name = strpprintf(0, "%s.%s", S->fields[i].table, S->fields[i].name); in pdo_mysql_stmt_describe()
657 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0); in pdo_mysql_stmt_describe()
661 cols[i].precision = S->fields[i].decimals; in pdo_mysql_stmt_describe()
662 cols[i].maxlen = S->fields[i].length; in pdo_mysql_stmt_describe()
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_seek.phpt31 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count…
H A Dmysqli_stmt_get_result_types.phpt75 $fields = mysqli_fetch_fields($result);
H A Dmysqli_stmt_result_metadata_sqltests.phpt150 printf("[%04d - %s] Metadata seems wrong, no fields?\n",
H A Dmysqli_stmt_get_result_geom.phpt60 $fields = mysqli_fetch_fields($result);
61 if ($fields[1]->type != MYSQLI_TYPE_GEOMETRY) {
62 …ng type %d\n", $offset + 10, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt), $fields[1]->type);
H A Dmysqli_get_connection_stats.phpt36 printf("[005] The hashes should be identical except of the memory related fields\n");
51 printf("[007] The hashes should be identical except of the memory related fields\n");
H A Dmysqli_stmt_get_result_metadata.phpt75 $fields = array();
77 $fields['res'][] = $info;
80 $fields['meta'][] = $info;
85 if (count($fields['res']) != count($fields['meta'])) {
86 … printf("[014] stmt_get_result indicates %d fields, stmt_result_metadata indicates %d fields\n",
87 count($fields['res']),
88 count($fields['meta']));
111 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
139 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length;
141 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) {
[all …]
H A Dmysqli_explain_metadata.phpt40 $fields = mysqli_fetch_fields($res);
41 if (($tmp = count($fields)) !== $num_fields) {
46 foreach ($fields as $k => $field) {
92 if ($fields_res_meta != $fields) {
95 var_dump($fields);
126 reset($fields);
128 $fields_val = current($fields);
129 next($fields);
139 if ($fields_stmt != $fields) {
142 var_dump($fields);
/php-src/ext/pdo_pgsql/
H A Dpdo_pgsql_arginfo.h13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
21 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
H A Dpgsql_driver_arginfo.h9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
17 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
24 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fields, IS_STRING, 1, "null")
/php-src/docs-old/
H A Dstreams.md344 /* initialize the connection, and run a query, using the fields in state to

Completed in 117 milliseconds

1234567