Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 1229) sorted by last modified time

12345678910>>...50

/php-src/ext/opcache/jit/ir/
H A Dir_private.h830 uint32_t key; member
845 ir_ref ir_hashtab_find(const ir_hashtab *tab, uint32_t key);
846 bool ir_hashtab_add(ir_hashtab *tab, uint32_t key, ir_ref val);
851 uint64_t key; member
858 ir_ref ir_addrtab_find(const ir_hashtab *tab, uint64_t key);
859 void ir_addrtab_set(ir_hashtab *tab, uint64_t key, ir_ref val);
H A Dir_ra.c3460 v = ctx->vregs[b->key]; in ir_assign_bound_spill_slots()
3852 char key[10]; in ir_set_fused_reg() local
3859 memcpy(key, &root, sizeof(ir_ref)); in ir_set_fused_reg()
3860 memcpy(key + 4, &ref_and_op, sizeof(ir_ref)); in ir_set_fused_reg()
3861 ir_strtab_lookup(ctx->fused_regs, key, 8, 0x10000000 | reg); in ir_set_fused_reg()
H A Dir_gcm.c688 ir_ref key; in ir_xlat_binding() local
700 key = b1->key; in ir_xlat_binding()
701 IR_ASSERT(key < ctx->insns_count); in ir_xlat_binding()
702 if (_xlat[key]) { in ir_xlat_binding()
703 key = _xlat[key]; in ir_xlat_binding()
704 b2->key = key; in ir_xlat_binding()
711 key |= binding->mask; in ir_xlat_binding()
712 b2->next = ((uint32_t*)binding->data)[key]; in ir_xlat_binding()
713 ((uint32_t*)binding->data)[key] = pos; in ir_xlat_binding()
/php-src/Zend/
H A Dzend_inheritance.c1301 ZSTR_VAL(ce->name), ZSTR_VAL(key)); in do_inherit_property()
1329 ZSTR_VAL(key), in do_inherit_property()
1483 zend_string *key; in zend_do_inheritance_ex() local
1792 zend_string *key; in do_interface_implementation() local
1829 zend_string *key; in zend_do_implement_interface() local
1871 zend_string *key; in zend_do_implement_interfaces() local
2019 zend_add_magic_method(ce, fn, key); in zend_add_trait_method()
2308 zend_string *key; in zend_do_traits_method_binding() local
2705 zend_ulong key; in get_or_init_obligations_for_class() local
2711 key = (zend_ulong) (uintptr_t) ce; in get_or_init_obligations_for_class()
[all …]
/php-src/ext/phar/
H A Dphar.c91 char *key, *lasts, *end; in phar_split_cache_list() local
120 for (key = php_strtok_r(tmp, ds, &lasts); in phar_split_cache_list()
121 key; in phar_split_cache_list()
122 key = php_strtok_r(NULL, ds, &lasts)) { in phar_split_cache_list()
124 end = strchr(key, DEFAULT_DIR_SEPARATOR); in phar_split_cache_list()
126 len = end - key; in phar_split_cache_list()
128 len = strlen(key); in phar_split_cache_list()
131 if (SUCCESS == phar_open_from_filename(key, len, NULL, 0, 0, &phar, NULL)) { in phar_split_cache_list()
H A Dstream.c899 str_key = b->key; in phar_wrapper_rename()
920 b->key = new_str_key; in phar_wrapper_rename()
926 str_key = b->key; in phar_wrapper_rename()
937 b->key = new_str_key; in phar_wrapper_rename()
943 str_key = b->key; in phar_wrapper_rename()
954 b->key = new_str_key; in phar_wrapper_rename()
/php-src/ext/opcache/
H A Dzend_persist_calc.c132 if (p->key) { in zend_persist_zval_calc()
237 ZEND_ASSERT(p->key != NULL); in zend_persist_op_array_calc_ex()
238 ADD_INTERNED_STRING(p->key); in zend_persist_op_array_calc_ex()
434 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry_calc()
435 ADD_INTERNED_STRING(p->key); in zend_persist_class_entry_calc()
458 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry_calc()
459 ADD_INTERNED_STRING(p->key); in zend_persist_class_entry_calc()
570 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table_calc()
571 ADD_INTERNED_STRING(p->key); in zend_accel_persist_class_table_calc()
628 ZEND_ASSERT(p->key != NULL); in zend_accel_script_persist_calc()
[all …]
H A Dzend_persist.c240 if (p->key) { in zend_persist_zval()
495 ZEND_ASSERT(p->key != NULL); in zend_persist_op_array_ex()
496 zend_accel_store_interned_string(p->key); in zend_persist_op_array_ex()
894 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
895 zend_accel_store_interned_string(p->key); in zend_persist_class_entry()
929 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
938 ZEND_ASSERT(p->key != NULL); in zend_persist_class_entry()
1238 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table()
1239 zend_accel_store_interned_string(p->key); in zend_accel_persist_class_table()
1360 ZEND_ASSERT(p->key != NULL); in zend_accel_script_persist()
[all …]
/php-src/ext/reflection/
H A Dphp_reflection.c384 zend_string *key; in _class_string() local
779 zend_string *key; in _function_closure_string() local
1126 zend_string *key; in _extension_string() local
4139 zend_string *key; in add_class_vars() local
4181 zend_string *key; in ZEND_METHOD() local
4736 if (key == NULL) { in _adddynproperty()
4755 zend_string *key; in ZEND_METHOD() local
4810 zend_string *key; in ZEND_METHOD() local
6203 name = key; in add_extension_class()
6224 zend_string *key; in ZEND_METHOD() local
[all …]
/php-src/Zend/tests/
H A Dgh10014.phpt14 Warning: Undefined array key 2 in %s on line %d
/php-src/ext/spl/
H A Dspl_observer.c102 key->key = Z_STR(rv); in spl_object_storage_get_hash()
107 key->key = NULL; in spl_object_storage_get_hash()
114 if (key->key) { in spl_object_storage_free_hash()
115 zend_string_release_ex(key->key, 0); in spl_object_storage_free_hash()
129 if (key->key) { in spl_object_storage_get()
130 return zend_hash_find_ptr(&intern->storage, key->key); in spl_object_storage_get()
213 if (key.key) { in spl_object_storage_attach()
232 if (key.key) { in spl_object_storage_detach()
233 ret = zend_hash_del(&intern->storage, key.key); in spl_object_storage_detach()
420 ZEND_ASSERT(key.key); in spl_object_storage_contains()
[all …]
H A Dspl_observer.stub.php59 public function key(): int {} function in SplObjectStorage
154 public function key(): array {} function in MultipleIterator
H A Dspl_observer_arginfo.h151 ZEND_METHOD(SplObjectStorage, key);
171 ZEND_METHOD(MultipleIterator, key);
199 ZEND_ME(SplObjectStorage, key, arginfo_class_SplObjectStorage_key, ZEND_ACC_PUBLIC)
226 ZEND_ME(MultipleIterator, key, arginfo_class_MultipleIterator_key, ZEND_ACC_PUBLIC)
/php-src/ext/spl/tests/
H A DSplObjectStorage_seek.phpt36 var_dump($storage->key());
42 var_dump($storage->key());
46 var_dump($storage->key());
50 var_dump($storage->key());
54 var_dump($storage->key());
58 var_dump($storage->key());
62 var_dump($storage->key());
72 var_dump($storage->key());
/php-src/
H A DNEWS31 . Added feature_list key to the curl_version() return value (Ayesh)
/php-src/ext/simplexml/
H A Dsimplexml.c944 zend_string *key; in sxe_properties_add() local
948 key = zend_string_init(name, namelen, 0); in sxe_properties_add()
949 if ((data_ptr = zend_hash_find(rv, key)) != NULL) { in sxe_properties_add()
959 zend_hash_add_new(rv, key, value); in sxe_properties_add()
961 zend_string_release_ex(key, 0); in sxe_properties_add()
1421 zend_string *key = zend_string_init(prefix, strlen(prefix), 0); in sxe_add_namespace_name_raw() local
1424 if (!zend_hash_exists(Z_ARRVAL_P(return_value), key)) { in sxe_add_namespace_name_raw()
1426 zend_hash_add_new(Z_ARRVAL_P(return_value), key, &zv); in sxe_add_namespace_name_raw()
1428 zend_string_release_ex(key, 0); in sxe_add_namespace_name_raw()
1986 PHP_METHOD(SimpleXMLElement, key) in PHP_METHOD() argument
[all …]
/php-src/main/
H A DSAPI.c806 zend_string *key = ZSTR_INIT_LITERAL("zlib.output_compression", 0); in sapi_header_op() local
807 zend_alter_ini_entry_chars(key, in sapi_header_op()
809 zend_string_release_ex(key, 0); in sapi_header_op()
949 zend_string *key; in sapi_register_post_entry() local
953 key = zend_string_init(post_entry->content_type, post_entry->content_type_len, 1); in sapi_register_post_entry()
954 GC_MAKE_PERSISTENT_LOCAL(key); in sapi_register_post_entry()
955 ret = zend_hash_add_mem(&SG(known_post_content_types), key, in sapi_register_post_entry()
957 zend_string_release_ex(key, 1); in sapi_register_post_entry()
/php-src/ext/standard/
H A Darray.c132 if (f->key == NULL && s->key == NULL) { in php_array_key_compare_unstable_i()
134 } else if (f->key && s->key) { in php_array_key_compare_unstable_i()
135 return zendi_smart_strcmp(f->key, s->key); in php_array_key_compare_unstable_i()
137 if (f->key) { in php_array_key_compare_unstable_i()
142 if (s->key) { in php_array_key_compare_unstable_i()
153 if (f->key == NULL && s->key == NULL) { in php_array_key_compare_numeric_unstable_i()
179 if (f->key) { in php_array_key_compare_string_case_unstable_i()
186 if (s->key) { in php_array_key_compare_string_case_unstable_i()
204 if (f->key) { in php_array_key_compare_string_unstable_i()
211 if (s->key) { in php_array_key_compare_string_unstable_i()
[all …]
H A Dbrowscap.c28 zend_string *key; member
264 bdata->kv[bdata->kv_used].key = key; in browscap_add_kv()
273 zend_hash_add(ht, bdata->kv[i].key, &tmp); in browscap_entry_add_kv_to_existing_array()
284 zend_hash_add_new(ht, key, &tmp); in browscap_entry_to_array()
285 zend_string_release_ex(key, false); in browscap_entry_to_array()
290 zend_hash_add_new(ht, key, &tmp); in browscap_entry_to_array()
291 zend_string_release_ex(key, false); in browscap_entry_to_array()
295 key = ZSTR_INIT_LITERAL("parent", 0); in browscap_entry_to_array()
297 zend_hash_add_new(ht, key, &tmp); in browscap_entry_to_array()
298 zend_string_release_ex(key, false); in browscap_entry_to_array()
[all …]
/php-src/ext/hash/
H A Dhash.c582 char *data, *key; in PHP_FUNCTION() local
599 char *data, *key; in PHP_FUNCTION() local
636 if (!key || (ZSTR_LEN(key) == 0)) { in PHP_FUNCTION()
652 hash->key = NULL; in PHP_FUNCTION()
667 memcpy(K, ZSTR_VAL(key), ZSTR_LEN(key)); in PHP_FUNCTION()
814 efree(hash->key); in PHP_FUNCTION()
815 hash->key = NULL; in PHP_FUNCTION()
1218 if (key) { in PHP_FUNCTION()
1349 efree(key); in PHP_FUNCTION()
1382 if (hash->key) { in php_hashcontext_dtor()
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c11730 ir_ref key; local
11744 key = jit_Z_PTR(jit, op2_addr);
11754 ir_LOAD_C(ir_ADD_OFFSET(key, offsetof(zend_string, val))),
11757 ref = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_jit_symtable_find), ht_ref, key);
11760 ref2 = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_hash_find), ht_ref, key);
11785 ir_LOAD_C(ir_ADD_OFFSET(key, offsetof(zend_string, val))),
11788 ref = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_jit_symtable_find), ht_ref, key);
11791 ref2 = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_hash_find), ht_ref, key);
11835 ref = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_jit_hash_lookup_rw), ht_ref, key);
11852 ref = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_hash_lookup), ht_ref, key);
[all …]
/php-src/ext/ffi/
H A Dffi.c1924 zend_long key; member
1977 ZVAL_LONG(key, iter->key); in zend_ffi_cdata_it_get_current_key()
1984 iter->key++; in zend_ffi_cdata_it_move_forward()
1991 iter->key = 0; in zend_ffi_cdata_it_rewind()
2024 iter->key = 0; in zend_ffi_cdata_get_iterator()
2097 if (key) { in zend_ffi_cdata_get_debug_info()
3104 if (key) { in zend_ffi_same_types()
3105 if (!b->key in zend_ffi_same_types()
3106 || !zend_string_equals(key, b->key)) { in zend_ffi_same_types()
6129 zend_string *key; local
[all …]
/php-src/.github/workflows/
H A Dnightly.yml29 # The cache key needs to change every time for the
31 key: nightly-${{ github.run_id }}-${{ github.run_attempt }}
825 key: "${{github.job}}-${{hashFiles('php/main/php_version.h')}}"
H A Dpush.yml117key: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{…
171 key: "${{github.job}}-${{matrix.os}}-${{hashFiles('main/php_version.h')}}"
247 key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
291 ssh-key: ${{ secrets.BENCHMARKING_DATA_DEPLOY_KEY }}
/php-src/ext/curl/
H A Dinterface.c715 static int curl_ssh_hostkeyfunction(void *clientp, int keytype, const char *key, size_t keylen) in curl_ssh_hostkeyfunction() argument
722 …fprintf(stderr, "clientp = %x, keytype = %d, key = %s, keylen = %zu\n", clientp, keytype, key, key… in curl_ssh_hostkeyfunction()
731 ZVAL_STRINGL(&args[2], key, keylen); in curl_ssh_hostkeyfunction()

Completed in 193 milliseconds

12345678910>>...50