Home
last modified time | relevance | path

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

1234

/PHP-8.0/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-8.0/Zend/
H A Dzend_hash.c1155 idx = HT_IDX_TO_HASH(idx); in zend_hash_set_bucket_key()
1298 idx = HT_HASH_TO_IDX(idx); in _zend_hash_del_el_ex()
1782 for (idx = 0; idx < ht->nNumUsed; idx++, p++) { in zend_hash_graceful_destroy()
1834 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply()
1858 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument()
1884 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments()
1943 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy()
2159 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge()
2181 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge()
2226 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge_ex()
[all …]
H A Dzend_gc.c164 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx)) argument
362 return idx; in gc_fetch_unused()
378 return idx; in gc_fetch_next_unused()
617 idx = gc_compress(idx); in gc_possible_root_when_full()
653 idx = gc_compress(idx); in gc_possible_root()
1152 idx = gc_compress(idx); in gc_add_garbage()
1325 idx++; in gc_collect_roots()
1513 idx++; in zend_gc_collect_cycles()
1527 idx++; in zend_gc_collect_cycles()
1553 idx++; in zend_gc_collect_cycles()
[all …]
H A Dzend_hash.h430 zend_ulong idx; in zend_symtable_add_new() local
441 zend_ulong idx; in zend_symtable_update() local
453 zend_ulong idx; in zend_symtable_update_ind() local
465 zend_ulong idx; in zend_symtable_del() local
477 zend_ulong idx; in zend_symtable_del_ind() local
489 zend_ulong idx; in zend_symtable_find() local
501 zend_ulong idx; in zend_symtable_find_ind() local
513 zend_ulong idx; in zend_symtable_exists() local
525 zend_ulong idx; in zend_symtable_exists_ind() local
537 zend_ulong idx; in zend_symtable_str_update() local
[all …]
H A Dzend_string.c125 uint32_t idx; in zend_interned_string_ht_lookup_ex() local
129 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup_ex()
130 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup_ex()
131 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup_ex()
137 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup_ex()
147 uint32_t idx; in zend_interned_string_ht_lookup() local
151 idx = HT_HASH(interned_strings, nIndex); in zend_interned_string_ht_lookup()
152 while (idx != HT_INVALID_IDX) { in zend_interned_string_ht_lookup()
153 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup()
157 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup()
/PHP-8.0/ext/pdo/tests/
H A Dpdo_016.phpt28 $stmt2 = $db->prepare('SELECT idx, txt FROM test ORDER by idx');
40 $stmt2->bindColumn('idx', $idx);
45 var_dump(array($idx=>$txt));
56 foreach($cont as $idx => $txt)
58 var_dump(array($idx=>$txt));
61 if ($idx == 0) {
70 if ($idx == 0) {
82 $stmt4->bindColumn('idx', $col1);
84 foreach($cont as $idx => $txt)
86 var_dump(array($idx=>$txt));
[all …]
H A Dpdo_016a.phpt28 $stmt2 = $db->prepare('SELECT idx, txt FROM test ORDER by idx');
40 $stmt2->bindColumn('idx', $idx);
45 var_dump(array($idx=>$txt));
56 foreach($cont as $idx => $txt)
58 var_dump(array($idx=>$txt));
61 if ($idx == 0) {
70 if ($idx == 0) {
82 $stmt4->bindColumn('idx', $col1);
84 foreach($cont as $idx => $txt)
86 var_dump(array($idx=>$txt));
[all …]
H A Dpdo_019.phpt17 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
26 $stmt = $db->prepare('SELECT idx, txt FROM test ORDER by idx');
34 $stmt->bindColumn('idx', $idx);
39 var_dump(array($idx=>$txt));
/PHP-8.0/ext/standard/tests/file/
H A Duserdirstream.phpt6 public $idx = 0;
10 $this->idx = 0;
18 if ($this->idx >= count($sample)) return false;
19 else return $sample[$this->idx++];
23 $this->idx = 0;
/PHP-8.0/ext/pdo_firebird/tests/
H A Dbug_47415.phpt15 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
20 $query = "SELECT idx, txt FROM testz ORDER by idx";
21 $idx = $txt = 0;
23 $stmt->bindColumn('idx', $idx);
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_result_references_mysqlnd.phpt22 $idx = 0;
25 $references[$idx]['row_ref'] = &$row;
26 $references[$idx]['row_copy'] = $row;
27 $references[$idx]['id_ref'] = &$row['id'];
28 $references[$idx++]['id_copy'] = $row['id'];
41 $references[$idx]['row_ref'] = &$rows[$i];
42 $references[$idx]['row_copy'] = $rows[$i];
43 $references[$idx]['id_ref'] = &$rows[$i]['id'];
44 $references[$idx]['id_copy'] = $rows[$i]['id'];
46 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
H A Dmysqli_result_references.phpt19 $idx = 0;
22 $references[$idx] = array(
25 $references[$idx++]['id'] += 0;
33 $references[$idx] = array(
36 $references[$idx++]['id'] += 0;
51 $references[$idx] = array(
54 $references[$idx]['id2'] = &$references[$idx]['id'];
55 $references[$idx]['id'] += 1;
56 $references[$idx++]['id2'] += 1;
59 $references[$idx++] = &$res;
/PHP-8.0/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-8.0/ext/intl/dateformat/
H A Ddateformat_format_object.cpp93 uint32_t idx; in PHP_FUNCTION() local
103 idx = 0; in PHP_FUNCTION()
104 while (idx < ht->nNumUsed) { in PHP_FUNCTION()
105 z = &ht->arData[idx].val; in PHP_FUNCTION()
109 idx++; in PHP_FUNCTION()
111 if (idx >= ht->nNumUsed || !valid_format(z)) { in PHP_FUNCTION()
119 idx++; in PHP_FUNCTION()
120 while (idx < ht->nNumUsed) { in PHP_FUNCTION()
121 z = &ht->arData[idx].val; in PHP_FUNCTION()
125 idx++; in PHP_FUNCTION()
[all …]
/PHP-8.0/scripts/dev/
H A Dcheck_parameters.php128 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument
132 if ($idx >= count($db)) {
138 } elseif ($db[$idx][0] === '**dummy**') {
142 if ($db[$idx][1] != $exp) {
143 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
146 if (!$optional && $db[$idx][2]) {
147 error("not optional var is initialized: {$db[$idx][0]} [".($idx+1).']', 2);
149 if (!$allow_uninit && $optional && !$db[$idx][2]) {
150 error("optional var not initialized: {$db[$idx][0]} [".($idx+1).']', 1);
/PHP-8.0/ext/spl/
H A Dspl_engine.c34 zend_ulong idx; in spl_offset_convert_to_long() local
39 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) { in spl_offset_convert_to_long()
40 return idx; in spl_offset_convert_to_long()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c352 idx++; \
364 idx++; \
382 trace_buffer[idx].start = trace_buffer[idx].start; \
459 if (idx < 0) { in zend_jit_trace_record_fake_init_call_ex()
460 return idx; in zend_jit_trace_record_fake_init_call_ex()
493 return idx; in zend_jit_trace_record_fake_init_call_ex()
503 int idx; in zend_jit_trace_subtrace() local
556 int idx, count; local
614 idx = ret;
862 idx = ret;
[all …]
/PHP-8.0/win32/
H A Dcodepage.c128 while (idx < aidx) { in php_win32_cp_conv_ascii_to_w()
129 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w()
130 idx++; in php_win32_cp_conv_ascii_to_w()
141 idx += 16; in php_win32_cp_conv_ascii_to_w()
149 while (idx < end) { in php_win32_cp_conv_ascii_to_w()
150 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w()
151 idx++; in php_win32_cp_conv_ascii_to_w()
164 idx = in; in php_win32_cp_conv_ascii_to_w()
187 idx += 16; in php_win32_cp_conv_ascii_to_w()
194 while (idx < end) { in php_win32_cp_conv_ascii_to_w()
[all …]
/PHP-8.0/tests/lang/
H A Dbug19943.phpt8 @$ar[$count]['0idx'] = "$count";
12 echo $ar[$count]." -- ".@$ar[$count]['0idx']."\n";
/PHP-8.0/ext/standard/
H A Dmetaphone.c123 int idx; in Lookahead() local
124 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
127 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
/PHP-8.0/ext/spl/tests/
H A Dbug36287.phpt8 $idx = 0;
15 if (++$idx > 1)
/PHP-8.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_jp_ms.c276 int idx; in cp932ext3_cp932ext2_jis() local
278 idx = sjistoidx(0xfa, 0x40) + c; in cp932ext3_cp932ext2_jis()
279 if (idx >= sjistoidx(0xfa, 0x5c)) in cp932ext3_cp932ext2_jis()
280 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); in cp932ext3_cp932ext2_jis()
281 else if (idx >= sjistoidx(0xfa, 0x55)) in cp932ext3_cp932ext2_jis()
282 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); in cp932ext3_cp932ext2_jis()
283 else if (idx >= sjistoidx(0xfa, 0x40)) in cp932ext3_cp932ext2_jis()
284 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); in cp932ext3_cp932ext2_jis()
285 return idxtojis1(idx) << 8 | idxtojis2(idx); in cp932ext3_cp932ext2_jis()

Completed in 43 milliseconds

1234