Home
last modified time | relevance | path

Searched refs:idx (Results 101 – 125 of 127) sorted by relevance

123456

/php-src/ext/opcache/
H A Dzend_persist.c94 uint32_t idx, nIndex; in zend_hash_persist() local
149 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
150 p = ht->arData + idx; in zend_hash_persist()
154 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in zend_hash_persist()
H A DZendAccelerator.c443 uintptr_t idx = (GC_REFCOUNT(s) - 1) / sizeof(void *); in accel_interned_strings_restore_state() local
444 if (idx >= ZCSG(map_ptr_last)) { in accel_interned_strings_restore_state()
/php-src/ext/intl/tests/
H A Dut_common.inc425 function ut_resourcebundle_get($bundle, $idx )
427 return $GLOBALS['oo-mode'] ? $bundle->get($idx):resourcebundle_get($bundle, $idx);
/php-src/ext/opcache/jit/ir/
H A Dir.h502 const char *ir_strtab_str(const ir_strtab *strtab, ir_ref idx);
503 const char *ir_strtab_strl(const ir_strtab *strtab, ir_ref idx, size_t *len);
676 const char *ir_get_str(const ir_ctx *ctx, ir_ref idx);
677 const char *ir_get_strl(const ir_ctx *ctx, ir_ref idx, size_t *len);
H A Dir.c696 const char *ir_get_str(const ir_ctx *ctx, ir_ref idx) argument
699 return ir_strtab_str(&ctx->strtab, idx - 1);
702 const char *ir_get_strl(const ir_ctx *ctx, ir_ref idx, size_t *len) argument
705 return ir_strtab_strl(&ctx->strtab, idx - 1, len);
/php-src/ext/pdo/tests/
H A Dpdo_018.phpt120 $stmt->bindParam(':id', $idx);
124 foreach($objs as $idx => $obj)
/php-src/ext/spl/
H A Dspl_directory.c951 size_t idx; in PHP_METHOD() local
980 idx = p - ZSTR_VAL(ret); in PHP_METHOD()
981 RETVAL_STRINGL(ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1); in PHP_METHOD()
996 size_t idx; in PHP_METHOD() local
1008 idx = p - ZSTR_VAL(fname); in PHP_METHOD()
1009 RETVAL_STRINGL(ZSTR_VAL(fname) + idx + 1, ZSTR_LEN(fname) - idx - 1); in PHP_METHOD()
/php-src/Zend/
H A Dzend_string.h110 #define ZSTR_KNOWN(idx) zend_known_strings[idx] argument
H A Dzend_vm_execute.h6559 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_CONST_HANDLER() local
6686 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_IS_SPEC_CONST_CONST_HANDLER() local
9079 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_TMPVAR_HANDLER() local
9206 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_IS_SPEC_CONST_TMPVAR_HANDLER() local
11465 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset); in ZEND_FETCH_OBJ_R_SPEC_CONST_CV_HANDLER() local
44462 uintptr_t idx; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() local
44470 idx = (uintptr_t)CACHED_PTR(opline->extended_value) - 1; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER()
44487 idx = (char*)value - (char*)EG(symbol_table).arData; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER()
44489 CACHE_PTR(opline->extended_value, (void*)(idx + 1)); in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER()
44491 idx = (char*)value - (char*)EG(symbol_table).arData; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER()
[all …]
H A Dzend_builtin_functions.c458 zend_ulong idx; in copy_constant_array() local
462 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(src), idx, key, val) { in copy_constant_array()
468 new_val = zend_hash_index_add_new(Z_ARRVAL_P(dst), idx, val); in copy_constant_array()
H A Dzend_vm_def.h2091 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset);
2094 Bucket *p = (Bucket*)((char*)zobj->properties->arData + idx);
2256 uintptr_t idx = ZEND_DECODE_DYN_PROP_OFFSET(prop_offset);
8524 uintptr_t idx; variable
8532 idx = (uintptr_t)CACHED_PTR(opline->extended_value) - 1;
8533 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) {
8534 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx);
8549 idx = (char*)value - (char*)EG(symbol_table).arData;
8551 CACHE_PTR(opline->extended_value, (void*)(idx + 1));
8553 idx = (char*)value - (char*)EG(symbol_table).arData;
[all …]
H A Dzend_ast.c1573 zend_long idx; in zend_ast_export_zval() local
1578 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(zv), idx, key, val) { in zend_ast_export_zval()
1589 smart_str_append_long(str, idx); in zend_ast_export_zval()
/php-src/ext/com_dotnet/
H A Dcom_com.c246 UINT idx; in PHP_METHOD() local
248 if (SUCCEEDED(ITypeInfo_GetContainingTypeLib(obj->typeinfo, &TL, &idx))) { in PHP_METHOD()
/php-src/ext/standard/
H A Dvar_unserializer.re479 zend_ulong idx;
489 idx = Z_LVAL(key);
491 data = zend_hash_index_lookup(ht, idx);
497 if (UNEXPECTED(ZEND_HANDLE_NUMERIC(Z_STR(key), idx))) {
H A Dstring.c1655 ptrdiff_t idx; local
1664 idx = p - ZSTR_VAL(ret);
1665 add_assoc_stringl(&tmp, "extension", ZSTR_VAL(ret) + idx + 1, ZSTR_LEN(ret) - idx - 1);
1671 ptrdiff_t idx; local
1680 idx = p ? (p - ZSTR_VAL(ret)) : (ptrdiff_t)ZSTR_LEN(ret);
1681 add_assoc_stringl(&tmp, "filename", ZSTR_VAL(ret), idx);
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c177 static inline char php_firebird_classes(char idx) in php_firebird_classes() argument
179 unsigned char uidx = (unsigned char) idx; in php_firebird_classes()
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitLir.h368 #define SLJIT_ARG_VALUE(type, idx) ((type) << ((idx) * SLJIT_ARG_SHIFT)) argument
/php-src/ext/fileinfo/
H A Dlibmagic.patch42 ml->map = idx == 0 ? map : NULL;
43 ml->magic = map->magic[idx];
44 ml->nmagic = map->nmagic[idx];
3212 idx = m->str_range + slen;
3213 if (m->str_range == 0 || ms->search.s_len < idx)
3214 idx = ms->search.s_len;
3215 - found = CAST(const char *, memmem(ms->search.s, idx,
3222 + m->value.s, slen, ms->search.s + idx));
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c444 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist() argument
452 ml->map = idx == 0 ? map : NULL; in add_mlist()
453 ml->magic = map->magic[idx]; in add_mlist()
454 ml->nmagic = map->nmagic[idx]; in add_mlist()
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c3555 ir_ref list = IR_UNUSED, idx; in zend_jit_case_start() local
3571 ir_CASE_VAL(switch_ref, idx); in zend_jit_case_start()
9898 ir_ref idx = ir_SUB_U32(last_var, num_args); local
9912 idx = ir_PHI_2(IR_U32, idx, IR_UNUSED);
9916 ir_PHI_SET_OP(idx, 2, idx2);
15558 ir_ref idx; local
15566 ir_CASE_VAL(ref, idx);
15683 ir_ref idx; local
15691 ir_CASE_VAL(ref, idx);
15819 ir_ref idx; local
[all …]
/php-src/ext/mbstring/
H A Dmbstring.c2724 zend_long idx; in php_mb_convert_encoding_recursive() local
2739 ZEND_HASH_FOREACH_KEY_VAL(input, idx, key, entry) { in php_mb_convert_encoding_recursive()
2794 zend_hash_index_add(output, idx, &entry_tmp); in php_mb_convert_encoding_recursive()
5543 zend_long idx; in php_mb_check_encoding_recursive() local
5548 (void)(idx); /* Suppress spurious compiler warning that `idx` is not used */ in php_mb_check_encoding_recursive()
5555 ZEND_HASH_FOREACH_KEY_VAL(vars, idx, key, entry) { in php_mb_check_encoding_recursive()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c1745 ZEND_API void zend_optimizer_unregister_pass(int idx) in zend_optimizer_unregister_pass() argument
1747 zend_optimizer_registered_passes.pass[idx-1] = NULL; in zend_optimizer_unregister_pass()
H A Ddfa_pass.c433 zend_ulong idx; in zend_dfa_optimize_calls() local
451 if (Z_TYPE_P(val) != IS_STRING || ZEND_HANDLE_NUMERIC(Z_STR_P(val), idx)) { in zend_dfa_optimize_calls()
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cjk.c3679 int idx; in cp932ext3_cp932ext2_jis() local
3681 idx = sjistoidx(0xfa, 0x40) + c; in cp932ext3_cp932ext2_jis()
3682 if (idx >= sjistoidx(0xfa, 0x5c)) in cp932ext3_cp932ext2_jis()
3683 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); in cp932ext3_cp932ext2_jis()
3684 else if (idx >= sjistoidx(0xfa, 0x55)) in cp932ext3_cp932ext2_jis()
3685 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); in cp932ext3_cp932ext2_jis()
3686 else if (idx >= sjistoidx(0xfa, 0x40)) in cp932ext3_cp932ext2_jis()
3687 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); in cp932ext3_cp932ext2_jis()
3688 return idxtojis1(idx) << 8 | idxtojis2(idx); in cp932ext3_cp932ext2_jis()
/php-src/ext/exif/
H A Dexif.c2458 int idx = 0, unknown = 0; in add_assoc_image_info() local
2503 add_index_string(&tmpi, idx++, val); in add_assoc_image_info()

Completed in 433 milliseconds

123456