Home
last modified time | relevance | path

Searched refs:meta (Results 1 – 25 of 60) sorted by relevance

123

/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c33 if (meta) { in php_mysqlnd_free_field_metadata()
34 meta->root = NULL; in php_mysqlnd_free_field_metadata()
35 meta->def = NULL; in php_mysqlnd_free_field_metadata()
36 if (meta->sname) { in php_mysqlnd_free_field_metadata()
102 i = meta->field_count; in MYSQLND_METHOD()
106 meta->fields = NULL; in MYSQLND_METHOD()
133 new_meta->m = meta->m; in MYSQLND_METHOD()
214 if (meta->current_field >= meta->field_count) { in MYSQLND_METHOD()
219 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:""); in MYSQLND_METHOD()
220 DBG_RETURN(&meta->fields[meta->current_field++]); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_result.c86 if (result->meta) { in MYSQLND_METHOD()
88 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
141 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
151 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
415 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
561 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
908 DBG_RETURN(result->meta->m->fetch_field(result->meta)); in MYSQLND_METHOD()
939 DBG_RETURN(result->meta->m->fetch_fields(result->meta)); in MYSQLND_METHOD()
951 return result->meta? result->meta->m->field_seek(result->meta, field_offset) : 0; in MYSQLND_METHOD()
960 return result->meta? result->meta->m->field_tell(result->meta) : 0; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.c1158 MYSQLND_FIELD *meta; in php_mysqlnd_rset_field_read() local
1231 (meta->type != MYSQL_TYPE_TIMESTAMP || meta->length == 14 || meta->length == 8) in php_mysqlnd_rset_field_read()
1260 meta->sname = zend_string_init_interned(meta->name, meta->name_length, 0); in php_mysqlnd_rset_field_read()
1261 meta->name = ZSTR_VAL(meta->sname); in php_mysqlnd_rset_field_read()
1269 meta->catalog = memcpy(root_ptr, meta->catalog, len); in php_mysqlnd_rset_field_read()
1276 meta->db = memcpy(root_ptr, meta->db, len); in php_mysqlnd_rset_field_read()
1283 meta->table = memcpy(root_ptr, meta->table, len); in php_mysqlnd_rset_field_read()
1290 meta->org_table = memcpy(root_ptr, meta->org_table, len); in php_mysqlnd_rset_field_read()
1297 meta->org_name = memcpy(root_ptr, meta->org_name, len); in php_mysqlnd_rset_field_read()
1304 DBG_INF_FMT("FIELD=[%s.%s.%s]", meta->db? meta->db:"*NA*", meta->table? meta->table:"*NA*", in php_mysqlnd_rset_field_read()
[all …]
/PHP-8.3/ext/standard/tests/strings/
H A Dget_meta_tags.phpt9 <meta name="author" content="name">
10 <meta name="keywords" content="php documentation">
11 <meta name="DESCRIPTION" content="a php manual">
12 <meta name="geo.position" content="49.33;-86.59">
19 <meta name="author" content="name">
25 <meta name="author" content="name1">
34 <meta name="author" content="name"
35 <meta name="keywords" content="php documentation">
39 <meta <meta name="keywords" content="php documentation">
43 <meta name="author" content="name"
[all …]
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_metadata.phpt2 mysqli_stmt_get_result() - meta data
83 $fields['meta'][] = $info;
91 count($fields['meta']));
98 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
102 … gettype($info->orgname), $info->orgname, gettype($fields['meta'][$k]->orgname), $fields['meta'][$…
106 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
110 …ttype($info->orgtable), $info->orgtable, gettype($fields['meta'][$k]->orgtable), $fields['meta'][$…
114 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
122 …k, gettype($info->length), $info->length, gettype($fields['meta'][$k]->length), $fields['meta'][$k…
130 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
[all …]
H A Dmysqli_stmt_attr_set.phpt55 foreach ($fields as $k => $meta) {
56 $max_lengths[$meta->name] = $meta->max_length;
57 if ($meta->max_length !== 0)
58 …"[007] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta->name);
75 foreach ($fields as $k => $meta) {
76 $max_lengths[$meta->name] = $meta->max_length;
77 if ($meta->max_length !== 0)
78 …"[008] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta->name);
95 foreach ($fields as $k => $meta) {
96 $max_lengths[$meta->name] = $meta->max_length;
[all …]
H A Dmysqli_stmt_result_metadata_sqltests.phpt52 $meta = array(
63 if (is_object($meta['fetch_field'])) {
64 $meta['fetch_field']->charsetnr = 'ignore';
65 $meta['fetch_field']->flags = 'ignore';
67 if (is_object($meta['fetch_field_direct0'])) {
69 $meta['fetch_field_direct0']->flags = 'ignore';
71 if (is_object($meta['fetch_field_direct1'])) {
77 if ($meta != $expected_lib) {
80 var_dump($meta);
159 if ($compare && $meta_res != $meta) {
[all …]
H A Dmysqli_fetch_assoc_zerofill.phpt36 $meta = mysqli_fetch_fields($res);
38 $meta = $meta[0];
39 $length = $meta->length;
H A Dmysqli_stmt_bind_result_zerofill.phpt49 $meta = mysqli_fetch_fields($res);
52 $meta = $meta[0];
53 $length = $meta->length;
/PHP-8.3/ext/pdo/tests/
H A Dpdo_022.phpt12 * Note well: meta information is a nightmare to handle portably.
48 $meta = $select->getColumnMeta(0);
49 var_dump($meta);
50 $meta = $select->getColumnMeta(1);
51 var_dump($meta);
52 $meta = $select->getColumnMeta(2);
53 var_dump($meta);
57 $meta = $select->getColumnMeta(0);
58 var_dump($meta);
/PHP-8.3/ext/phar/tests/cache_list/files/
H A Dphar_test.inc19 $meta = NULL;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
38 if (isset($meta)) $meta = serialize($meta);
42 …nifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
/PHP-8.3/ext/phar/tests/files/
H A Dphar_test.inc19 $meta = NULL;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
38 $meta = isset($meta) ? serialize($meta) : "";
42 …nifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
/PHP-8.3/ext/pdo_oci/tests/
H A Dpdo_oci_stmt_getcolumnmeta.phpt103 if (empty($meta)) {
143 $pdo_type, var_export($meta, true), var_export($meta['native_type']));
249 $meta = $stmt->getColumnMeta(0);
252 $meta = $stmt->getColumnMeta(0);
255 $meta = $stmt->getColumnMeta(0);
266 $meta = $stmt->getColumnMeta(0);
268 if (!isset($meta['flags'])) {
271 $flags = $meta['flags'];
282 $meta = $stmt->getColumnMeta(1);
284 if (!isset($meta['flags'])) {
[all …]
/PHP-8.3/ext/phar/tests/
H A Dphar_metadata_read.phpt18 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
19 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
34 echo " meta $name\n";
60 meta a
65 meta b
70 meta c
80 meta d
H A Dmetadata_read.phpt2 Phar with meta-data (read)
15 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
16 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
17 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
H A Dmetadata_write.phpt2 Phar with meta-data (write)
16 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
17 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
18 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
H A Dmetadata_write_commit.phpt2 Phar with meta-data (write)
16 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
17 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
18 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
H A Dbug69324.phpt9 $meta=$p->getMetadata();
10 var_dump($meta);
H A Dbug70433.phpt10 $meta = $phar->getMetadata();
11 var_dump($meta);
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_getcolumnmeta.phpt80 $meta = $stmt->getColumnMeta(1);
83 if (empty($meta)) {
97 if (($meta['table'] != 'test') || ($meta['name'] != 'label')) {
130 $pdo_type, var_export($meta, true), var_export($meta['native_type']));
234 if (!isset($meta['flags'])) {
237 $flags = $meta['flags'];
255 if (!isset($meta['flags'])) {
258 $flags = $meta['flags'];
276 if (!isset($meta['flags'])) {
279 $flags = $meta['flags'];
[all …]
/PHP-8.3/main/streams/
H A Dmemory.c339 zval meta; member
410 zval_ptr_dtor(&ts->meta); in php_stream_temp_close()
556 ZVAL_UNDEF(&self->meta); in _php_stream_temp_create_ex()
616 zval meta; in php_stream_url_wrap_rfc2397() local
622 ZVAL_NULL(&meta); in php_stream_url_wrap_rfc2397()
652 array_init(&meta); in php_stream_url_wrap_rfc2397()
662 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
695 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
700 array_init(&meta); in php_stream_url_wrap_rfc2397()
711 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
[all …]
/PHP-8.3/ext/phar/tests/zip/
H A Dmetadata_write_commit.phpt2 Phar with meta-data (write) zip-based
19 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
20 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
21 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
/PHP-8.3/ext/dom/tests/
H A Dbug69679.phpt8 $html = "<!DOCTYPE html><html><head><meta charset='UTF-8'></head><body>U+0000 <span>\x0</span></bod…
14 <html><head><meta charset="UTF-8"></head><body>U+0000 <span></span></body></html>
/PHP-8.3/ext/standard/tests/http/
H A Dbug43510.phpt20 $meta = stream_get_meta_data($fd);
21 var_dump($meta['mode']);
/PHP-8.3/ext/standard/tests/streams/
H A Dbug71323.phpt8 $meta = stream_get_meta_data(fopen($file, "r"));
9 var_dump($meta);

Completed in 46 milliseconds

123