Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/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 Dadd_014.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 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-8.2/Zend/tests/
H A Dproperty_guard_hash_val.phpt2 Test property guard hash value assumption
/PHP-8.2/Zend/
H A Dzend_object_handlers.c612 uint32_t *guard = NULL; in zend_std_read_property() local
701 *guard |= IN_ISSET; in zend_std_read_property()
703 *guard &= ~IN_ISSET; in zend_std_read_property()
723 if (!((*guard) & IN_GET)) { in zend_std_read_property()
730 *guard &= ~IN_GET; in zend_std_read_property()
909 if (!((*guard) & IN_SET)) { in zend_std_write_property()
913 (*guard) &= ~IN_SET; in zend_std_write_property()
1245 (*guard) &= ~IN_UNSET; in zend_std_unset_property()
1900 (*guard) |= IN_GET; in zend_std_has_property()
1902 (*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-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_033.phpt2 Test typed properties yield reference guard
/PHP-8.2/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-8.2/ext/pcre/pcre2lib/
H A Dpcre2_context.c389 int (*guard)(uint32_t, void *), void *user_data) in pcre2_set_compile_recursion_guard()
391 ccontext->stack_guard = guard; in pcre2_set_compile_recursion_guard()
/PHP-8.2/sapi/fpm/tests/
H A Dfcgi.inc760 * rather than sequentially to guard against false-positives when using persistent sockets.
/PHP-8.2/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.c3792 zend_jmp_fl_result guard in zend_jit_jmp_frameless() argument
3813 ir_GUARD(ir_EQ(phi_result, ir_CONST_LONG(guard)), ir_CONST_ADDR(exit_addr)); in zend_jit_jmp_frameless()
/PHP-8.2/ext/opcache/jit/ir/
H A Dir_aarch64.dasc108 * Used to guard the immediate encoding for add/adds/sub/subs/cmp/cmn instructions. */

Completed in 164 milliseconds