Home
last modified time | relevance | path

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

12345678910>>...57

/PHP-7.4/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.4/ext/zlib/
H A Dzlib_filter.c97 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
102 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
113 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
134 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
154 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor()
156 pefree(data, data->persistent); in php_zlib_inflate_dtor()
217 data->strm.next_in = data->inbuf; in php_zlib_deflate_filter()
229 data->strm.next_out = data->outbuf; in php_zlib_deflate_filter()
270 pefree(data, data->persistent); in php_zlib_deflate_dtor()
298 data->strm.opaque = (voidpf) data; in php_zlib_filter_create()
[all …]
/PHP-7.4/ext/bz2/
H A Dbz2_filter.c133 data->strm.next_in = data->inbuf; in php_bz2_decompress_filter()
144 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
167 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
189 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor()
191 pefree(data, data->persistent); in php_bz2_decompress_dtor()
250 data->strm.next_in = data->inbuf; in php_bz2_compress_filter()
262 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
280 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
299 pefree(data, data->persistent); in php_bz2_compress_dtor()
323 data->strm.opaque = (void *) data; in php_bz2_filter_create()
[all …]
/PHP-7.4/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.4/ext/session/
H A Dmod_mm.c47 void *data; member
97 ehash = data->hash + data->hash_max + 1; in hash_split()
105 mm_free(data->mm, data->hash); in hash_split()
142 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
171 mm_free(data->mm, sd->data); in ps_sd_destroy()
236 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
264 mm_free(data->mm, data->hash); in ps_mm_destroy()
266 free(data); in ps_mm_destroy()
399 mm_free(data->mm, sd->data); in PS_WRITE_FUNC()
402 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()
373 ps_files *data; in PS_OPEN_FUNC() local
419 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC()
421 data->fd = -1; in PS_OPEN_FUNC()
425 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
[all …]
/PHP-7.4/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
115 -- Iteration 1: int data --
116 -- $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_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
122 -- Iteration 1: int 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 …]
/PHP-7.4/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.phpt106 ["data"]=>
113 ["data"]=>
120 ["data"]=>
127 ["data"]=>
134 ["data"]=>
141 ["data"]=>
148 ["data"]=>
155 ["data"]=>
162 ["data"]=>
169 ["data"]=>
[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 …]
/PHP-7.4/ext/standard/tests/serialize/
H A D__serialize_004.phpt7 public $data;
9 $this->data = $data;
19 public $data;
21 $this->data = $data;
27 $this->data = $data;
48 ["data"]=>
59 ["data"]=>
63 ["data"]=>
78 ["data"]=>
102 ["data"]=>
[all …]
H A D__serialize_005.phpt7 private $data;
8 public function __construct(array $data) {
9 $this->data = $data;
12 return $this->data;
14 public function __unserialize(array $data) {
15 $this->data = $data;
21 public function __construct(array $data, array $data2) {
22 parent::__construct($data);
29 [$data2, $data] = $payload;
30 parent::__unserialize($data);
[all …]
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_driver.c113 if (!new_object->data) { in MYSQLND_METHOD()
119 data = new_object->data; in MYSQLND_METHOD()
125 data->error_info = &data->error_info_impl; in MYSQLND_METHOD()
127 data->options = &(data->options_impl); in MYSQLND_METHOD()
130 data->upsert_status = &(data->upsert_status_impl); in MYSQLND_METHOD()
139 data->m->get_reference(data); in MYSQLND_METHOD()
143 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
144 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
148 …if (!data->protocol_frame_codec || !data->vio || !data->payload_decoder_factory || !data->command)… in MYSQLND_METHOD()
177 new_object->data = to_be_cloned->data->m->get_reference(to_be_cloned->data); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd.h77 #define mysqlnd_end_psession(conn) ((conn)->data)->m->end_psession((conn)->data)
123 #define mysqlnd_use_result(conn) ((conn)->data)->m->use_result((conn)->data, 0)
126 #define mysqlnd_next_result(conn) ((conn)->data)->m->next_result((conn)->data)
127 #define mysqlnd_more_results(conn) ((conn)->data)->m->more_results((conn)->data)
132 #define mysqlnd_errno(conn) ((conn)->data)->m->get_error_no((conn)->data)
133 #define mysqlnd_error(conn) ((conn)->data)->m->get_error_str((conn)->data)
134 #define mysqlnd_sqlstate(conn) ((conn)->data)->m->get_sqlstate((conn)->data)
144 #define mysqlnd_info(conn) ((conn)->data)->m->get_last_message((conn)->data)
149 #define mysqlnd_thread_id(conn) ((conn)->data)->m->get_thread_id((conn)->data)
205 #define mysqlnd_ping(conn) ((conn)->data)->m->ping((conn)->data)
[all …]
H A Dmysqlnd_vio.c170 vio->data->stream = NULL; in MYSQLND_METHOD()
283 ret = vio->data->m.open_pipe; in MYSQLND_METHOD()
500 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
507 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
517 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
572 net->data->ssl = TRUE; in MYSQLND_METHOD()
617 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
621 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
625 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
696 vio->data->m.free_contents(vio); in MYSQLND_METHOD()
[all …]
/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf7imap.c92 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
96 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
114 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
140 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
144 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
148 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
172 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
180 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
207 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
[all …]
/PHP-7.4/ext/standard/tests/streams/
H A Dbug77069.phpt2 Bug #77069 (stream filter loses final block of data)
6 private $data = '';
11 // While input data is available, continue to read it.
13 $this->data .= $bucket_in->data;
18 list(, $data, $this->data) = $match;
20 $data = strrev($data) . PHP_EOL;
21 $bucket_out = stream_bucket_new($this->stream, $data);
28 if ($closing && $this->data !== '') {
29 $data = strrev($this->data) . PHP_EOL;
30 $bucket_out = stream_bucket_new($this->stream, $data);
[all …]
/PHP-7.4/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c100 lane = data[0]; in KeccakP1600_AddBytesInLane()
103 memcpy(&lane, data, length); in KeccakP1600_AddBytesInLane()
158 UINT8 *curData = data; in KeccakP1600_AddLanes()
226 memcpy(state, data, laneCount*8); in KeccakP1600_OverwriteLanes()
331 data[i] = lane & 0xFF; in KeccakP1600_ExtractBytesInLane()
361 ((UINT64*)data)[ 1] = ~((UINT64*)data)[ 1]; in KeccakP1600_ExtractLanes()
363 ((UINT64*)data)[ 2] = ~((UINT64*)data)[ 2]; in KeccakP1600_ExtractLanes()
365 ((UINT64*)data)[ 8] = ~((UINT64*)data)[ 8]; in KeccakP1600_ExtractLanes()
367 ((UINT64*)data)[12] = ~((UINT64*)data)[12]; in KeccakP1600_ExtractLanes()
369 ((UINT64*)data)[17] = ~((UINT64*)data)[17]; in KeccakP1600_ExtractLanes()
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_xclass.c72 BOOL negated = (*data & XCL_NOT) != 0; in PRIV()
85 if ((*data & XCL_HASPROP) == 0) in PRIV()
87 if ((*data & XCL_MAP) == 0) return negated; in PRIV()
90 if ((*data & XCL_MAP) != 0 && in PRIV()
99 if ((*data++ & XCL_MAP) != 0) data += 32 / sizeof(PCRE2_UCHAR); in PRIV()
101 while ((t = *data++) != XCL_END) in PRIV()
113 x = *data++; in PRIV()
127 x = *data++; in PRIV()
128 y = *data++; in PRIV()
139 switch(*data) in PRIV()
[all …]
/PHP-7.4/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.4/tests/basic/
H A D031.phpt6 Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1
8 Content-Disposition: form-data; name="data"
12 Content-Disposition: form-data; name="data2"
14 more data
16 Content-Disposition: form-data; name="data3"
18 even more data
26 ["data"]=>
29 string(9) "more data"
31 string(14) "even more data"

Completed in 62 milliseconds

12345678910>>...57