Home
last modified time | relevance | path

Searched refs:data (Results 151 – 175 of 1807) sorted by relevance

12345678910>>...73

/PHP-8.1/Zend/tests/
H A DArrayAccess_indirect_append.phpt7 private $data = [];
10 return $this->data[];
12 return $this->data[$name];
16 $this->data[$name] = $value;
30 ["data":"AA":private]=>
H A Dassign_coalesce_003.phpt12 public $data;
13 public function __construct($data = []) {
14 $this->data = $data;
18 return $this->data[$k];
22 return array_key_exists($k, $this->data);
26 $this->data[$k] = $v;
/PHP-8.1/ext/standard/tests/array/
H A Darray_key_exists_variation1.phpt2 Test array_key_exists() function : usage variations - Pass different data types as $key arg
6 * Pass different data types as $key argument to array_key_exists() to test behaviour
37 // int data
43 // null data
47 // boolean data
53 // empty data
58 // string data
63 // object data
66 // undefined data
69 // unset data
/PHP-8.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mac.c151 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
268 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
374 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
489 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
494 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
495 CK((*filter->output_function)(s2, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
561 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
562 CK((*filter->output_function)(s2, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
610 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
611 CK((*filter->output_function)(s2, filter->data)); in mbfl_filt_conv_wchar_sjis_mac()
[all …]
H A Dmbfilter_cp936.c101 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar()
103 CK((*filter->output_function)(0x20ac, filter->data)); in mbfl_filt_conv_cp936_wchar()
108 CK((*filter->output_function)(0xf8f5, filter->data)); in mbfl_filt_conv_cp936_wchar()
120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
124 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
138 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
154 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
174 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp936_wchar_flush()
178 (*filter->flush_function)(filter->data); in mbfl_filt_conv_cp936_wchar_flush()
267 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp936()
[all …]
H A Dmbfilter_ucs2.c156 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar()
170 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar()
178 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
179 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be()
193 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar()
201 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
202 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le()
214 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs2_wchar_flush()
218 (*filter->flush_function)(filter->data); in mbfl_filt_conv_ucs2_wchar_flush()
/PHP-8.1/ext/xml/tests/
H A Dbug32001.phpt37 $data = '';
44 $data .= <<<HERE
54 $data = iconv("UTF-8", $this->encoding, $data);
60 $data = "\xef\xbb\xbf".$data;
71 $data = "\xfe\xff".$data;
78 $data = "\xff\xfe".$data;
89 $data = "\x00\x00\xfe\xff".$data;
96 $data = "\xff\xfe\x00\x00".$data;
171 Chunk size: all data at once
183 Chunk size: all data at once
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dstrval_variation1.phpt2 Test strval() function : usage variations - Pass different data types as strval
41 // float data
48 // array data
52 // null data
56 // boolean data
62 // empty data
66 // object data
72 // undefined data
75 // unset data
/PHP-8.1/ext/standard/tests/file/
H A Dfgets_socket_variation2.phpt2 fgets() over a socket with more than a buffer's worth of data
12 // populate the file with lines of data
38 echo "Write data from the file:\n";
39 $data = file_get_contents($filename);
42 var_dump(fwrite($socket, $data));
53 echo "\nClose the server side socket and read the remaining data from the client\n";
63 Write data from the file:
68 Close the server side socket and read the remaining data from the client
H A Dsymlink_link_linkinfo_is_link_variation3.phpt13 Access data of the file through the soft link
20 // Creating file and inserting data into it
33 // fill data into file
37 echo "\n-- Access data of the file through the soft link --\n";
53 echo "\n-- Updating file with data through soft link --\n";
54 // append link with data
75 echo "\n-- Updating file with data and check data through soft link --\n";
81 // now check link for data; it should echo "Hello World"
108 -- Access data of the file through the soft link --
117 -- Updating file with data through soft link --
[all …]
H A Dfwrite.phpt13 var_dump(fwrite($fp, "data"));
16 var_dump(fwrite($fp, "data", -1));
17 var_dump(fwrite($fp, "data", 100000));
20 var_dump(fwrite($fp, "data", -1));
35 string(4) "data"
H A Dstream_rfc2397_003.phpt2 Stream: RFC2397 decoding data
9 'data://,A%20brief%20note',
10 'data://application/vnd-xxx-query,select_vcount,fcol_from_fieldtable/local',
11 'data://;base64,Zm9vYmFyIGZvb2Jhcg==',
12 'stream_rfc2397_003.gif' => 'data://image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
H A Dinclude_userstream_001.phpt9 private $data = '<?php echo "Hello World\n";?>';
15 $this->pos = strlen($this->data);
24 $ret = substr($this->data, $this->pos, $count);
36 return $this->pos >= strlen($this->data);
43 if ($offset < $this->data && $offset >= 0) {
59 if (strlen($this->data) + $offset >= 0) {
60 $this->pos = strlen($this->data) + $offset;
/PHP-8.1/tests/basic/
H A Drfc1867_missing_boundary.phpt6 Content-Type: multipart/form-data
8 Content-Disposition: form-data; name="foobar"
18 Warning: Missing boundary in multipart/form-data POST data in %s
H A Drfc1867_invalid_boundary.phpt6 Content-Type: multipart/form-data; boundary="foobar
8 Content-Disposition: form-data; name="foobar"
18 Warning: Invalid boundary in multipart/form-data POST data in %s
H A D030.phpt6 Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1
8 Content-Disposition: form-data; name="data"
18 ["data"]=>
/PHP-8.1/Zend/tests/generators/
H A Dthrow_into_yield_from_array.phpt6 $data = [1, 2, 3];
28 $yfiter = yf($data);
29 $yfgen = yf(yielditer($data));
31 test(yf($data));
33 test(yf(yielditer($data)));
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_ps_select_union.phpt19 $data = array();
21 $data[] = $row['column1'];
38 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
64 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
76 $data = array();
78 $data[] = $row['column1'];
94 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
125 $data = array();
143 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
181 $data = array();
[all …]
/PHP-8.1/ext/standard/tests/serialize/
H A Dbug70172_2.phpt6 var $data;
8 return serialize($this->data);
10 function unserialize($data) {
11 $this->data = unserialize($data);
32 $data = unserialize($exploit);
38 var_dump($data);
H A Dbug70436.phpt8 var $data;
12 return serialize($this->data);
15 function unserialize($data)
17 $this->data = unserialize($data);
31 $data = unserialize($exploit);
33 var_dump($data);
/PHP-8.1/ext/exif/tests/
H A Dgh10834.phpt8 private $data;
17 return $this->position >= strlen($this->data);
22 $this->data = file_get_contents(__DIR__.'/bug50845.jpg');
29 if ($offset < strlen($this->data) && $offset >= 0) {
45 if (strlen($this->data) + $offset >= 0) {
46 $this->position = strlen($this->data) + $offset;
58 $ret = substr($this->data, $this->position, $count);
/PHP-8.1/ext/filter/tests/
H A D036.phpt10 $data = array();
11 $data["test1"] = 1;
12 $data["test2"] = &$var;
18 $ret = filter_var_array($data, $args);
20 var_dump($data); //should be separated, i.e. not reference anymore. looks like we can't change this…
/PHP-8.1/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-SnP.h28 void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
29 void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int…
30 void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsign…
35 void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned…
H A DKeccakHash.c37 HashReturn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength dat… in Keccak_HashUpdate() argument
40 return (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate()
42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate()
45 unsigned char lastByte = data[databitlen/8]; in Keccak_HashUpdate()
75 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitl… in Keccak_HashSqueeze() argument
79 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()
/PHP-8.1/ext/hash/sha3/generic64lc/
H A DKeccakHash.c37 HashReturn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength dat… in Keccak_HashUpdate() argument
40 return (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate()
42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate()
45 unsigned char lastByte = data[databitlen/8]; in Keccak_HashUpdate()
75 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitl… in Keccak_HashSqueeze() argument
79 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()

Completed in 44 milliseconds

12345678910>>...73