Home
last modified time | relevance | path

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

12345678910>>...71

/PHP-8.2/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.2/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.2/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.2/ext/ftp/tests/
H A Dftp_nb_continue.phpt32 This is line 0 of the test data.
33 This is line 1 of the test data.
34 This is line 2 of the test data.
35 This is line 3 of the test data.
36 This is line 4 of the test data.
37 This is line 5 of the test data.
38 This is line 6 of the test data.
39 This is line 7 of the test data.
40 This is line 8 of the test data.
41 This is line 9 of the test data.
[all …]
/PHP-8.2/ext/session/
H A Dmod_mm.c45 void *data; member
71 const char *e = ZSTR_VAL(data) + ZSTR_LEN(data); in ps_sd_hash()
96 ehash = data->hash + data->hash_max + 1; in hash_split()
104 mm_free(data->mm, data->hash); in hash_split()
138 if (data->hash_cnt >= data->hash_max) { in ps_sd_new()
167 mm_free(data->mm, sd->data); in ps_sd_destroy()
233 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize()
260 mm_free(data->mm, data->hash); in ps_mm_destroy()
395 mm_free(data->mm, sd->data); in PS_WRITE_FUNC()
398 sd->data = mm_malloc(data->mm, sd->alloclen); in PS_WRITE_FUNC()
[all …]
H A Dmod_files.c113 if (!data || ZSTR_LEN(key) <= data->dirdepth || in ps_files_path_create()
119 memcpy(buf, ZSTR_VAL(data->basedir), ZSTR_LEN(data->basedir)); in ps_files_path_create()
147 close(data->fd); in ps_files_close()
148 data->fd = -1; in ps_files_close()
160 if (data->fd < 0 || !data->last_key || !zend_string_equals(key, data->last_key)) { in ps_files_open()
204 data->fd = -1; in ps_files_open()
366 ps_files *data; in PS_OPEN_FUNC() local
412 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC()
414 data->fd = -1; in PS_OPEN_FUNC()
450 efree(data); in PS_CLOSE_FUNC()
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt25 // int data
33 // null data
41 // boolean data
51 // empty data
59 // string data
66 // undefined data
71 // unset data
97 -- Iteration 1: int data --
98 -- $key arguments are int data:
127 -- $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 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 …]
/PHP-8.2/ext/session/tests/
H A Dsession_encode_basic.phpt36 // Integer data
42 // Float data
49 // Null data
53 // Boolean data
68 // Object data
74 // Unset data
100 string(9) "data|i:0;"
127 string(7) "data|N;"
130 string(7) "data|N;"
163 string(7) "data|N;"
[all …]
H A Dsession_decode_basic.phpt102 ["data"]=>
109 ["data"]=>
116 ["data"]=>
123 ["data"]=>
130 ["data"]=>
137 ["data"]=>
144 ["data"]=>
151 ["data"]=>
158 ["data"]=>
165 ["data"]=>
[all …]
H A Dsession_decode_basic_serialize.phpt103 ["data"]=>
110 ["data"]=>
117 ["data"]=>
124 ["data"]=>
131 ["data"]=>
138 ["data"]=>
145 ["data"]=>
152 ["data"]=>
159 ["data"]=>
166 ["data"]=>
[all …]
/PHP-8.2/ext/standard/tests/serialize/
H A D__serialize_004.phpt8 public $data;
10 $this->data = $data;
21 public $data;
23 $this->data = $data;
29 $this->data = $data;
50 ["data"]=>
61 ["data"]=>
65 ["data"]=>
80 ["data"]=>
104 ["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.2/ext/mysqlnd/
H A Dmysqlnd_driver.c111 if (!new_object->data) { in MYSQLND_METHOD()
117 data = new_object->data; in MYSQLND_METHOD()
120 data->error_info = &data->error_info_impl; in MYSQLND_METHOD()
122 data->options = &(data->options_impl); in MYSQLND_METHOD()
125 data->upsert_status = &(data->upsert_status_impl); in MYSQLND_METHOD()
134 data->m->get_reference(data); in MYSQLND_METHOD()
138 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
139 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD()
143 …if (!data->protocol_frame_codec || !data->vio || !data->payload_decoder_factory || !data->command)… in MYSQLND_METHOD()
172 new_object->data = to_be_cloned->data->m->get_reference(to_be_cloned->data); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd.h70 #define mysqlnd_end_psession(conn) ((conn)->data)->m->end_psession((conn)->data)
115 #define mysqlnd_use_result(conn) ((conn)->data)->m->use_result((conn)->data)
116 #define mysqlnd_store_result(conn) ((conn)->data)->m->store_result((conn)->data)
117 #define mysqlnd_next_result(conn) ((conn)->data)->m->next_result((conn)->data)
118 #define mysqlnd_more_results(conn) ((conn)->data)->m->more_results((conn)->data)
123 #define mysqlnd_errno(conn) ((conn)->data)->m->get_error_no((conn)->data)
124 #define mysqlnd_error(conn) ((conn)->data)->m->get_error_str((conn)->data)
125 #define mysqlnd_sqlstate(conn) ((conn)->data)->m->get_sqlstate((conn)->data)
135 #define mysqlnd_info(conn) ((conn)->data)->m->get_last_message((conn)->data)
140 #define mysqlnd_thread_id(conn) ((conn)->data)->m->get_thread_id((conn)->data)
[all …]
H A Dmysqlnd_vio.c199 vio->data->stream = NULL; in MYSQLND_METHOD()
304 ret = vio->data->m.open_pipe; in MYSQLND_METHOD()
521 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
528 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
538 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
596 net->data->ssl = TRUE; in MYSQLND_METHOD()
641 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
645 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
649 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
720 vio->data->m.free_contents(vio); in MYSQLND_METHOD()
[all …]
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_xclass.c72 BOOL negated = (*data & XCL_NOT) != 0; in PRIV()
85 if ((*data & XCL_HASPROP) == 0) 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()
140 switch(*data) in PRIV()
165 ok = (data[1] == prop->script || in PRIV()
[all …]
/PHP-8.2/sapi/fuzzer/
H A Dfuzzer-mbregex.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.2/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.2/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.2/ext/pdo_oci/tests/
H A Dpdo_oci_stream_1.phpt25 "create table pdo_oci_stream_1_tab (id number, data clob)",
37 insert into pdo_oci_stream_1_tab (id,data) values (2, lob1);
42 $s = $dbh->prepare("select data from pdo_oci_stream_1_tab where id = 1");
47 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
48 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
49 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
53 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
54 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
55 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
56 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
[all …]
/PHP-8.2/ext/mbstring/
H A Dphp_unicode.c303 (*data->next_filter->filter_function)(c, data->next_filter); in convert_case_filter()
310 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
314 php_unicode_toupper_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
319 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
323 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
327 php_unicode_tofold_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
332 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
341 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
343 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter()
348 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter()
[all …]
/PHP-8.2/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 80 milliseconds

12345678910>>...71