Home
last modified time | relevance | path

Searched refs:idx (Results 26 – 50 of 127) sorted by relevance

123456

/php-src/ext/intl/dateformat/
H A Ddateformat_format_object.cpp100 uint32_t idx = 0; in PHP_FUNCTION() local
104 if (idx == 0) { in PHP_FUNCTION()
109 ZEND_ASSERT(idx == 1 && "We checked that there are two elements above"); in PHP_FUNCTION()
116 if (idx == 0) { in PHP_FUNCTION()
119 ZEND_ASSERT(idx == 1 && "We checked that there are two elements above"); in PHP_FUNCTION()
122 idx++; in PHP_FUNCTION()
124 ZEND_ASSERT(idx == 2 && "We checked that there are two elements above"); in PHP_FUNCTION()
/php-src/ext/dom/lexbor/lexbor/core/
H A Darray_obj.h70 lexbor_array_obj_get(const lexbor_array_obj_t *array, size_t idx) in lexbor_array_obj_get() argument
72 if (idx >= array->length) { in lexbor_array_obj_get()
76 return array->list + (idx * array->struct_size); in lexbor_array_obj_get()
115 lexbor_array_obj_get_noi(lexbor_array_obj_t *array, size_t idx);
/php-src/ext/dom/lexbor/patches/
H A D0001-Patch-utilities-and-data-structure-to-be-able-to-gen.patch41 - hash_key.append(key_id, '(void *) {}'.format(idx))
42 + hash_key.append(key_id, idx)
51 entries = values[idx]
54 - hash_key.append(key_id, '(void *) {}'.format(idx + 0x80))
55 + hash_key.append(key_id, idx + 0x80)
73 entry = table[idx]
84 if int(idx) % rate == rate_dn:
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree.c1016 while (idx != 0) { in lxb_html_tree_reset_insertion_mode_appropriately()
1017 idx--; in lxb_html_tree_reset_insertion_mode_appropriately()
1167 while (idx != 0) { in lxb_html_tree_element_in_scope()
1168 idx--; in lxb_html_tree_element_in_scope()
1193 while (idx != 0) { in lxb_html_tree_element_in_scope_by_node()
1194 idx--; in lxb_html_tree_element_in_scope_by_node()
1218 idx--; in lxb_html_tree_element_in_scope_h123456()
1257 idx--; in lxb_html_tree_element_in_scope_tbody_thead_tfoot()
1293 idx--; in lxb_html_tree_element_in_scope_td_th()
1422 while (idx) { in lxb_html_tree_adoption_agency_algorithm()
[all …]
H A Dencoding.h66 lxb_html_encoding_meta_entry(lxb_html_encoding_t *em, size_t idx) in lxb_html_encoding_meta_entry() argument
68 return (lxb_html_encoding_entry_t *) lexbor_array_obj_get(&em->result, idx); in lxb_html_encoding_meta_entry()
93 lxb_html_encoding_meta_entry_noi(lxb_html_encoding_t *em, size_t idx);
/php-src/tests/lang/
H A Dbug19943.phpt8 @$ar[$count]['0idx'] = "$count";
12 echo $ar[$count]." -- ".@$ar[$count]['0idx']."\n";
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c32 size_t idx = tree->open_elements->length - 1; in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() local
34 if (idx > 0 && list[idx]->local_name != token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
39 while (idx != 0) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
40 if (list[idx]->local_name == token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
41 lxb_html_tree_open_elements_pop_until_node(tree, list[idx], true); in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
46 idx--; in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
48 if (list[idx]->ns == LXB_NS_HTML) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed()
/php-src/ext/spl/tests/
H A Dbug36287.phpt8 $idx = 0;
15 if (++$idx > 1)
H A Dobserver_001.phpt48 $idx = array_search($observer, $this->observers);
49 if ($idx !== false)
51 unset($this->observers[$idx]);
/php-src/ext/standard/
H A Dmetaphone.c133 int idx; in Lookahead() local
134 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
137 return word[idx]; /* idx will be either == to how_far or in Lookahead()
H A Darray.c3249 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) {
3273 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) {
3645 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
3658 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
3698 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
5255 for (idx = 0; idx < hash->nNumUsed; idx++, zv++) {
5264 for (idx = 0; idx < hash->nNumUsed; idx++, p++) {
5650 for (idx = 0; idx < hash->nNumUsed; idx++, zv++) {
5659 for (idx = 0; idx < hash->nNumUsed; idx++, p++) {
6131 for (idx = 0; idx < Z_ARRVAL_P(arrays[i])->nNumUsed; idx++, zv++) {
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_strtab.c202 const char *ir_strtab_str(const ir_strtab *strtab, ir_ref idx) in ir_strtab_str() argument
204 IR_ASSERT(idx >= 0 && (uint32_t)idx < strtab->count); in ir_strtab_str()
205 return ((const ir_strtab_bucket*)strtab->data)[idx].str; in ir_strtab_str()
208 const char *ir_strtab_strl(const ir_strtab *strtab, ir_ref idx, size_t *len) in ir_strtab_strl() argument
210 const ir_strtab_bucket *b = ((const ir_strtab_bucket*)strtab->data) + idx; in ir_strtab_strl()
211 IR_ASSERT(idx >= 0 && (uint32_t)idx < strtab->count); in ir_strtab_strl()
/php-src/ext/zip/tests/
H A Doo_getcomment.phpt16 $idx = $zip->locateName('foo');
18 var_dump($zip->getCommentIndex($idx));
/php-src/ext/xmlreader/tests/
H A D015-move-errors.phpt11 …rg/" xmlns:ns2="http://www.ns2.namespace.org/"><book ns1:num="1" ns2:idx="2" ns1:idx="3" ns2:isbn=…
28 $reader->moveToAttributeNs('idx', null);
H A D004.phpt10 <books><book num="1" idx="2">book1</book></books>';
39 Attribute Name: idx
H A D015-get-errors.phpt11 …rg/" xmlns:ns2="http://www.ns2.namespace.org/"><book ns1:num="1" ns2:idx="2" ns1:idx="3" ns2:isbn=…
30 $attr = $reader->getAttributeNs('idx', null);
/php-src/ext/hash/
H A Dhash_sha3.c37 static inline unsigned char idx(unsigned char x, unsigned char y) { in idx() function
65 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y))
66 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v)
67 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v)
69 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)])
70 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v)
71 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v)
/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dtemplate_insertion.h44 lxb_html_tree_template_insertion_get(lxb_html_tree_t *tree, size_t idx) in lxb_html_tree_template_insertion_get() argument
49 lexbor_array_obj_get(tree->template_insertion_modes, idx); in lxb_html_tree_template_insertion_get()
/php-src/Zend/
H A Dzend_string.c140 uint32_t idx; in zend_interned_string_ht_lookup_ex() local
144 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup_ex()
145 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup_ex()
146 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup_ex()
150 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup_ex()
160 uint32_t idx; in zend_interned_string_ht_lookup() local
164 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup()
165 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup()
166 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup()
170 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup()
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c1463 idx = 0; in zend_jit_trace_build_tssa()
1470 idx++; in zend_jit_trace_build_tssa()
1478 idx++; in zend_jit_trace_build_tssa()
1583 idx--; in zend_jit_trace_build_tssa()
1714 idx = 0; in zend_jit_trace_build_tssa()
2320 idx++; in zend_jit_trace_build_tssa()
2378 idx++; in zend_jit_trace_build_tssa()
2859 idx = 0; in zend_jit_trace_allocate_registers()
7572 idx = 0; in zend_jit_dump_trace()
7677 idx++; in zend_jit_dump_trace()
[all …]
/php-src/ext/posix/tests/
H A Dposix_getgrgid.phpt23 foreach ($grp['members'] as $idx => $username) {
24 if (!is_int($idx)) {
/php-src/ext/reflection/tests/types/
H A DReflectionType_001.phpt23 ] as $idx => $rf) {
25 echo "** Function $idx - Parameter $idx2\n";
43 ] as $idx => $rm) {
45 echo "** Method $idx - parameter $idx2\n";
66 ] as $idx => $rf) {
67 echo "** Function/method return type $idx\n";
/php-src/ext/zip/
H A Dphp_zip.c143 if (idx < 0) { in php_zip_extract_file()
145 if (idx < 0) { in php_zip_extract_file()
2157 int idx; local
2177 if (idx < 0) {
2238 if (idx < 0) {
2299 if (idx < 0) {
2366 if (idx < 0) {
2407 int idx; local
2427 if (idx < 0) {
2483 if (idx < 0) {
[all …]
/php-src/ext/openssl/tests/
H A Dopenssl_decrypt_gcm.phpt16 foreach ($tests as $idx => $test) {
17 echo "TEST $idx\n";
H A Dopenssl_decrypt_ccm.phpt17 foreach ($tests as $idx => $test) {
18 echo "$method - TEST $idx\n";

Completed in 79 milliseconds

123456