Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/PHP-7.0/ext/filter/tests/
H A Dfilter_data.phpt11 $data = "-123"; var_dump(filter_var($data, FILTER_VALIDATE_INT));
12 $data = "0"; var_dump(filter_var($data, FILTER_VALIDATE_INT));
13 $data = "-0"; var_dump(filter_var($data, FILTER_VALIDATE_INT));
14 $data = "+0"; var_dump(filter_var($data, FILTER_VALIDATE_INT));
15 $data = "123"; var_dump(filter_var($data, FILTER_VALIDATE_INT));
16 $data = -123; var_dump(filter_var($data, FILTER_VALIDATE_INT));
17 $data = 0; var_dump(filter_var($data, FILTER_VALIDATE_INT));
18 $data = -0; var_dump(filter_var($data, FILTER_VALIDATE_INT));
19 $data = +0; var_dump(filter_var($data, FILTER_VALIDATE_INT));
20 $data = 123; var_dump(filter_var($data, FILTER_VALIDATE_INT));
[all …]
/PHP-7.0/ext/bz2/
H A Dbz2_filter.c134 data->strm.next_in = data->inbuf; in php_bz2_decompress_filter()
145 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
168 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
190 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor()
192 pefree(data, data->persistent); in php_bz2_decompress_dtor()
247 data->strm.next_in = data->inbuf; in php_bz2_compress_filter()
259 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
277 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
296 pefree(data, data->persistent); in php_bz2_compress_dtor()
324 data->strm.opaque = (void *) data; in php_bz2_filter_create()
[all …]
/PHP-7.0/ext/zlib/
H A Dzlib_filter.c103 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
108 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
119 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
144 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
164 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor()
166 pefree(data, data->persistent); in php_zlib_inflate_dtor()
223 data->strm.next_in = data->inbuf; in php_zlib_deflate_filter()
235 data->strm.next_out = data->outbuf; in php_zlib_deflate_filter()
275 pefree(data, data->persistent); in php_zlib_deflate_dtor()
303 data->strm.opaque = (voidpf) data; in php_zlib_filter_create()
[all …]
/PHP-7.0/ext/wddx/tests/
H A Dbug37569.phpt21 <wddxPacket version='1.0'><header/><data><string>A</string></data></wddxPacket>
25 <wddxPacket version='1.0'><header/><data><string>B</string></data></wddxPacket>
29 <wddxPacket version='1.0'><header/><data><string>C</string></data></wddxPacket>
33 <wddxPacket version='1.0'><header/><data><string>D</string></data></wddxPacket>
37 <wddxPacket version='1.0'><header/><data><string>E</string></data></wddxPacket>
41 <wddxPacket version='1.0'><header/><data><string>F</string></data></wddxPacket>
45 <wddxPacket version='1.0'><header/><data><string>G</string></data></wddxPacket>
49 <wddxPacket version='1.0'><header/><data><string>H</string></data></wddxPacket>
53 <wddxPacket version='1.0'><header/><data><string>I</string></data></wddxPacket>
57 <wddxPacket version='1.0'><header/><data><string>J</string></data></wddxPacket>
[all …]
/PHP-7.0/ext/zip/lib/
H A Dzip_buffer.c42 return buffer->data; in _zip_buffer_data()
71 zip_uint8_t *data; in _zip_buffer_get() local
78 data = buffer->data + buffer->offset; in _zip_buffer_get()
80 return data; in _zip_buffer_get()
89 if (data == NULL) { in _zip_buffer_get_16()
93 return (zip_uint16_t)(data[0] + (data[1] << 8)); in _zip_buffer_get_16()
106 return ((((((zip_uint32_t)data[3] << 8) + data[2]) << 8) + data[1]) << 8) + data[0]; in _zip_buffer_get_32()
119data[7] << 56) + ((zip_uint64_t)data[6] << 48) + ((zip_uint64_t)data[5] << 40) + ((zip_uint64_t)da… in _zip_buffer_get_64()
133 return data[0]; in _zip_buffer_get_8()
164 buffer->data = data; in _zip_buffer_new()
[all …]
/PHP-7.0/ext/ftp/tests/
H A Dftp_nb_continue.phpt33 This is line 0 of the test data.
34 This is line 1 of the test data.
35 This is line 2 of the test data.
36 This is line 3 of the test data.
37 This is line 4 of the test data.
38 This is line 5 of the test data.
39 This is line 6 of the test data.
40 This is line 7 of the test data.
41 This is line 8 of the test data.
42 This is line 9 of the test data.
[all …]
/PHP-7.0/ext/session/
H A Dmod_mm.c51 void *data; member
101 ehash = data->hash + data->hash_max + 1; in hash_split()
109 mm_free(data->mm, data->hash); in hash_split()
146 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
175 mm_free(data->mm, sd->data); in ps_sd_destroy()
240 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
268 mm_free(data->mm, data->hash); in ps_mm_destroy()
270 free(data); in ps_mm_destroy()
403 mm_free(data->mm, sd->data); in PS_WRITE_FUNC()
406 sd->data = mm_malloc(data->mm, sd->alloclen); in PS_WRITE_FUNC()
[all …]
H A Dmod_files.c117 if (!data || key_len <= data->dirdepth || in ps_files_path_create()
123 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create()
151 close(data->fd); in ps_files_close()
152 data->fd = -1; in ps_files_close()
164 if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { in ps_files_open()
208 data->fd = -1; in ps_files_open()
374 ps_files *data; in PS_OPEN_FUNC() local
420 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC()
422 data->fd = -1; in PS_OPEN_FUNC()
426 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
[all …]
/PHP-7.0/ext/mcrypt/
H A Dmcrypt_filter.c68 memcpy(outchunk, data->block_buffer, data->block_used); in php_mcrypt_filter()
75 mcrypt_generic(data->module, outchunk + n, data->blocksize); in php_mcrypt_filter()
77 mdecrypt_generic(data->module, outchunk + n, data->blocksize); in php_mcrypt_filter()
81 memcpy(data->block_buffer, outchunk + n, data->block_used); in php_mcrypt_filter()
107 memset(data->block_buffer + data->block_used, 0, data->blocksize - data->block_used); in php_mcrypt_filter()
109 mcrypt_generic(data->module, data->block_buffer, data->blocksize); in php_mcrypt_filter()
111 mdecrypt_generic(data->module, data->block_buffer, data->blocksize); in php_mcrypt_filter()
114 …newbucket = php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent… in php_mcrypt_filter()
133 pefree(data->block_buffer, data->persistent); in php_mcrypt_filter_dtor()
139 pefree(data, data->persistent); in php_mcrypt_filter_dtor()
[all …]
/PHP-7.0/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt31 // int data
39 // float data
51 // null data
59 // boolean data
69 // empty data
77 // string data
84 // undefined data
89 // unset data
116 -- Iteration 1: int data --
117 -- $key arguments are int data:
[all …]
H A Dcurrent_variation2.phpt40 // int data
48 // float data
57 // null data
63 // boolean data
71 // empty data
80 // string data
87 // object data
92 // undefined data
97 // unset data
122 -- Iteration 1 : int data --
[all …]
H A Darray_change_key_case_variation3.phpt29 // int data
37 // float data
49 // null data
57 // boolean data
67 // empty data
75 // string data
82 // undefined data
87 // unset data
106 -- Iteration 1 : int data --
118 -- Iteration 2 : float data --
[all …]
H A Darray_shift_variation2.phpt40 // int data
48 // float data
57 // null data
63 // boolean data
71 // empty data
80 // string data
87 // object data
92 // undefined data
97 // unset data
125 -- Iteration 1: int data --
[all …]
H A Darray_values_variation2.phpt39 // int data
47 // float data
56 // null data
62 // boolean data
70 // empty data
79 // string data
86 // object data
91 // undefined data
96 // unset data
123 -- Iteration 1: int data --
[all …]
H A Darray_shift_variation3.phpt28 // int data
36 // float data
48 // null data
57 // boolean data
68 // empty data
77 // string data
84 // undefined data
89 // unset data
109 -- Iteration 1 : int data --
120 -- Iteration 2 : float data --
[all …]
H A Darray_values_variation3.phpt29 // int data
37 // float data
49 // null data
58 // boolean data
69 // empty data
78 // string data
85 // undefined data
90 // unset data
109 -- Iteration 1: int data --
121 -- Iteration 2: float data --
[all …]
H A Dkey_variation2.phpt28 // int data
36 // float data
48 // null data
57 // boolean data
68 // empty data
77 // string data
84 // undefined data
89 // unset data
110 -- Iteration 1 : int data --
116 -- Iteration 2 : float data --
[all …]
/PHP-7.0/ext/session/tests/
H A Dsession_encode_basic.phpt40 // Integer data
46 // Float data
53 // Null data
57 // Boolean data
72 // Object data
78 // Unset data
104 string(9) "data|i:0;"
131 string(7) "data|N;"
134 string(7) "data|N;"
167 string(7) "data|N;"
[all …]
H A Dsession_decode_basic_serialize.phpt107 ["data"]=>
114 ["data"]=>
121 ["data"]=>
128 ["data"]=>
135 ["data"]=>
142 ["data"]=>
149 ["data"]=>
156 ["data"]=>
163 ["data"]=>
170 ["data"]=>
[all …]
H A Dsession_decode_basic.phpt106 ["data"]=>
113 ["data"]=>
120 ["data"]=>
127 ["data"]=>
134 ["data"]=>
141 ["data"]=>
148 ["data"]=>
155 ["data"]=>
162 ["data"]=>
169 ["data"]=>
[all …]
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd.h76 #define mysqlnd_end_psession(conn) ((conn)->data)->m->end_psession((conn)->data)
117 #define mysqlnd_use_result(conn) ((conn)->data)->m->use_result((conn)->data, 0)
120 #define mysqlnd_next_result(conn) ((conn)->data)->m->next_result((conn)->data)
121 #define mysqlnd_more_results(conn) ((conn)->data)->m->more_results((conn)->data)
126 #define mysqlnd_errno(conn) ((conn)->data)->m->get_error_no((conn)->data)
127 #define mysqlnd_error(conn) ((conn)->data)->m->get_error_str((conn)->data)
128 #define mysqlnd_sqlstate(conn) ((conn)->data)->m->get_sqlstate((conn)->data)
138 #define mysqlnd_info(conn) ((conn)->data)->m->get_last_message((conn)->data)
143 #define mysqlnd_thread_id(conn) ((conn)->data)->m->get_thread_id((conn)->data)
200 #define mysqlnd_ping(conn) ((conn)->data)->m->ping((conn)->data)
[all …]
/PHP-7.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c90 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
94 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
112 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
138 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
142 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
146 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
170 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
178 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
205 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
[all …]
/PHP-7.0/ext/pcre/pcrelib/
H A Dpcre_xclass.c68 BOOL negated = (*data & XCL_NOT) != 0; in PRIV()
82 if ((*data & XCL_HASPROP) == 0) in PRIV()
84 if ((*data & XCL_MAP) == 0) return negated; in PRIV()
87 if ((*data & XCL_MAP) != 0 && in PRIV()
96 if ((*data++ & XCL_MAP) != 0) data += 32 / sizeof(pcre_uchar); in PRIV()
98 while ((t = *data++) != XCL_END) in PRIV()
110 x = *data++; in PRIV()
124 x = *data++; in PRIV()
125 y = *data++; in PRIV()
136 switch(*data) in PRIV()
[all …]
/PHP-7.0/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt23 "create table pdo_oci_stream_1_tab (id number, data clob)",
35 insert into pdo_oci_stream_1_tab (id,data) values (2, lob1);
40 $s = $dbh->prepare("select data from pdo_oci_stream_1_tab where id = 1");
45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
[all …]
/PHP-7.0/Zend/tests/anon/
H A D004.phpt6 protected $data;
8 public function __construct($data) {
9 $this->data = $data;
14 return new class($this->data) extends Outer implements ArrayAccess {
15 public function offsetGet($offset) { return $this->data[$offset]; }
16 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); }
17 public function offsetUnset($offset) { unset($this->data[$offset]); }
18 public function offsetExists($offset) { return isset($this->data[$offset]); }

Completed in 108 milliseconds

12345678910>>...80