Home
last modified time | relevance | path

Searched refs:zv (Results 101 – 125 of 203) sorted by relevance

123456789

/php-src/ext/com_dotnet/
H A Dcom_handlers.c48 zval zv; in com_property_read() local
50 ZVAL_STR(&zv, member); in com_property_read()
51 php_com_saproxy_create(object, rv, &zv); in com_property_read()
238 static void function_dtor(zval *zv) in function_dtor() argument
240 zend_internal_function *f = (zend_internal_function*)Z_PTR_P(zv); in function_dtor()
/php-src/Zend/
H A Dzend_execute.c3476 zend_zval_type_name(zv), in zend_throw_ref_type_error_type()
3491 zend_zval_value_name(zv), in zend_throw_ref_type_error_zval()
3591 ZVAL_COPY(&tmp, zv); in zend_verify_ref_assignable_zval()
3617 zval_ptr_dtor(zv); in zend_verify_ref_assignable_zval()
4582 while (zv != end) { in zend_unfinished_execution_gc_ex()
5004 zval *zv; in _zend_quick_get_constant() local
5009 if (zv) { in _zend_quick_get_constant()
5014 if (zv) { in _zend_quick_get_constant()
5135 ZVAL_UNDEF(zv); in zend_handle_named_arg()
5136 zv++; in zend_handle_named_arg()
[all …]
H A Dzend_compile.h78 zval *zv; member
742 (node).zv
746 (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \
866 zend_string *zval_make_interned_string(zval *zv);
904 ZEND_API void zend_function_dtor(zval *zv);
905 ZEND_API void destroy_zend_class(zval *zv);
906 void zend_class_add_ref(zval *zv);
H A Dzend_exceptions.c99 zval pv, zv, rv; in zend_exception_set_previous() local
115 ZVAL_OBJ(&zv, exception); in zend_exception_set_previous()
116 ex = &zv; in zend_exception_set_previous()
930 zval zv; in zend_exception_error() local
932 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()
935 file = zval_get_string(GET_PROPERTY_SILENT(&zv, ZEND_STR_FILE)); in zend_exception_error()
936 line = zval_get_long(GET_PROPERTY_SILENT(&zv, ZEND_STR_LINE)); in zend_exception_error()
941 ZSTR_VAL(Z_OBJCE(zv)->name), ZSTR_VAL(ce_exception->name)); in zend_exception_error()
H A Dzend_enum.c278 zval *zv = &c->value; in ZEND_NAMED_FUNCTION() local
279 if (Z_TYPE_P(zv) == IS_CONSTANT_AST) { in ZEND_NAMED_FUNCTION()
280 if (zval_update_constant_ex(zv, c->ce) == FAILURE) { in ZEND_NAMED_FUNCTION()
284 Z_ADDREF_P(zv); in ZEND_NAMED_FUNCTION()
285 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), zv); in ZEND_NAMED_FUNCTION()
H A Dzend_ini.c81 static void free_ini_entry(zval *zv) /* {{{ */ in free_ini_entry() argument
83 zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv); in free_ini_entry()
146 static void copy_ini_entry(zval *zv) /* {{{ */ in copy_ini_entry() argument
148 zend_ini_entry *old_entry = (zend_ini_entry*)Z_PTR_P(zv); in copy_ini_entry()
151 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
/php-src/Zend/Optimizer/
H A Doptimize_func_calls.c120 zval zv; in zend_try_inline_call() local
122 ZVAL_COPY(&zv, CRT_CONSTANT_EX(&func->op_array, ret_opline, ret_opline->op1)); in zend_try_inline_call()
125 opline->op1.constant = zend_optimizer_add_literal(op_array, &zv); in zend_try_inline_call()
H A Dzend_ssa.c188 zval *zv; in find_adjusted_tmp_var() local
209 if (Z_TYPE_P(zv) == IS_LONG in find_adjusted_tmp_var()
210 && Z_LVAL_P(zv) != ZEND_LONG_MIN) { in find_adjusted_tmp_var()
211 *adjustment = -Z_LVAL_P(zv); in find_adjusted_tmp_var()
216 if (Z_TYPE_P(zv) == IS_LONG in find_adjusted_tmp_var()
218 *adjustment = -Z_LVAL_P(zv); in find_adjusted_tmp_var()
225 if (Z_TYPE_P(zv) == IS_LONG) { in find_adjusted_tmp_var()
226 *adjustment = Z_LVAL_P(zv); in find_adjusted_tmp_var()
334 if (Z_TYPE_P(zv) == IS_LONG) { in place_essa_pis()
335 add_val2 = Z_LVAL_P(zv); in place_essa_pis()
[all …]
H A Dzend_dump.c51 void zend_dump_const(const zval *zv) in zend_dump_const() argument
53 switch (Z_TYPE_P(zv)) { in zend_dump_const()
64 fprintf(stderr, " int(" ZEND_LONG_FMT ")", Z_LVAL_P(zv)); in zend_dump_const()
67 fprintf(stderr, " float(%g)", Z_DVAL_P(zv)); in zend_dump_const()
70 zend_string *escaped_string = php_addcslashes(Z_STR_P(zv), "\"\\", 2); in zend_dump_const()
80 fprintf(stderr, " zval(type=%d)", Z_TYPE_P(zv)); in zend_dump_const()
668 zval *zv; in zend_dump_op() local
669 ZEND_HASH_FOREACH_KEY_VAL(jumptable, num_key, key, zv) { in zend_dump_op()
678 fprintf(stderr, " %04u,", (uint32_t)ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, Z_LVAL_P(zv))); in zend_dump_op()
H A Dblock_pass.c111 zval *zv; in get_const_switch_target() local
122 zv = zend_hash_index_find(jumptable, Z_LVAL_P(val)); in get_const_switch_target()
125 zv = zend_hash_find(jumptable, Z_STR_P(val)); in get_const_switch_target()
127 if (!zv) { in get_const_switch_target()
131 return cfg->map[ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, Z_LVAL_P(zv))]; in get_const_switch_target()
1037 zval *zv; in assemble_code_blocks() local
1041 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
1042 Z_LVAL_P(zv) = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[s++]].start); in assemble_code_blocks()
1230 zval zv; in zend_jmp_optimization() local
1231 ZVAL_COPY(&zv, &ZEND_OP1_LITERAL(last_op)); in zend_jmp_optimization()
[all …]
/php-src/ext/mysqli/
H A Dphp_mysqli_structs.h88 #define Z_MYSQLI_P(zv) php_mysqli_fetch_object(Z_OBJ_P((zv))) argument
/php-src/ext/shmop/
H A Dshmop.c79 #define Z_SHMOP_P(zv) shmop_from_obj(Z_OBJ_P(zv)) argument
/php-src/ext/sockets/
H A Dphp_sockets.h84 #define Z_SOCKET_P(zv) socket_from_obj(Z_OBJ_P(zv)) argument
/php-src/ext/sysvsem/
H A Dsysvsem.c91 #define Z_SYSVSEM_P(zv) sysvsem_from_obj(Z_OBJ_P(zv)) argument
/php-src/ext/json/
H A Djson_encoder.c653 zval zv; in php_json_encode_zval() local
655 ZVAL_COPY(&zv, val); in php_json_encode_zval()
656 res = php_json_encode_array(buf, &zv, options, encoder); in php_json_encode_zval()
657 zval_ptr_dtor_nogc(&zv); in php_json_encode_zval()
/php-src/ext/opcache/
H A Dzend_accelerator_module.c381 zval *zv = ZEND_CALL_ARG(execute_data , 1); local
383 if (Z_TYPE_P(zv) == IS_STRING && Z_STRLEN_P(zv) != 0) {
384 return filename_is_in_cache(Z_STR_P(zv));
728 zval *zv; local
732 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(&ZCSG(preload_script)->script.class_table, key, zv) {
733 if (Z_TYPE_P(zv) == IS_ALIAS_PTR) {
736 add_next_index_str(&scripts, Z_CE_P(zv)->name);
H A Dzend_accelerator_util_funcs.c355 zval *zv = zend_hash_find_known_hash(EG(class_table), early_binding->rtd_key); in zend_accel_do_delayed_early_binding() local
356 if (zv) { in zend_accel_do_delayed_early_binding()
357 zend_class_entry *orig_ce = Z_CE_P(zv); in zend_accel_do_delayed_early_binding()
362 ce = zend_try_early_bind(orig_ce, parent_ce, early_binding->lcname, zv); in zend_accel_do_delayed_early_binding()
/php-src/ext/standard/
H A Dvar_unserializer.re250 zval *zv = &var_dtor_hash->data[i];
255 if (Z_EXTRA_P(zv) == VAR_WAKEUP_FLAG) {
262 ZEND_ASSERT(Z_TYPE_P(zv) == IS_OBJECT);
265 fci.object = Z_OBJ_P(zv);
280 GC_ADD_FLAGS(Z_OBJ_P(zv), IS_OBJ_DESTRUCTOR_CALLED);
286 GC_ADD_FLAGS(Z_OBJ_P(zv), IS_OBJ_DESTRUCTOR_CALLED);
288 } else if (Z_EXTRA_P(zv) == VAR_UNSERIALIZE_FLAG) {
296 Z_OBJCE_P(zv)->__unserialize, Z_OBJ_P(zv), NULL, &param);
299 GC_ADD_FLAGS(Z_OBJ_P(zv), IS_OBJ_DESTRUCTOR_CALLED);
304 GC_ADD_FLAGS(Z_OBJ_P(zv), IS_OBJ_DESTRUCTOR_CALLED);
[all …]
/php-src/ext/enchant/
H A Denchant.c57 #define Z_ENCHANT_BROKER_P(zv) enchant_broker_from_obj(Z_OBJ_P(zv)) argument
75 #define Z_ENCHANT_DICT_P(zv) enchant_dict_from_obj(Z_OBJ_P(zv)) argument
/php-src/ext/hash/
H A Dhash_md.c50 static int php_md2_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv);
359 static int php_md2_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_md2_unserialize() argument
364 && (r = php_hash_unserialize_spec(hash, zv, PHP_MD2_SPEC)) == SUCCESS in php_md2_unserialize()
H A Dhash_snefru.c192 static int php_snefru_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_snefru_unserialize() argument
197 && (r = php_hash_unserialize_spec(hash, zv, PHP_SNEFRU_SPEC)) == SUCCESS in php_snefru_unserialize()
/php-src/ext/soap/
H A Dsoap.c144 #define Z_PARAM_NAME_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) argument
145 #define Z_PARAM_DATA_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) argument
147 #define Z_HEADER_NAMESPACE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) argument
148 #define Z_HEADER_NAME_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 1)) argument
149 #define Z_HEADER_DATA_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 2)) argument
150 #define Z_HEADER_MUST_UNDERSTAND_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 3)) argument
151 #define Z_HEADER_ACTOR_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 4)) argument
153 #define Z_SERVER_SOAP_FAULT_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), 0)) argument
158 #define Z_FAULT_CODE_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), FAULT_PROP_START_OFFSET + 1)) argument
160 #define Z_FAULT_ACTOR_P(zv) php_soap_deref(OBJ_PROP_NUM(Z_OBJ_P(zv), FAULT_PROP_START_OFFSET + 3)) argument
[all …]
/php-src/ext/spl/
H A Dphp_spl.c690 zval list, *zv; in PHP_MINFO_FUNCTION() local
699 ZEND_HASH_MAP_FOREACH_VAL(Z_ARRVAL_P(&list), zv) { in PHP_MINFO_FUNCTION()
700 spl_build_class_list_string(zv, &strg); in PHP_MINFO_FUNCTION()
709 ZEND_HASH_MAP_FOREACH_VAL(Z_ARRVAL_P(&list), zv) { in PHP_MINFO_FUNCTION()
710 spl_build_class_list_string(zv, &strg); in PHP_MINFO_FUNCTION()
/php-src/main/
H A Dfastcgi.h126 void fcgi_free_mgmt_var_cb(zval *zv);
/php-src/win32/
H A Dregistry.c171 static void delete_internal_hashtable(zval *zv) in delete_internal_hashtable() argument
173 HashTable *ht = (HashTable *)Z_PTR_P(zv); in delete_internal_hashtable()

Completed in 107 milliseconds

123456789