Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 127) sorted by relevance

123456

/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dactive_formatting.c50 while (idx != 0) { in lxb_html_tree_active_formatting_remove_by_node()
51 idx--; in lxb_html_tree_active_formatting_remove_by_node()
56 memmove(list + idx, list + idx + 1, sizeof(void *) * delta); in lxb_html_tree_active_formatting_remove_by_node()
192 while (idx) { in lxb_html_tree_active_formatting_between_last_marker()
193 idx--; in lxb_html_tree_active_formatting_between_last_marker()
199 if (list[idx]->local_name == tag_idx && list[idx]->ns == LXB_NS_HTML) { in lxb_html_tree_active_formatting_between_last_marker()
204 return list[idx]; in lxb_html_tree_active_formatting_between_last_marker()
217 size_t earliest_idx = (idx ? (idx - 1) : 0); in lxb_html_tree_active_formatting_push_with_check_dupl()
220 while (idx) { in lxb_html_tree_active_formatting_push_with_check_dupl()
221 idx--; in lxb_html_tree_active_formatting_push_with_check_dupl()
[all …]
H A Dactive_formatting.h73 lxb_html_tree_active_formatting_get(lxb_html_tree_t *tree, size_t idx) in lxb_html_tree_active_formatting_get() argument
75 return (lxb_dom_node_t *) lexbor_array_get(tree->active_formatting, idx); in lxb_html_tree_active_formatting_get()
100 lxb_dom_node_t *node, size_t idx) in lxb_html_tree_active_formatting_insert() argument
102 return lexbor_array_insert(tree->active_formatting, idx, node); in lxb_html_tree_active_formatting_insert()
106 lxb_html_tree_active_formatting_remove(lxb_html_tree_t *tree, size_t idx) in lxb_html_tree_active_formatting_remove() argument
108 lexbor_array_delete(tree->active_formatting, idx, 1); in lxb_html_tree_active_formatting_remove()
H A Dopen_elements.h41 lxb_html_tree_open_elements_pop_until(lxb_html_tree_t *tree, size_t idx,
75 lxb_html_tree_open_elements_get(lxb_html_tree_t *tree, size_t idx) in lxb_html_tree_open_elements_get() argument
77 return (lxb_dom_node_t *) lexbor_array_get(tree->open_elements, idx); in lxb_html_tree_open_elements_get()
94 size_t idx) in lxb_html_tree_open_elements_insert_after() argument
96 return lexbor_array_insert(tree->open_elements, (idx + 1), node); in lxb_html_tree_open_elements_insert_after()
/php-src/sapi/phpdbg/
H A Dphpdbg_btree.h25 zend_ulong idx; member
50 phpdbg_btree_result *phpdbg_btree_find(phpdbg_btree *tree, zend_ulong idx);
51 phpdbg_btree_result *phpdbg_btree_find_closest(phpdbg_btree *tree, zend_ulong idx);
54 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx);
60 int phpdbg_btree_insert_or_update(phpdbg_btree *tree, zend_ulong idx, void *ptr, int flags);
61 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
62 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
63 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG… argument
H A Dphpdbg_btree.c49 if ((idx >> i) % 2 == 1) { in phpdbg_btree_find()
77 if ((idx >> i) % 2 == 0) { in phpdbg_btree_find_closest()
135 if (result == NULL || result->idx < pos->end) { in phpdbg_btree_next()
139 pos->cur = result->idx - 1; in phpdbg_btree_next()
152 branch = &(*branch)->branches[(idx >> i) % 2]; in phpdbg_btree_insert_or_update()
163 (*branch)->branches[!((idx >> i) % 2)] = NULL; in phpdbg_btree_insert_or_update()
164 branch = &(*branch)->branches[(idx >> i) % 2]; in phpdbg_btree_insert_or_update()
173 (*branch)->result.idx = idx; in phpdbg_btree_insert_or_update()
179 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx) { in phpdbg_btree_delete() argument
190 last_dual_branch_branch = (idx >> i) % 2; in phpdbg_btree_delete()
[all …]
/php-src/Zend/
H A Dzend_hash.c2061 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply()
2076 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply()
2101 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument()
2115 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument()
2142 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments()
2163 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments()
2245 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy()
2257 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy()
2564 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge()
2646 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge_ex()
[all …]
H A Dzend_gc.c167 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx)) argument
669 idx = gc_compress(idx); in gc_possible_root_when_full()
705 idx = gc_compress(idx); in gc_possible_root()
738 idx = gc_compress(idx); in gc_extra_root()
1376 idx++; in gc_scan_roots()
1388 idx++; in gc_scan_roots()
1412 idx = gc_compress(idx); in gc_add_garbage()
1639 idx++; in gc_collect_roots()
1862 idx++; in zend_gc_collect_cycles()
1876 idx++; in zend_gc_collect_cycles()
[all …]
H A Dzend_hash.h466 zend_ulong idx; in zend_symtable_add_new() local
477 zend_ulong idx; in zend_symtable_update() local
489 zend_ulong idx; in zend_symtable_update_ind() local
501 zend_ulong idx; in zend_symtable_del() local
513 zend_ulong idx; in zend_symtable_del_ind() local
525 zend_ulong idx; in zend_symtable_find() local
537 zend_ulong idx; in zend_symtable_find_ind() local
549 zend_ulong idx; in zend_symtable_exists() local
561 zend_ulong idx; in zend_symtable_exists_ind() local
573 zend_ulong idx; in zend_symtable_str_update() local
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Darray.c115 if (idx >= array->length) { in lexbor_array_insert()
116 size_t up_to = (idx - array->length) + 1; in lexbor_array_insert()
118 if (idx >= array->size) { in lexbor_array_insert()
126 array->list[ idx ] = value; in lexbor_array_insert()
138 memmove(&array->list[idx + 1], &array->list[idx], in lexbor_array_insert()
141 array->list[ idx ] = value; in lexbor_array_insert()
150 if (idx >= array->length) { in lexbor_array_set()
151 size_t up_to = (idx - array->length) + 1; in lexbor_array_set()
153 if (idx >= array->size) { in lexbor_array_set()
164 array->list[idx] = value; in lexbor_array_set()
[all …]
H A Darray.h49 lexbor_array_insert(lexbor_array_t *array, size_t idx, void *value);
52 lexbor_array_set(lexbor_array_t *array, size_t idx, void *value);
62 lexbor_array_get(lexbor_array_t *array, size_t idx) in lexbor_array_get() argument
64 if (idx >= array->length) { in lexbor_array_get()
68 return array->list[idx]; in lexbor_array_get()
87 lexbor_array_get_noi(lexbor_array_t *array, size_t idx);
/php-src/ext/pdo/tests/
H A Dpdo_016.phpt29 $stmt2 = $db->prepare('SELECT idx, txt FROM test016 ORDER by idx');
41 $stmt2->bindColumn('idx', $idx);
46 var_dump(array($idx=>$txt));
57 foreach($cont as $idx => $txt)
59 var_dump(array($idx=>$txt));
62 if ($idx == 0) {
71 if ($idx == 0) {
83 $stmt4->bindColumn('idx', $col1);
85 foreach($cont as $idx => $txt)
87 var_dump(array($idx=>$txt));
[all …]
H A Dpdo_016a.phpt29 $stmt2 = $db->prepare('SELECT idx, txt FROM test016a ORDER by idx');
41 $stmt2->bindColumn('idx', $idx);
46 var_dump(array($idx=>$txt));
57 foreach($cont as $idx => $txt)
59 var_dump(array($idx=>$txt));
62 if ($idx == 0) {
71 if ($idx == 0) {
83 $stmt4->bindColumn('idx', $col1);
85 foreach($cont as $idx => $txt)
87 var_dump(array($idx=>$txt));
[all …]
H A Dpdo_019.phpt18 $db->exec('CREATE TABLE test019(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
27 $stmt = $db->prepare('SELECT idx, txt FROM test019 ORDER by idx');
35 $stmt->bindColumn('idx', $idx);
40 var_dump(array($idx=>$txt));
/php-src/ext/mysqli/tests/
H A Dmysqli_result_references_mysqlnd.phpt19 $idx = 0;
22 $references[$idx]['row_ref'] = &$row;
23 $references[$idx]['row_copy'] = $row;
24 $references[$idx]['id_ref'] = &$row['id'];
25 $references[$idx++]['id_copy'] = $row['id'];
38 $references[$idx]['row_ref'] = &$rows[$i];
39 $references[$idx]['row_copy'] = $rows[$i];
40 $references[$idx]['id_ref'] = &$rows[$i]['id'];
41 $references[$idx]['id_copy'] = $rows[$i]['id'];
43 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
H A Dmysqli_result_references.phpt22 $idx = 0;
25 $references[$idx] = array(
28 $references[$idx++]['id'] += 0;
36 $references[$idx] = array(
39 $references[$idx++]['id'] += 0;
54 $references[$idx] = array(
57 $references[$idx]['id2'] = &$references[$idx]['id'];
58 $references[$idx]['id'] += 1;
59 $references[$idx++]['id2'] += 1;
62 $references[$idx++] = &$res;
/php-src/win32/
H A Dcodepage.c133 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w()
134 idx++; in php_win32_cp_conv_ascii_to_w()
146 idx += 16; in php_win32_cp_conv_ascii_to_w()
157 idx += 16; in php_win32_cp_conv_ascii_to_w()
166 while (idx < end) { in php_win32_cp_conv_ascii_to_w()
167 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w()
168 idx++; in php_win32_cp_conv_ascii_to_w()
181 idx = in; in php_win32_cp_conv_ascii_to_w()
205 idx += 16; in php_win32_cp_conv_ascii_to_w()
220 idx += 16; in php_win32_cp_conv_ascii_to_w()
[all …]
/php-src/ext/xmlreader/tests/
H A D003-mb.phpt10 <books><book num="1" idx="2">book1</book></books>';
36 echo "2nd attr (idx) failed\n";
48 $attr = $reader->moveToAttribute('idx');
52 if ($reader->getAttribute('idx') == $reader->value) {
53 echo "attr idx failed\n";
77 idx: 2
79 idx: 2
81 idx: 2
H A D003.phpt10 <books><book num="1" idx="2">book1</book></books>';
36 echo "2nd attr (idx) failed\n";
48 $attr = $reader->moveToAttribute('idx');
52 if ($reader->getAttribute('idx') == $reader->value) {
53 echo "attr idx failed\n";
84 idx: 2
86 idx: 2
88 idx: 2
H A D015.phpt11 …rg/" xmlns:ns2="http://www.ns2.namespace.org/"><book ns1:num="1" ns2:idx="2" ns1:idx="3" ns2:isbn=…
27 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns1.namespace.org/');
31 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns2.namespace.org/');
60 ns1:idx: 3
61 ns2:idx: 2
/php-src/ext/standard/tests/file/
H A Duserdirstream.phpt6 public $idx = 0;
11 $this->idx = 0;
19 if ($this->idx >= count($sample)) return false;
20 else return $sample[$this->idx++];
24 $this->idx = 0;
/php-src/ext/dom/lexbor/lexbor/dom/
H A Dcollection.h69 lxb_dom_collection_element(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_element() argument
71 return (lxb_dom_element_t *) lexbor_array_get(&col->array, idx); in lxb_dom_collection_element()
75 lxb_dom_collection_node(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_node() argument
77 return (lxb_dom_node_t *) lexbor_array_get(&col->array, idx); in lxb_dom_collection_node()
99 lxb_dom_collection_element_noi(lxb_dom_collection_t *col, size_t idx);
102 lxb_dom_collection_node_noi(lxb_dom_collection_t *col, size_t idx);
H A Dcollection.c82 lxb_dom_collection_element_noi(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_element_noi() argument
84 return lxb_dom_collection_element(col, idx); in lxb_dom_collection_element_noi()
88 lxb_dom_collection_node_noi(lxb_dom_collection_t *col, size_t idx) in lxb_dom_collection_node_noi() argument
90 return lxb_dom_collection_node(col, idx); in lxb_dom_collection_node_noi()
/php-src/ext/pdo_firebird/tests/
H A Dbug_47415.phpt17 $dbh->exec('CREATE TABLE test47415 (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
20 $query = "SELECT idx, txt FROM test47415 ORDER by idx";
21 $idx = $txt = 0;
23 $stmt->bindColumn('idx', $idx);
/php-src/scripts/dev/
H A Dcheck_parameters.php129 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument
133 if ($idx >= count($db)) {
139 } elseif ($db[$idx][0] === '**dummy**') {
143 if ($db[$idx][1] != $exp) {
144 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
147 if (!$optional && $db[$idx][2]) {
148 error("not optional var is initialized: {$db[$idx][0]} [".($idx+1).']', 2);
150 if (!$allow_uninit && $optional && !$db[$idx][2]) {
151 error("optional var not initialized: {$db[$idx][0]} [".($idx+1).']', 1);
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c394 idx++; \
406 idx++; \
424 trace_buffer[idx].start = trace_buffer[idx].start; \
496 if (idx < 0) { in zend_jit_trace_record_fake_init_call_ex()
497 return idx; in zend_jit_trace_record_fake_init_call_ex()
530 return idx; in zend_jit_trace_record_fake_init_call_ex()
540 int idx; in zend_jit_trace_subtrace() local
593 int idx, count; local
661 idx = ret;
1009 idx = ret;
[all …]

Completed in 68 milliseconds

123456