Home
last modified time | relevance | path

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

12345678910>>...67

/PHP-8.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-8.0/ext/zlib/
H A Dzlib_filter.c96 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
101 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter()
112 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
133 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter()
153 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor()
155 pefree(data, data->persistent); in php_zlib_inflate_dtor()
216 data->strm.next_in = data->inbuf; in php_zlib_deflate_filter()
228 data->strm.next_out = data->outbuf; in php_zlib_deflate_filter()
269 pefree(data, data->persistent); in php_zlib_deflate_dtor()
297 data->strm.opaque = (voidpf) data; in php_zlib_filter_create()
[all …]
/PHP-8.0/ext/bz2/
H A Dbz2_filter.c132 data->strm.next_in = data->inbuf; in php_bz2_decompress_filter()
143 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
166 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter()
188 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor()
190 pefree(data, data->persistent); in php_bz2_decompress_dtor()
249 data->strm.next_in = data->inbuf; in php_bz2_compress_filter()
261 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
279 data->strm.next_out = data->outbuf; in php_bz2_compress_filter()
298 pefree(data, data->persistent); in php_bz2_compress_dtor()
322 data->strm.opaque = (void *) data; in php_bz2_filter_create()
[all …]
/PHP-8.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-8.0/ext/session/
H A Dmod_mm.c45 void *data; member
95 ehash = data->hash + data->hash_max + 1; in hash_split()
103 mm_free(data->mm, data->hash); in hash_split()
140 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
169 mm_free(data->mm, sd->data); in ps_sd_destroy()
234 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
262 mm_free(data->mm, data->hash); in ps_mm_destroy()
264 free(data); in ps_mm_destroy()
397 mm_free(data->mm, sd->data); in PS_WRITE_FUNC()
400 sd->data = mm_malloc(data->mm, sd->alloclen); in PS_WRITE_FUNC()
[all …]
H A Dmod_files.c115 if (!data || key_len <= data->dirdepth || in ps_files_path_create()
121 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create()
149 close(data->fd); in ps_files_close()
150 data->fd = -1; in ps_files_close()
162 if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { in ps_files_open()
206 data->fd = -1; in ps_files_open()
371 ps_files *data; in PS_OPEN_FUNC() local
417 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC()
419 data->fd = -1; in PS_OPEN_FUNC()
423 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC()
[all …]
/PHP-8.0/ext/session/tests/
H A Dsession_encode_basic.phpt34 // Integer data
40 // Float data
47 // Null data
51 // Boolean data
66 // Object data
72 // Unset data
98 string(9) "data|i:0;"
125 string(7) "data|N;"
128 string(7) "data|N;"
161 string(7) "data|N;"
[all …]
H A Dsession_decode_basic.phpt100 ["data"]=>
107 ["data"]=>
114 ["data"]=>
121 ["data"]=>
128 ["data"]=>
135 ["data"]=>
142 ["data"]=>
149 ["data"]=>
156 ["data"]=>
163 ["data"]=>
[all …]
H A Dsession_decode_basic_serialize.phpt101 ["data"]=>
108 ["data"]=>
115 ["data"]=>
122 ["data"]=>
129 ["data"]=>
136 ["data"]=>
143 ["data"]=>
150 ["data"]=>
157 ["data"]=>
164 ["data"]=>
[all …]
/PHP-8.0/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt25 // int data
33 // float data
45 // null data
53 // boolean data
63 // empty data
71 // string data
78 // undefined data
83 // unset data
109 -- Iteration 1: int data --
110 -- $key arguments are int data:
[all …]
H A Dcurrent_variation2.phpt34 // int data
42 // float data
51 // null data
57 // boolean data
65 // empty data
74 // string data
81 // object data
86 // undefined data
91 // unset data
115 -- Iteration 1 : int data --
[all …]
H A Darray_values_variation2.phpt34 // int data
42 // float data
51 // null data
57 // boolean data
65 // empty data
74 // string data
81 // object data
86 // undefined data
91 // unset data
117 -- Iteration 1: int data --
[all …]
H A Dkey_variation2.phpt23 // int data
31 // float data
43 // null data
52 // boolean data
63 // empty data
72 // string data
79 // undefined data
84 // unset data
104 -- Iteration 1 : int data --
110 -- Iteration 2 : float data --
[all …]
H A Darray_shift_variation2.phpt35 // int data
43 // float data
52 // null data
58 // boolean data
66 // empty data
75 // string data
82 // object data
87 // undefined data
92 // unset data
120 -- Iteration 1: int data --
[all …]
H A Darray_change_key_case_variation3.phpt24 // int data
32 // float data
44 // null data
52 // boolean data
62 // empty data
70 // string data
77 // undefined data
82 // unset data
101 -- Iteration 1 : int data --
113 -- Iteration 2 : float data --
[all …]
/PHP-8.0/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-8.0/ext/mysqlnd/
H A Dmysqlnd_driver.c111 if (!new_object->data) { in MYSQLND_METHOD()
117 data = new_object->data; in MYSQLND_METHOD()
123 data->error_info = &data->error_info_impl; in MYSQLND_METHOD()
125 data->options = &(data->options_impl); in MYSQLND_METHOD()
128 data->upsert_status = &(data->upsert_status_impl); in MYSQLND_METHOD()
137 data->m->get_reference(data); in MYSQLND_METHOD()
141 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
142 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
146 …if (!data->protocol_frame_codec || !data->vio || !data->payload_decoder_factory || !data->command)… in MYSQLND_METHOD()
175 new_object->data = to_be_cloned->data->m->get_reference(to_be_cloned->data); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd.h71 #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)
199 #define mysqlnd_ping(conn) ((conn)->data)->m->ping((conn)->data)
[all …]
/PHP-8.0/sapi/fuzzer/
H A Dfuzzer-mbstring.c34 char *data = malloc(Size+1); in LLVMFuzzerTestOneInput() local
35 memcpy(data, Data, Size); in LLVMFuzzerTestOneInput()
36 data[Size] = '\0'; in LLVMFuzzerTestOneInput()
44 args[0] = data; in LLVMFuzzerTestOneInput()
48 args[0] = data; in LLVMFuzzerTestOneInput()
52 args[0] = data; in LLVMFuzzerTestOneInput()
53 args[1] = data; in LLVMFuzzerTestOneInput()
56 args[0] = data; in LLVMFuzzerTestOneInput()
57 args[1] = data; in LLVMFuzzerTestOneInput()
62 free(data); in LLVMFuzzerTestOneInput()
/PHP-8.0/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-8.0/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-8.0/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c108 lane = data[0]; in KeccakP1600_AddBytesInLane()
111 memcpy(&lane, data, length); in KeccakP1600_AddBytesInLane()
167 UINT8 *curData = data; in KeccakP1600_AddLanes()
235 memcpy(state, data, laneCount*8); in KeccakP1600_OverwriteLanes()
340 data[i] = lane & 0xFF; in KeccakP1600_ExtractBytesInLane()
370 ((UINT64*)data)[ 1] = ~((UINT64*)data)[ 1]; in KeccakP1600_ExtractLanes()
372 ((UINT64*)data)[ 2] = ~((UINT64*)data)[ 2]; in KeccakP1600_ExtractLanes()
374 ((UINT64*)data)[ 8] = ~((UINT64*)data)[ 8]; in KeccakP1600_ExtractLanes()
376 ((UINT64*)data)[12] = ~((UINT64*)data)[12]; in KeccakP1600_ExtractLanes()
378 ((UINT64*)data)[17] = ~((UINT64*)data)[17]; in KeccakP1600_ExtractLanes()
[all …]
/PHP-8.0/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-8.0/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 47 milliseconds

12345678910>>...67