Home
last modified time | relevance | path

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

12345678910>>...67

/PHP-8.4/ext/dom/lexbor/lexbor/html/
H A Dencoding.c25 for (; data < end; data++) { in lxb_html_encoding_skip_spaces()
43 for (; data < end; data++) { in lxb_html_encoding_skip_name()
58 data = memchr(data, '>', (end - data)); in lxb_html_encoding_tag_end()
111 data = memchr(data, '<', (end - data)); in lxb_html_encoding_determine()
127 if (data[1] != '-' || data[2] != '-') { in lxb_html_encoding_determine()
350 for (; (data + 7) < end; data++) { in lxb_html_encoding_content()
378 if (*data == '\'' || *data == '"') { in lxb_html_encoding_content()
382 for (; data < end; data++) { in lxb_html_encoding_content()
395 for (; data < end; data++) { in lxb_html_encoding_content()
432 for (; data < end; data++) { in lxb_html_get_attribute()
[all …]
/PHP-8.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-8.4/ext/dom/lexbor/lexbor/html/tokenizer/
H A Dstate.c218 return data; in lxb_html_tokenizer_state_data_before()
309 data++; in lxb_html_tokenizer_state_data()
314 return data; in lxb_html_tokenizer_state_data()
397 data++; in lxb_html_tokenizer_state_plaintext()
605 data++; in lxb_html_tokenizer_state_tag_name()
678 data++; in lxb_html_tokenizer_state_before_attribute_name()
764 data++; in lxb_html_tokenizer_state_attribute_name()
1434 else if (*data == 0x44 || *data == 0x64) { in lxb_html_tokenizer_state_markup_declaration_open()
1535 data = (data + (pos - tkz->markup)); in lxb_html_tokenizer_state_markup_declaration_doctype()
1570 data = (data + (pos - tkz->markup)); in lxb_html_tokenizer_state_markup_declaration_cdata()
[all …]
H A Dstate_comment.c95 data++; in lxb_html_tokenizer_state_comment_start()
108 data++; in lxb_html_tokenizer_state_comment_start()
114 return data; in lxb_html_tokenizer_state_comment_start()
162 return data; in lxb_html_tokenizer_state_comment_start_dash()
251 data++; in lxb_html_tokenizer_state_comment()
256 return data; in lxb_html_tokenizer_state_comment()
284 return data; in lxb_html_tokenizer_state_comment_less_than_sign()
304 return data; in lxb_html_tokenizer_state_comment_less_than_sign_bang()
326 return data; in lxb_html_tokenizer_state_comment_less_than_sign_bang_dash()
358 return data; in lxb_html_tokenizer_state_comment_less_than_sign_bang_dash_dash()
[all …]
H A Dstate_script.c143 return data; in lxb_html_tokenizer_state_script_data_before()
222 data++; in lxb_html_tokenizer_state_script_data()
227 return data; in lxb_html_tokenizer_state_script_data()
257 return data; in lxb_html_tokenizer_state_script_data_less_than_sign()
280 return data; in lxb_html_tokenizer_state_script_data_end_tag_open()
373 data++; in lxb_html_tokenizer_state_script_data_end_tag_name()
378 return data; in lxb_html_tokenizer_state_script_data_end_tag_name()
384 return data; in lxb_html_tokenizer_state_script_data_end_tag_name()
535 data++; in lxb_html_tokenizer_state_script_data_escaped()
784 data++; in lxb_html_tokenizer_state_script_data_escaped_end_tag_name()
[all …]
H A Dstate_doctype.c190 return data; in lxb_html_tokenizer_state_doctype()
274 data++; in lxb_html_tokenizer_state_doctype_before_name()
277 return data; in lxb_html_tokenizer_state_doctype_before_name()
361 data++; in lxb_html_tokenizer_state_doctype_name()
366 return data; in lxb_html_tokenizer_state_doctype_name()
428 if (*data == 0x50 || *data == 0x70) { in lxb_html_tokenizer_state_doctype_after_name()
441 if (*data == 0x53 || *data == 0x73) { in lxb_html_tokenizer_state_doctype_after_name()
503 data++; in lxb_html_tokenizer_state_doctype_after_name()
506 return data; in lxb_html_tokenizer_state_doctype_after_name()
877 data++; in lxb_html_tokenizer_state_doctype_public_identifier_double_quoted()
[all …]
H A Dstate_rcdata.c55 return data; in lxb_html_tokenizer_state_rcdata_before()
68 while (data != end) { in lxb_html_tokenizer_state_rcdata()
69 switch (*data) { in lxb_html_tokenizer_state_rcdata()
142 data++; in lxb_html_tokenizer_state_rcdata()
147 return data; in lxb_html_tokenizer_state_rcdata()
167 return data; in lxb_html_tokenizer_state_rcdata_less_than_sign()
190 return data; in lxb_html_tokenizer_state_rcdata_end_tag_open()
283 data++; in lxb_html_tokenizer_state_rcdata_end_tag_name()
288 return data; in lxb_html_tokenizer_state_rcdata_end_tag_name()
294 return data; in lxb_html_tokenizer_state_rcdata_end_tag_name()
[all …]
H A Dstate_rawtext.c55 return data; in lxb_html_tokenizer_state_rawtext_before()
68 while (data != end) { in lxb_html_tokenizer_state_rawtext()
69 switch (*data) { in lxb_html_tokenizer_state_rawtext()
133 data++; in lxb_html_tokenizer_state_rawtext()
138 return data; in lxb_html_tokenizer_state_rawtext()
158 return data; in lxb_html_tokenizer_state_rawtext_less_than_sign()
181 return data; in lxb_html_tokenizer_state_rawtext_end_tag_open()
274 data++; in lxb_html_tokenizer_state_rawtext_end_tag_name()
279 return data; in lxb_html_tokenizer_state_rawtext_end_tag_name()
285 return data; in lxb_html_tokenizer_state_rawtext_end_tag_name()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/css/syntax/
H A Dstate.c807 if (*data >= 0x30 && *data <= 0x39) { in lxb_css_syntax_state_plus_process()
821 if (data >= end || *data < 0x30 || *data > 0x39) { in lxb_css_syntax_state_plus_process()
919 if (*data >= 0x30 && *data <= 0x39) { in lxb_css_syntax_state_minus_process()
1107 if (*data >= 0x30 && *data <= 0x39) { in lxb_css_syntax_state_full_stop()
1171 if (data[0] == '!' && data[1] == '-' && data[2] == '-') { in lxb_css_syntax_state_less_sign()
1679 if (*data >= 0x30 && *data <= 0x39) { in lxb_css_syntax_state_consume_numeric()
1855 while(*data >= 0x30 && *data <= 0x39); in lxb_css_syntax_state_decimal()
2077 if (*data == 0x0A || *data == 0x0C || *data == 0x0D) { in lxb_css_syntax_state_consume_ident()
2163 if (data < end && *data == '(') { in lxb_css_syntax_state_ident_like()
2286 if (data < end && *data == '(') { in lxb_css_syntax_state_ident_like_not_url()
[all …]
H A Dsyntax.c162 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_ident_serialize()
166 data = ++p; in lxb_css_syntax_ident_serialize()
179 if (data < p) { in lxb_css_syntax_ident_serialize()
180 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_ident_serialize()
200 p = data; in lxb_css_syntax_string_serialize()
212 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_string_serialize()
218 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_string_serialize()
226 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_string_serialize()
253 if (data < p) { in lxb_css_syntax_string_serialize()
254 lexbor_serialize_write(cb, data, p - data, ctx, status); in lxb_css_syntax_string_serialize()
[all …]
/PHP-8.4/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.4/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.4/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.4/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.4/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 …]
/PHP-8.4/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_serialize.phpt103 ["data"]=>
110 ["data"]=>
117 ["data"]=>
124 ["data"]=>
131 ["data"]=>
138 ["data"]=>
145 ["data"]=>
152 ["data"]=>
159 ["data"]=>
166 ["data"]=>
[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 …]
/PHP-8.4/ext/dom/lexbor/lexbor/encoding/
H A Ddecode.h20 const lxb_char_t **data, const lxb_char_t *end);
24 const lxb_char_t **data, const lxb_char_t *end);
28 const lxb_char_t **data, const lxb_char_t *end);
32 const lxb_char_t **data, const lxb_char_t *end);
36 const lxb_char_t **data, const lxb_char_t *end);
40 const lxb_char_t **data, const lxb_char_t *end);
44 const lxb_char_t **data, const lxb_char_t *end);
48 const lxb_char_t **data, const lxb_char_t *end);
128 const lxb_char_t **data, const lxb_char_t *end);
306 lxb_encoding_decode_valid_utf_8_single(const lxb_char_t **data,
[all …]
H A Ddecode.c193 *data = end; in lxb_encoding_decode_auto()
201 *data = end; in lxb_encoding_decode_undefined()
1487 *data = p; in lxb_encoding_decode_utf_8()
1810 *data = end; in lxb_encoding_decode_replacement()
1997 byte = **data; in lxb_encoding_decode_big5_single()
2048 (*data)++; in lxb_encoding_decode_big5_single()
2055 (*data)++; in lxb_encoding_decode_big5_single()
2163 (*data)--; in lxb_encoding_decode_euc_jp_single()
2224 (*data)--; in lxb_encoding_decode_euc_kr_single()
2691 (*data)--; in lxb_encoding_decode_shift_jis_single()
[all …]
/PHP-8.4/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 …]
/PHP-8.4/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dcharacter_data.c53 lexbor_str_t data; in lxb_dom_character_data_interface_destroy() local
55 data = character_data->data; in lxb_dom_character_data_interface_destroy()
77 dst->data.length = 0; in lxb_dom_character_data_interface_copy()
79 if (lexbor_str_copy(&dst->data, &src->data, in lxb_dom_character_data_interface_copy()
94 if (ch_data->data.data == NULL) { in lxb_dom_character_data_replace()
96 if (ch_data->data.data == NULL) { in lxb_dom_character_data_replace()
101 const lxb_char_t *data; in lxb_dom_character_data_replace() local
103 data = lexbor_str_realloc(&ch_data->data, in lxb_dom_character_data_replace()
105 if (data == NULL) { in lxb_dom_character_data_replace()
110 memcpy(ch_data->data.data, data, sizeof(lxb_char_t) * len); in lxb_dom_character_data_replace()
[all …]
/PHP-8.4/ext/mysqlnd/
H A Dmysqlnd_driver.c116 if (!new_object->data) { in MYSQLND_METHOD()
122 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 …]
/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Dmraw.c106 uint8_t *data; in lexbor_mraw_mem_alloc() local
173 data = &mem->chunk->data[ mem->chunk->length ]; in lexbor_mraw_mem_alloc()
176 return data; in lexbor_mraw_mem_alloc()
182 void *data; in lexbor_mraw_alloc() local
212 if (data == NULL) { in lexbor_mraw_alloc()
232 memset(data, 0, lexbor_mraw_data_size(data)); in lexbor_mraw_calloc()
235 return data; in lexbor_mraw_calloc()
263 return data; in lexbor_mraw_realloc_tail()
294 chunk->data = new_chunk.data; in lexbor_mraw_realloc_tail()
333 if (&chunk->data[begin_len] == data) { in lexbor_mraw_realloc()
[all …]

Completed in 124 milliseconds

12345678910>>...67