Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/PHP-8.4/ext/dom/lexbor/lexbor/tag/
H A Dres.h35 {{.u.short_str = "a", .length = 1, .next = NULL}, LXB_TAG_A, 1, true},
36 {{.u.short_str = "abbr", .length = 4, .next = NULL}, LXB_TAG_ABBR, 1, true},
51 {{.u.short_str = "b", .length = 1, .next = NULL}, LXB_TAG_B, 1, true},
61 {{.u.short_str = "br", .length = 2, .next = NULL}, LXB_TAG_BR, 1, true},
73 {{.u.short_str = "dd", .length = 2, .next = NULL}, LXB_TAG_DD, 1, true},
81 {{.u.short_str = "dl", .length = 2, .next = NULL}, LXB_TAG_DL, 1, true},
82 {{.u.short_str = "dt", .length = 2, .next = NULL}, LXB_TAG_DT, 1, true},
83 {{.u.short_str = "em", .length = 2, .next = NULL}, LXB_TAG_EM, 1, true},
131 {{.u.short_str = "i", .length = 1, .next = NULL}, LXB_TAG_I, 1, true},
174 {{.u.short_str = "p", .length = 1, .next = NULL}, LXB_TAG_P, 1, true},
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dattr_res.h24 {{.u.short_str = "#undef", .length = 6, .next = NULL},
26 {{.u.short_str = "active", .length = 6, .next = NULL},
28 {{.u.short_str = "alt", .length = 3, .next = NULL},
34 {{.u.short_str = "class", .length = 5, .next = NULL},
36 {{.u.short_str = "color", .length = 5, .next = NULL},
40 {{.u.short_str = "dir", .length = 3, .next = NULL},
44 {{.u.short_str = "face", .length = 4, .next = NULL},
48 {{.u.short_str = "for", .length = 3, .next = NULL},
54 {{.u.short_str = "href", .length = 4, .next = NULL},
60 {{.u.short_str = "id", .length = 2, .next = NULL},
[all …]
/PHP-8.4/main/
H A Dphp_ini_builder.c25 if (b->length > 0) in php_ini_builder_prepend()
26 memmove(b->value + length, b->value, b->length); in php_ini_builder_prepend()
28 b->length += length; in php_ini_builder_prepend()
36 b->length += name_length; in php_ini_builder_unquoted()
38 b->value[b->length++] = '='; in php_ini_builder_unquoted()
41 b->length += value_length; in php_ini_builder_unquoted()
51 b->length += name_length; in php_ini_builder_quoted()
53 b->value[b->length++] = '='; in php_ini_builder_quoted()
54 b->value[b->length++] = '"'; in php_ini_builder_quoted()
57 b->length += value_length; in php_ini_builder_quoted()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/core/
H A Darray.c27 array->length = 0; in lexbor_array_init()
42 array->length = 0; in lexbor_array_clean()
53 array->length = 0; in lexbor_array_destroy()
96 array->length++; in lexbor_array_push()
104 if (array->length == 0) { in lexbor_array_pop()
108 array->length--; in lexbor_array_pop()
115 if (idx >= array->length) { in lexbor_array_insert()
142 array->length++; in lexbor_array_insert()
172 if (begin >= array->length || length == 0) { in lexbor_array_delete()
179 array->length = begin; in lexbor_array_delete()
[all …]
H A Darray_obj.c28 array->length = 0; in lexbor_array_obj_init()
45 array->length = 0; in lexbor_array_obj_clean()
56 array->length = 0; in lexbor_array_obj_destroy()
105 array->length++; in lexbor_array_obj_push()
124 array->length++; in lexbor_array_obj_push_wo_cls()
141 array->length += count; in lexbor_array_obj_push_n()
149 if (array->length == 0) { in lexbor_array_obj_pop()
153 array->length--; in lexbor_array_obj_pop()
160 if (begin >= array->length || length == 0) { in lexbor_array_obj_delete()
167 array->length = begin; in lexbor_array_obj_delete()
[all …]
H A Dmem.c62 chunk->length = 0; in lexbor_mem_clean()
101 length = lexbor_mem_align(length); in lexbor_mem_chunk_init()
103 if (length > mem->chunk_min_size) { in lexbor_mem_chunk_init()
105 chunk->size = length; in lexbor_mem_chunk_init()
115 chunk->length = 0; in lexbor_mem_chunk_init()
159 if (length == 0) { in lexbor_mem_alloc()
163 length = lexbor_mem_align(length); in lexbor_mem_alloc()
165 if ((mem->chunk->length + length) > mem->chunk->size) { in lexbor_mem_alloc()
181 mem->chunk->length += length; in lexbor_mem_alloc()
183 return &mem->chunk->data[(mem->chunk->length - length)]; in lexbor_mem_alloc()
[all …]
H A Dhash.c103 entry->length = length; in _lexbor_hash_entry_create()
193 hash_id = insert->hash(key, length); in lexbor_hash_insert()
208 if (entry->length == length && insert->cmp(str, key, length)) { in lexbor_hash_insert()
234 hash_id = search->hash(key, length); in lexbor_hash_insert_by_entry()
248 if (item->length == length && search->cmp(str, key, length)) { in lexbor_hash_insert_by_entry()
297 if (entry->length == length && cmp_func(str, key, length)) { in lexbor_hash_remove_by_hash_id()
332 if (entry->length == length && cmp_func(str, key, length)) { in lexbor_hash_search_by_hash_id()
417 memcpy(to, key, length); in lexbor_hash_copy()
419 to[length] = '\0'; in lexbor_hash_copy()
446 to[length] = '\0'; in lexbor_hash_copy_lower()
[all …]
H A Dstr.c29 str->length = 0; in lexbor_str_init()
53 memcpy(p, data, length); in lexbor_str_init_append()
55 p[length] = '\0'; in lexbor_str_init_append()
58 str->length = length; in lexbor_str_init_append()
66 str->length = 0; in lexbor_str_clean()
142 str->length += length; in lexbor_str_append()
159 memmove(&str->data[length], str->data, sizeof(lxb_char_t) * str->length); in lexbor_str_append_before()
162 str->length += length; in lexbor_str_append_before()
176 str->length += 1; in lexbor_str_append_one()
199 str->length += length; in lexbor_str_append_lowercase()
[all …]
H A Dserialize.c12 lexbor_serialize_length_cb(const lxb_char_t *data, size_t length, void *ctx) in lexbor_serialize_length_cb() argument
14 *((size_t *) ctx) += length; in lexbor_serialize_length_cb()
19 lexbor_serialize_copy_cb(const lxb_char_t *data, size_t length, void *ctx) in lexbor_serialize_copy_cb() argument
23 memcpy(str->data + str->length, data, length); in lexbor_serialize_copy_cb()
24 str->length += length; in lexbor_serialize_copy_cb()
H A Ddtoa.c285 length = (int) len; in lexbor_prettify()
286 kk = length + dec_exp; in lexbor_prettify()
292 if ((&begin[length] + (kk - length)) < end) { in lexbor_prettify()
293 memset(&begin[length], '0', kk - length); in lexbor_prettify()
296 memset(&begin[length], '0', (end - &begin[length])); in lexbor_prettify()
306 return length; in lexbor_prettify()
321 return length; in lexbor_prettify()
342 return length; in lexbor_prettify()
355 return length; in lexbor_prettify()
371 size_t length; in lexbor_dtoa() local
[all …]
H A Dhash.h61 size_t length; member
103 const lxb_char_t *key, size_t length);
112 const lxb_char_t *key, size_t length);
116 const lxb_char_t *key, size_t length);
140 const lxb_char_t *key, size_t length);
163 if (entry->length <= LEXBOR_HASH_SHORT_SIZE) { in lexbor_hash_entry_str()
174 entry->length = length; in lexbor_hash_entry_str_set()
176 if (length <= LEXBOR_HASH_SHORT_SIZE) { in lexbor_hash_entry_str_set()
177 memcpy(entry->u.short_str, data, length); in lexbor_hash_entry_str_set()
188 if (entry->length > LEXBOR_HASH_SHORT_SIZE) { in lexbor_hash_entry_str_free()
[all …]
H A Dconv.c37 length = 0; in lexbor_conv_int64_to_data()
41 length = 1; in lexbor_conv_int64_to_data()
47 length += 1; in lexbor_conv_int64_to_data()
62 if (len < length) { in lexbor_conv_int64_to_data()
70 length = len; in lexbor_conv_int64_to_data()
77 i = length; in lexbor_conv_int64_to_data()
78 buf[length] = '\0'; in lexbor_conv_int64_to_data()
86 return length; in lexbor_conv_int64_to_data()
245 end = p + length; in lexbor_conv_data_to_long()
328 if (length > 0) { in lexbor_conv_dec_to_hex()
[all …]
/PHP-8.4/ext/hash/sha3/generic64lc/
H A DSnP-Relaned.h24 (length)/SnP_laneLengthInBytes, \
27 (length)%SnP_laneLengthInBytes); \
30 unsigned int _sizeLeft = (length); \
52 (length)/SnP_laneLengthInBytes, \
55 (length)%SnP_laneLengthInBytes); \
58 unsigned int _sizeLeft = (length); \
80 (length)/SnP_laneLengthInBytes, \
83 (length)%SnP_laneLengthInBytes); \
86 unsigned int _sizeLeft = (length); \
108 (length)/SnP_laneLengthInBytes, \
[all …]
/PHP-8.4/ext/hash/sha3/generic32lc/
H A DSnP-Relaned.h24 (length)/SnP_laneLengthInBytes, \
27 (length)%SnP_laneLengthInBytes); \
30 unsigned int _sizeLeft = (length); \
52 (length)/SnP_laneLengthInBytes, \
55 (length)%SnP_laneLengthInBytes); \
58 unsigned int _sizeLeft = (length); \
80 (length)/SnP_laneLengthInBytes, \
83 (length)%SnP_laneLengthInBytes); \
86 unsigned int _sizeLeft = (length); \
108 (length)/SnP_laneLengthInBytes, \
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/ns/
H A Dns.c22 if (link == NULL || length == 0) { in lxb_ns_append()
27 link, length); in lxb_ns_append()
49 if (length != NULL) { in lxb_ns_by_id()
50 *length = 0; in lxb_ns_by_id()
56 if (length != NULL) { in lxb_ns_by_id()
57 *length = data->entry.length; in lxb_ns_by_id()
82 if (link == NULL || length == 0) { in lxb_ns_data_by_link()
87 link, length); in lxb_ns_data_by_link()
98 const lxb_char_t *prefix, size_t length) in lxb_ns_prefix_append() argument
103 if (prefix == NULL || length == 0) { in lxb_ns_prefix_append()
[all …]
H A Dres.h31 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__UNDEF, 1, true},
32 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__ANY, 1, true},
35 …{{.u.long_str = (lxb_char_t *) "http://www.w3.org/2000/svg", .length = 26, .next = NULL}, LXB_NS_S…
43 {{.u.short_str = "#undef", .length = 6, .next = NULL}, LXB_NS__UNDEF, 1, true},
44 {{.u.short_str = "#any", .length = 4, .next = NULL}, LXB_NS__ANY, 1, true},
45 {{.u.short_str = "html", .length = 4, .next = NULL}, LXB_NS_HTML, 1, true},
46 {{.u.short_str = "math", .length = 4, .next = NULL}, LXB_NS_MATH, 1, true},
47 {{.u.short_str = "svg", .length = 3, .next = NULL}, LXB_NS_SVG, 1, true},
48 {{.u.short_str = "xlink", .length = 5, .next = NULL}, LXB_NS_XLINK, 1, true},
49 {{.u.short_str = "xml", .length = 3, .next = NULL}, LXB_NS_XML, 1, true},
[all …]
/PHP-8.4/ext/standard/tests/array/
H A Darray_slice_variation6.phpt29 -- $length is -6 --
33 -- $length is -5 --
37 -- $length is -4 --
41 -- $length is -3 --
47 -- $length is -2 --
65 -- $length is 0 --
69 -- $length is 1 --
75 -- $length is 2 --
83 -- $length is 3 --
93 -- $length is 4 --
[all …]
/PHP-8.4/ext/iconv/tests/
H A Diconv_mime_encode.phpt35 -------- line length=0
39 -------- line length=1
43 -------- line length=2
47 -------- line length=3
51 -------- line length=4
55 -------- line length=5
59 -------- line length=6
63 -------- line length=7
67 -------- line length=8
71 -------- line length=9
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/css/syntax/
H A Dstate.c213 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_delim_set()
395 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_comment()
412 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_comment()
516 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_whitespace()
652 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_string()
719 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_hash()
1311 lxb_css_syntax_token_base(ident)->length = length; in lxb_css_syntax_state_less_sign()
1506 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_rsolidus()
1712 length = lxb_css_syntax_token_base(token)->length; in lxb_css_syntax_state_decimal()
1745 lxb_css_syntax_token_base(token)->length = length; in lxb_css_syntax_state_decimal()
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/html/tree/
H A Dopen_elements.c17 size_t len = tree->open_elements->length; in lxb_html_tree_open_elements_remove_by_node()
27 tree->open_elements->length--; in lxb_html_tree_open_elements_remove_by_node()
43 while (tree->open_elements->length != 0) { in lxb_html_tree_open_elements_pop_until_tag_id()
44 tree->open_elements->length--; in lxb_html_tree_open_elements_pop_until_tag_id()
50 tree->open_elements->length++; in lxb_html_tree_open_elements_pop_until_tag_id()
64 while (tree->open_elements->length != 0) { in lxb_html_tree_open_elements_pop_until_h123456()
65 tree->open_elements->length--; in lxb_html_tree_open_elements_pop_until_h123456()
95 tree->open_elements->length--; in lxb_html_tree_open_elements_pop_until_td_th()
122 tree->open_elements->length--; in lxb_html_tree_open_elements_pop_until_node()
138 tree->open_elements->length = idx; in lxb_html_tree_open_elements_pop_until()
[all …]
/PHP-8.4/ext/standard/tests/file/
H A Dbug26938.phpt11 . 'foreach($lengths as $length) {'
12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
18 . 'foreach($lengths as $length) {'
19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
24 print "md5(line $i)= " . md5($out[$i]) . " (length " .
28 md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10)
29 md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000)
30 md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
31 md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5)
32 md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000)
[all …]
/PHP-8.4/ext/dom/lexbor/lexbor/css/
H A Dlog.c14 size_t length; member
110 msg->text.length = length; in lxb_css_log_append()
112 msg->text.data[length] = '\0'; in lxb_css_log_append()
164 msg->text.length = psize; in lxb_css_log_format()
232 size_t length = 0; in lxb_css_log_serialize_char() local
248 str.length = 0; in lxb_css_log_serialize_char()
257 str.data[str.length] = '\0'; in lxb_css_log_serialize_char()
279 size_t length; in lxb_css_log_message_serialize() local
296 size_t length = 0; in lxb_css_log_message_serialize_char() local
312 str.length = 0; in lxb_css_log_message_serialize_char()
[all …]
H A Dcss.c160 size_t length, offlen, len; in lxb_css_make_data() local
167 length = end - begin; in lxb_css_make_data()
176 if (tmp->length > offlen) { in lxb_css_make_data()
179 if (len >= length) { in lxb_css_make_data()
180 memcpy(str->data + str->length, tmp->data + offlen, length); in lxb_css_make_data()
187 str->length += len; in lxb_css_make_data()
190 length -= len; in lxb_css_make_data()
196 memcpy(str->data + str->length, pos, length); in lxb_css_make_data()
200 str->length += length; in lxb_css_make_data()
210 size_t length = 0; in lxb_css_serialize_char_handler() local
[all …]
/PHP-8.4/ext/standard/tests/strings/
H A Dstrlen.phpt7 /* returns the length of a given string */
136 String length of '' is => int(0)
137 String length of ' ' is => int(1)
138 String length of '%0' is => int(1)
142 String length of '0' is => int(1)
143 String length of '0' is => int(1)
144 String length of ' ' is => int(1)
146 String length of '1' is => int(1)
147 String length of '' is => int(0)
151 String length of 'Hello, World
[all …]
/PHP-8.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c43 device->length = initsz; in mbfl_memory_device_init()
50 if (initsz > device->length) { in mbfl_memory_device_realloc()
52 device->length = initsz; in mbfl_memory_device_realloc()
63 device->length = device->pos = 0; in mbfl_memory_device_clear()
84 device->length = device->pos = 0; in mbfl_memory_device_result()
92 if (device->pos >= device->length) { in mbfl_memory_device_output()
102 device->length = newlen; in mbfl_memory_device_output()
127 device->length = newlen; in mbfl_memory_device_strncat()
145 device->length = 0; in mbfl_wchar_device_init()
156 device->length = device->pos = 0; in mbfl_wchar_device_clear()
[all …]

Completed in 77 milliseconds

12345678910>>...30