zv 449 Zend/zend.c static void auto_global_dtor(zval *zv) /* {{{ */ zv 451 Zend/zend.c free(Z_PTR_P(zv)); zv 456 Zend/zend.c static void function_copy_ctor(zval *zv) /* {{{ */ zv 458 Zend/zend.c zend_function *old_func = Z_FUNC_P(zv); zv 459 Zend/zend.c Z_FUNC_P(zv) = pemalloc(sizeof(zend_internal_function), 1); zv 460 Zend/zend.c memcpy(Z_FUNC_P(zv), old_func, sizeof(zend_internal_function)); zv 461 Zend/zend.c function_add_ref(Z_FUNC_P(zv)); zv 465 Zend/zend.c static void auto_global_copy_ctor(zval *zv) /* {{{ */ zv 467 Zend/zend.c zend_auto_global *old_ag = (zend_auto_global *) Z_PTR_P(zv); zv 474 Zend/zend.c Z_PTR_P(zv) = new_ag; zv 611 Zend/zend.c static void module_destructor_zval(zval *zv) /* {{{ */ zv 613 Zend/zend.c zend_module_entry *module = (zend_module_entry*)Z_PTR_P(zv); zv 1860 Zend/zend_API.c static int zend_startup_module_zval(zval *zv) /* {{{ */ zv 1862 Zend/zend_API.c zend_module_entry *module = Z_PTR_P(zv); zv 2553 Zend/zend_API.c static int module_registry_cleanup(zval *zv) /* {{{ */ zv 2555 Zend/zend_API.c zend_module_entry *module = Z_PTR_P(zv); zv 594 Zend/zend_API.h #define ZVAL_ZVAL(z, zv, copy, dtor) do { \ zv 596 Zend/zend_API.h zval *__zv = (zv); \ zv 625 Zend/zend_API.h #define RETVAL_ZVAL(zv, copy, dtor) ZVAL_ZVAL(return_value, zv, copy, dtor) zv 643 Zend/zend_API.h #define RETURN_ZVAL(zv, copy, dtor) { RETVAL_ZVAL(zv, copy, dtor); return; } zv 60 Zend/zend_ast.c ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) { zv 66 Zend/zend_ast.c ZVAL_COPY_VALUE(&ast->val, zv); zv 258 Zend/zend_ast.c zval *zv = zend_ast_get_zval(ast); zv 261 Zend/zend_ast.c if (Z_OPT_CONSTANT_P(zv)) { zv 262 Zend/zend_ast.c if (UNEXPECTED(zval_update_constant_ex(zv, 1, scope) != SUCCESS)) { zv 267 Zend/zend_ast.c ZVAL_DUP(result, zv); zv 269 Zend/zend_ast.c ZVAL_DUP(result, zv); zv 627 Zend/zend_ast.c zval *zv = zend_ast_get_zval(ast); zv 629 Zend/zend_ast.c if (Z_TYPE_P(zv) == IS_STRING) { zv 630 Zend/zend_ast.c smart_str_append(str, Z_STR_P(zv)); zv 640 Zend/zend_ast.c zval *zv = zend_ast_get_zval(ast); zv 642 Zend/zend_ast.c if (Z_TYPE_P(zv) == IS_STRING) { zv 648 Zend/zend_ast.c smart_str_append(str, Z_STR_P(zv)); zv 697 Zend/zend_ast.c zval *zv = zend_ast_get_zval(ast); zv 698 Zend/zend_ast.c if (Z_TYPE_P(zv) == IS_STRING && zv 699 Zend/zend_ast.c zend_ast_valid_var_name(Z_STRVAL_P(zv), Z_STRLEN_P(zv))) { zv 700 Zend/zend_ast.c smart_str_append(str, Z_STR_P(zv)); zv 733 Zend/zend_ast.c zval *zv = zend_ast_get_zval(ast); zv 735 Zend/zend_ast.c ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); zv 736 Zend/zend_ast.c zend_ast_export_qstr(str, quote, Z_STR_P(zv)); zv 863 Zend/zend_ast.c static void zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) zv 870 Zend/zend_ast.c ZVAL_DEREF(zv); zv 871 Zend/zend_ast.c switch (Z_TYPE_P(zv)) { zv 882 Zend/zend_ast.c smart_str_append_long(str, Z_LVAL_P(zv)); zv 885 Zend/zend_ast.c key = zend_strpprintf(0, "%.*G", (int) EG(precision), Z_DVAL_P(zv)); zv 891 Zend/zend_ast.c zend_ast_export_str(str, Z_STR_P(zv)); zv 897 Zend/zend_ast.c ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(zv), idx, key, val) { zv 916 Zend/zend_ast.c smart_str_appendl(str, Z_STRVAL_P(zv), Z_STRLEN_P(zv)); zv 919 Zend/zend_ast.c zend_ast_export_ex(str, Z_ASTVAL_P(zv), priority, indent); zv 193 Zend/zend_ast.h ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr); zv 229 Zend/zend_ast.h zval *zv = zend_ast_get_zval(ast); zv 230 Zend/zend_ast.h ZEND_ASSERT(Z_TYPE_P(zv) == IS_STRING); zv 231 Zend/zend_ast.h return Z_STR_P(zv); zv 240 Zend/zend_ast.h zval *zv = zend_ast_get_zval(ast); zv 241 Zend/zend_ast.h return zv->u2.lineno; zv 247 Zend/zend_ast.h static zend_always_inline zend_ast *zend_ast_create_zval(zval *zv) { zv 248 Zend/zend_ast.h return zend_ast_create_zval_ex(zv, 0); zv 251 Zend/zend_ast.h zval zv; zv 252 Zend/zend_ast.h ZVAL_STR(&zv, str); zv 253 Zend/zend_ast.h return zend_ast_create_zval(&zv); zv 256 Zend/zend_ast.h zval zv; zv 257 Zend/zend_ast.h ZVAL_LONG(&zv, lval); zv 258 Zend/zend_ast.h return zend_ast_create_zval(&zv); zv 1625 Zend/zend_builtin_functions.c zval *zv; zv 1628 Zend/zend_builtin_functions.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|b", &zv, &leak_data) == FAILURE) { zv 1633 Zend/zend_builtin_functions.c Z_ADDREF_P(zv); zv 1634 Zend/zend_builtin_functions.c } else if (Z_TYPE_P(zv) == IS_RESOURCE) { zv 1635 Zend/zend_builtin_functions.c Z_ADDREF_P(zv); zv 1636 Zend/zend_builtin_functions.c } else if (Z_TYPE_P(zv) == IS_OBJECT) { zv 1637 Zend/zend_builtin_functions.c Z_ADDREF_P(zv); zv 1907 Zend/zend_builtin_functions.c static int copy_function_name(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ zv 1909 Zend/zend_builtin_functions.c zend_function *func = Z_PTR_P(zv); zv 2615 Zend/zend_builtin_functions.c zval zv; zv 2616 Zend/zend_builtin_functions.c ZVAL_OBJ(&zv, object); zv 2617 Zend/zend_builtin_functions.c add_assoc_zval_ex(&stack_frame, "object", sizeof("object")-1, &zv); zv 2618 Zend/zend_builtin_functions.c Z_ADDREF(zv); zv 89 Zend/zend_compile.c static void zend_destroy_property_info_internal(zval *zv) /* {{{ */ zv 91 Zend/zend_compile.c zend_property_info *property_info = Z_PTR_P(zv); zv 424 Zend/zend_compile.c static inline void zend_insert_literal(zend_op_array *op_array, zval *zv, int literal_position) /* {{{ */ zv 426 Zend/zend_compile.c if (Z_TYPE_P(zv) == IS_STRING || Z_TYPE_P(zv) == IS_CONSTANT) { zv 427 Zend/zend_compile.c zend_string_hash_val(Z_STR_P(zv)); zv 428 Zend/zend_compile.c Z_STR_P(zv) = zend_new_interned_string(Z_STR_P(zv)); zv 429 Zend/zend_compile.c if (ZSTR_IS_INTERNED(Z_STR_P(zv))) { zv 430 Zend/zend_compile.c Z_TYPE_FLAGS_P(zv) &= ~ (IS_TYPE_REFCOUNTED | IS_TYPE_COPYABLE); zv 433 Zend/zend_compile.c ZVAL_COPY_VALUE(CT_CONSTANT_EX(op_array, literal_position), zv); zv 441 Zend/zend_compile.c int zend_add_literal(zend_op_array *op_array, zval *zv) /* {{{ */ zv 451 Zend/zend_compile.c zend_insert_literal(op_array, zv, i); zv 459 Zend/zend_compile.c zval zv; zv 460 Zend/zend_compile.c ZVAL_STR(&zv, *str); zv 461 Zend/zend_compile.c ret = zend_add_literal(op_array, &zv); zv 462 Zend/zend_compile.c *str = Z_STR(zv); zv 884 Zend/zend_compile.c static void label_ptr_dtor(zval *zv) /* {{{ */ zv 886 Zend/zend_compile.c efree_size(Z_PTR_P(zv), sizeof(zend_label)); zv 890 Zend/zend_compile.c static void str_dtor(zval *zv) /* {{{ */ { zv 891 Zend/zend_compile.c zend_string_release(Z_STR_P(zv)); zv 1255 Zend/zend_compile.c static zend_bool zend_try_ct_eval_const(zval *zv, zend_string *name, zend_bool is_fully_qualified) /* {{{ */ zv 1265 Zend/zend_compile.c ZVAL_DUP(zv, &c->value); zv 1280 Zend/zend_compile.c ZVAL_DUP(zv, &c->value); zv 1355 Zend/zend_compile.c static zend_bool zend_try_compile_const_expr_resolve_class_name(zval *zv, zend_ast *class_ast, zend_ast *name_ast, zend_bool constant) /* {{{ */ zv 1378 Zend/zend_compile.c ZVAL_STR_COPY(zv, CG(active_class_entry)->name); zv 1380 Zend/zend_compile.c ZVAL_NULL(zv); zv 1391 Zend/zend_compile.c ZVAL_NULL(zv); zv 1395 Zend/zend_compile.c ZVAL_STR(zv, zend_resolve_class_name_ast(class_ast)); zv 1402 Zend/zend_compile.c static zend_bool zend_try_ct_eval_class_const(zval *zv, zend_string *class_name, zend_string *name) /* {{{ */ zv 1426 Zend/zend_compile.c ZVAL_DUP(zv, c); zv 1563 Zend/zend_compile.c zval zv; zv 1572 Zend/zend_compile.c ZVAL_UNDEF(&zv); zv 1573 Zend/zend_compile.c retval = lex_scan(&zv); zv 1595 Zend/zend_compile.c if (Z_TYPE(zv) != IS_UNDEF) { zv 1596 Zend/zend_compile.c elem->ast = zend_ast_create_zval(&zv); zv 2030 Zend/zend_compile.c void zend_emit_final_return(zval *zv) /* {{{ */ zv 2041 Zend/zend_compile.c if (zv) { zv 2042 Zend/zend_compile.c ZVAL_COPY_VALUE(&zn.u.constant, zv); zv 4614 Zend/zend_compile.c zval zv; zv 4620 Zend/zend_compile.c ZVAL_NULL(&zv); zv 4621 Zend/zend_compile.c Z_CONST_FLAGS(zv) = by_ref ? IS_LEXICAL_REF : IS_LEXICAL_VAR; zv 4623 Zend/zend_compile.c zend_compile_static_var_common(var_ast, &zv, by_ref); zv 5705 Zend/zend_compile.c static zend_bool zend_try_ct_eval_magic_const(zval *zv, zend_ast *ast) /* {{{ */ zv 5712 Zend/zend_compile.c ZVAL_LONG(zv, ast->lineno); zv 5715 Zend/zend_compile.c ZVAL_STR_COPY(zv, CG(compiled_filename)); zv 5733 Zend/zend_compile.c ZVAL_STR(zv, dirname); zv 5738 Zend/zend_compile.c ZVAL_STR_COPY(zv, op_array->function_name); zv 5740 Zend/zend_compile.c ZVAL_EMPTY_STRING(zv); zv 5745 Zend/zend_compile.c ZVAL_STR_COPY(zv, op_array->function_name); zv 5748 Zend/zend_compile.c ZVAL_NEW_STR(zv, zend_concat3(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), "::", 2, zv 5751 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); zv 5754 Zend/zend_compile.c ZVAL_STR_COPY(zv, op_array->function_name); zv 5756 Zend/zend_compile.c ZVAL_EMPTY_STRING(zv); zv 5764 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); zv 5767 Zend/zend_compile.c ZVAL_EMPTY_STRING(zv); zv 5772 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); zv 5774 Zend/zend_compile.c ZVAL_EMPTY_STRING(zv); zv 5779 Zend/zend_compile.c ZVAL_STR_COPY(zv, FC(current_namespace)); zv 5781 Zend/zend_compile.c ZVAL_EMPTY_STRING(zv); zv 84 Zend/zend_compile.h zval *zv; zv 573 Zend/zend_compile.h (node).zv zv 577 Zend/zend_compile.h (node).zv = CT_CONSTANT_EX(op_array, (node).constant); \ zv 582 Zend/zend_compile.h (node).constant = (node).zv - (op_array)->literals; \ zv 697 Zend/zend_compile.h void zend_emit_final_return(zval *zv); zv 738 Zend/zend_compile.h ZEND_API int clean_non_persistent_function_full(zval *zv); zv 739 Zend/zend_compile.h ZEND_API int clean_non_persistent_class_full(zval *zv); zv 742 Zend/zend_compile.h ZEND_API void zend_function_dtor(zval *zv); zv 743 Zend/zend_compile.h ZEND_API void destroy_zend_class(zval *zv); zv 744 Zend/zend_compile.h void zend_class_add_ref(zval *zv); zv 782 Zend/zend_compile.h int zend_add_literal(zend_op_array *op_array, zval *zv); zv 31 Zend/zend_constants.c void free_zend_constant(zval *zv) zv 33 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); zv 47 Zend/zend_constants.c static void copy_zend_constant(zval *zv) zv 49 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); zv 51 Zend/zend_constants.c Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT); zv 52 Zend/zend_constants.c memcpy(Z_PTR_P(zv), c, sizeof(zend_constant)); zv 54 Zend/zend_constants.c c = Z_PTR_P(zv); zv 72 Zend/zend_constants.c static int clean_non_persistent_constant(zval *zv) zv 74 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); zv 79 Zend/zend_constants.c static int clean_non_persistent_constant_full(zval *zv) zv 81 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); zv 63 Zend/zend_constants.h void free_zend_constant(zval *zv); zv 74 Zend/zend_exceptions.c zval pv, zv, rv; zv 85 Zend/zend_exceptions.c ZVAL_OBJ(&zv, exception); zv 86 Zend/zend_exceptions.c ex = &zv; zv 1025 Zend/zend_exceptions.c zval zv; zv 1027 Zend/zend_exceptions.c ZVAL_OBJ(&zv, EG(exception)); zv 1030 Zend/zend_exceptions.c file = zval_get_string(GET_PROPERTY_SILENT(&zv, "file")); zv 1031 Zend/zend_exceptions.c line = zval_get_long(GET_PROPERTY_SILENT(&zv, "line")); zv 1036 Zend/zend_exceptions.c ZSTR_VAL(Z_OBJCE(zv)->name), ZSTR_VAL(ce_exception->name)); zv 92 Zend/zend_execute.c #define zval_ptr_dtor(zv) i_zval_ptr_dtor(zv ZEND_FILE_LINE_CC) zv 94 Zend/zend_execute.c #define READY_TO_DESTROY(zv) \ zv 95 Zend/zend_execute.c (UNEXPECTED(zv) && Z_REFCOUNTED_P(zv) && Z_REFCOUNT_P(zv) == 1) zv 97 Zend/zend_execute.c #define EXTRACT_ZVAL_PTR(zv, check_null) do { \ zv 98 Zend/zend_execute.c zval *__zv = (zv); \ zv 100 Zend/zend_execute_API.c static int clean_non_persistent_function(zval *zv) /* {{{ */ zv 102 Zend/zend_execute_API.c zend_function *function = Z_PTR_P(zv); zv 107 Zend/zend_execute_API.c ZEND_API int clean_non_persistent_function_full(zval *zv) /* {{{ */ zv 109 Zend/zend_execute_API.c zend_function *function = Z_PTR_P(zv); zv 114 Zend/zend_execute_API.c static int clean_non_persistent_class(zval *zv) /* {{{ */ zv 116 Zend/zend_execute_API.c zend_class_entry *ce = Z_PTR_P(zv); zv 121 Zend/zend_execute_API.c ZEND_API int clean_non_persistent_class_full(zval *zv) /* {{{ */ zv 123 Zend/zend_execute_API.c zend_class_entry *ce = Z_PTR_P(zv); zv 190 Zend/zend_execute_API.c static int zval_call_destructor(zval *zv) /* {{{ */ zv 192 Zend/zend_execute_API.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 193 Zend/zend_execute_API.c zv = Z_INDIRECT_P(zv); zv 195 Zend/zend_execute_API.c if (Z_TYPE_P(zv) == IS_OBJECT && Z_REFCOUNT_P(zv) == 1) { zv 203 Zend/zend_execute_API.c static void zend_unclean_zval_ptr_dtor(zval *zv) /* {{{ */ zv 205 Zend/zend_execute_API.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 206 Zend/zend_execute_API.c zv = Z_INDIRECT_P(zv); zv 208 Zend/zend_execute_API.c i_zval_ptr_dtor(zv ZEND_FILE_LINE_CC); zv 1532 Zend/zend_execute_API.c zval *zv = zend_hash_find(ht, *str); zv 1534 Zend/zend_execute_API.c if (zv) { zv 1535 Zend/zend_execute_API.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 1536 Zend/zend_execute_API.c zval *val = Z_INDIRECT_P(zv); zv 1540 Zend/zend_execute_API.c ZVAL_COPY_VALUE(var, zv); zv 1544 Zend/zend_execute_API.c zv = zend_hash_add_new(ht, *str, var); zv 1546 Zend/zend_execute_API.c ZVAL_INDIRECT(zv, var); zv 305 Zend/zend_gc.c zval *zv; zv 318 Zend/zend_gc.c zval *zv, *end; zv 322 Zend/zend_gc.c ht = get_gc(&tmp, &zv, &n); zv 323 Zend/zend_gc.c end = zv + n; zv 327 Zend/zend_gc.c if (zv == end) return; zv 330 Zend/zend_gc.c while (zv != end) { zv 331 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 332 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 338 Zend/zend_gc.c zv++; zv 341 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 375 Zend/zend_gc.c zv = &end->val; zv 376 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 377 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 379 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 385 Zend/zend_gc.c zv = &p->val; zv 386 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 387 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 389 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 390 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 398 Zend/zend_gc.c zv = &p->val; zv 399 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 400 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 402 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 413 Zend/zend_gc.c zval *zv; zv 428 Zend/zend_gc.c zval *zv, *end; zv 432 Zend/zend_gc.c ht = get_gc(&tmp, &zv, &n); zv 433 Zend/zend_gc.c end = zv + n; zv 437 Zend/zend_gc.c if (zv == end) return; zv 440 Zend/zend_gc.c while (zv != end) { zv 441 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 442 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 446 Zend/zend_gc.c zv++; zv 449 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 484 Zend/zend_gc.c zv = &end->val; zv 485 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 486 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 488 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 494 Zend/zend_gc.c zv = &p->val; zv 495 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 496 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 498 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 499 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_OBJECT && zv 501 Zend/zend_gc.c Z_TYPE_INFO_P(zv) = IS_NULL; zv 503 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 510 Zend/zend_gc.c zv = &p->val; zv 511 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 512 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 514 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_OBJECT && zv 516 Zend/zend_gc.c Z_TYPE_INFO_P(zv) = IS_NULL; zv 518 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 541 Zend/zend_gc.c zval *zv; zv 556 Zend/zend_gc.c zval *zv, *end; zv 560 Zend/zend_gc.c ht = get_gc(&tmp, &zv, &n); zv 561 Zend/zend_gc.c end = zv + n; zv 565 Zend/zend_gc.c if (zv == end) return; zv 568 Zend/zend_gc.c while (zv != end) { zv 569 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 570 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 573 Zend/zend_gc.c zv++; zv 576 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 604 Zend/zend_gc.c zv = &end->val; zv 605 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 606 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 608 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 614 Zend/zend_gc.c zv = &p->val; zv 615 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 616 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 618 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 619 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 624 Zend/zend_gc.c zv = &p->val; zv 625 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 626 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 628 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 702 Zend/zend_gc.c zval *zv; zv 721 Zend/zend_gc.c zval *zv, *end; zv 738 Zend/zend_gc.c ht = get_gc(&tmp, &zv, &n); zv 739 Zend/zend_gc.c end = zv + n; zv 744 Zend/zend_gc.c if (Z_TYPE_P(zv) != IS_UNDEF) { zv 747 Zend/zend_gc.c if (zv == end) return count; zv 750 Zend/zend_gc.c while (zv != end) { zv 751 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 752 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 756 Zend/zend_gc.c } else if (Z_TYPE_P(zv) != IS_UNDEF) { zv 759 Zend/zend_gc.c zv++; zv 762 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 795 Zend/zend_gc.c zv = &end->val; zv 796 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 797 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 799 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 803 Zend/zend_gc.c if (Z_TYPE_P(zv) != IS_UNDEF) { zv 809 Zend/zend_gc.c zv = &p->val; zv 810 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 811 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 813 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 814 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 818 Zend/zend_gc.c } else if (Z_TYPE_P(zv) != IS_UNDEF) { zv 823 Zend/zend_gc.c zv = &p->val; zv 824 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 825 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 827 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 884 Zend/zend_gc.c zval *zv; zv 908 Zend/zend_gc.c zval *zv, *end; zv 912 Zend/zend_gc.c ht = get_gc(&tmp, &zv, &n); zv 913 Zend/zend_gc.c end = zv + n; zv 917 Zend/zend_gc.c if (zv == end) return; zv 920 Zend/zend_gc.c while (zv != end) { zv 921 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 922 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 925 Zend/zend_gc.c zv++; zv 928 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 951 Zend/zend_gc.c zv = &end->val; zv 952 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 953 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 955 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 961 Zend/zend_gc.c zv = &p->val; zv 962 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 963 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 965 Zend/zend_gc.c if (Z_REFCOUNTED_P(zv)) { zv 966 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 971 Zend/zend_gc.c zv = &p->val; zv 972 Zend/zend_gc.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 973 Zend/zend_gc.c zv = Z_INDIRECT_P(zv); zv 975 Zend/zend_gc.c ref = Z_COUNTED_P(zv); zv 1030 Zend/zend_generators.c zval *zv = &root->key; zv 1032 Zend/zend_generators.c ZVAL_DEREF(zv); zv 1033 Zend/zend_generators.c ZVAL_COPY(key, zv); zv 276 Zend/zend_hash.h zval *zv; zv 278 Zend/zend_hash.h zv = zend_hash_find(ht, key); zv 279 Zend/zend_hash.h return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? zv 280 Zend/zend_hash.h ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv; zv 286 Zend/zend_hash.h zval *zv; zv 288 Zend/zend_hash.h zv = zend_hash_find(ht, key); zv 289 Zend/zend_hash.h return zv && (Z_TYPE_P(zv) != IS_INDIRECT || zv 290 Zend/zend_hash.h Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF); zv 296 Zend/zend_hash.h zval *zv; zv 298 Zend/zend_hash.h zv = zend_hash_str_find(ht, str, len); zv 299 Zend/zend_hash.h return (zv && Z_TYPE_P(zv) == IS_INDIRECT) ? zv 300 Zend/zend_hash.h ((Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF) ? Z_INDIRECT_P(zv) : NULL) : zv; zv 473 Zend/zend_hash.h zval tmp, *zv; zv 476 Zend/zend_hash.h zv = zend_hash_add(ht, key, &tmp); zv 477 Zend/zend_hash.h if (zv) { zv 478 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 479 Zend/zend_hash.h return Z_PTR_P(zv); zv 487 Zend/zend_hash.h zval tmp, *zv; zv 490 Zend/zend_hash.h zv = zend_hash_add_new(ht, key, &tmp); zv 491 Zend/zend_hash.h if (zv) { zv 492 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 493 Zend/zend_hash.h return Z_PTR_P(zv); zv 501 Zend/zend_hash.h zval tmp, *zv; zv 504 Zend/zend_hash.h zv = zend_hash_str_add(ht, str, len, &tmp); zv 505 Zend/zend_hash.h if (zv) { zv 506 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 507 Zend/zend_hash.h return Z_PTR_P(zv); zv 515 Zend/zend_hash.h zval tmp, *zv; zv 518 Zend/zend_hash.h zv = zend_hash_str_add_new(ht, str, len, &tmp); zv 519 Zend/zend_hash.h if (zv) { zv 520 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 521 Zend/zend_hash.h return Z_PTR_P(zv); zv 529 Zend/zend_hash.h zval tmp, *zv; zv 532 Zend/zend_hash.h zv = zend_hash_update(ht, key, &tmp); zv 533 Zend/zend_hash.h if (zv) { zv 534 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 535 Zend/zend_hash.h return Z_PTR_P(zv); zv 543 Zend/zend_hash.h zval tmp, *zv; zv 546 Zend/zend_hash.h zv = zend_hash_str_update(ht, str, len, &tmp); zv 547 Zend/zend_hash.h if (zv) { zv 548 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 549 Zend/zend_hash.h return Z_PTR_P(zv); zv 557 Zend/zend_hash.h zval tmp, *zv; zv 560 Zend/zend_hash.h if ((zv = zend_hash_add(ht, key, &tmp))) { zv 561 Zend/zend_hash.h Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); zv 562 Zend/zend_hash.h memcpy(Z_PTR_P(zv), pData, size); zv 563 Zend/zend_hash.h return Z_PTR_P(zv); zv 570 Zend/zend_hash.h zval tmp, *zv; zv 573 Zend/zend_hash.h if ((zv = zend_hash_str_add(ht, str, len, &tmp))) { zv 574 Zend/zend_hash.h Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); zv 575 Zend/zend_hash.h memcpy(Z_PTR_P(zv), pData, size); zv 576 Zend/zend_hash.h return Z_PTR_P(zv); zv 601 Zend/zend_hash.h zval tmp, *zv; zv 604 Zend/zend_hash.h zv = zend_hash_index_add(ht, h, &tmp); zv 605 Zend/zend_hash.h return zv ? Z_PTR_P(zv) : NULL; zv 610 Zend/zend_hash.h zval tmp, *zv; zv 613 Zend/zend_hash.h zv = zend_hash_index_add_new(ht, h, &tmp); zv 614 Zend/zend_hash.h return zv ? Z_PTR_P(zv) : NULL; zv 619 Zend/zend_hash.h zval tmp, *zv; zv 622 Zend/zend_hash.h zv = zend_hash_index_update(ht, h, &tmp); zv 623 Zend/zend_hash.h if (zv) { zv 624 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 625 Zend/zend_hash.h return Z_PTR_P(zv); zv 633 Zend/zend_hash.h zval tmp, *zv; zv 636 Zend/zend_hash.h if ((zv = zend_hash_index_add(ht, h, &tmp))) { zv 637 Zend/zend_hash.h Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); zv 638 Zend/zend_hash.h memcpy(Z_PTR_P(zv), pData, size); zv 639 Zend/zend_hash.h return Z_PTR_P(zv); zv 646 Zend/zend_hash.h zval tmp, *zv; zv 649 Zend/zend_hash.h zv = zend_hash_next_index_insert(ht, &tmp); zv 650 Zend/zend_hash.h if (zv) { zv 651 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 652 Zend/zend_hash.h return Z_PTR_P(zv); zv 669 Zend/zend_hash.h zval tmp, *zv; zv 672 Zend/zend_hash.h if ((zv = zend_hash_next_index_insert(ht, &tmp))) { zv 673 Zend/zend_hash.h Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); zv 674 Zend/zend_hash.h memcpy(Z_PTR_P(zv), pData, size); zv 675 Zend/zend_hash.h return Z_PTR_P(zv); zv 682 Zend/zend_hash.h zval *zv; zv 684 Zend/zend_hash.h zv = zend_hash_find(ht, key); zv 685 Zend/zend_hash.h if (zv) { zv 686 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 687 Zend/zend_hash.h return Z_PTR_P(zv); zv 695 Zend/zend_hash.h zval *zv; zv 697 Zend/zend_hash.h zv = zend_hash_str_find(ht, str, len); zv 698 Zend/zend_hash.h if (zv) { zv 699 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 700 Zend/zend_hash.h return Z_PTR_P(zv); zv 708 Zend/zend_hash.h zval *zv; zv 710 Zend/zend_hash.h zv = zend_hash_index_find(ht, h); zv 711 Zend/zend_hash.h if (zv) { zv 712 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 713 Zend/zend_hash.h return Z_PTR_P(zv); zv 732 Zend/zend_hash.h zval *zv; zv 734 Zend/zend_hash.h zv = zend_hash_get_current_data_ex(ht, pos); zv 735 Zend/zend_hash.h if (zv) { zv 736 Zend/zend_hash.h ZEND_ASSUME(Z_PTR_P(zv)); zv 737 Zend/zend_hash.h return Z_PTR_P(zv); zv 906 Zend/zend_hash.h static zend_always_inline zval *_zend_hash_append(HashTable *ht, zend_string *key, zval *zv) zv 912 Zend/zend_hash.h ZVAL_COPY_VALUE(&p->val, zv); zv 28 Zend/zend_inheritance.c static void overriden_ptr_dtor(zval *zv) /* {{{ */ zv 30 Zend/zend_inheritance.c efree_size(Z_PTR_P(zv), sizeof(zend_function)); zv 456 Zend/zend_inheritance.c zval *zv = RT_CONSTANT(&fptr->op_array, precv->op2); zv 458 Zend/zend_inheritance.c if (Z_TYPE_P(zv) == IS_CONSTANT) { zv 459 Zend/zend_inheritance.c smart_str_append(&str, Z_STR_P(zv)); zv 460 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_FALSE) { zv 462 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_TRUE) { zv 464 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_NULL) { zv 466 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_STRING) { zv 468 Zend/zend_inheritance.c smart_str_appendl(&str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); zv 469 Zend/zend_inheritance.c if (Z_STRLEN_P(zv) > 10) { zv 473 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_ARRAY) { zv 475 Zend/zend_inheritance.c } else if (Z_TYPE_P(zv) == IS_CONSTANT_AST) { zv 478 Zend/zend_inheritance.c zend_string *zv_str = zval_get_string(zv); zv 714 Zend/zend_inheritance.c static void do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce) /* {{{ */ zv 717 Zend/zend_inheritance.c if (!Z_ISREF_P(zv)) { zv 719 Zend/zend_inheritance.c ZVAL_NEW_PERSISTENT_REF(zv, zv); zv 721 Zend/zend_inheritance.c ZVAL_NEW_REF(zv, zv); zv 724 Zend/zend_inheritance.c if (Z_CONSTANT_P(Z_REFVAL_P(zv))) { zv 727 Zend/zend_inheritance.c Z_ADDREF_P(zv); zv 728 Zend/zend_inheritance.c _zend_hash_append(&ce->constants_table, name, zv); zv 738 Zend/zend_inheritance.c zval *zv; zv 879 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_VAL(&parent_ce->constants_table, key, zv) { zv 880 Zend/zend_inheritance.c do_inherit_class_constant(key, zv, ce, parent_ce); zv 926 Zend/zend_inheritance.c static void do_inherit_iface_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ zv 928 Zend/zend_inheritance.c if (do_inherit_constant_check(&ce->constants_table, zv, name, iface)) { zv 929 Zend/zend_inheritance.c if (!Z_ISREF_P(zv)) { zv 931 Zend/zend_inheritance.c ZVAL_NEW_PERSISTENT_REF(zv, zv); zv 933 Zend/zend_inheritance.c ZVAL_NEW_REF(zv, zv); zv 936 Zend/zend_inheritance.c Z_ADDREF_P(zv); zv 937 Zend/zend_inheritance.c if (Z_CONSTANT_P(Z_REFVAL_P(zv))) { zv 940 Zend/zend_inheritance.c zend_hash_update(&ce->constants_table, name, zv); zv 952 Zend/zend_inheritance.c zval *zv; zv 968 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_VAL(&ce->constants_table, key, zv) { zv 969 Zend/zend_inheritance.c do_inherit_constant_check(&iface->constants_table, zv, key, iface); zv 981 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_VAL(&iface->constants_table, key, zv) { zv 982 Zend/zend_inheritance.c do_inherit_iface_constant(key, zv, ce, iface); zv 87 Zend/zend_ini.c static void free_ini_entry(zval *zv) /* {{{ */ zv 89 Zend/zend_ini.c zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv); zv 152 Zend/zend_ini.c static void copy_ini_entry(zval *zv) /* {{{ */ zv 154 Zend/zend_ini.c zend_ini_entry *old_entry = (zend_ini_entry*)Z_PTR_P(zv); zv 157 Zend/zend_ini.c Z_PTR_P(zv) = new_entry; zv 286 Zend/zend_language_parser.y zval zv; zv 287 Zend/zend_language_parser.y zend_lex_tstring(&zv); zv 288 Zend/zend_language_parser.y $$ = zend_ast_create_zval(&zv); zv 746 Zend/zend_language_parser.y { zval zv; zend_lex_tstring(&zv); $$ = zend_ast_create_ex(ZEND_AST_TRAIT_ALIAS, 0, $1, zend_ast_create_zval(&zv)); } zv 1015 Zend/zend_language_parser.y { zval zv; ZVAL_STRINGL(&zv, "static", sizeof("static")-1); zv 1016 Zend/zend_language_parser.y $$ = zend_ast_create_zval_ex(&zv, ZEND_NAME_NOT_FQ); } zv 286 Zend/zend_language_scanner.c ZEND_API void zend_lex_tstring(zval *zv) zv 290 Zend/zend_language_scanner.c ZVAL_STRINGL(zv, (char*)SCNG(yy_text), SCNG(yy_leng)); zv 72 Zend/zend_language_scanner.h ZEND_API void zend_lex_tstring(zval *zv); zv 37 Zend/zend_list.c zval zv; zv 43 Zend/zend_list.c ZVAL_NEW_RES(&zv, index, ptr, type); zv 44 Zend/zend_list.c return zend_hash_index_add_new(&EG(regular_list), index, &zv); zv 96 Zend/zend_list.c zval *zv; zv 98 Zend/zend_list.c zv = zend_list_insert(rsrc_pointer, rsrc_type); zv 100 Zend/zend_list.c return Z_RES_P(zv); zv 181 Zend/zend_list.c void list_entry_destructor(zval *zv) zv 183 Zend/zend_list.c zend_resource *res = Z_RES_P(zv); zv 185 Zend/zend_list.c ZVAL_UNDEF(zv); zv 192 Zend/zend_list.c void plist_entry_destructor(zval *zv) zv 194 Zend/zend_list.c zend_resource *res = Z_RES_P(zv); zv 225 Zend/zend_list.c static int zend_close_rsrc(zval *zv) zv 227 Zend/zend_list.c zend_resource *res = Z_PTR_P(zv); zv 247 Zend/zend_list.c static int clean_module_resource(zval *zv, void *arg) zv 250 Zend/zend_list.c if (Z_RES_TYPE_P(zv) == resource_id) { zv 258 Zend/zend_list.c static int zend_clean_module_rsrc_dtors_cb(zval *zv, void *arg) zv 260 Zend/zend_list.c zend_rsrc_list_dtors_entry *ld = (zend_rsrc_list_dtors_entry *)Z_PTR_P(zv); zv 280 Zend/zend_list.c zval zv; zv 288 Zend/zend_list.c ZVAL_PTR(&zv, lde); zv 290 Zend/zend_list.c if (zend_hash_next_index_insert(&list_destructors, &zv) == NULL) { zv 309 Zend/zend_list.c static void list_destructors_dtor(zval *zv) zv 311 Zend/zend_list.c free(Z_PTR_P(zv)); zv 102 Zend/zend_object_handlers.c zval zv; zv 108 Zend/zend_object_handlers.c ZVAL_INDIRECT(&zv, OBJ_PROP(zobj, prop_info->offset)); zv 109 Zend/zend_object_handlers.c zend_hash_add(zobj->properties, prop_info->name, &zv); zv 301 Zend/zend_object_handlers.c zval *zv; zv 324 Zend/zend_object_handlers.c zv = zend_hash_find(&ce->properties_info, member); zv 325 Zend/zend_object_handlers.c if (EXPECTED(zv != NULL)) { zv 326 Zend/zend_object_handlers.c property_info = (zend_property_info*)Z_PTR_P(zv); zv 353 Zend/zend_object_handlers.c && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL zv 354 Zend/zend_object_handlers.c && ((zend_property_info*)Z_PTR_P(zv))->flags & ZEND_ACC_PRIVATE) { zv 355 Zend/zend_object_handlers.c property_info = (zend_property_info*)Z_PTR_P(zv); zv 383 Zend/zend_object_handlers.c zval *zv; zv 402 Zend/zend_object_handlers.c zv = zend_hash_find(&ce->properties_info, member); zv 403 Zend/zend_object_handlers.c if (EXPECTED(zv != NULL)) { zv 404 Zend/zend_object_handlers.c property_info = (zend_property_info*)Z_PTR_P(zv); zv 430 Zend/zend_object_handlers.c && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL zv 431 Zend/zend_object_handlers.c && ((zend_property_info*)Z_PTR_P(zv))->flags & ZEND_ACC_PRIVATE) { zv 432 Zend/zend_object_handlers.c property_info = (zend_property_info*)Z_PTR_P(zv); zv 118 Zend/zend_opcode.c ZEND_API void zend_function_dtor(zval *zv) zv 120 Zend/zend_opcode.c zend_function *function = Z_PTR_P(zv); zv 249 Zend/zend_opcode.c ZEND_API void destroy_zend_class(zval *zv) zv 252 Zend/zend_opcode.c zend_class_entry *ce = Z_PTR_P(zv); zv 334 Zend/zend_opcode.c void zend_class_add_ref(zval *zv) zv 336 Zend/zend_opcode.c zend_class_entry *ce = Z_PTR_P(zv); zv 38 Zend/zend_string.c static void _str_dtor(zval *zv) zv 40 Zend/zend_string.c zend_string *str = Z_STR_P(zv); zv 116 Zend/zend_ts_hash.h zval *zv; zv 118 Zend/zend_ts_hash.h zv = zend_ts_hash_str_find(ht, str, len); zv 119 Zend/zend_ts_hash.h return zv ? Z_PTR_P(zv) : NULL; zv 124 Zend/zend_ts_hash.h zval tmp, *zv; zv 127 Zend/zend_ts_hash.h zv = zend_ts_hash_str_update(ht, str, len, &tmp); zv 128 Zend/zend_ts_hash.h return zv ? Z_PTR_P(zv) : NULL; zv 133 Zend/zend_ts_hash.h zval tmp, *zv; zv 136 Zend/zend_ts_hash.h zv = zend_ts_hash_str_add(ht, str, len, &tmp); zv 137 Zend/zend_ts_hash.h return zv ? Z_PTR_P(zv) : NULL; zv 111 Zend/zend_types.h zval *zv; zv 452 Zend/zend_types.h #define Z_OBJ_APPLY_COUNT_P(zv) Z_OBJ_APPLY_COUNT(*(zv)) zv 453 Zend/zend_types.h #define Z_OBJ_INC_APPLY_COUNT_P(zv) Z_OBJ_INC_APPLY_COUNT(*(zv)) zv 454 Zend/zend_types.h #define Z_OBJ_DEC_APPLY_COUNT_P(zv) Z_OBJ_DEC_APPLY_COUNT(*(zv)) zv 575 Zend/zend_types.h #define Z_INDIRECT(zval) (zval).value.zv zv 897 Zend/zend_types.h #define ZVAL_MAKE_REF(zv) do { \ zv 898 Zend/zend_types.h zval *__zv = (zv); \ zv 913 Zend/zend_types.h #define SEPARATE_STRING(zv) do { \ zv 914 Zend/zend_types.h zval *_zv = (zv); \ zv 922 Zend/zend_types.h #define SEPARATE_ARRAY(zv) do { \ zv 923 Zend/zend_types.h zval *_zv = (zv); \ zv 933 Zend/zend_types.h #define SEPARATE_ZVAL_NOREF(zv) do { \ zv 934 Zend/zend_types.h zval *_zv = (zv); \ zv 947 Zend/zend_types.h #define SEPARATE_ZVAL(zv) do { \ zv 948 Zend/zend_types.h zval *_zv = (zv); \ zv 966 Zend/zend_types.h #define SEPARATE_ZVAL_IF_NOT_REF(zv) do { \ zv 967 Zend/zend_types.h zval *_zv = (zv); \ zv 35 Zend/zend_variables.h #define zval_dtor_func(zv) _zval_dtor_func(zv ZEND_FILE_LINE_CC) zv 36 Zend/zend_variables.h #define zval_dtor_func_for_ptr(zv) _zval_dtor_func_for_ptr(zv ZEND_FILE_LINE_CC) zv 37 Zend/zend_variables.h #define zval_copy_ctor_func(zv) _zval_copy_ctor_func(zv ZEND_FILE_LINE_CC) zv 237 ext/com_dotnet/com_handlers.c static void function_dtor(zval *zv) zv 239 ext/com_dotnet/com_handlers.c zend_internal_function *f = (zend_internal_function*)Z_PTR_P(zv); zv 63 ext/com_dotnet/com_saproxy.c #define SA_FETCH(zv) (php_com_saproxy*)Z_OBJ_P(zv) zv 57 ext/com_dotnet/php_com_dotnet_internal.h static inline int php_com_is_valid_object(zval *zv) zv 59 ext/com_dotnet/php_com_dotnet_internal.h zend_class_entry *ce = Z_OBJCE_P(zv); zv 65 ext/com_dotnet/php_com_dotnet_internal.h #define CDNO_FETCH(zv) (php_com_dotnet_object*)Z_OBJ_P(zv) zv 66 ext/com_dotnet/php_com_dotnet_internal.h #define CDNO_FETCH_VERIFY(obj, zv) do { \ zv 67 ext/com_dotnet/php_com_dotnet_internal.h if (!php_com_is_valid_object(zv)) { \ zv 71 ext/com_dotnet/php_com_dotnet_internal.h obj = (php_com_dotnet_object*)Z_OBJ_P(zv); \ zv 686 ext/date/php_date.c static void _php_date_tzinfo_dtor(zval *zv) /* {{{ */ zv 688 ext/date/php_date.c timelib_tzinfo *tzi = (timelib_tzinfo*)Z_PTR_P(zv); zv 2165 ext/date/php_date.c zval zv; zv 2178 ext/date/php_date.c ZVAL_STR(&zv, date_format("Y-m-d H:i:s.u", sizeof("Y-m-d H:i:s.u")-1, dateobj->time, 1)); zv 2179 ext/date/php_date.c zend_hash_str_update(props, "date", sizeof("date")-1, &zv); zv 2183 ext/date/php_date.c ZVAL_LONG(&zv, dateobj->time->zone_type); zv 2184 ext/date/php_date.c zend_hash_str_update(props, "timezone_type", sizeof("timezone_type")-1, &zv); zv 2188 ext/date/php_date.c ZVAL_STRING(&zv, dateobj->time->tz_info->name); zv 2199 ext/date/php_date.c ZVAL_NEW_STR(&zv, tmpstr); zv 2203 ext/date/php_date.c ZVAL_STRING(&zv, dateobj->time->tz_abbr); zv 2206 ext/date/php_date.c zend_hash_str_update(props, "timezone", sizeof("timezone")-1, &zv); zv 2264 ext/date/php_date.c zval zv; zv 2276 ext/date/php_date.c ZVAL_LONG(&zv, tzobj->type); zv 2277 ext/date/php_date.c zend_hash_str_update(props, "timezone_type", sizeof("timezone_type")-1, &zv); zv 2281 ext/date/php_date.c ZVAL_STRING(&zv, tzobj->tzi.tz->name); zv 2291 ext/date/php_date.c ZVAL_NEW_STR(&zv, tmpstr); zv 2295 ext/date/php_date.c ZVAL_STRING(&zv, tzobj->tzi.z.abbr); zv 2298 ext/date/php_date.c zend_hash_str_update(props, "timezone", sizeof("timezone")-1, &zv); zv 2345 ext/date/php_date.c zval zv; zv 2357 ext/date/php_date.c ZVAL_LONG(&zv, (zend_long)intervalobj->diff->f); \ zv 2358 ext/date/php_date.c zend_hash_str_update(props, n, sizeof(n)-1, &zv); zv 2373 ext/date/php_date.c ZVAL_FALSE(&zv); zv 2374 ext/date/php_date.c zend_hash_str_update(props, "days", sizeof("days")-1, &zv); zv 4843 ext/date/php_date.c zval zv; zv 4856 ext/date/php_date.c object_init_ex(&zv, date_ce_date); zv 4857 ext/date/php_date.c date_obj = Z_PHPDATE_P(&zv); zv 4860 ext/date/php_date.c ZVAL_NULL(&zv); zv 4862 ext/date/php_date.c zend_hash_str_update(props, "start", sizeof("start")-1, &zv); zv 4866 ext/date/php_date.c object_init_ex(&zv, date_ce_date); zv 4867 ext/date/php_date.c date_obj = Z_PHPDATE_P(&zv); zv 4870 ext/date/php_date.c ZVAL_NULL(&zv); zv 4872 ext/date/php_date.c zend_hash_str_update(props, "current", sizeof("current")-1, &zv); zv 4876 ext/date/php_date.c object_init_ex(&zv, date_ce_date); zv 4877 ext/date/php_date.c date_obj = Z_PHPDATE_P(&zv); zv 4880 ext/date/php_date.c ZVAL_NULL(&zv); zv 4882 ext/date/php_date.c zend_hash_str_update(props, "end", sizeof("end")-1, &zv); zv 4886 ext/date/php_date.c object_init_ex(&zv, date_ce_interval); zv 4887 ext/date/php_date.c interval_obj = Z_PHPINTERVAL_P(&zv); zv 4891 ext/date/php_date.c ZVAL_NULL(&zv); zv 4893 ext/date/php_date.c zend_hash_str_update(props, "interval", sizeof("interval")-1, &zv); zv 4896 ext/date/php_date.c ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); zv 4897 ext/date/php_date.c zend_hash_str_update(props, "recurrences", sizeof("recurrences")-1, &zv); zv 4899 ext/date/php_date.c ZVAL_BOOL(&zv, period_obj->include_start_date); zv 4900 ext/date/php_date.c zend_hash_str_update(props, "include_start_date", sizeof("include_start_date")-1, &zv); zv 5028 ext/date/php_date.c zval *zv; zv 5035 ext/date/php_date.c zv = std_object_handlers.read_property(object, member, type, cache_slot, rv); zv 5036 ext/date/php_date.c if (Z_TYPE_P(zv) == IS_OBJECT && Z_OBJ_HANDLER_P(zv, clone_obj)) { zv 5038 ext/date/php_date.c ZVAL_OBJ(zv, Z_OBJ_HANDLER_P(zv, clone_obj)(zv)); zv 5041 ext/date/php_date.c return zv; zv 146 ext/date/php_date.h #define Z_PHPDATE_P(zv) php_date_obj_from_obj(Z_OBJ_P((zv))) zv 164 ext/date/php_date.h #define Z_PHPTIMEZONE_P(zv) php_timezone_obj_from_obj(Z_OBJ_P((zv))) zv 177 ext/date/php_date.h #define Z_PHPINTERVAL_P(zv) php_interval_obj_from_obj(Z_OBJ_P((zv))) zv 195 ext/date/php_date.h #define Z_PHPPERIOD_P(zv) php_period_obj_from_obj(Z_OBJ_P((zv))) zv 536 ext/dom/php_dom.c static void dom_copy_prop_handler(zval *zv) /* {{{ */ zv 538 ext/dom/php_dom.c dom_prop_handler *hnd = Z_PTR_P(zv); zv 539 ext/dom/php_dom.c Z_PTR_P(zv) = malloc(sizeof(dom_prop_handler)); zv 540 ext/dom/php_dom.c memcpy(Z_PTR_P(zv), hnd, sizeof(dom_prop_handler)); zv 544 ext/dom/php_dom.c static void dom_dtor_prop_handler(zval *zv) /* {{{ */ zv 546 ext/dom/php_dom.c free(Z_PTR_P(zv)); zv 82 ext/dom/php_dom.h #define Z_XPATHOBJ_P(zv) php_xpath_obj_from_obj(Z_OBJ_P((zv))) zv 40 ext/dom/xml_common.h #define Z_DOMOBJ_P(zv) php_dom_obj_from_obj(Z_OBJ_P((zv))) zv 63 ext/fileinfo/fileinfo.c #define Z_FINFO_P(zv) php_finfo_fetch_object(Z_OBJ_P((zv))) zv 3423 ext/gd/gd.c zval *zv = zend_hash_index_find(&EG(regular_list), size - 5); zv 3424 ext/gd/gd.c if (!zv || (Z_RES_P(zv))->type != le_gd_font) { zv 3431 ext/gd/gd.c font = (gdFontPtr)Z_RES_P(zv)->ptr; zv 256 ext/gmp/gmp.c #define GET_GMP_OBJECT_FROM_ZVAL(zv) \ zv 257 ext/gmp/gmp.c GET_GMP_OBJECT_FROM_OBJ(Z_OBJ_P(zv)) zv 436 ext/gmp/gmp.c zval zv; zv 441 ext/gmp/gmp.c gmp_strval(&zv, gmpnum, 10); zv 442 ext/gmp/gmp.c zend_hash_str_update(ht, "num", sizeof("num")-1, &zv); zv 563 ext/gmp/gmp.c zval zv; zv 568 ext/gmp/gmp.c gmp_strval(&zv, gmpnum, 10); zv 569 ext/gmp/gmp.c php_var_serialize(&buf, &zv, &serialize_data); zv 570 ext/gmp/gmp.c zval_dtor(&zv); zv 572 ext/gmp/gmp.c ZVAL_ARR(&zv, zend_std_get_properties(object)); zv 573 ext/gmp/gmp.c php_var_serialize(&buf, &zv, &serialize_data); zv 588 ext/gmp/gmp.c zval *zv; zv 598 ext/gmp/gmp.c zv = var_tmp_var(&unserialize_data); zv 599 ext/gmp/gmp.c if (!php_var_unserialize(zv, &p, max, &unserialize_data) zv 600 ext/gmp/gmp.c || Z_TYPE_P(zv) != IS_STRING zv 601 ext/gmp/gmp.c || convert_to_gmp(gmpnum, zv, 10) == FAILURE zv 607 ext/gmp/gmp.c zv = var_tmp_var(&unserialize_data); zv 608 ext/gmp/gmp.c if (!php_var_unserialize(zv, &p, max, &unserialize_data) zv 609 ext/gmp/gmp.c || Z_TYPE_P(zv) != IS_ARRAY zv 615 ext/gmp/gmp.c if (zend_hash_num_elements(Z_ARRVAL_P(zv)) != 0) { zv 617 ext/gmp/gmp.c zend_std_get_properties(object), Z_ARRVAL_P(zv), zv 157 ext/interbase/php_ibase_includes.h #define PHP_IBASE_LINK_TRANS(zv, lh, th) \ zv 159 ext/interbase/php_ibase_includes.h if (!zv) { \ zv 163 ext/interbase/php_ibase_includes.h _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, zv, &lh, &th); \ zv 47 ext/intl/breakiterator/breakiterator_class.h #define Z_INTL_BREAKITERATOR_P(zv) php_intl_breakiterator_fetch_object(Z_OBJ_P(zv)) zv 44 ext/intl/calendar/calendar_class.h #define Z_INTL_CALENDAR_P(zv) php_intl_calendar_fetch_object(Z_OBJ_P(zv)) zv 49 ext/intl/collator/collator_class.h #define Z_INTL_COLLATOR_P(zv) php_intl_collator_fetch_object(Z_OBJ_P(zv)) zv 60 ext/intl/common/common_enum.h #define Z_INTL_ITERATOR_P(zv) php_intl_iterator_fetch_object(Z_OBJ_P(zv)) zv 39 ext/intl/converter/converter.c #define Z_INTL_CONVERTER_P(zv) php_converter_fetch_object(Z_OBJ_P(zv)) zv 38 ext/intl/dateformat/dateformat_class.h #define Z_INTL_DATEFORMATTER_P(zv) php_intl_dateformatter_fetch_object(Z_OBJ_P(zv)) zv 35 ext/intl/formatter/formatter_class.h #define Z_INTL_NUMBERFORMATTER_P(zv) php_intl_number_format_fetch_object(Z_OBJ_P(zv)) zv 186 ext/intl/idn/idn.c zval zv; zv 187 ext/intl/idn/idn.c ZVAL_NEW_STR(&zv, buffer); zv 189 ext/intl/idn/idn.c add_assoc_zval_ex(idna_info, "result", sizeof("result")-1, &zv); zv 38 ext/intl/msgformat/msgformat_class.h #define Z_INTL_MESSAGEFORMATTER_P(zv) php_intl_messageformatter_fetch_object(Z_OBJ_P(zv)) zv 38 ext/intl/resourcebundle/resourcebundle_class.h #define Z_INTL_RESOURCEBUNDLE_P(zv) php_intl_resourcebundle_fetch_object(Z_OBJ_P(zv)) zv 42 ext/intl/spoofchecker/spoofchecker_class.h #define Z_INTL_SPOOFCHECKER_P(zv) php_intl_spoofchecker_fetch_object((Z_OBJ_P(zv))) zv 50 ext/intl/timezone/timezone_class.h #define Z_INTL_TIMEZONE_P(zv) php_intl_timezone_fetch_object(Z_OBJ_P(zv)) zv 40 ext/intl/transliterator/transliterator_class.h #define Z_INTL_TRANSLITERATOR_P(zv) php_intl_transliterator_fetch_object(Z_OBJ_P(zv)) zv 746 ext/libxml/libxml.c static void php_libxml_exports_dtor(zval *zv) zv 748 ext/libxml/libxml.c free(Z_PTR_P(zv)); zv 92 ext/libxml/php_libxml.h #define Z_LIBXML_NODE_P(zv) php_libxml_node_fetch_object(Z_OBJ_P((zv))) zv 486 ext/mysqli/mysqli.c static MYSQLND *mysqli_convert_zv_to_mysqlnd(zval * zv) zv 488 ext/mysqli/mysqli.c if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), mysqli_link_class_entry)) { zv 491 ext/mysqli/mysqli.c mysqli_object *intern = Z_MYSQLI_P(zv); zv 307 ext/mysqli/mysqli_api.c ZVAL_COPY_VALUE(¶ms[i].zv, &args[i + start]); zv 574 ext/mysqli/mysqli_api.c ZVAL_COPY_VALUE(¶ms[i].zv, &args[i]); zv 153 ext/mysqli/php_mysqli_structs.h #define Z_MYSQLI_P(zv) php_mysqli_fetch_object(Z_OBJ_P((zv))) zv 141 ext/mysqlnd/mysqlnd_priv.h typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row); zv 178 ext/mysqlnd/mysqlnd_priv.h void ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row, unsigned int byte_count); zv 671 ext/mysqlnd/mysqlnd_ps.c zval *result = &stmt->result_bind[i].zv; zv 707 ext/mysqlnd/mysqlnd_ps.c if (Z_ISUNDEF(stmt->param_bind[i].zv)) { zv 803 ext/mysqlnd/mysqlnd_ps.c zval *result = &stmt->result_bind[i].zv; zv 910 ext/mysqlnd/mysqlnd_ps.c zval *result = &stmt->result_bind[i].zv; zv 1096 ext/mysqlnd/mysqlnd_ps.c zval *result = &stmt->result_bind[i].zv; zv 1106 ext/mysqlnd/mysqlnd_ps.c DBG_INF_FMT("i=%u bound_var=%p type=%u refc=%u", i, &stmt->result_bind[i].zv, zv 1107 ext/mysqlnd/mysqlnd_ps.c Z_TYPE_P(data), Z_REFCOUNTED(stmt->result_bind[i].zv)? zv 1108 ext/mysqlnd/mysqlnd_ps.c Z_REFCOUNT(stmt->result_bind[i].zv) : 0); zv 1214 ext/mysqlnd/mysqlnd_ps.c zval *result = &stmt->result_bind[i].zv; zv 1473 ext/mysqlnd/mysqlnd_ps.c zval_ptr_dtor(&stmt->param_bind[i].zv); zv 1486 ext/mysqlnd/mysqlnd_ps.c Z_TRY_ADDREF(stmt->param_bind[i].zv); zv 1503 ext/mysqlnd/mysqlnd_ps.c zval * const zv, zend_uchar type) zv 1536 ext/mysqlnd/mysqlnd_ps.c Z_TRY_ADDREF_P(zv); zv 1539 ext/mysqlnd/mysqlnd_ps.c zval_ptr_dtor(&stmt->param_bind[param_no].zv); zv 1544 ext/mysqlnd/mysqlnd_ps.c ZVAL_COPY_VALUE(&stmt->param_bind[param_no].zv, zv); zv 1620 ext/mysqlnd/mysqlnd_ps.c Z_TRY_ADDREF(stmt->result_bind[i].zv); zv 1622 ext/mysqlnd/mysqlnd_ps.c DBG_INF_FMT("ref of %p = %u", &stmt->result_bind[i].zv, zv 1623 ext/mysqlnd/mysqlnd_ps.c Z_REFCOUNTED(stmt->result_bind[i].zv)? Z_REFCOUNT(stmt->result_bind[i].zv) : 0); zv 1677 ext/mysqlnd/mysqlnd_ps.c ZVAL_NULL(&stmt->result_bind[param_no].zv); zv 2043 ext/mysqlnd/mysqlnd_ps.c Z_REFCOUNTED(stmt->result_bind[i].zv)? Z_REFCOUNT(stmt->result_bind[i].zv) : 0); zv 2044 ext/mysqlnd/mysqlnd_ps.c zval_ptr_dtor(&stmt->result_bind[i].zv); zv 2079 ext/mysqlnd/mysqlnd_ps.c Z_REFCOUNTED(stmt->result_bind[param_no].zv)? zv 2080 ext/mysqlnd/mysqlnd_ps.c Z_REFCOUNT(stmt->result_bind[param_no].zv) : 0); zv 2081 ext/mysqlnd/mysqlnd_ps.c zval_ptr_dtor(&stmt->result_bind[param_no].zv); zv 2144 ext/mysqlnd/mysqlnd_ps.c zval_ptr_dtor(&stmt->param_bind[i].zv); zv 58 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zv 65 ext/mysqlnd/mysqlnd_ps_codec.c DBG_INF_FMT("zv=%p byte_count=%u", zv, byte_count); zv 88 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_LONG(zv, (zend_long) uval); /* the cast is safe, we are in the range */ zv 116 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_LONG(zv, (zend_long) lval); /* the cast is safe, we are in the range */ zv 121 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, tmp, tmp_len); zv 131 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 133 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_NULL(zv); zv 140 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 142 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1); zv 149 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 151 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2); zv 158 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 160 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 4); zv 167 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 169 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 8); zv 176 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 191 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_DOUBLE(zv, dval); zv 199 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 204 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_DOUBLE(zv, value); zv 214 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 248 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length); zv 257 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 285 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length); zv 294 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 329 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length); zv 338 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 348 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, (char *)*row, length); zv 358 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) zv 361 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, length); zv 582 ext/mysqlnd/mysqlnd_ps_codec.c zval *parameter = &stmt->param_bind[i].zv; zv 638 ext/mysqlnd/mysqlnd_ps_codec.c zval *parameter = &stmt->param_bind[i].zv; zv 684 ext/mysqlnd/mysqlnd_ps_codec.c zval *bind_var, *the_var = &stmt->param_bind[i].zv; zv 694 ext/mysqlnd/mysqlnd_ps_codec.c if (Z_ISREF(stmt->param_bind[j].zv) && Z_REFVAL(stmt->param_bind[j].zv) == the_var) { zv 772 ext/mysqlnd/mysqlnd_ps_codec.c zval *data, *parameter = &stmt->param_bind[i].zv; zv 70 ext/mysqlnd/mysqlnd_reverse_api.c zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities) zv 77 ext/mysqlnd/mysqlnd_reverse_api.c retval = elem->conversion_cb(zv); zv 90 ext/mysqlnd/mysqlnd_reverse_api.c retval = api->conversion_cb(zv); zv 27 ext/mysqlnd/mysqlnd_reverse_api.h MYSQLND *(*conversion_cb)(zval * zv); zv 37 ext/mysqlnd/mysqlnd_reverse_api.h PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities); zv 127 ext/oci8/oci8.c static int php_oci_persistent_helper(zval *zv); zv 2820 ext/oci8/oci8.c static int php_oci_persistent_helper(zval *zv) zv 2822 ext/oci8/oci8.c zend_resource *le = Z_RES_P(zv); zv 1289 ext/opcache/Optimizer/block_pass.c zval zv = ZEND_OP1_LITERAL(last_op); zv 1290 ext/opcache/Optimizer/block_pass.c zval_copy_ctor(&zv); zv 1291 ext/opcache/Optimizer/block_pass.c last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv); zv 1315 ext/opcache/Optimizer/block_pass.c zval zv = ZEND_OP1_LITERAL(last_op); zv 1316 ext/opcache/Optimizer/block_pass.c zval_copy_ctor(&zv); zv 1317 ext/opcache/Optimizer/block_pass.c last_op->op1.constant = zend_optimizer_add_literal(op_array, &zv); zv 121 ext/opcache/Optimizer/compact_literals.c zval zv, *pos; zv 325 ext/opcache/Optimizer/compact_literals.c zval zv; zv 326 ext/opcache/Optimizer/compact_literals.c ZVAL_COPY_VALUE(&zv, op_array->literals + i); zv 327 ext/opcache/Optimizer/compact_literals.c use_copy = zend_make_printable_zval(op_array->literals + i, &zv); zv 328 ext/opcache/Optimizer/compact_literals.c fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv)); zv 330 ext/opcache/Optimizer/compact_literals.c zval_dtor(&zv); zv 398 ext/opcache/Optimizer/compact_literals.c ZVAL_LONG(&zv, j); zv 399 ext/opcache/Optimizer/compact_literals.c zend_hash_index_add_new(&hash, Z_LVAL(op_array->literals[i]), &zv); zv 412 ext/opcache/Optimizer/compact_literals.c ZVAL_LONG(&zv, j); zv 413 ext/opcache/Optimizer/compact_literals.c zend_hash_str_add(&hash, (char*)&Z_DVAL(op_array->literals[i]), sizeof(double), &zv); zv 461 ext/opcache/Optimizer/compact_literals.c ZVAL_LONG(&zv, j); zv 462 ext/opcache/Optimizer/compact_literals.c zend_hash_add_new(&hash, key, &zv); zv 518 ext/opcache/Optimizer/compact_literals.c zval zv; zv 519 ext/opcache/Optimizer/compact_literals.c ZVAL_COPY_VALUE(&zv, op_array->literals + i); zv 520 ext/opcache/Optimizer/compact_literals.c use_copy = zend_make_printable_zval(op_array->literals + i, &zv); zv 521 ext/opcache/Optimizer/compact_literals.c fprintf(stderr, "Literal %d, val (%d):%s\n", i, Z_STRLEN(zv), Z_STRVAL(zv)); zv 523 ext/opcache/Optimizer/compact_literals.c zval_dtor(&zv); zv 103 ext/opcache/Optimizer/zend_optimizer.c int zend_optimizer_add_literal(zend_op_array *op_array, zval *zv) zv 108 ext/opcache/Optimizer/zend_optimizer.c ZVAL_COPY_VALUE(&op_array->literals[i], zv); zv 114 ext/opcache/Optimizer/zend_optimizer.c zval zv; zv 115 ext/opcache/Optimizer/zend_optimizer.c ZVAL_STR(&zv, str); zv 117 ext/opcache/Optimizer/zend_optimizer.c return zend_optimizer_add_literal(op_array, &zv); zv 106 ext/opcache/Optimizer/zend_optimizer_internal.h #define literal_dtor(zv) do { \ zv 107 ext/opcache/Optimizer/zend_optimizer_internal.h zval_dtor(zv); \ zv 108 ext/opcache/Optimizer/zend_optimizer_internal.h ZVAL_NULL(zv); \ zv 116 ext/opcache/Optimizer/zend_optimizer_internal.h int zend_optimizer_add_literal(zend_op_array *op_array, zval *zv); zv 2242 ext/opcache/ZendAccelerator.c zval *zv = &ce->static_members_table[i]; zv 2244 ext/opcache/ZendAccelerator.c if (Z_REFCOUNTED_P(zv) && Z_DELREF_P(zv) == 0) { zv 2245 ext/opcache/ZendAccelerator.c accel_fast_zval_dtor(zv); zv 2474 ext/opcache/ZendAccelerator.c static void accel_globals_internal_func_dtor(zval *zv) zv 2476 ext/opcache/ZendAccelerator.c free(Z_PTR_P(zv)); zv 349 ext/opcache/ZendAccelerator.h # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv) zv 353 ext/opcache/ZendAccelerator.h # define ZEND_OP2_CONST(opline) (*(opline)->op2.zv) zv 45 ext/opcache/zend_accelerator_util_funcs.c static void zend_accel_destroy_zend_function(zval *zv) zv 47 ext/opcache/zend_accelerator_util_funcs.c zend_function *function = Z_PTR_P(zv); zv 63 ext/opcache/zend_accelerator_util_funcs.c static void zend_accel_destroy_zend_class(zval *zv) zv 65 ext/opcache/zend_accelerator_util_funcs.c zend_class_entry *ce = Z_PTR_P(zv); zv 67 ext/opcache/zend_accelerator_util_funcs.c destroy_zend_class(zv); zv 105 ext/opcache/zend_accelerator_util_funcs.c static int is_not_internal_function(zval *zv) zv 107 ext/opcache/zend_accelerator_util_funcs.c zend_function *function = Z_PTR_P(zv); zv 140 ext/opcache/zend_accelerator_util_funcs.c static int copy_internal_function(zval *zv, HashTable *function_table) zv 142 ext/opcache/zend_accelerator_util_funcs.c zend_internal_function *function = Z_PTR_P(zv); zv 178 ext/opcache/zend_file_cache.c typedef void (*serialize_callback_t)(zval *zv, zv 183 ext/opcache/zend_file_cache.c typedef void (*unserialize_callback_t)(zval *zv, zv 187 ext/opcache/zend_file_cache.c static void zend_file_cache_serialize_zval(zval *zv, zv 191 ext/opcache/zend_file_cache.c static void zend_file_cache_unserialize_zval(zval *zv, zv 301 ext/opcache/zend_file_cache.c static void zend_file_cache_serialize_zval(zval *zv, zv 306 ext/opcache/zend_file_cache.c switch (Z_TYPE_P(zv)) { zv 309 ext/opcache/zend_file_cache.c if (!IS_SERIALIZED(Z_STR_P(zv))) { zv 310 ext/opcache/zend_file_cache.c SERIALIZE_STR(Z_STR_P(zv)); zv 314 ext/opcache/zend_file_cache.c if (!IS_SERIALIZED(Z_ARR_P(zv))) { zv 317 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_ARR_P(zv)); zv 318 ext/opcache/zend_file_cache.c ht = Z_ARR_P(zv); zv 324 ext/opcache/zend_file_cache.c if (!IS_SERIALIZED(Z_REF_P(zv))) { zv 327 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_REF_P(zv)); zv 328 ext/opcache/zend_file_cache.c ref = Z_REF_P(zv); zv 334 ext/opcache/zend_file_cache.c if (!IS_SERIALIZED(Z_AST_P(zv))) { zv 337 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_AST_P(zv)); zv 338 ext/opcache/zend_file_cache.c ast = Z_AST_P(zv); zv 386 ext/opcache/zend_file_cache.c SERIALIZE_PTR(opline->op1.zv); zv 389 ext/opcache/zend_file_cache.c SERIALIZE_PTR(opline->op2.zv); zv 475 ext/opcache/zend_file_cache.c static void zend_file_cache_serialize_func(zval *zv, zv 482 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_PTR_P(zv)); zv 483 ext/opcache/zend_file_cache.c op_array = Z_PTR_P(zv); zv 488 ext/opcache/zend_file_cache.c static void zend_file_cache_serialize_prop_info(zval *zv, zv 493 ext/opcache/zend_file_cache.c if (!IS_SERIALIZED(Z_PTR_P(zv))) { zv 496 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_PTR_P(zv)); zv 497 ext/opcache/zend_file_cache.c prop = Z_PTR_P(zv); zv 512 ext/opcache/zend_file_cache.c static void zend_file_cache_serialize_class(zval *zv, zv 519 ext/opcache/zend_file_cache.c SERIALIZE_PTR(Z_PTR_P(zv)); zv 520 ext/opcache/zend_file_cache.c ce = Z_PTR_P(zv); zv 863 ext/opcache/zend_file_cache.c static void zend_file_cache_unserialize_zval(zval *zv, zv 867 ext/opcache/zend_file_cache.c switch (Z_TYPE_P(zv)) { zv 870 ext/opcache/zend_file_cache.c if (!IS_UNSERIALIZED(Z_STR_P(zv))) { zv 871 ext/opcache/zend_file_cache.c UNSERIALIZE_STR(Z_STR_P(zv)); zv 875 ext/opcache/zend_file_cache.c if (!IS_UNSERIALIZED(Z_ARR_P(zv))) { zv 878 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_ARR_P(zv)); zv 879 ext/opcache/zend_file_cache.c ht = Z_ARR_P(zv); zv 885 ext/opcache/zend_file_cache.c if (!IS_UNSERIALIZED(Z_REF_P(zv))) { zv 888 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_REF_P(zv)); zv 889 ext/opcache/zend_file_cache.c ref = Z_REF_P(zv); zv 894 ext/opcache/zend_file_cache.c if (!IS_UNSERIALIZED(Z_AST_P(zv))) { zv 897 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_AST_P(zv)); zv 898 ext/opcache/zend_file_cache.c ast = Z_AST_P(zv); zv 941 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(opline->op1.zv); zv 944 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(opline->op2.zv); zv 1026 ext/opcache/zend_file_cache.c static void zend_file_cache_unserialize_func(zval *zv, zv 1032 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_PTR_P(zv)); zv 1033 ext/opcache/zend_file_cache.c op_array = Z_PTR_P(zv); zv 1037 ext/opcache/zend_file_cache.c static void zend_file_cache_unserialize_prop_info(zval *zv, zv 1041 ext/opcache/zend_file_cache.c if (!IS_UNSERIALIZED(Z_PTR_P(zv))) { zv 1044 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_PTR_P(zv)); zv 1045 ext/opcache/zend_file_cache.c prop = Z_PTR_P(zv); zv 1059 ext/opcache/zend_file_cache.c static void zend_file_cache_unserialize_class(zval *zv, zv 1065 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(Z_PTR_P(zv)); zv 1066 ext/opcache/zend_file_cache.c ce = Z_PTR_P(zv); zv 521 ext/opcache/zend_persist.c opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals)); zv 524 ext/opcache/zend_persist.c opline->op2.zv = (zval*)((char*)opline->op2.zv + ((char*)op_array->literals - (char*)orig_literals)); zv 674 ext/opcache/zend_persist.c static void zend_persist_op_array(zval *zv) zv 676 ext/opcache/zend_persist.c zend_op_array *op_array = Z_PTR_P(zv); zv 679 ext/opcache/zend_persist.c Z_PTR_P(zv) = old_op_array; zv 685 ext/opcache/zend_persist.c memcpy(ZCG(arena_mem), Z_PTR_P(zv), sizeof(zend_op_array)); zv 686 ext/opcache/zend_persist.c zend_shared_alloc_register_xlat_entry(Z_PTR_P(zv), ZCG(arena_mem)); zv 687 ext/opcache/zend_persist.c Z_PTR_P(zv) = ZCG(arena_mem); zv 689 ext/opcache/zend_persist.c zend_persist_op_array_ex(Z_PTR_P(zv), NULL); zv 692 ext/opcache/zend_persist.c static void zend_persist_property_info(zval *zv) zv 694 ext/opcache/zend_persist.c zend_property_info *prop = zend_shared_alloc_get_xlat_entry(Z_PTR_P(zv)); zv 697 ext/opcache/zend_persist.c Z_PTR_P(zv) = prop; zv 700 ext/opcache/zend_persist.c memcpy(ZCG(arena_mem), Z_PTR_P(zv), sizeof(zend_property_info)); zv 701 ext/opcache/zend_persist.c zend_shared_alloc_register_xlat_entry(Z_PTR_P(zv), ZCG(arena_mem)); zv 702 ext/opcache/zend_persist.c prop = Z_PTR_P(zv) = ZCG(arena_mem); zv 719 ext/opcache/zend_persist.c static void zend_persist_class_entry(zval *zv) zv 721 ext/opcache/zend_persist.c zend_class_entry *ce = Z_PTR_P(zv); zv 724 ext/opcache/zend_persist.c memcpy(ZCG(arena_mem), Z_PTR_P(zv), sizeof(zend_class_entry)); zv 725 ext/opcache/zend_persist.c zend_shared_alloc_register_xlat_entry(Z_PTR_P(zv), ZCG(arena_mem)); zv 726 ext/opcache/zend_persist.c ce = Z_PTR_P(zv) = ZCG(arena_mem); zv 840 ext/opcache/zend_persist.c static int zend_update_parent_ce(zval *zv) zv 842 ext/opcache/zend_persist.c zend_class_entry *ce = Z_PTR_P(zv); zv 263 ext/opcache/zend_persist_calc.c static void zend_persist_op_array_calc(zval *zv) zv 265 ext/opcache/zend_persist_calc.c zend_op_array *op_array = Z_PTR_P(zv); zv 271 ext/opcache/zend_persist_calc.c Z_PTR_P(zv) = old_op_array; zv 274 ext/opcache/zend_persist_calc.c zend_persist_op_array_calc_ex(Z_PTR_P(zv)); zv 275 ext/opcache/zend_persist_calc.c zend_shared_alloc_register_xlat_entry(op_array, Z_PTR_P(zv)); zv 279 ext/opcache/zend_persist_calc.c zend_persist_op_array_calc_ex(Z_PTR_P(zv)); zv 283 ext/opcache/zend_persist_calc.c static void zend_persist_property_info_calc(zval *zv) zv 285 ext/opcache/zend_persist_calc.c zend_property_info *prop = Z_PTR_P(zv); zv 297 ext/opcache/zend_persist_calc.c static void zend_persist_class_entry_calc(zval *zv) zv 299 ext/opcache/zend_persist_calc.c zend_class_entry *ce = Z_PTR_P(zv); zv 1253 ext/openssl/xp_ssl.c zval *zv; zv 1272 ext/openssl/xp_ssl.c zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "single_dh_use"); zv 1273 ext/openssl/xp_ssl.c if (zv != NULL && zend_is_true(zv)) { zv 1278 ext/openssl/xp_ssl.c zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "honor_cipher_order"); zv 1279 ext/openssl/xp_ssl.c if (zv != NULL && zend_is_true(zv)) { zv 1469 ext/pcre/php_pcre.c zval zv; zv 1471 ext/pcre/php_pcre.c ZVAL_STR(&zv, result); zv 1473 ext/pcre/php_pcre.c zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &zv); zv 1475 ext/pcre/php_pcre.c zend_hash_index_add_new(Z_ARRVAL_P(return_value), num_key, &zv); zv 1580 ext/pcre/php_pcre.c zval regex, zv, *replace, *subject, *pattern, *zcount = NULL; zv 1601 ext/pcre/php_pcre.c ZVAL_UNDEF(&zv); zv 1622 ext/pcre/php_pcre.c replace_count += preg_replace_impl(&zv, ®ex, replace, subject, limit, 1, 0); zv 1624 ext/pcre/php_pcre.c replace_count += preg_replace_impl(&zv, ®ex, replace, return_value, limit, 1, 0); zv 1630 ext/pcre/php_pcre.c if (Z_ISUNDEF(zv)) { zv 1634 ext/pcre/php_pcre.c ZVAL_COPY_VALUE(return_value, &zv); zv 523 ext/pdo/php_pdo_driver.h #define Z_PDO_DBH_P(zv) php_pdo_dbh_fetch_inner(Z_OBJ_P((zv))) zv 524 ext/pdo/php_pdo_driver.h #define Z_PDO_OBJECT_P(zv) php_pdo_dbh_fetch_object(Z_OBJ_P((zv))) zv 650 ext/pdo/php_pdo_driver.h #define Z_PDO_STMT_P(zv) php_pdo_stmt_fetch_object(Z_OBJ_P((zv))) zv 37 ext/pdo_mysql/mysql_statement.c # define pdo_free_bound_result(res) zval_dtor(res.zv) zv 747 ext/pdo_mysql/mysql_statement.c Z_TRY_ADDREF(S->stmt->data->result_bind[colno].zv); zv 748 ext/pdo_mysql/mysql_statement.c *ptr = (char*)&S->stmt->data->result_bind[colno].zv; zv 65 ext/pdo_mysql/pdo_mysql.c static MYSQLND * pdo_mysql_convert_zv_to_mysqlnd(zval * zv) zv 67 ext/pdo_mysql/pdo_mysql.c if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce())) { zv 68 ext/pdo_mysql/pdo_mysql.c pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); zv 27 ext/phar/phar.c static void destroy_phar_data(zval *zv); zv 35 ext/phar/phar.c static int phar_set_writeable_bit(zval *zv, void *argument) /* {{{ */ zv 38 ext/phar/phar.c phar_archive_data *phar = (phar_archive_data *)Z_PTR_P(zv); zv 312 ext/phar/phar.c static void destroy_phar_data_only(zval *zv) /* {{{ */ zv 314 ext/phar/phar.c phar_archive_data *phar_data = (phar_archive_data *) Z_PTR_P(zv); zv 325 ext/phar/phar.c static int phar_unalias_apply(zval *zv, void *argument) /* {{{ */ zv 327 ext/phar/phar.c return Z_PTR_P(zv) == argument ? ZEND_HASH_APPLY_REMOVE : ZEND_HASH_APPLY_KEEP; zv 334 ext/phar/phar.c static int phar_tmpclose_apply(zval *zv) /* {{{ */ zv 336 ext/phar/phar.c phar_entry_info *entry = (phar_entry_info *) Z_PTR_P(zv); zv 354 ext/phar/phar.c static void destroy_phar_data(zval *zv) /* {{{ */ zv 356 ext/phar/phar.c phar_archive_data *phar_data = (phar_archive_data *)Z_PTR_P(zv); zv 362 ext/phar/phar.c destroy_phar_data_only(zv); zv 424 ext/phar/phar.c void destroy_phar_manifest_entry(zval *zv) /* {{{ */ zv 426 ext/phar/phar.c phar_entry_info *entry = Z_PTR_P(zv); zv 2436 ext/phar/phar.c static int phar_flush_clean_deleted_apply(zval *zv) /* {{{ */ zv 2438 ext/phar/phar.c phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv); zv 3343 ext/phar/phar.c static void mime_type_dtor(zval *zv) zv 3345 ext/phar/phar.c free(Z_PTR_P(zv)); zv 570 ext/phar/phar_internal.h void destroy_phar_manifest_entry(zval *zv); zv 3098 ext/phar/phar_object.c static int phar_set_compression(zval *zv, void *argument) /* {{{ */ zv 3100 ext/phar/phar_object.c phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv); zv 3115 ext/phar/phar_object.c static int phar_test_compression(zval *zv, void *argument) /* {{{ */ zv 3117 ext/phar/phar_object.c phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv); zv 846 ext/phar/tar.c static int phar_tar_writeheaders(zval *zv, void *argument) /* {{{ */ zv 848 ext/phar/tar.c return phar_tar_writeheaders_int(Z_PTR_P(zv), argument); zv 888 ext/phar/tar.c static int phar_tar_setupmetadata(zval *zv, void *argument) /* {{{ */ zv 893 ext/phar/tar.c phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv), *metadata, newentry = {0}; zv 1972 ext/phar/util.c static void phar_manifest_copy_ctor(zval *zv) /* {{{ */ zv 1975 ext/phar/util.c memcpy(info, Z_PTR_P(zv), sizeof(phar_entry_info)); zv 1976 ext/phar/util.c Z_PTR_P(zv) = info; zv 2036 ext/phar/util.c zval zv, *pzv; zv 2039 ext/phar/util.c ZVAL_PTR(&zv, *pphar); zv 2040 ext/phar/util.c if (NULL == (pzv = zend_hash_str_add(&(PHAR_G(phar_fname_map)), (*pphar)->fname, (*pphar)->fname_len, &zv))) { zv 1098 ext/phar/zip.c static int phar_zip_changed_apply(zval *zv, void *arg) /* {{{ */ zv 1100 ext/phar/zip.c return phar_zip_changed_apply_int(Z_PTR_P(zv), arg); zv 236 ext/reflection/php_reflection.c #define Z_REFLECTION_P(zv) reflection_object_from_obj(Z_OBJ_P((zv))) zv 691 ext/reflection/php_reflection.c zval zv; zv 695 ext/reflection/php_reflection.c ZVAL_DUP(&zv, RT_CONSTANT(&fptr->op_array, precv->op2)); zv 698 ext/reflection/php_reflection.c zval_update_constant_ex(&zv, 1, NULL); zv 700 ext/reflection/php_reflection.c if (Z_TYPE(zv) == IS_TRUE) { zv 702 ext/reflection/php_reflection.c } else if (Z_TYPE(zv) == IS_FALSE) { zv 704 ext/reflection/php_reflection.c } else if (Z_TYPE(zv) == IS_NULL) { zv 706 ext/reflection/php_reflection.c } else if (Z_TYPE(zv) == IS_STRING) { zv 708 ext/reflection/php_reflection.c string_write(str, Z_STRVAL(zv), MIN(Z_STRLEN(zv), 15)); zv 709 ext/reflection/php_reflection.c if (Z_STRLEN(zv) > 15) { zv 713 ext/reflection/php_reflection.c } else if (Z_TYPE(zv) == IS_ARRAY) { zv 716 ext/reflection/php_reflection.c zend_string *zv_str = zval_get_string(&zv); zv 720 ext/reflection/php_reflection.c zval_ptr_dtor(&zv); zv 5688 ext/reflection/php_reflection.c zval zv; zv 5690 ext/reflection/php_reflection.c ZVAL_STR_COPY(&zv, ini_entry->value); zv 5691 ext/reflection/php_reflection.c zend_symtable_update(Z_ARRVAL_P(retval), ini_entry->name, &zv); zv 5718 ext/reflection/php_reflection.c static int add_extension_class(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) zv 5720 ext/reflection/php_reflection.c zend_class_entry *ce = Z_PTR_P(zv); zv 979 ext/session/session.c zval *zv = php_set_session_var(name, ¤t, &var_hash ); zv 980 ext/session/session.c var_replace(&var_hash, ¤t, zv); zv 1072 ext/session/session.c zval *zv = php_set_session_var(name, ¤t, &var_hash); zv 1073 ext/session/session.c var_replace(&var_hash, ¤t, zv); zv 49 ext/simplexml/php_simplexml_exports.h #define Z_SXEOBJ_P(zv) php_sxe_fetch_object(Z_OBJ_P((zv))) zv 1498 ext/simplexml/simplexml.c zval zv; zv 1501 ext/simplexml/simplexml.c ZVAL_STRING(&zv, (char*)ns->href); zv 1502 ext/simplexml/simplexml.c zend_hash_add_new(Z_ARRVAL_P(return_value), key, &zv); zv 105 ext/snmp/php_snmp.h #define Z_SNMP_P(zv) php_snmp_fetch_object(Z_OBJ_P((zv))) zv 3629 ext/soap/php_encoding.c void delete_encoder(zval *zv) zv 3631 ext/soap/php_encoding.c encodePtr t = Z_PTR_P(zv); zv 3644 ext/soap/php_encoding.c void delete_encoder_persistent(zval *zv) zv 3646 ext/soap/php_encoding.c encodePtr t = Z_PTR_P(zv); zv 210 ext/soap/php_encoding.h void delete_encoder(zval *zv); zv 211 ext/soap/php_encoding.h void delete_encoder_persistent(zval *zv); zv 196 ext/soap/php_packet_soap.c zval zv; zv 197 ext/soap/php_packet_soap.c master_to_zval(&zv, get_conversion(IS_STRING), tmp); zv 198 ext/soap/php_packet_soap.c faultstring = Z_STR(zv); zv 203 ext/soap/php_packet_soap.c zval zv; zv 204 ext/soap/php_packet_soap.c master_to_zval(&zv, get_conversion(IS_STRING), tmp); zv 205 ext/soap/php_packet_soap.c faultactor = Z_STR(zv); zv 226 ext/soap/php_packet_soap.c zval zv; zv 227 ext/soap/php_packet_soap.c master_to_zval(&zv, get_conversion(IS_STRING), tmp); zv 228 ext/soap/php_packet_soap.c faultstring = Z_STR(zv); zv 1919 ext/soap/php_schema.c zval zv; zv 1940 ext/soap/php_schema.c ZVAL_PTR(&zv, dummy_type); zv 1941 ext/soap/php_schema.c delete_type(&zv); zv 2053 ext/soap/php_schema.c static void copy_extra_attribute(zval *zv) zv 2058 ext/soap/php_schema.c memcpy(new_attr, Z_PTR_P(zv), sizeof(sdlExtraAttribute)); zv 2059 ext/soap/php_schema.c Z_PTR_P(zv) = new_attr; zv 2322 ext/soap/php_schema.c void delete_model(zval *zv) zv 2324 ext/soap/php_schema.c sdlContentModelPtr tmp = Z_PTR_P(zv); zv 2365 ext/soap/php_schema.c void delete_model_persistent(zval *zv) zv 2367 ext/soap/php_schema.c delete_model_persistent_int(Z_PTR_P(zv)); zv 2370 ext/soap/php_schema.c void delete_type(zval *zv) zv 2372 ext/soap/php_schema.c sdlTypePtr type = Z_PTR_P(zv); zv 2395 ext/soap/php_schema.c zval zv; zv 2396 ext/soap/php_schema.c ZVAL_PTR(&zv, type->model); zv 2397 ext/soap/php_schema.c delete_model(&zv); zv 2420 ext/soap/php_schema.c void delete_type_persistent(zval *zv) zv 2422 ext/soap/php_schema.c sdlTypePtr type = Z_PTR_P(zv); zv 2467 ext/soap/php_schema.c void delete_extra_attribute(zval *zv) zv 2469 ext/soap/php_schema.c sdlExtraAttributePtr attr = Z_PTR_P(zv); zv 2480 ext/soap/php_schema.c void delete_extra_attribute_persistent(zval *zv) zv 2482 ext/soap/php_schema.c sdlExtraAttributePtr attr = Z_PTR_P(zv); zv 2493 ext/soap/php_schema.c void delete_attribute(zval *zv) zv 2495 ext/soap/php_schema.c sdlAttributePtr attr = Z_PTR_P(zv); zv 2519 ext/soap/php_schema.c void delete_attribute_persistent(zval *zv) zv 2521 ext/soap/php_schema.c sdlAttributePtr attr = Z_PTR_P(zv); zv 2569 ext/soap/php_schema.c void delete_restriction_var_char(zval *zv) zv 2571 ext/soap/php_schema.c delete_restriction_var_char_int(Z_PTR_P(zv)); zv 2584 ext/soap/php_schema.c void delete_restriction_var_char_persistent(zval *zv) zv 2586 ext/soap/php_schema.c delete_restriction_var_char_persistent_int(Z_PTR_P(zv)); zv 28 ext/soap/php_schema.h void delete_model(zval *zv); zv 29 ext/soap/php_schema.h void delete_model_persistent(zval *zv); zv 30 ext/soap/php_schema.h void delete_type(zval *zv); zv 31 ext/soap/php_schema.h void delete_type_persistent(zval *zv); zv 32 ext/soap/php_schema.h void delete_extra_attribute(zval *zv); zv 33 ext/soap/php_schema.h void delete_extra_attribute_persistent(zval *zv); zv 34 ext/soap/php_schema.h void delete_attribute(zval *zv); zv 35 ext/soap/php_schema.h void delete_attribute_persistent(zval *zv); zv 38 ext/soap/php_schema.h void delete_restriction_var_char(zval *zv); zv 40 ext/soap/php_schema.h void delete_restriction_var_char_persistent(zval *zv); zv 37 ext/soap/php_sdl.c static void delete_fault(zval *zv); zv 38 ext/soap/php_sdl.c static void delete_fault_persistent(zval *zv); zv 39 ext/soap/php_sdl.c static void delete_binding(zval *zv); zv 40 ext/soap/php_sdl.c static void delete_binding_persistent(zval *zv); zv 41 ext/soap/php_sdl.c static void delete_function(zval *zv); zv 42 ext/soap/php_sdl.c static void delete_function_persistent(zval *zv); zv 43 ext/soap/php_sdl.c static void delete_parameter(zval *zv); zv 44 ext/soap/php_sdl.c static void delete_parameter_persistent(zval *zv); zv 47 ext/soap/php_sdl.c static void delete_header_persistent(zval *zv); zv 48 ext/soap/php_sdl.c static void delete_document(zval *zv); zv 1970 ext/soap/php_sdl.c zval zv; zv 1978 ext/soap/php_sdl.c ZVAL_LONG(&zv, i); zv 1979 ext/soap/php_sdl.c zend_hash_str_add(tmp_elements, (char*)&tmp, sizeof(tmp), &zv); zv 2141 ext/soap/php_sdl.c zval zv; zv 2144 ext/soap/php_sdl.c ZVAL_LONG(&zv, type_num); zv 2145 ext/soap/php_sdl.c zend_hash_str_add(&tmp_types, (char*)&tmp, sizeof(tmp), &zv); zv 2158 ext/soap/php_sdl.c zval zv; zv 2161 ext/soap/php_sdl.c ZVAL_LONG(&zv, type_num); zv 2162 ext/soap/php_sdl.c zend_hash_str_add(&tmp_types, (char*)&tmp, sizeof(tmp), &zv); zv 2175 ext/soap/php_sdl.c zval zv; zv 2178 ext/soap/php_sdl.c ZVAL_LONG(&zv, type_num); zv 2179 ext/soap/php_sdl.c zend_hash_str_add(&tmp_types, (char*)&tmp, sizeof(tmp), &zv); zv 2192 ext/soap/php_sdl.c zval zv; zv 2195 ext/soap/php_sdl.c ZVAL_LONG(&zv, encoder_num); zv 2196 ext/soap/php_sdl.c zend_hash_str_add(&tmp_encoders, (char*)&tmp, sizeof(tmp), &zv); zv 2202 ext/soap/php_sdl.c zval zv; zv 2204 ext/soap/php_sdl.c ZVAL_LONG(&zv, encoder_num); zv 2205 ext/soap/php_sdl.c zend_hash_str_add(&tmp_encoders, (char*)&enc, sizeof(encodePtr), &zv); zv 2260 ext/soap/php_sdl.c zval zv; zv 2276 ext/soap/php_sdl.c ZVAL_LONG(&zv, binding_num); zv 2277 ext/soap/php_sdl.c zend_hash_str_add(&tmp_bindings, (char*)&tmp, sizeof(tmp), &zv); zv 2287 ext/soap/php_sdl.c zval *binding_num, zv; zv 2342 ext/soap/php_sdl.c ZVAL_LONG(&zv, function_num); zv 2343 ext/soap/php_sdl.c zend_hash_str_add(&tmp_functions, (char*)&tmp, sizeof(tmp), &zv); zv 2400 ext/soap/php_sdl.c static void make_persistent_restriction_char(zval *zv) zv 2402 ext/soap/php_sdl.c make_persistent_restriction_char_int((sdlRestrictionCharPtr*)&Z_PTR_P(zv)); zv 3078 ext/soap/php_sdl.c zval *zv; zv 3085 ext/soap/php_sdl.c ZEND_HASH_FOREACH_STR_KEY_VAL(sdl->requests, key, zv) { zv 3086 ext/soap/php_sdl.c tmp = Z_PTR_P(zv); zv 3090 ext/soap/php_sdl.c Z_PTR_P(zv) = preq; zv 3148 ext/soap/php_sdl.c static void delete_psdl(zval *zv) zv 3150 ext/soap/php_sdl.c delete_psdl_int(Z_PTR_P(zv)); zv 3151 ext/soap/php_sdl.c free(Z_PTR_P(zv)); zv 3422 ext/soap/php_sdl.c static void delete_binding(zval *zv) zv 3424 ext/soap/php_sdl.c sdlBindingPtr binding = Z_PTR_P(zv); zv 3442 ext/soap/php_sdl.c static void delete_binding_persistent(zval *zv) zv 3444 ext/soap/php_sdl.c sdlBindingPtr binding = Z_PTR_P(zv); zv 3484 ext/soap/php_sdl.c static void delete_function(zval *zv) zv 3486 ext/soap/php_sdl.c sdlFunctionPtr function = Z_PTR_P(zv); zv 3523 ext/soap/php_sdl.c static void delete_function_persistent(zval *zv) zv 3525 ext/soap/php_sdl.c sdlFunctionPtr function = Z_PTR_P(zv); zv 3562 ext/soap/php_sdl.c static void delete_parameter(zval *zv) zv 3564 ext/soap/php_sdl.c sdlParamPtr param = Z_PTR_P(zv); zv 3571 ext/soap/php_sdl.c static void delete_parameter_persistent(zval *zv) zv 3573 ext/soap/php_sdl.c sdlParamPtr param = Z_PTR_P(zv); zv 3595 ext/soap/php_sdl.c static void delete_header(zval *zv) zv 3597 ext/soap/php_sdl.c delete_header_int(Z_PTR_P(zv)); zv 3600 ext/soap/php_sdl.c static void delete_header_persistent(zval *zv) zv 3602 ext/soap/php_sdl.c sdlSoapBindingFunctionHeaderPtr hdr = Z_PTR_P(zv); zv 3616 ext/soap/php_sdl.c static void delete_fault(zval *zv) zv 3618 ext/soap/php_sdl.c sdlFaultPtr fault = Z_PTR_P(zv); zv 3637 ext/soap/php_sdl.c static void delete_fault_persistent(zval *zv) zv 3639 ext/soap/php_sdl.c sdlFaultPtr fault = Z_PTR_P(zv); zv 3658 ext/soap/php_sdl.c static void delete_document(zval *zv) zv 3660 ext/soap/php_sdl.c xmlDocPtr doc = Z_PTR_P(zv); zv 489 ext/sockets/conversions.c void to_zval_read_int(const char *data, zval *zv, res_context *ctx) zv 494 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 496 ext/sockets/conversions.c static void to_zval_read_unsigned(const char *data, zval *zv, res_context *ctx) zv 501 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 503 ext/sockets/conversions.c static void to_zval_read_net_uint16(const char *data, zval *zv, res_context *ctx) zv 508 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ntohs(ival)); zv 510 ext/sockets/conversions.c static void to_zval_read_uint32(const char *data, zval *zv, res_context *ctx) zv 515 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 517 ext/sockets/conversions.c static void to_zval_read_sa_family(const char *data, zval *zv, res_context *ctx) zv 522 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 524 ext/sockets/conversions.c static void to_zval_read_pid_t(const char *data, zval *zv, res_context *ctx) zv 529 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 531 ext/sockets/conversions.c static void to_zval_read_uid_t(const char *data, zval *zv, res_context *ctx) zv 536 ext/sockets/conversions.c ZVAL_LONG(zv, (zend_long)ival); zv 558 ext/sockets/conversions.c static void to_zval_read_sin_addr(const char *data, zval *zv, res_context *ctx) zv 565 ext/sockets/conversions.c ZVAL_NEW_STR(zv, str); zv 567 ext/sockets/conversions.c if (inet_ntop(AF_INET, addr, Z_STRVAL_P(zv), size) == NULL) { zv 573 ext/sockets/conversions.c Z_STRLEN_P(zv) = strlen(Z_STRVAL_P(zv)); zv 585 ext/sockets/conversions.c static void to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) zv 587 ext/sockets/conversions.c to_zval_read_aggregation(data, zv, descriptors_sockaddr_in, ctx); zv 608 ext/sockets/conversions.c static void to_zval_read_sin6_addr(const char *data, zval *zv, res_context *ctx) zv 616 ext/sockets/conversions.c ZVAL_NEW_STR(zv, str); zv 618 ext/sockets/conversions.c if (inet_ntop(AF_INET6, addr, Z_STRVAL_P(zv), size) == NULL) { zv 624 ext/sockets/conversions.c Z_STRLEN_P(zv) = strlen(Z_STRVAL_P(zv)); zv 638 ext/sockets/conversions.c static void to_zval_read_sockaddr_in6(const char *data, zval *zv, res_context *ctx) zv 640 ext/sockets/conversions.c to_zval_read_aggregation(data, zv, descriptors_sockaddr_in6, ctx); zv 668 ext/sockets/conversions.c static void to_zval_read_sun_path(const char *data, zval *zv, res_context *ctx) { zv 678 ext/sockets/conversions.c ZVAL_STRINGL(zv, saddr->sun_path, nul_pos - (char*)&saddr->sun_path); zv 689 ext/sockets/conversions.c static void to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) zv 691 ext/sockets/conversions.c to_zval_read_aggregation(data, zv, descriptors_sockaddr_un, ctx); zv 783 ext/sockets/conversions.c static void to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) zv 788 ext/sockets/conversions.c ZVAL_NULL(zv); zv 792 ext/sockets/conversions.c array_init(zv); zv 796 ext/sockets/conversions.c to_zval_read_sockaddr_in(sockaddr_c, zv, ctx); zv 801 ext/sockets/conversions.c to_zval_read_sockaddr_in6(sockaddr_c, zv, ctx); zv 806 ext/sockets/conversions.c to_zval_read_sockaddr_un(sockaddr_c, zv, ctx); zv 953 ext/sockets/conversions.c static void to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) zv 980 ext/sockets/conversions.c entry->to_array((const char *)CMSG_DATA(cmsg), zv, ctx); zv 984 ext/sockets/conversions.c static void to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) zv 994 ext/sockets/conversions.c array_init_size(zv, 3); zv 995 ext/sockets/conversions.c to_zval_read_aggregation(cmsghdr_c, zv, descriptors, ctx); zv 997 ext/sockets/conversions.c static void to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) zv 1012 ext/sockets/conversions.c array_init(zv); zv 1020 ext/sockets/conversions.c elem = zend_hash_next_index_insert(Z_ARRVAL_P(zv), &tmp); zv 1045 ext/sockets/conversions.c static void to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) zv 1049 ext/sockets/conversions.c ZVAL_NULL(zv); zv 1051 ext/sockets/conversions.c to_zval_read_sockaddr_aux(name, zv, ctx); zv 1185 ext/sockets/conversions.c static void to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) zv 1197 ext/sockets/conversions.c array_init_size(zv, (uint)iovlen); zv 1214 ext/sockets/conversions.c add_next_index_zval(zv, &elem); zv 1218 ext/sockets/conversions.c void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) zv 1228 ext/sockets/conversions.c array_init_size(zv, 4); zv 1230 ext/sockets/conversions.c to_zval_read_aggregation(msghdr_c, zv, descriptors, ctx); zv 1234 ext/sockets/conversions.c static void from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx) zv 1238 ext/sockets/conversions.c if (Z_TYPE_P(zv) == IS_LONG) { zv 1239 ext/sockets/conversions.c if (Z_LVAL_P(zv) < 0 || Z_LVAL_P(zv) > UINT_MAX) { /* allow 0 (unspecified interface) */ zv 1241 ext/sockets/conversions.c "larger than %u; given %pd", UINT_MAX, Z_LVAL_P(zv)); zv 1243 ext/sockets/conversions.c ret = (unsigned)Z_LVAL_P(zv); zv 1248 ext/sockets/conversions.c str = zval_get_string((zval *) zv); zv 1299 ext/sockets/conversions.c void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx) zv 1301 ext/sockets/conversions.c array_init_size(zv, 2); zv 1303 ext/sockets/conversions.c to_zval_read_aggregation(data, zv, descriptors_in6_pktinfo, ctx); zv 1320 ext/sockets/conversions.c void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx) zv 1322 ext/sockets/conversions.c array_init_size(zv, 3); zv 1324 ext/sockets/conversions.c to_zval_read_aggregation(data, zv, descriptors_ucred, ctx); zv 1385 ext/sockets/conversions.c void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx) zv 1408 ext/sockets/conversions.c array_init_size(zv, num_elems); zv 1431 ext/sockets/conversions.c add_next_index_zval(zv, &elem); zv 1490 ext/sockets/conversions.c struct err_s *err, zval *zv) zv 1508 ext/sockets/conversions.c ZVAL_NULL(zv); zv 1510 ext/sockets/conversions.c reader(structure, zv, &ctx); zv 1513 ext/sockets/conversions.c zval_ptr_dtor(zv); zv 1514 ext/sockets/conversions.c ZVAL_UNDEF(zv); zv 1521 ext/sockets/conversions.c return Z_ISUNDEF_P(zv)? NULL : zv; zv 36 ext/sockets/conversions.h typedef void (to_zval_read_field)(const char *data, zval *zv, res_context *ctx); zv 47 ext/sockets/conversions.h void to_zval_read_int(const char *data, zval *zv, res_context *ctx); zv 51 ext/sockets/conversions.h void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx); zv 56 ext/sockets/conversions.h void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx); zv 62 ext/sockets/conversions.h void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx); zv 67 ext/sockets/conversions.h void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx); zv 82 ext/sockets/conversions.h struct err_s *err, zval *zv); zv 397 ext/sockets/sendrecvmsg.c zval *zv = to_zval_run_conversions(buffer, reader, "in6_pktinfo", zv 403 ext/sockets/sendrecvmsg.c ZVAL_COPY_VALUE(result, zv); zv 83 ext/spl/spl_array.c #define Z_SPLARRAY_P(zv) spl_array_from_obj(Z_OBJ_P((zv))) zv 112 ext/spl/spl_directory.h #define Z_SPLFILESYSTEM_P(zv) spl_filesystem_from_obj(Z_OBJ_P((zv))) zv 114 ext/spl/spl_dllist.c #define Z_SPLDLLIST_P(zv) spl_dllist_from_obj(Z_OBJ_P((zv))) zv 81 ext/spl/spl_fixedarray.c #define Z_SPLFIXEDARRAY_P(zv) spl_fixed_array_from_obj(Z_OBJ_P((zv))) zv 90 ext/spl/spl_heap.c #define Z_SPLHEAP_P(zv) spl_heap_from_obj(Z_OBJ_P((zv))) zv 135 ext/spl/spl_iterators.c #define Z_SPLRECURSIVE_IT_P(zv) spl_recursive_it_from_obj(Z_OBJ_P((zv))) zv 174 ext/spl/spl_iterators.h #define Z_SPLDUAL_IT_P(zv) spl_dual_it_from_obj(Z_OBJ_P((zv))) zv 104 ext/spl/spl_observer.c #define Z_SPLOBJSTORAGE_P(zv) spl_object_storage_from_obj(Z_OBJ_P((zv))) zv 89 ext/sqlite3/php_sqlite3_structs.h #define Z_SQLITE3_DB_P(zv) php_sqlite3_db_from_obj(Z_OBJ_P((zv))) zv 121 ext/sqlite3/php_sqlite3_structs.h #define Z_SQLITE3_RESULT_P(zv) php_sqlite3_result_from_obj(Z_OBJ_P((zv))) zv 140 ext/sqlite3/php_sqlite3_structs.h #define Z_SQLITE3_STMT_P(zv) php_sqlite3_stmt_from_obj(Z_OBJ_P((zv))) zv 1426 ext/standard/array.c *zv; zv 1441 ext/standard/array.c while (!EG(exception) && (zv = zend_hash_get_current_data(target_hash)) != NULL) { zv 1442 ext/standard/array.c if (Z_TYPE_P(zv) == IS_INDIRECT) { zv 1443 ext/standard/array.c zv = Z_INDIRECT_P(zv); zv 1444 ext/standard/array.c if (Z_TYPE_P(zv) == IS_UNDEF) { zv 1450 ext/standard/array.c (Z_TYPE_P(zv) == IS_ARRAY || zv 1451 ext/standard/array.c (Z_ISREF_P(zv) && Z_TYPE_P(Z_REFVAL_P(zv)) == IS_ARRAY))) { zv 1456 ext/standard/array.c ZVAL_DEREF(zv); zv 1457 ext/standard/array.c SEPARATE_ARRAY(zv); zv 1458 ext/standard/array.c thash = Z_ARRVAL_P(zv); zv 1479 ext/standard/array.c int was_ref = Z_ISREF_P(zv); zv 1481 ext/standard/array.c ZVAL_COPY(&args[0], zv); zv 1492 ext/standard/array.c ZVAL_COPY_VALUE(&garbage, zv); zv 1493 ext/standard/array.c ZVAL_COPY_VALUE(zv, &args[0]); zv 5277 ext/standard/array.c zval *zv, arg; zv 5293 ext/standard/array.c ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(arrays[0]), num_key, str_key, zv) { zv 5299 ext/standard/array.c ZVAL_COPY(&arg, zv); zv 5331 ext/standard/array.c zval zv; zv 5346 ext/standard/array.c ZVAL_NULL(&zv); zv 5349 ext/standard/array.c ZVAL_COPY(&zv, &Z_ARRVAL(arrays[i])->arData[pos].val); zv 5356 ext/standard/array.c zend_hash_next_index_insert_new(Z_ARRVAL(result), &zv); zv 128 ext/standard/basic_functions.c static void user_shutdown_function_dtor(zval *zv); zv 3400 ext/standard/basic_functions.c static void php_putenv_destructor(zval *zv) /* {{{ */ zv 3402 ext/standard/basic_functions.c putenv_entry *pe = Z_PTR_P(zv); zv 4880 ext/standard/basic_functions.c void user_shutdown_function_dtor(zval *zv) /* {{{ */ zv 4883 ext/standard/basic_functions.c php_shutdown_function_entry *shutdown_function_entry = Z_PTR_P(zv); zv 4904 ext/standard/basic_functions.c static int user_shutdown_function_call(zval *zv) /* {{{ */ zv 4906 ext/standard/basic_functions.c php_shutdown_function_entry *shutdown_function_entry = Z_PTR_P(zv); zv 5263 ext/standard/basic_functions.c static int php_ini_get_option(zval *zv, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ zv 5265 ext/standard/basic_functions.c zend_ini_entry *ini_entry = Z_PTR_P(zv); zv 5300 ext/standard/basic_functions.c zval zv; zv 5302 ext/standard/basic_functions.c ZVAL_STR_COPY(&zv, ini_entry->value); zv 5303 ext/standard/basic_functions.c zend_symtable_update(Z_ARRVAL_P(ini_array), ini_entry->name, &zv); zv 417 ext/standard/formatted_print.c zval *zv; zv 430 ext/standard/formatted_print.c ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array), zv) { zv 431 ext/standard/formatted_print.c ZVAL_COPY_VALUE(&newargs[i], zv); zv 46 ext/standard/url_scanner_ex.c static void tag_dtor(zval *zv) zv 48 ext/standard/url_scanner_ex.c free(Z_PTR_P(zv)); zv 387 ext/standard/user_filters.c static void filter_item_dtor(zval *zv) zv 389 ext/standard/user_filters.c struct php_user_filter_data *fdat = Z_PTR_P(zv); zv 38 ext/standard/var.c static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ zv 47 ext/standard/var.c php_var_dump(zv, level + 2); zv 51 ext/standard/var.c static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ zv 74 ext/standard/var.c php_var_dump(zv, level + 2); zv 210 ext/standard/var.c static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ zv 219 ext/standard/var.c php_debug_zval_dump(zv, level + 2); zv 223 ext/standard/var.c static void zval_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ zv 244 ext/standard/var.c php_debug_zval_dump(zv, level + 2); zv 383 ext/standard/var.c static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /* {{{ */ zv 404 ext/standard/var.c php_var_export_ex(zv, level + 2, buf); zv 411 ext/standard/var.c static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /* {{{ */ zv 430 ext/standard/var.c php_var_export_ex(zv, level + 2, buf); zv 592 ext/standard/var.c zval *zv; zv 610 ext/standard/var.c zv = zend_hash_index_find(&data->ht, key); zv 612 ext/standard/var.c if (zv) { zv 618 ext/standard/var.c return Z_LVAL_P(zv); zv 201 ext/tidy/tidy.c #define Z_TIDY_P(zv) php_tidy_fetch_object(Z_OBJ_P((zv))) zv 58 ext/xmlreader/php_xmlreader.h #define Z_XMLREADER_P(zv) php_xmlreader_fetch_object(Z_OBJ_P((zv))) zv 56 ext/xmlwriter/php_xmlwriter.h #define Z_XMLWRITER_P(zv) php_xmlwriter_fetch_object(Z_OBJ_P((zv))) zv 79 ext/xsl/php_xsl.h #define Z_XSL_P(zv) php_xsl_fetch_object(Z_OBJ_P((zv))) zv 90 ext/zip/php_zip.h #define Z_ZIP_P(zv) php_zip_fetch_object(Z_OBJ_P((zv))) zv 54 main/SAPI.c static void _type_dtor(zval *zv) zv 56 main/SAPI.c free(Z_PTR_P(zv)); zv 1723 main/fastcgi.c void fcgi_free_mgmt_var_cb(zval *zv) zv 1725 main/fastcgi.c pefree(Z_STR_P(zv), 1); zv 128 main/fastcgi.h void fcgi_free_mgmt_var_cb(zval *zv); zv 130 main/output.c static void reverse_conflict_dtor(zval *zv) zv 132 main/output.c HashTable *ht = Z_PTR_P(zv); zv 435 main/php_streams.h #define php_stream_populate_meta_data(stream, zv) (_php_stream_set_option((stream), PHP_STREAM_OPTION_META_DATA_API, 0, zv) == PHP_STREAM_OPTION_RETURN_OK ? 1 : 0) zv 354 main/streams/streams.c static int _php_stream_free_persistent(zval *zv, void *pStream) zv 356 main/streams/streams.c zend_resource *le = Z_RES_P(zv); zv 120 sapi/apache2handler/apache_config.c static zend_bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key, void *pData) zv 122 sapi/apache2handler/apache_config.c php_dir_entry *new_per_dir_entry = Z_PTR_P(zv); zv 138 sapi/apache2handler/apache_config.c void config_entry_ctor(zval *zv) zv 140 sapi/apache2handler/apache_config.c php_dir_entry *pe = (php_dir_entry*)Z_PTR_P(zv); zv 144 sapi/apache2handler/apache_config.c ZVAL_PTR(zv, npe); zv 206 sapi/apache2handler/apache_config.c static void config_entry_dtor(zval *zv) zv 208 sapi/apache2handler/apache_config.c free((php_dir_entry*)Z_PTR_P(zv)); zv 262 sapi/cli/php_cli_server.c static void char_ptr_dtor_p(zval *zv) /* {{{ */ zv 264 sapi/cli/php_cli_server.c pefree(Z_PTR_P(zv), 1); zv 2184 sapi/cli/php_cli_server.c static void php_cli_server_client_dtor_wrapper(zval *zv) /* {{{ */ zv 2186 sapi/cli/php_cli_server.c php_cli_server_client *p = Z_PTR_P(zv); zv 222 sapi/fpm/fpm/fpm_main.c static int print_module_info(zval *zv) /* {{{ */ zv 224 sapi/fpm/fpm/fpm_main.c zend_module_entry *module = Z_PTR_P(zv); zv 88 sapi/fpm/fpm/fpm_php.c zval zv; zv 89 sapi/fpm/fpm/fpm_php.c php_dl(value, MODULE_PERSISTENT, &zv, 1); zv 90 sapi/fpm/fpm/fpm_php.c return Z_TYPE(zv) == IS_TRUE; zv 483 sapi/phpdbg/phpdbg.c zval zv; zv 484 sapi/phpdbg/phpdbg.c array_init(&zv); zv 485 sapi/phpdbg/phpdbg.c ht_zv = zend_hash_add_new(ht, name, &zv); zv 369 sapi/phpdbg/phpdbg_list.c void phpdbg_free_file_source(zval *zv) { zv 370 sapi/phpdbg/phpdbg_list.c phpdbg_file_source *data = Z_PTR_P(zv); zv 637 sapi/phpdbg/phpdbg_prompt.c zval zv, rv, tmp; zv 641 sapi/phpdbg/phpdbg_prompt.c ZVAL_OBJ(&zv, ex); zv 642 sapi/phpdbg/phpdbg_prompt.c zend_call_method_with_0_params(&zv, ex->ce, NULL, "__tostring", &tmp); zv 643 sapi/phpdbg/phpdbg_prompt.c file = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("file"), 1, &rv)); zv 644 sapi/phpdbg/phpdbg_prompt.c line = zval_get_long(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("line"), 1, &rv)); zv 650 sapi/phpdbg/phpdbg_prompt.c zend_update_property_string(zend_get_exception_base(&zv), &zv, ZEND_STRL("string"), Z_STRVAL(tmp)); zv 652 sapi/phpdbg/phpdbg_prompt.c msg = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("string"), 1, &rv)); zv 782 sapi/phpdbg/phpdbg_prompt.c int phpdbg_output_ev_variable(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv) /* {{{ */ { zv 785 sapi/phpdbg/phpdbg_prompt.c zend_print_zval_r(zv, 0); zv 1447 sapi/phpdbg/phpdbg_prompt.c zval zv; \ zv 1458 sapi/phpdbg/phpdbg_prompt.c Z_OBJ(zv) = exception; \ zv 1459 sapi/phpdbg/phpdbg_prompt.c zend_throw_exception_internal(&zv); \ zv 1501 sapi/phpdbg/phpdbg_prompt.c zval zv, rv; zv 1519 sapi/phpdbg/phpdbg_prompt.c ZVAL_OBJ(&zv, exception); zv 1520 sapi/phpdbg/phpdbg_prompt.c file = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("file"), 1, &rv)); zv 1521 sapi/phpdbg/phpdbg_prompt.c line = zval_get_long(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("line"), 1, &rv)); zv 1522 sapi/phpdbg/phpdbg_prompt.c msg = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("message"), 1, &rv)); zv 422 sapi/phpdbg/phpdbg_utils.c static int phpdbg_parse_variable_arg_wrapper(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_func callback) { zv 423 sapi/phpdbg/phpdbg_utils.c return callback(name, len, keyname, keylen, parent, zv); zv 435 sapi/phpdbg/phpdbg_utils.c zval *zv; zv 473 sapi/phpdbg/phpdbg_utils.c ZEND_HASH_FOREACH_KEY_PTR(parent, numkey, strkey, zv) { zv 474 sapi/phpdbg/phpdbg_utils.c while (Z_TYPE_P(zv) == IS_INDIRECT) { zv 475 sapi/phpdbg/phpdbg_utils.c zv = Z_INDIRECT_P(zv); zv 496 sapi/phpdbg/phpdbg_utils.c ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 497 sapi/phpdbg/phpdbg_utils.c } else retry_ref: if (Z_TYPE_P(zv) == IS_OBJECT) { zv 502 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 505 sapi/phpdbg/phpdbg_utils.c phpdbg_parse_variable_with_arg(input, len, Z_OBJPROP_P(zv), i, callback, step_cb, silent, arg); zv 506 sapi/phpdbg/phpdbg_utils.c } else if (Z_TYPE_P(zv) == IS_ARRAY) { zv 511 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 514 sapi/phpdbg/phpdbg_utils.c phpdbg_parse_variable_with_arg(input, len, Z_ARRVAL_P(zv), i, callback, step_cb, silent, arg); zv 515 sapi/phpdbg/phpdbg_utils.c } else if (Z_ISREF_P(zv)) { zv 520 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 523 sapi/phpdbg/phpdbg_utils.c ZVAL_DEREF(zv); zv 533 sapi/phpdbg/phpdbg_utils.c if (!(zv = zend_symtable_str_find(parent, last_index, index_len))) { zv 539 sapi/phpdbg/phpdbg_utils.c while (Z_TYPE_P(zv) == IS_INDIRECT) { zv 540 sapi/phpdbg/phpdbg_utils.c zv = Z_INDIRECT_P(zv); zv 548 sapi/phpdbg/phpdbg_utils.c ret = callback(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 549 sapi/phpdbg/phpdbg_utils.c } else retry_ref_end: if (Z_TYPE_P(zv) == IS_OBJECT) { zv 554 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 557 sapi/phpdbg/phpdbg_utils.c parent = Z_OBJPROP_P(zv); zv 558 sapi/phpdbg/phpdbg_utils.c } else if (Z_TYPE_P(zv) == IS_ARRAY) { zv 563 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 566 sapi/phpdbg/phpdbg_utils.c parent = Z_ARRVAL_P(zv); zv 567 sapi/phpdbg/phpdbg_utils.c } else if (Z_ISREF_P(zv)) { zv 572 sapi/phpdbg/phpdbg_utils.c ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:FAILURE; zv 575 sapi/phpdbg/phpdbg_utils.c ZVAL_DEREF(zv); zv 595 sapi/phpdbg/phpdbg_utils.c static int phpdbg_xml_array_element_dump(zval *zv, zend_string *key, zend_ulong num) { zv 611 sapi/phpdbg/phpdbg_utils.c phpdbg_xml_var_dump(zv); zv 618 sapi/phpdbg/phpdbg_utils.c static int phpdbg_xml_object_property_dump(zval *zv, zend_string *key, zend_ulong num) { zv 646 sapi/phpdbg/phpdbg_utils.c phpdbg_xml_var_dump(zv); zv 655 sapi/phpdbg/phpdbg_utils.c PHPDBG_API void phpdbg_xml_var_dump(zval *zv) { zv 660 sapi/phpdbg/phpdbg_utils.c int (*element_dump_func)(zval *zv, zend_string *key, zend_ulong num); zv 666 sapi/phpdbg/phpdbg_utils.c is_ref = Z_ISREF_P(zv) && GC_REFCOUNT(Z_COUNTED_P(zv)) > 1; zv 667 sapi/phpdbg/phpdbg_utils.c ZVAL_DEREF(zv); zv 669 sapi/phpdbg/phpdbg_utils.c switch (Z_TYPE_P(zv)) { zv 680 sapi/phpdbg/phpdbg_utils.c phpdbg_xml("<int refstatus=\"%s\" value=\"" ZEND_LONG_FMT "\" />", COMMON, Z_LVAL_P(zv)); zv 683 sapi/phpdbg/phpdbg_utils.c phpdbg_xml("<float refstatus=\"%s\" value=\"%.*G\" />", COMMON, (int) EG(precision), Z_DVAL_P(zv)); zv 686 sapi/phpdbg/phpdbg_utils.c phpdbg_xml("<string refstatus=\"%s\" length=\"%zd\" value=\"%.*s\" />", COMMON, Z_STRLEN_P(zv), (int) Z_STRLEN_P(zv), Z_STRVAL_P(zv)); zv 689 sapi/phpdbg/phpdbg_utils.c myht = Z_ARRVAL_P(zv); zv 700 sapi/phpdbg/phpdbg_utils.c myht = Z_OBJDEBUG_P(zv, is_temp); zv 707 sapi/phpdbg/phpdbg_utils.c class_name = Z_OBJ_HANDLER_P(zv, get_class_name)(Z_OBJ_P(zv)); zv 708 sapi/phpdbg/phpdbg_utils.c phpdbg_xml("<object refstatus=\"%s\" class=\"%.*s\" id=\"%d\" num=\"%d\">", COMMON, (int) ZSTR_LEN(class_name), ZSTR_VAL(class_name), Z_OBJ_HANDLE_P(zv), myht ? zend_hash_num_elements(myht) : 0); zv 724 sapi/phpdbg/phpdbg_utils.c if (Z_TYPE_P(zv) == IS_ARRAY) { zv 731 sapi/phpdbg/phpdbg_utils.c const char *type_name = zend_rsrc_list_get_rsrc_type(Z_RES_P(zv)); zv 732 sapi/phpdbg/phpdbg_utils.c phpdbg_xml("<resource refstatus=\"%s\" id=\"%pd\" type=\"%s\" />", COMMON, Z_RES_P(zv)->handle, type_name ? type_name : "unknown"); zv 785 sapi/phpdbg/phpdbg_utils.c char *phpdbg_short_zval_print(zval *zv, int maxlen) /* {{{ */ zv 789 sapi/phpdbg/phpdbg_utils.c switch (Z_TYPE_P(zv)) { zv 803 sapi/phpdbg/phpdbg_utils.c spprintf(&decode, 0, ZEND_LONG_FMT, Z_LVAL_P(zv)); zv 806 sapi/phpdbg/phpdbg_utils.c spprintf(&decode, 0, "%.*G", 14, Z_DVAL_P(zv)); zv 810 sapi/phpdbg/phpdbg_utils.c zend_string *str = php_addcslashes(Z_STR_P(zv), 0, "\\\"", 2); zv 822 sapi/phpdbg/phpdbg_utils.c spprintf(&decode, 0, "Rsrc #%d", Z_RES_HANDLE_P(zv)); zv 825 sapi/phpdbg/phpdbg_utils.c spprintf(&decode, 0, "array(%d)", zend_hash_num_elements(Z_ARR_P(zv))); zv 828 sapi/phpdbg/phpdbg_utils.c zend_string *str = Z_OBJCE_P(zv)->name; zv 841 sapi/phpdbg/phpdbg_utils.c spprintf(&decode, 0, "unknown type: %d", Z_TYPE_P(zv)); zv 88 sapi/phpdbg/phpdbg_utils.h typedef int (*phpdbg_parse_var_func)(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv); zv 89 sapi/phpdbg/phpdbg_utils.h typedef int (*phpdbg_parse_var_with_arg_func)(char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, void *arg); zv 96 sapi/phpdbg/phpdbg_utils.h PHPDBG_API void phpdbg_xml_var_dump(zval *zv); zv 98 sapi/phpdbg/phpdbg_utils.h char *phpdbg_short_zval_print(zval *zv, int maxlen); zv 127 sapi/phpdbg/phpdbg_wait.c zval zv, *zvp; zv 132 sapi/phpdbg/phpdbg_wait.c if (!php_var_unserialize(&zv, (const unsigned char **) &msg, (unsigned char *) msg + len, &var_hash)) { zv 139 sapi/phpdbg/phpdbg_wait.c ht = Z_ARRVAL(zv); zv 328 sapi/phpdbg/phpdbg_wait.c zval_dtor(&zv); zv 155 sapi/phpdbg/phpdbg_watch.c void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch) { zv 156 sapi/phpdbg/phpdbg_watch.c phpdbg_create_addr_watchpoint(zv, sizeof(zval), watch); zv 263 sapi/phpdbg/phpdbg_watch.c if ((cur = zend_hash_index_find_ptr(&PHPDBG_G(watch_collisions), (zend_ulong) Z_COUNTED_P(watch->addr.zv)))) { zv 279 sapi/phpdbg/phpdbg_watch.c zend_hash_index_del(&PHPDBG_G(watch_collisions), (zend_ulong) Z_COUNTED_P(watch->addr.zv)); zv 294 sapi/phpdbg/phpdbg_watch.c phpdbg_create_zval_watchpoint(Z_REFVAL_P(watch->addr.zv), ref); zv 313 sapi/phpdbg/phpdbg_watch.c ref = Z_COUNTED_P(parent->addr.zv); zv 326 sapi/phpdbg/phpdbg_watch.c switch (Z_TYPE_P(watch->addr.zv)) { zv 331 sapi/phpdbg/phpdbg_watch.c memset(watch->addr.zv, 0, sizeof(zend_value)); zv 375 sapi/phpdbg/phpdbg_watch.c if (watch->parent && watch->parent->type == WATCH_ON_ZVAL && Z_REFCOUNTED_P(watch->parent->addr.zv)) { zv 376 sapi/phpdbg/phpdbg_watch.c phpdbg_add_watch_collision(phpdbg_create_refcounted_watchpoint(watch, Z_COUNTED_P(watch->parent->addr.zv))); zv 396 sapi/phpdbg/phpdbg_watch.c if (Z_ISREF_P(watch->addr.zv)) { zv 415 sapi/phpdbg/phpdbg_watch.c zval *zv = zv_watch->addr.zv; zv 417 sapi/phpdbg/phpdbg_watch.c HashTable *ht = HT_FROM_ZVP(zv); zv 431 sapi/phpdbg/phpdbg_watch.c if (Z_TYPE_P(zv) == IS_ARRAY) { zv 437 sapi/phpdbg/phpdbg_watch.c phpdbg_add_watch_collision(phpdbg_create_refcounted_watchpoint(watch, Z_COUNTED_P(zv))); zv 454 sapi/phpdbg/phpdbg_watch.c zval *zv; zv 460 sapi/phpdbg/phpdbg_watch.c ZEND_HASH_FOREACH_KEY_VAL(HT_WATCH_HT(watch), h, key, zv) { zv 476 sapi/phpdbg/phpdbg_watch.c while (Z_TYPE_P(zv) == IS_INDIRECT) { zv 477 sapi/phpdbg/phpdbg_watch.c zv = Z_INDIRECT_P(zv); zv 480 sapi/phpdbg/phpdbg_watch.c phpdbg_create_zval_watchpoint(zv, new_watch); zv 494 sapi/phpdbg/phpdbg_watch.c zvp = watch->addr.zv; zv 538 sapi/phpdbg/phpdbg_watch.c if (parent->type == WATCH_ON_ZVAL && Z_REFCOUNTED_P(watch->addr.zv)) { zv 554 sapi/phpdbg/phpdbg_watch.c ht = HT_FROM_ZVP(watch->addr.zv); zv 588 sapi/phpdbg/phpdbg_watch.c if (Z_REFCOUNTED_P(watch->addr.zv)) { zv 629 sapi/phpdbg/phpdbg_watch.c static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { zv 635 sapi/phpdbg/phpdbg_watch.c phpdbg_create_zval_watchpoint(zv, watch); zv 656 sapi/phpdbg/phpdbg_watch.c static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashTable *parent, zval *zv, int (*callback)(phpdbg_watchpoint_t *)) { zv 671 sapi/phpdbg/phpdbg_watch.c phpdbg_create_zval_watchpoint(zv, watch); zv 749 sapi/phpdbg/phpdbg_watch.c void phpdbg_watch_HashTable_dtor(zval *zv) { zv 751 sapi/phpdbg/phpdbg_watch.c zval *orig_zv = zv; zv 753 sapi/phpdbg/phpdbg_watch.c while (Z_TYPE_P(zv) == IS_INDIRECT) { zv 754 sapi/phpdbg/phpdbg_watch.c zv = Z_INDIRECT_P(zv); zv 757 sapi/phpdbg/phpdbg_watch.c if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong) zv))) { zv 967 sapi/phpdbg/phpdbg_watch.c do_break = memcmp(oldPtr, watch->addr.zv, sizeof(zend_value) + sizeof(uint32_t) /* value + typeinfo */) != 0; zv 1002 sapi/phpdbg/phpdbg_watch.c zend_bool show_value = memcmp(oldPtr, watch->addr.zv, sizeof(zend_value) + sizeof(uint32_t) /* no metadata info */) != 0; zv 1033 sapi/phpdbg/phpdbg_watch.c phpdbg_out("New value%s: ", Z_ISREF_P(watch->addr.zv) ? " (reference)" : ""); zv 1034 sapi/phpdbg/phpdbg_watch.c phpdbg_xml("<watchvalue %r%s type=\"new\">", Z_ISREF_P(watch->addr.zv) ? " reference=\"reference\"" : ""); zv 1035 sapi/phpdbg/phpdbg_watch.c zend_print_flat_zval_r(watch->addr.zv); zv 1041 sapi/phpdbg/phpdbg_watch.c if (Z_PTR_P(watch->addr.zv) != Z_PTR_P((zval *) oldPtr) || Z_TYPE_P(watch->addr.zv) != Z_TYPE_P((zval *) oldPtr)) { zv 1043 sapi/phpdbg/phpdbg_watch.c zval *new_zv = watch->addr.zv; zv 1046 sapi/phpdbg/phpdbg_watch.c watch->addr.zv = new_zv; zv 1048 sapi/phpdbg/phpdbg_watch.c if (Z_REFCOUNTED_P(watch->addr.zv)) { zv 1050 sapi/phpdbg/phpdbg_watch.c phpdbg_writeln("watchrefcount", "type=\"new\" refcount=\"%d\"", "New refcount: %d", Z_REFCOUNT_P(watch->addr.zv)); zv 1054 sapi/phpdbg/phpdbg_watch.c } else if (Z_ISREF_P(watch->addr.zv)) { zv 64 sapi/phpdbg/phpdbg_watch.h zval *zv; zv 100 sapi/phpdbg/phpdbg_watch.h void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch); zv 33 sapi/phpdbg/phpdbg_webdata_transfer.c zval zv[9] = {{{0}}}; zv 45 sapi/phpdbg/phpdbg_webdata_transfer.c array_init(&zv[1]); zv 46 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), NULL); zv 47 sapi/phpdbg/phpdbg_webdata_transfer.c Z_ARRVAL(zv[1])->pDestructor = NULL; /* we're operating on a copy! Don't double free zvals */ zv 48 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_del(Z_ARRVAL(zv[1]), ZEND_STRL("GLOBALS")); /* do not use the reference to itself in json */ zv 49 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("GLOBALS"), &zv[1]); zv 59 sapi/phpdbg/phpdbg_webdata_transfer.c ZVAL_STR(&zv[2], str); zv 61 sapi/phpdbg/phpdbg_webdata_transfer.c ZVAL_EMPTY_STRING(&zv[2]); zv 63 sapi/phpdbg/phpdbg_webdata_transfer.c Z_SET_REFCOUNT(zv[2], 1); zv 64 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("input"), &zv[2]); zv 70 sapi/phpdbg/phpdbg_webdata_transfer.c ZVAL_STRING(&zv[6], sapi_module.name); zv 72 sapi/phpdbg/phpdbg_webdata_transfer.c Z_TYPE_INFO(zv[6]) = IS_NULL; zv 74 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("sapi_name"), &zv[6]); zv 75 sapi/phpdbg/phpdbg_webdata_transfer.c Z_SET_REFCOUNT(zv[6], 1); zv 84 sapi/phpdbg/phpdbg_webdata_transfer.c array_init(&zv[7]); zv 88 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_next_index_insert(Z_ARRVAL(zv[7]), value); zv 90 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("modules"), &zv[7]); zv 92 sapi/phpdbg/phpdbg_webdata_transfer.c array_init(&zv[8]); zv 97 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_next_index_insert(Z_ARRVAL(zv[8]), value); zv 100 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("extensions"), &zv[8]); zv 114 sapi/phpdbg/phpdbg_webdata_transfer.c ZVAL_STRING(&zv[5], path); zv 115 sapi/phpdbg/phpdbg_webdata_transfer.c Z_SET_REFCOUNT(zv[5], 1); zv 116 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("cwd"), &zv[5]); zv 124 sapi/phpdbg/phpdbg_webdata_transfer.c array_init(&zv[3]); zv 140 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_add(Z_ARRVAL(zv[3]), ini_entry->name, value); zv 142 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("systemini"), &zv[3]); zv 149 sapi/phpdbg/phpdbg_webdata_transfer.c array_init(&zv[4]); zv 157 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_add(Z_ARRVAL(zv[4]), ini_entry->name, value); zv 159 sapi/phpdbg/phpdbg_webdata_transfer.c zend_hash_str_add(ht, ZEND_STRL("userini"), &zv[4]); zv 173 win32/registry.c static void delete_internal_hashtable(zval *zv) zv 175 win32/registry.c HashTable *ht = (HashTable *)Z_PTR_P(zv);