Home
last modified time | relevance | path

Searched refs:data (Results 76 – 100 of 1673) sorted by relevance

12345678910>>...67

/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c82 pcre2_serialized_data *data; in pcre2_serialize_encode() local
116 data = (pcre2_serialized_data *)bytes; in pcre2_serialize_encode()
117 data->magic = SERIALIZED_DATA_MAGIC; in pcre2_serialize_encode()
118 data->version = SERIALIZED_DATA_VERSION; in pcre2_serialize_encode()
119 data->config = SERIALIZED_DATA_CONFIG; in pcre2_serialize_encode()
120 data->number_of_codes = number_of_codes; in pcre2_serialize_encode()
177 if (data == NULL || codes == NULL) return PCRE2_ERROR_NULL; in pcre2_serialize_decode()
184 if (number_of_codes > data->number_of_codes) in pcre2_serialize_decode()
185 number_of_codes = data->number_of_codes; in pcre2_serialize_decode()
263 if (data == NULL) return PCRE2_ERROR_NULL; in pcre2_serialize_get_number_of_codes()
[all …]
/PHP-8.0/ext/standard/tests/array/
H A Darray_diff_assoc_variation3.phpt30 //array of different data types to be passed to $arr1 argument
33 // int data
41 // float data
50 // null data
56 // boolean data
64 // empty data
70 // string data
77 // binary data
83 // object data
88 // undefined data
[all …]
H A Darray_diff_variation4.phpt2 Test array_diff() function : usage variations - array with different data types as values
7 * data types as values in place of $arr2
31 // int data
39 // float data
48 // null data
54 // boolean data
62 // empty data
68 // string data
75 // binary data
81 // undefined data
[all …]
H A Darray_merge_variation1.phpt2 Test array_merge() function : usage variations - Pass different data types to $arr1 arg
6 * Pass different data types as $arr1 argument to test behaviour
37 // int data
43 // float data
50 // null data
54 // boolean data
60 // empty data
65 // string data
70 // object data
73 // undefined data
[all …]
H A D004.phpt7 $data = array(
15 var_dump($data);
17 natsort($data);
18 var_dump($data);
20 natcasesort($data);
21 var_dump($data);
H A Darray_diff_assoc_variation4.phpt6 * Test how array_diff_assoc() compares arrays containing different data types
23 //Different data types as keys to be passed to $arr1 argument
26 // int data
34 // float data
41 // null data
47 // boolean data
55 // empty data
61 // string data
68 // binary data
74 // undefined data
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dstream_rfc2397_004.phpt9 'data://,;test',
10 'data://text/plain,test',
11 'data://text/plain;charset=US-ASCII,test',
12 'data://;charset=UTF-8,Hello',
13 'data://text/plain;charset=UTF-8,Hello',
14 'data://,a,b',
H A Dfile_put_contents_variation9.phpt41 $data = "Here is some data";
42 $extra = ", more data";
43 var_dump(file_put_contents($file, $data));
56 Here is some data, more data
59 Here is some data, more data
62 Here is some data, more data
/PHP-8.0/Zend/tests/generators/
H A Dgenerator_method_by_ref.phpt7 protected $data;
9 public function __construct(array $data) {
10 $this->data = $data;
14 return $this->data;
18 foreach ($this->data as $key => &$value) {
/PHP-8.0/ext/filter/tests/
H A D052.phpt2 filter_var() / filter_var_array() and passed data integrity
12 $data = array ('bar' => array ('fu<script>bar', 'bar<script>fu') );
13 var_dump(filter_var($data, FILTER_SANITIZE_STRING, FILTER_FORCE_ARRAY));
14 var_dump($data);
15 var_dump(filter_var($data, FILTER_CALLBACK, array('options' => 'filter_cb')));
16 var_dump($data);
17 var_dump(filter_var_array($data, array('bar' => array('filter' => FILTER_CALLBACK, 'options' => 'fi…
18 var_dump($data);
/PHP-8.0/tests/classes/
H A Darray_access_012.phpt7 private $data = array();
12 $this->data[$index] = $value;
16 return $this->data[$index];
20 return isset($this->data[$index]);
24 $data = new ArrayAccessImpl();
25 $test = 'some data';
26 $data['element'] = NULL; // prevent notice
27 $data['element'] = &$test;
/PHP-8.0/ext/simplexml/tests/
H A D019.phpt17 Here we have some text data.
36 foreach($sxe->children() as $name => $data) {
38 var_dump(trim($data));
43 foreach(clone $sxe->children() as $name => $data) {
45 var_dump(trim($data));
50 foreach($sxe->elem11->children() as $name => $data) {
52 var_dump(trim($data));
57 foreach($sxe->elem1->children() as $name => $data) {
59 var_dump(trim($data));
78 string(28) "Here we have some text data."
H A Dbug45553.phpt9 <data a:label="I am A" label="I am Nothing">test1</data>
10 <a:data a:label="I am a:A" label="I am a:Nothing">test2</a:data>
17 $atts = $x->xpath("/xml/data/@a:label");
19 $atts = $x->xpath("/xml/a:data");
21 $atts = $x->xpath("/xml/a:data/@a:label");
23 $atts = $x->xpath("/xml/a:data/@label");
25 $atts = $x->xpath("/xml/data/@label");
H A D006.phpt17 Here we have some text data.
36 foreach($sxe as $name => $data) {
38 var_dump(trim($data));
43 foreach(clone $sxe as $name => $data) {
45 var_dump(trim($data));
50 foreach($sxe->elem11 as $name => $data) {
52 var_dump(trim($data));
57 foreach($sxe->elem1 as $name => $data) {
59 var_dump(trim($data));
/PHP-8.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_kr.c100 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar()
104 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
143 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar()
148 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar()
157 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
166 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
167 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar()
177 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar()
246 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr()
[all …]
H A Dmbfilter_euc_jp.c109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
141 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
146 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
154 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
156 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
167 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar()
189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
[all …]
H A Dmbfilter_hz.c94 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar()
98 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
118 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
120 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar()
125 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar()
137 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar()
198 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz()
200 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz()
208 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz()
222 CK((*filter->output_function)(0x7e, filter->data)); /* ~ */ in mbfl_filt_conv_any_hz_flush()
[all …]
/PHP-8.0/Zend/
H A Dzend_extensions.c306 data->size += extension->op_array_persist_calc(data->op_array); in zend_extension_op_array_persist_calc_handler()
313 size_t size = extension->op_array_persist(data->op_array, data->mem); in zend_extension_op_array_persist_handler()
315 data->mem = (void*)((char*)data->mem + size); in zend_extension_op_array_persist_handler()
316 data->size += size; in zend_extension_op_array_persist_handler()
326 data.op_array = op_array; in zend_extensions_op_array_persist_calc()
327 data.size = 0; in zend_extensions_op_array_persist_calc()
328 data.mem = NULL; in zend_extensions_op_array_persist_calc()
330 return data.size; in zend_extensions_op_array_persist_calc()
341 data.size = 0; in zend_extensions_op_array_persist()
342 data.mem = mem; in zend_extensions_op_array_persist()
[all …]
/PHP-8.0/tests/basic/
H A D032.phpt2 Bug#18792 (no form variables after multipart/form-data)
6 Content-Type: multipart/form-data; boundary=BVoyv, charset=iso-8859-1
8 Content-Disposition: form-data; name="data"
18 ["data"]=>
/PHP-8.0/ext/standard/tests/strings/
H A Dstr_replace_array_refs.phpt7 $data = ['a' => 'b', 'numeric' => 1];
8 $ref = &$data;
11 var_dump(str_replace(array_keys($data), $data, "a numeric"));
13 var_dump($data['numeric']);
/PHP-8.0/sapi/fuzzer/
H A Dfuzzer-json.c34 char *data = malloc(Size+1); in LLVMFuzzerTestOneInput() local
35 memcpy(data, Data, Size); in LLVMFuzzerTestOneInput()
36 data[Size] = '\0'; in LLVMFuzzerTestOneInput()
45 php_json_parser_init(&parser, &result, data, Size, option, 10); in LLVMFuzzerTestOneInput()
53 free(data); in LLVMFuzzerTestOneInput()
/PHP-8.0/ext/hash/sha3/generic32lc/
H A DSnP-Relaned.h19 #define SnP_AddBytes(state, data, offset, length, SnP_AddLanes, SnP_AddBytesInLane, SnP_laneLengthI… argument
22 SnP_AddLanes(state, data, (length)/SnP_laneLengthInBytes); \
25 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
33 const unsigned char *_curData = (data); \
50 SnP_OverwriteLanes(state, data, (length)/SnP_laneLengthInBytes); \
53 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
61 const unsigned char *_curData = (data); \
75 #define SnP_ExtractBytes(state, data, offset, length, SnP_ExtractLanes, SnP_ExtractBytesInLane, SnP… argument
78 SnP_ExtractLanes(state, data, (length)/SnP_laneLengthInBytes); \
81 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
[all …]
/PHP-8.0/ext/hash/sha3/generic64lc/
H A DSnP-Relaned.h19 #define SnP_AddBytes(state, data, offset, length, SnP_AddLanes, SnP_AddBytesInLane, SnP_laneLengthI… argument
22 SnP_AddLanes(state, data, (length)/SnP_laneLengthInBytes); \
25 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
33 const unsigned char *_curData = (data); \
50 SnP_OverwriteLanes(state, data, (length)/SnP_laneLengthInBytes); \
53 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
61 const unsigned char *_curData = (data); \
75 #define SnP_ExtractBytes(state, data, offset, length, SnP_ExtractLanes, SnP_ExtractBytesInLane, SnP… argument
78 SnP_ExtractLanes(state, data, (length)/SnP_laneLengthInBytes); \
81 (data)+((length)/SnP_laneLengthInBytes)*SnP_laneLengthInBytes, \
[all …]
/PHP-8.0/ext/phar/tests/
H A Dbug70091.phpt17 $data = fread($stream, 8);
18 var_dump(unpack('H8sig/@6/nflags', $data));
21 $data = fread($stream, 8);
22 var_dump(unpack('H8sig/@6/nflags', $data));
25 $data = fread($stream, 10);
26 var_dump(unpack('H8sig/@8/nflags', $data));
29 $data = fread($stream, 10);
30 var_dump(unpack('H8sig/@8/nflags', $data));
/PHP-8.0/Zend/tests/
H A Dbug78406.phpt11 private $data = '';
17 $this->data .= $bucket->data;
22 $consumed = strlen($this->data);
24 $this->data = str_replace('bug', 'feature', $this->data);
26 $bucket = stream_bucket_new($this->stream, $this->data);

Completed in 61 milliseconds

12345678910>>...67