Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/json/
H A Djson_encoder.c535 uint32_t *guard = zend_get_recursion_guard(obj); in php_json_encode_serializable_object() local
539 ZEND_ASSERT(guard != NULL); in php_json_encode_serializable_object()
541 if (ZEND_GUARD_IS_RECURSIVE(guard, JSON)) { in php_json_encode_serializable_object()
549 ZEND_GUARD_PROTECT_RECURSION(guard, JSON); in php_json_encode_serializable_object()
562 ZEND_GUARD_UNPROTECT_RECURSION(guard, JSON); in php_json_encode_serializable_object()
574 ZEND_GUARD_UNPROTECT_RECURSION(guard, JSON); in php_json_encode_serializable_object()
581 ZEND_GUARD_UNPROTECT_RECURSION(guard, JSON); in php_json_encode_serializable_object()
586 ZEND_GUARD_UNPROTECT_RECURSION(guard, JSON); in php_json_encode_serializable_object()
/php-src/ext/opcache/tests/jit/
H A Dmul_006.phpt2 JIT MUL: 006 incorrect guard elimination
H A Dadd_015.phpt2 JIT ADD: 014 incorrect guard elimination
H A Dassign_op_009.phpt2 JIT ASSIGN_OP: 009 incorrect guard motion out of the loop
H A Dadd_014.phpt2 JIT ADD: 014 incorrect guard elimination
H A Dinit_fcall_003.phpt2 JIT INIT_FCALL: 003 incorrect init fcall guard (fail with tracing JIT and --repeat 3)
H A Dmul_010.phpt2 JIT MUL: 010 incorrect guard elimination
H A Dreg_alloc_004.phpt2 Register Alloction 004: Check guard before register load
/php-src/Zend/tests/
H A Dproperty_guard_hash_val.phpt2 Test property guard hash value assumption
/php-src/Zend/
H A Dzend_object_handlers.c612 uint32_t *guard = NULL; in zend_std_read_property() local
697 *guard |= IN_ISSET; in zend_std_read_property()
699 *guard &= ~IN_ISSET; in zend_std_read_property()
719 if (!((*guard) & IN_GET)) { in zend_std_read_property()
726 *guard &= ~IN_GET; in zend_std_read_property()
903 if (!((*guard) & IN_SET)) { in zend_std_write_property()
907 (*guard) &= ~IN_SET; in zend_std_write_property()
1239 (*guard) &= ~IN_UNSET; in zend_std_unset_property()
1890 (*guard) |= IN_GET; in zend_std_has_property()
1892 (*guard) &= ~IN_GET; in zend_std_has_property()
[all …]
H A Dzend.c554 uint32_t *guard = zend_get_recursion_guard(zobj); in zend_print_zval_r_to_buf() local
570 if (ZEND_GUARD_OR_GC_IS_RECURSIVE(guard, DEBUG, zobj)) { in zend_print_zval_r_to_buf()
580 ZEND_GUARD_OR_GC_PROTECT_RECURSION(guard, DEBUG, zobj); in zend_print_zval_r_to_buf()
582 ZEND_GUARD_OR_GC_UNPROTECT_RECURSION(guard, DEBUG, zobj); in zend_print_zval_r_to_buf()
H A Dzend_types.h356 uint32_t guard; /* recursion and single property guard */ member
687 #define Z_GUARD(zval) (zval).u2.guard
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_033.phpt2 Test typed properties yield reference guard
/php-src/ext/standard/
H A Dvar.c157 uint32_t *guard = zend_get_recursion_guard(zobj); in php_var_dump() local
158 if (ZEND_GUARD_OR_GC_IS_RECURSIVE(guard, DEBUG, zobj)) { in php_var_dump()
162 ZEND_GUARD_OR_GC_PROTECT_RECURSION(guard, DEBUG, zobj); in php_var_dump()
194 ZEND_GUARD_OR_GC_UNPROTECT_RECURSION(guard, DEBUG, zobj); in php_var_dump()
354 uint32_t *guard = zend_get_recursion_guard(zobj); in php_debug_zval_dump() local
355 if (ZEND_GUARD_OR_GC_IS_RECURSIVE(guard, DEBUG, zobj)) { in php_debug_zval_dump()
359 ZEND_GUARD_OR_GC_PROTECT_RECURSION(guard, DEBUG, zobj); in php_debug_zval_dump()
386 ZEND_GUARD_OR_GC_UNPROTECT_RECURSION(guard, DEBUG, zobj); in php_debug_zval_dump()
568 uint32_t *guard = zend_get_recursion_guard(zobj); in php_var_export_ex() local
569 if (ZEND_GUARD_OR_GC_IS_RECURSIVE(guard, EXPORT, zobj)) { in php_var_export_ex()
[all …]
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_context.c397 int (*guard)(uint32_t, void *), void *user_data) in pcre2_set_compile_recursion_guard()
399 ccontext->stack_guard = guard; in pcre2_set_compile_recursion_guard()
/php-src/docs/source/core/data-structures/
H A Dzval.rst109 uint32_t guard; /* recursion and single property guard */
H A Dreference-counting.rst167 Some macros like ``GC_TRY_ADDREF`` will guard against immutable values. You should not use immutable
/php-src/sapi/fpm/tests/
H A Dfcgi.inc760 * rather than sequentially to guard against false-positives when using persistent sockets.
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c5571 zend_jmp_fl_result guard; in zend_jit_trace() local
5575 guard = ZEND_JMP_FL_HIT; in zend_jit_trace()
5579 guard = ZEND_JMP_FL_MISS; in zend_jit_trace()
5589 if (!zend_jit_jmp_frameless(&ctx, opline, exit_addr, guard)) { in zend_jit_trace()
H A Dzend_jit_ir.c3785 zend_jmp_fl_result guard in zend_jit_jmp_frameless() argument
3806 ir_GUARD(ir_EQ(phi_result, ir_CONST_LONG(guard)), ir_CONST_ADDR(exit_addr)); in zend_jit_jmp_frameless()
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.dasc110 * Used to guard the immediate encoding for add/adds/sub/subs/cmp/cmn instructions. */

Completed in 118 milliseconds