/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_btree.h | 27 zend_ulong idx; member 52 phpdbg_btree_result *phpdbg_btree_find(phpdbg_btree *tree, zend_ulong idx); 53 phpdbg_btree_result *phpdbg_btree_find_closest(phpdbg_btree *tree, zend_ulong idx); 56 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx); 62 int phpdbg_btree_insert_or_update(phpdbg_btree *tree, zend_ulong idx, void *ptr, int flags); 63 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument 64 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument 65 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG… argument
|
H A D | phpdbg_btree.c | 51 if ((idx >> i) % 2 == 1) { in phpdbg_btree_find() 79 if ((idx >> i) % 2 == 0) { in phpdbg_btree_find_closest() 137 if (result == NULL || result->idx < pos->end) { in phpdbg_btree_next() 141 pos->cur = result->idx - 1; in phpdbg_btree_next() 154 branch = &(*branch)->branches[(idx >> i) % 2]; in phpdbg_btree_insert_or_update() 165 (*branch)->branches[!((idx >> i) % 2)] = NULL; in phpdbg_btree_insert_or_update() 166 branch = &(*branch)->branches[(idx >> i) % 2]; in phpdbg_btree_insert_or_update() 175 (*branch)->result.idx = idx; in phpdbg_btree_insert_or_update() 181 int phpdbg_btree_delete(phpdbg_btree *tree, zend_ulong idx) { in phpdbg_btree_delete() argument 192 last_dual_branch_branch = (idx >> i) % 2; in phpdbg_btree_delete() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_hash.c | 1129 idx = HT_IDX_TO_HASH(idx); in zend_hash_set_bucket_key() 1273 idx = HT_HASH_TO_IDX(idx); in _zend_hash_del_el_ex() 1757 for (idx = 0; idx < ht->nNumUsed; idx++, p++) { in zend_hash_graceful_destroy() 1809 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply() 1833 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_argument() 1859 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_apply_with_arguments() 1918 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_copy() 2134 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge() 2156 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge() 2201 for (idx = 0; idx < source->nNumUsed; idx++) { in zend_hash_merge_ex() [all …]
|
H A D | zend_gc.c | 164 #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() 1149 idx = gc_compress(idx); in gc_add_garbage() 1321 idx++; in gc_collect_roots() 1501 idx++; in zend_gc_collect_cycles() 1515 idx++; in zend_gc_collect_cycles() 1541 idx++; in zend_gc_collect_cycles() [all …]
|
H A D | zend_hash.h | 410 zend_ulong idx; in zend_symtable_add_new() local 421 zend_ulong idx; in zend_symtable_update() local 433 zend_ulong idx; in zend_symtable_update_ind() local 445 zend_ulong idx; in zend_symtable_del() local 457 zend_ulong idx; in zend_symtable_del_ind() local 469 zend_ulong idx; in zend_symtable_find() local 481 zend_ulong idx; in zend_symtable_find_ind() local 493 zend_ulong idx; in zend_symtable_exists() local 505 zend_ulong idx; in zend_symtable_exists_ind() local 517 zend_ulong idx; in zend_symtable_str_update() local [all …]
|
H A D | zend_string.c | 125 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-7.4/ext/pdo/tests/ |
H A D | pdo_016.phpt | 28 $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 D | pdo_016a.phpt | 28 $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 D | pdo_019.phpt | 17 $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-7.4/ext/pdo_firebird/tests/ |
H A D | bug_47415.phpt | 14 $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))'); 19 $query = "SELECT idx, txt FROM testz ORDER by idx"; 20 $idx = $txt = 0; 22 $stmt->bindColumn('idx', $idx);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | userdirstream.phpt | 6 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-7.4/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"; 78 idx: 2 80 idx: 2 82 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"; 81 idx: 2 83 idx: 2 85 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/'); 61 ns1:idx: 3 62 ns2:idx: 2
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_result_references_mysqlnd.phpt | 24 $idx = 0; 27 $references[$idx]['row_ref'] = &$row; 28 $references[$idx]['row_copy'] = $row; 29 $references[$idx]['id_ref'] = &$row['id']; 30 $references[$idx++]['id_copy'] = $row['id']; 43 $references[$idx]['row_ref'] = &$rows[$i]; 44 $references[$idx]['row_copy'] = $rows[$i]; 45 $references[$idx]['id_ref'] = &$rows[$i]['id']; 46 $references[$idx]['id_copy'] = $rows[$i]['id']; 48 $references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
|
H A D | mysqli_result_references.phpt | 20 $idx = 0; 23 $references[$idx] = array( 26 $references[$idx++]['id'] += 0; 34 $references[$idx] = array( 37 $references[$idx++]['id'] += 0; 52 $references[$idx] = array( 55 $references[$idx]['id2'] = &$references[$idx]['id']; 56 $references[$idx]['id'] += 1; 57 $references[$idx++]['id2'] += 1; 60 $references[$idx++] = &$res;
|
/PHP-7.4/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 95 uint32_t idx; in PHP_FUNCTION() local 105 idx = 0; in PHP_FUNCTION() 106 while (idx < ht->nNumUsed) { in PHP_FUNCTION() 107 z = &ht->arData[idx].val; in PHP_FUNCTION() 111 idx++; in PHP_FUNCTION() 113 if (idx >= ht->nNumUsed || !valid_format(z)) { in PHP_FUNCTION() 121 idx++; in PHP_FUNCTION() 122 while (idx < ht->nNumUsed) { in PHP_FUNCTION() 123 z = &ht->arData[idx].val; in PHP_FUNCTION() 127 idx++; in PHP_FUNCTION() [all …]
|
/PHP-7.4/scripts/dev/ |
H A D | check_parameters.php | 130 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument 134 if ($idx >= count($db)) { 140 } elseif ($db[$idx][0] === '**dummy**') { 144 if ($db[$idx][1] != $exp) { 145 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']'); 148 if (!$optional && $db[$idx][2]) { 149 error("not optional var is initialized: {$db[$idx][0]} [".($idx+1).']', 2); 151 if (!$allow_uninit && $optional && !$db[$idx][2]) { 152 error("optional var not initialized: {$db[$idx][0]} [".($idx+1).']', 1);
|
/PHP-7.4/ext/spl/ |
H A D | spl_engine.c | 43 zend_ulong idx; in spl_offset_convert_to_long() local 48 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) { in spl_offset_convert_to_long() 49 return idx; in spl_offset_convert_to_long()
|
/PHP-7.4/win32/ |
H A D | codepage.c | 130 while (idx < aidx) { in php_win32_cp_conv_ascii_to_w() 131 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w() 132 idx++; in php_win32_cp_conv_ascii_to_w() 143 idx += 16; in php_win32_cp_conv_ascii_to_w() 151 while (idx < end) { in php_win32_cp_conv_ascii_to_w() 152 ch_err |= *idx; in php_win32_cp_conv_ascii_to_w() 153 idx++; in php_win32_cp_conv_ascii_to_w() 166 idx = in; in php_win32_cp_conv_ascii_to_w() 193 idx += 16; in php_win32_cp_conv_ascii_to_w() 200 while (idx < end) { in php_win32_cp_conv_ascii_to_w() [all …]
|
/PHP-7.4/tests/lang/ |
H A D | bug19943.phpt | 8 @$ar[$count]['idx'] = "$count"; 12 echo $ar[$count]." -- ".@$ar[$count]['idx']."\n";
|
/PHP-7.4/ext/standard/ |
H A D | metaphone.c | 128 int idx; in Lookahead() local 129 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead() 132 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug36287.phpt | 8 $idx = 0; 15 if (++$idx > 1)
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso2022_jp_ms.c | 279 int idx; in cp932ext3_cp932ext2_jis() local 281 idx = sjistoidx(0xfa, 0x40) + c; in cp932ext3_cp932ext2_jis() 282 if (idx >= sjistoidx(0xfa, 0x5c)) in cp932ext3_cp932ext2_jis() 283 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); in cp932ext3_cp932ext2_jis() 284 else if (idx >= sjistoidx(0xfa, 0x55)) in cp932ext3_cp932ext2_jis() 285 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); in cp932ext3_cp932ext2_jis() 286 else if (idx >= sjistoidx(0xfa, 0x40)) in cp932ext3_cp932ext2_jis() 287 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); in cp932ext3_cp932ext2_jis() 288 return idxtojis1(idx) << 8 | idxtojis2(idx); in cp932ext3_cp932ext2_jis()
|
/PHP-7.4/ext/hash/ |
H A D | hash_sha3.c | 39 static inline unsigned char idx(unsigned char x, unsigned char y) { in idx() function 67 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) 68 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v) 69 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) 71 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) 72 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) 73 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v)
|