Home
last modified time | relevance | path

Searched refs:zv (Results 76 – 100 of 156) sorted by relevance

1234567

/PHP-7.1/Zend/
H A Dzend_language_scanner.h72 ZEND_API void zend_lex_tstring(zval *zv);
H A Dzend.c461 static void auto_global_dtor(zval *zv) /* {{{ */ in auto_global_dtor() argument
463 free(Z_PTR_P(zv)); in auto_global_dtor()
468 static void function_copy_ctor(zval *zv) /* {{{ */ in function_copy_ctor() argument
470 zend_function *old_func = Z_FUNC_P(zv); in function_copy_ctor()
471 Z_FUNC_P(zv) = pemalloc(sizeof(zend_internal_function), 1); in function_copy_ctor()
473 function_add_ref(Z_FUNC_P(zv)); in function_copy_ctor()
477 static void auto_global_copy_ctor(zval *zv) /* {{{ */ in auto_global_copy_ctor() argument
479 zend_auto_global *old_ag = (zend_auto_global *) Z_PTR_P(zv); in auto_global_copy_ctor()
486 Z_PTR_P(zv) = new_ag; in auto_global_copy_ctor()
629 static void module_destructor_zval(zval *zv) /* {{{ */ in module_destructor_zval() argument
[all …]
H A Dzend_compile.c102 free(Z_PTR_P(zv)); in zend_destroy_class_constant_internal()
445 if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) { in zend_insert_literal()
447 Z_STR_P(zv) = zend_new_interned_string(Z_STR_P(zv)); in zend_insert_literal()
478 zval zv; in zend_add_literal_string() local
481 *str = Z_STR(zv); in zend_add_literal_string()
1691 zval zv; in zendlex() local
1701 ZVAL_UNDEF(&zv); in zendlex()
1847 Z_STR_P(zv) = zend_string_extend(Z_STR_P(zv), orig_len + 1, 0); in zend_negate_num_string()
1848 memmove(Z_STRVAL_P(zv) + 1, Z_STRVAL_P(zv), orig_len + 1); in zend_negate_num_string()
5332 zval zv; in zend_compile_closure_uses() local
[all …]
H A Dzend_ini.c87 static void free_ini_entry(zval *zv) /* {{{ */ in free_ini_entry() argument
89 zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv); in free_ini_entry()
152 static void copy_ini_entry(zval *zv) /* {{{ */ in copy_ini_entry() argument
154 zend_ini_entry *old_entry = (zend_ini_entry*)Z_PTR_P(zv); in copy_ini_entry()
157 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
H A Dzend_opcode.c116 ZEND_API void zend_function_dtor(zval *zv) in zend_function_dtor() argument
118 zend_function *function = Z_PTR_P(zv); in zend_function_dtor()
247 ZEND_API void destroy_zend_class(zval *zv) in destroy_zend_class() argument
250 zend_class_entry *ce = Z_PTR_P(zv); in destroy_zend_class()
354 void zend_class_add_ref(zval *zv) in zend_class_add_ref() argument
356 zend_class_entry *ce = Z_PTR_P(zv); in zend_class_add_ref()
H A Dzend_inheritance.c28 static void overriden_ptr_dtor(zval *zv) /* {{{ */ in overriden_ptr_dtor() argument
30 efree_size(Z_PTR_P(zv), sizeof(zend_function)); in overriden_ptr_dtor()
505 if (Z_TYPE_P(zv) == IS_CONSTANT) { in zend_get_function_declaration()
506 smart_str_append(&str, Z_STR_P(zv)); in zend_get_function_declaration()
507 } else if (Z_TYPE_P(zv) == IS_FALSE) { in zend_get_function_declaration()
509 } else if (Z_TYPE_P(zv) == IS_TRUE) { in zend_get_function_declaration()
511 } else if (Z_TYPE_P(zv) == IS_NULL) { in zend_get_function_declaration()
513 } else if (Z_TYPE_P(zv) == IS_STRING) { in zend_get_function_declaration()
515 smart_str_appendl(&str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); in zend_get_function_declaration()
516 if (Z_STRLEN_P(zv) > 10) { in zend_get_function_declaration()
[all …]
H A Dzend_exceptions.c77 zval pv, zv, rv; in zend_exception_set_previous() local
88 ZVAL_OBJ(&zv, exception); in zend_exception_set_previous()
89 ex = &zv; in zend_exception_set_previous()
1020 zval zv; in zend_exception_error() local
1022 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()
1025 file = zval_get_string(GET_PROPERTY_SILENT(&zv, ZEND_STR_FILE)); in zend_exception_error()
1026 line = zval_get_long(GET_PROPERTY_SILENT(&zv, ZEND_STR_LINE)); in zend_exception_error()
1031 ZSTR_VAL(Z_OBJCE(zv)->name), ZSTR_VAL(ce_exception->name)); in zend_exception_error()
H A Dzend_language_parser.y287 zval zv; variable
288 zend_lex_tstring(&zv);
289 $$ = zend_ast_create_zval(&zv);
758 …{ zval zv; zend_lex_tstring(&zv); $$ = zend_ast_create_ex(ZEND_AST_TRAIT_ALIAS, 0, $1, zend_ast_cr… variable
1033 { zval zv; ZVAL_INTERNED_STR(&zv, CG(known_strings)[ZEND_STR_STATIC]); variable
1034 $$ = zend_ast_create_zval_ex(&zv, ZEND_NAME_NOT_FQ); }
H A Dzend_string.c38 static void _str_dtor(zval *zv) in _str_dtor() argument
40 zend_string *str = Z_STR_P(zv); in _str_dtor()
H A Dzend_generators.c348 zval *zv = EX_VAR_NUM(op_array->last_var + op_array->T); in zend_generator_get_gc() local
349 zval *end = zv + (EX_NUM_ARGS() - op_array->num_args); in zend_generator_get_gc()
350 while (zv != end) { in zend_generator_get_gc()
351 ZVAL_COPY_VALUE(gc_buffer++, zv++); in zend_generator_get_gc()
1179 zval *zv = &root->key; in zend_generator_iterator_get_key() local
1181 ZVAL_DEREF(zv); in zend_generator_iterator_get_key()
1182 ZVAL_COPY(key, zv); in zend_generator_iterator_get_key()
/PHP-7.1/ext/soap/
H A Dphp_schema.c1919 zval zv; in schema_attribute() local
1940 ZVAL_PTR(&zv, dummy_type); in schema_attribute()
1941 delete_type(&zv); in schema_attribute()
2059 Z_PTR_P(zv) = new_attr; in copy_extra_attribute()
2322 void delete_model(zval *zv) in delete_model() argument
2370 void delete_type(zval *zv) in delete_type() argument
2372 sdlTypePtr type = Z_PTR_P(zv); in delete_type()
2395 zval zv; in delete_type() local
2396 ZVAL_PTR(&zv, type->model); in delete_type()
2397 delete_model(&zv); in delete_type()
[all …]
/PHP-7.1/ext/dom/
H A Dphp_dom.h82 #define Z_XPATHOBJ_P(zv) php_xpath_obj_from_obj(Z_OBJ_P((zv))) argument
/PHP-7.1/ext/opcache/
H A Dzend_accelerator_util_funcs.c43 static void zend_accel_destroy_zend_function(zval *zv) in zend_accel_destroy_zend_function() argument
45 zend_function *function = Z_PTR_P(zv); in zend_accel_destroy_zend_function()
61 static void zend_accel_destroy_zend_class(zval *zv) in zend_accel_destroy_zend_class() argument
63 zend_class_entry *ce = Z_PTR_P(zv); in zend_accel_destroy_zend_class()
65 destroy_zend_class(zv); in zend_accel_destroy_zend_class()
103 static int is_not_internal_function(zval *zv) in is_not_internal_function() argument
105 zend_function *function = Z_PTR_P(zv); in is_not_internal_function()
138 static int copy_internal_function(zval *zv, HashTable *function_table) in copy_internal_function() argument
140 zend_internal_function *function = Z_PTR_P(zv); in copy_internal_function()
/PHP-7.1/ext/opcache/Optimizer/
H A Doptimize_func_calls.c134 zval zv; in zend_try_inline_call() local
136 ZVAL_DUP(&zv, RT_CONSTANT(&func->op_array, ret_opline->op1)); in zend_try_inline_call()
139 opline->op1.constant = zend_optimizer_add_literal(op_array, &zv); in zend_try_inline_call()
H A Dzend_cfg.c286 zval *zv; in zend_build_cfg() local
340 zv = CRT_CONSTANT(opline->op2); in zend_build_cfg()
343 zv += 2; in zend_build_cfg()
345 if ((fn = zend_hash_find_ptr(EG(function_table), Z_STR_P(zv))) != NULL) { in zend_build_cfg()
348 Z_STR_P(zv), opline->extended_value); in zend_build_cfg()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_wait.c127 zval zv, *zvp; in phpdbg_webdata_decompress() local
132 …if (!php_var_unserialize(&zv, (const unsigned char **) &msg, (unsigned char *) msg + len, &var_has… in phpdbg_webdata_decompress()
139 ht = Z_ARRVAL(zv); in phpdbg_webdata_decompress()
330 zval_dtor(&zv); in phpdbg_webdata_decompress()
/PHP-7.1/ext/standard/
H A Darray.c1361 *zv; in php_array_walk() local
1385 if (zv == NULL) { in php_array_walk()
1391 zv = Z_INDIRECT_P(zv); in php_array_walk()
1399 ZVAL_MAKE_REF(zv); in php_array_walk()
1418 ZVAL_DEREF(zv); in php_array_walk()
3028 zval_add_ref(zv);
3032 zval_add_ref(zv);
3091 zval_add_ref(zv);
5110 zval zv; local
5364 zval *zv, arg; local
[all …]
H A Dvar_unserializer.c209 zval *zv = &var_dtor_hash->data[i]; in var_destroy() local
215 if (Z_EXTRA_P(zv) == VAR_WAKEUP_FLAG) { in var_destroy()
223 …if (call_user_function_ex(CG(function_table), zv, &wakeup_name, &retval, 0, 0, 1, NULL) == FAILURE… in var_destroy()
225 GC_FLAGS(Z_OBJ_P(zv)) |= IS_OBJ_DESTRUCTOR_CALLED; in var_destroy()
231 GC_FLAGS(Z_OBJ_P(zv)) |= IS_OBJ_DESTRUCTOR_CALLED; in var_destroy()
235 zval_ptr_dtor(zv); in var_destroy()
H A Dformatted_print.c411 zval *zv; in php_formatted_print() local
424 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array), zv) { in php_formatted_print()
425 ZVAL_COPY_VALUE(&newargs[i], zv); in php_formatted_print()
H A Dvar_unserializer.re207 zval *zv = &var_dtor_hash->data[i];
213 if (Z_EXTRA_P(zv) == VAR_WAKEUP_FLAG) {
221 …if (call_user_function_ex(CG(function_table), zv, &wakeup_name, &retval, 0, 0, 1, NULL) == FAILURE…
223 GC_FLAGS(Z_OBJ_P(zv)) |= IS_OBJ_DESTRUCTOR_CALLED;
229 GC_FLAGS(Z_OBJ_P(zv)) |= IS_OBJ_DESTRUCTOR_CALLED;
233 zval_ptr_dtor(zv);
/PHP-7.1/main/
H A Dfastcgi.h130 void fcgi_free_mgmt_var_cb(zval *zv);
/PHP-7.1/ext/mysqli/
H A Dphp_mysqli_structs.h153 #define Z_MYSQLI_P(zv) php_mysqli_fetch_object(Z_OBJ_P((zv))) argument
/PHP-7.1/win32/
H A Dregistry.c173 static void delete_internal_hashtable(zval *zv) in delete_internal_hashtable() argument
175 HashTable *ht = (HashTable *)Z_PTR_P(zv); in delete_internal_hashtable()
/PHP-7.1/ext/phar/
H A Dphar.c27 static void destroy_phar_data(zval *zv);
38 phar_archive_data *phar = (phar_archive_data *)Z_PTR_P(zv); in phar_set_writeable_bit()
314 static void destroy_phar_data_only(zval *zv) /* {{{ */ in destroy_phar_data_only() argument
336 static int phar_tmpclose_apply(zval *zv) /* {{{ */ in phar_tmpclose_apply() argument
338 phar_entry_info *entry = (phar_entry_info *) Z_PTR_P(zv); in phar_tmpclose_apply()
356 static void destroy_phar_data(zval *zv) /* {{{ */ in destroy_phar_data() argument
364 destroy_phar_data_only(zv); in destroy_phar_data()
426 void destroy_phar_manifest_entry(zval *zv) /* {{{ */ in destroy_phar_manifest_entry() argument
428 phar_entry_info *entry = Z_PTR_P(zv); in destroy_phar_manifest_entry()
3353 static void mime_type_dtor(zval *zv) argument
[all …]
/PHP-7.1/ext/sockets/
H A Dsendrecvmsg.c397 zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", in php_do_getsockopt_ipv6_rfc3542() local
403 ZVAL_COPY_VALUE(result, zv); in php_do_getsockopt_ipv6_rfc3542()

Completed in 158 milliseconds

1234567