Home
last modified time | relevance | path

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

123

/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_result_meta.c34 if (meta) { in php_mysqlnd_free_field_metadata()
70 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD()
163 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD()
169 mnd_pefree(meta->zend_hash_keys, meta->persistent); in MYSQLND_METHOD()
173 mnd_pefree(meta, meta->persistent); in MYSQLND_METHOD()
282 if (meta->current_field >= meta->field_count) { in MYSQLND_METHOD()
287 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
288 meta->fields[meta->current_field].max_length); in MYSQLND_METHOD()
289 DBG_RETURN(&meta->fields[meta->current_field++]); in MYSQLND_METHOD()
301 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_result.c324 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
367 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
683 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
802 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
970 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
1062 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
1149 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
1438 MYSQLND_RES_METADATA * meta = result->meta; in MYSQLND_METHOD() local
1628 DBG_RETURN(result->meta->m->fetch_field(result->meta)); in MYSQLND_METHOD()
1698 return result->meta? result->meta->m->field_seek(result->meta, field_offset) : 0; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_wireprotocol.c1318 (meta->type != MYSQL_TYPE_TIMESTAMP || meta->length == 14 || meta->length == 8) in php_mysqlnd_rset_field_read()
1356 meta->sname = zend_string_init(meta->name, meta->name_length, packet->persistent_alloc); in php_mysqlnd_rset_field_read()
1360 meta->name = ZSTR_VAL(meta->sname); in php_mysqlnd_rset_field_read()
1361 meta->name_length = ZSTR_LEN(meta->sname); in php_mysqlnd_rset_field_read()
1366 meta->catalog = memcpy(root_ptr, meta->catalog, len); in php_mysqlnd_rset_field_read()
1371 if (meta->db && meta->db != mysqlnd_empty_string) { in php_mysqlnd_rset_field_read()
1373 meta->db = memcpy(root_ptr, meta->db, len); in php_mysqlnd_rset_field_read()
1380 meta->table = memcpy(root_ptr, meta->table, len); in php_mysqlnd_rset_field_read()
1394 meta->org_name = memcpy(root_ptr, meta->org_name, len); in php_mysqlnd_rset_field_read()
1401 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-7.0/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-7.0/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'][$…
130 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
[all …]
H A Dmysqli_stmt_attr_set.phpt83 foreach ($fields as $k => $meta) {
84 $max_lengths[$meta->name] = $meta->max_length;
85 if ($meta->max_length !== 0)
86 …"[007] max_length should be not set (= 0), got %s for field %s\n", $meta->max_length, $meta->name);
103 foreach ($fields as $k => $meta) {
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…
123 foreach ($fields as $k => $meta) {
124 $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;
/PHP-7.0/ext/openssl/tests/
H A Dsession_meta_capture.phpt2 Capture SSL session meta array in stream context
40 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta'];
41 var_dump($meta['protocol']);
45 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta'];
46 var_dump($meta['protocol']);
50 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta'];
51 var_dump($meta['protocol']);
/PHP-7.0/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-7.0/ext/phar/tests/files/
H A Dphar_test.inc21 $meta = NULL;
26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
40 if (isset($meta)) $meta = serialize($meta);
44 …nifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
/PHP-7.0/ext/phar/tests/cache_list/files/
H A Dphar_test.inc21 $meta = NULL;
26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
40 if (isset($meta)) $meta = serialize($meta);
44 …nifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta;
/PHP-7.0/ext/phar/tests/
H A Dphar_metadata_read.phpt21 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
22 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
37 echo " meta $name\n";
64 meta a
69 meta b
74 meta c
84 meta d
H A Dphar_metadata_readU.phpt21 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
22 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
37 echo " meta $name\n";
64 meta a
69 meta b
74 meta c
84 meta d
H A Dmetadata_read.phpt2 Phar with meta-data (read)
18 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
19 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
20 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
H A Dmetadata_readU.phpt2 Phar with meta-data (read)
18 $files['b'] = array('cont' => 'b', 'meta' => 'hi there');
19 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there'));
20 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
H A Dmetadata_write.phpt2 Phar with meta-data (write)
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'));
H A Dmetadata_writeU.phpt2 Phar with meta-data (write)
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'));
H A Dmetadata_write_commit.phpt2 Phar with meta-data (write)
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'));
H A Dmetadata_write_commitU.phpt2 Phar with meta-data (write)
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'));
H A Dbug69324.phpt11 $meta=$p->getMetadata();
12 var_dump($meta);
H A Dbug70433.phpt9 $meta = $phar->getMetadata();
10 var_dump($meta);
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_getcolumnmeta.phpt90 if (empty($meta)) {
98 if (!isset($meta[$element])) {
104 if (($meta['table'] != 'test') || ($meta['name'] != 'label')) {
106 var_export($meta, true));
113 var_export($meta, true));
137 $pdo_type, var_export($meta, true), var_export($meta['native_type']));
242 if (!isset($meta['flags'])) {
245 $flags = $meta['flags'];
263 if (!isset($meta['flags'])) {
266 $flags = $meta['flags'];
[all …]
/PHP-7.0/main/streams/
H A Dmemory.c358 zval meta; member
428 zval_ptr_dtor(&ts->meta); in php_stream_temp_close()
575 ZVAL_UNDEF(&self->meta); in _php_stream_temp_create_ex()
635 zval meta; in php_stream_url_wrap_rfc2397() local
639 ZVAL_NULL(&meta); in php_stream_url_wrap_rfc2397()
669 array_init(&meta); in php_stream_url_wrap_rfc2397()
679 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
714 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
719 array_init(&meta); in php_stream_url_wrap_rfc2397()
730 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397()
[all …]
/PHP-7.0/ext/dom/tests/
H A Dbug69679.phpt6 $html = "<!DOCTYPE html><html><head><meta charset='UTF-8'></head><body>U+0000 <span>\x0</span></bod…
12 <html><head><meta charset="UTF-8"></head><body>U+0000 <span></span></body></html>

Completed in 77 milliseconds

123