/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_btree.h | 25 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 D | phpdbg_btree.c | 49 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.2/Zend/ |
H A D | zend_hash.c | 2004 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply() 2019 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply() 2044 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument() 2058 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument() 2085 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments() 2106 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments() 2188 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy() 2200 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy() 2462 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge() 2544 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge_ex() [all …]
|
H A D | zend_gc.c | 165 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx)) argument 363 return idx; in gc_fetch_unused() 379 return idx; in gc_fetch_next_unused() 618 idx = gc_compress(idx); in gc_possible_root_when_full() 654 idx = gc_compress(idx); in gc_possible_root() 1164 idx = gc_compress(idx); in gc_add_garbage() 1346 idx++; in gc_collect_roots() 1552 idx++; in zend_gc_collect_cycles() 1566 idx++; in zend_gc_collect_cycles() 1592 idx++; in zend_gc_collect_cycles() [all …]
|
H A D | zend_hash.h | 472 zend_ulong idx; in zend_symtable_add_new() local 483 zend_ulong idx; in zend_symtable_update() local 495 zend_ulong idx; in zend_symtable_update_ind() local 507 zend_ulong idx; in zend_symtable_del() local 519 zend_ulong idx; in zend_symtable_del_ind() local 531 zend_ulong idx; in zend_symtable_find() local 543 zend_ulong idx; in zend_symtable_find_ind() local 555 zend_ulong idx; in zend_symtable_exists() local 567 zend_ulong idx; in zend_symtable_exists_ind() local 579 zend_ulong idx; in zend_symtable_str_update() local [all …]
|
/PHP-8.2/ext/pdo/tests/ |
H A D | pdo_016.phpt | 29 $stmt2 = $db->prepare('SELECT idx, txt FROM test 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 D | pdo_016a.phpt | 29 $stmt2 = $db->prepare('SELECT idx, txt FROM test 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 D | pdo_019.phpt | 18 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))'); 27 $stmt = $db->prepare('SELECT idx, txt FROM test ORDER by idx'); 35 $stmt->bindColumn('idx', $idx); 40 var_dump(array($idx=>$txt));
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_result_references_mysqlnd.phpt | 19 $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 D | mysqli_result_references.phpt | 22 $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-8.2/ext/pdo_firebird/tests/ |
H A D | bug_47415.phpt | 17 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))'); 22 $query = "SELECT idx, txt FROM testz ORDER by idx"; 23 $idx = $txt = 0; 25 $stmt->bindColumn('idx', $idx);
|
/PHP-8.2/win32/ |
H A D | codepage.c | 133 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-8.2/ext/xmlreader/tests/ |
H A D | 003-mb.phpt | 10 <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 D | 003.phpt | 10 <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 D | 015.phpt | 11 …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.2/ext/standard/tests/file/ |
H A D | userdirstream.phpt | 6 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-8.2/scripts/dev/ |
H A D | check_parameters.php | 129 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-8.2/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 399 idx++; \ 411 idx++; \ 429 trace_buffer[idx].start = trace_buffer[idx].start; \ 501 if (idx < 0) { in zend_jit_trace_record_fake_init_call_ex() 502 return idx; in zend_jit_trace_record_fake_init_call_ex() 535 return idx; in zend_jit_trace_record_fake_init_call_ex() 545 int idx; in zend_jit_trace_subtrace() local 598 int idx, count; local 666 idx = ret; 1022 idx = ret; [all …]
|
/PHP-8.2/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 100 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-8.2/tests/lang/ |
H A D | bug19943.phpt | 8 @$ar[$count]['0idx'] = "$count"; 12 echo $ar[$count]." -- ".@$ar[$count]['0idx']."\n";
|
/PHP-8.2/ext/standard/ |
H A D | metaphone.c | 123 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()
|
H A D | array.c | 2913 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) { 2937 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) { 3301 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) { 3314 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) { 3354 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) { 4878 for (idx = 0; idx < hash->nNumUsed; idx++, zv++) { 4887 for (idx = 0; idx < hash->nNumUsed; idx++, p++) { 5263 for (idx = 0; idx < hash->nNumUsed; idx++, zv++) { 5272 for (idx = 0; idx < hash->nNumUsed; idx++, p++) { 5742 for (idx = 0; idx < Z_ARRVAL_P(arrays[i])->nNumUsed; idx++, zv++) { [all …]
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug36287.phpt | 8 $idx = 0; 15 if (++$idx > 1)
|
/PHP-8.2/ext/zip/tests/ |
H A D | oo_getcomment.phpt | 16 $idx = $zip->locateName('foo'); 18 var_dump($zip->getCommentIndex($idx));
|
/PHP-8.2/ext/opcache/jit/libudis86/ |
H A D | decode.c | 1076 uint8_t idx; in decode_ssepfx() local 1087 idx = ((pfx & 0xf) + 1) / 2; in decode_ssepfx() 1089 idx = 0; in decode_ssepfx() 1091 if (idx && u->le->table[idx] != 0) { in decode_ssepfx() 1148 uint8_t idx = 0; in decode_ext() local 1175 idx = modrm(u) - 0xC0; in decode_ext() 1180 idx = (u->le->table[idx] != 0) ? 0 : 1; in decode_ext() 1182 idx = 0; in decode_ext() 1184 idx = 1; in decode_ext() 1198 idx = vex_w(u); in decode_ext() [all …]
|