/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 35 if (meta) { in php_mysqlnd_free_field_metadata() 71 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD() 121 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD() 127 mnd_pefree(meta->zend_hash_keys, meta->persistent); in MYSQLND_METHOD() 131 mnd_pefree(meta, meta->persistent); in MYSQLND_METHOD() 240 if (meta->current_field >= meta->field_count) { in MYSQLND_METHOD() 245 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD() 246 meta->fields[meta->current_field].max_length); in MYSQLND_METHOD() 247 DBG_RETURN(&meta->fields[meta->current_field++]); in MYSQLND_METHOD() 259 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_result.c | 329 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD() 372 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD() 694 MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 815 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 989 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 1082 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 1168 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 1454 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local 1649 DBG_RETURN(result->meta->m->fetch_field(result->meta)); in MYSQLND_METHOD() 1725 return result->meta? result->meta->m->field_seek(result->meta, field_offset) : 0; in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_wireprotocol.c | 1342 (meta->type != MYSQL_TYPE_TIMESTAMP || meta->length == 14 || meta->length == 8) in php_mysqlnd_rset_field_read() 1380 meta->sname = zend_string_init(meta->name, meta->name_length, packet->persistent_alloc); in php_mysqlnd_rset_field_read() 1384 meta->name = ZSTR_VAL(meta->sname); in php_mysqlnd_rset_field_read() 1385 meta->name_length = ZSTR_LEN(meta->sname); in php_mysqlnd_rset_field_read() 1390 meta->catalog = memcpy(root_ptr, meta->catalog, len); in php_mysqlnd_rset_field_read() 1395 if (meta->db && meta->db != mysqlnd_empty_string) { in php_mysqlnd_rset_field_read() 1397 meta->db = memcpy(root_ptr, meta->db, len); in php_mysqlnd_rset_field_read() 1404 meta->table = memcpy(root_ptr, meta->table, len); in php_mysqlnd_rset_field_read() 1418 meta->org_name = memcpy(root_ptr, meta->org_name, len); in php_mysqlnd_rset_field_read() 1425 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.2/ext/standard/tests/strings/ |
H A D | get_meta_tags.phpt | 9 <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.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_metadata.phpt | 2 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 D | mysqli_stmt_attr_set.phpt | 83 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 D | mysqli_stmt_result_metadata_sqltests.phpt | 52 $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 D | mysqli_fetch_assoc_zerofill.phpt | 36 $meta = mysqli_fetch_fields($res); 38 $meta = $meta[0]; 39 $length = $meta->length;
|
/PHP-7.2/ext/pdo/tests/ |
H A D | pdo_022.phpt | 12 * 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.2/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 21 $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.2/ext/phar/tests/files/ |
H A D | phar_test.inc | 21 $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.2/ext/openssl/tests/ |
H A D | session_meta_capture.phpt | 2 Capture SSL session meta array in stream context 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']); 55 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta']; 56 var_dump($meta['protocol']);
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_metadata_read.phpt | 20 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there')); 21 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar')); 36 echo " meta $name\n"; 63 meta a 68 meta b 73 meta c 83 meta d
|
H A D | metadata_read.phpt | 2 Phar with meta-data (read) 17 $files['b'] = array('cont' => 'b', 'meta' => 'hi there'); 18 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there')); 19 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
|
H A D | metadata_write.phpt | 2 Phar with meta-data (write) 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 D | metadata_write_commit.phpt | 2 Phar with meta-data (write) 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 D | bug69324.phpt | 11 $meta=$p->getMetadata(); 12 var_dump($meta);
|
H A D | bug70433.phpt | 9 $meta = $phar->getMetadata(); 10 var_dump($meta);
|
H A D | phar_metadata_write.phpt | 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'));
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_getcolumnmeta.phpt | 90 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.2/main/streams/ |
H A D | memory.c | 346 zval meta; member 416 zval_ptr_dtor(&ts->meta); in php_stream_temp_close() 563 ZVAL_UNDEF(&self->meta); in _php_stream_temp_create_ex() 623 zval meta; in php_stream_url_wrap_rfc2397() local 627 ZVAL_NULL(&meta); in php_stream_url_wrap_rfc2397() 657 array_init(&meta); in php_stream_url_wrap_rfc2397() 667 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397() 702 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397() 707 array_init(&meta); in php_stream_url_wrap_rfc2397() 718 zval_ptr_dtor(&meta); in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-7.2/ext/dom/tests/ |
H A D | bug69679.phpt | 6 $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>
|
/PHP-7.2/ext/phar/tests/zip/ |
H A D | metadata_write_commit.phpt | 2 Phar with meta-data (write) zip-based 21 $files['b'] = array('cont' => 'b', 'meta' => 'hi there'); 22 $files['c'] = array('cont' => 'c', 'meta' => array('hi', 'there')); 23 $files['d'] = array('cont' => 'd', 'meta' => array('hi'=>'there','foo'=>'bar'));
|
/PHP-7.2/ext/standard/tests/http/ |
H A D | bug43510.phpt | 20 $meta = stream_get_meta_data($fd); 21 var_dump($meta['mode']);
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | bug71323.phpt | 8 $meta = stream_get_meta_data(fopen($file, "r")); 9 var_dump($meta);
|