/PHP-8.3/ext/hash/ |
H A D | hash.c | 112 return ops; in php_hash_fetch_ops() 368 if (!ops) { in php_hash_do_hash() 495 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round() 510 if (!ops || !ops->is_crypto) { in php_hash_do_hash_hmac() 538 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac() 650 hash->ops = ops; in PHP_FUNCTION() 912 if (!ops || !ops->is_crypto) { in PHP_FUNCTION() 956 ops->hash_update(context, K, ops->block_size); in PHP_FUNCTION() 1007 if (!ops || !ops->is_crypto) { in PHP_FUNCTION() 1409 newobj->ops = oldobj->ops; in php_hashcontext_clone() [all …]
|
H A D | php_hash_xxhash.h | 31 PHP_HASH_API int PHP_XXH32Copy(const php_hash_ops *ops, PHP_XXH32_CTX *orig_context, PHP_XXH32_CTX … 41 PHP_HASH_API int PHP_XXH64Copy(const php_hash_ops *ops, PHP_XXH64_CTX *orig_context, PHP_XXH64_CTX … 63 PHP_HASH_API int PHP_XXH3_64_Copy(const php_hash_ops *ops, PHP_XXH3_64_CTX *orig_context, PHP_XXH3_… 70 PHP_HASH_API int PHP_XXH3_128_Copy(const php_hash_ops *ops, PHP_XXH3_128_CTX *orig_context, PHP_XXH…
|
H A D | php_hash.h | 37 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context); 58 const php_hash_ops *ops; member 149 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops); 150 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context); 156 static inline void *php_hash_alloc_context(const php_hash_ops *ops) { in php_hash_alloc_context() argument 158 return ecalloc(1, ops->context_size); in php_hash_alloc_context()
|
H A D | php_hash_murmur.h | 30 PHP_HASH_API int PHP_MURMUR3ACopy(const php_hash_ops *ops, PHP_MURMUR3A_CTX *orig_context, PHP_MURM… 42 PHP_HASH_API int PHP_MURMUR3CCopy(const php_hash_ops *ops, PHP_MURMUR3C_CTX *orig_context, PHP_MURM… 54 PHP_HASH_API int PHP_MURMUR3FCopy(const php_hash_ops *ops, PHP_MURMUR3F_CTX *orig_context, PHP_MURM…
|
/PHP-8.3/Zend/Optimizer/ |
H A D | dfa_pass.c | 163 ssa->ops[target] = ssa->ops[i]; in zend_ssa_remove_nops() 210 ssa->ops[i].op1_use_chain -= shiftlist[ssa->ops[i].op1_use_chain]; in zend_ssa_remove_nops() 213 ssa->ops[i].op2_use_chain -= shiftlist[ssa->ops[i].op2_use_chain]; in zend_ssa_remove_nops() 1214 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1234 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() 1279 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array() 1446 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1600 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array() 1613 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array() 1622 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array() [all …]
|
H A D | dce.c | 343 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def() 455 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 579 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 584 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array() 586 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array() 589 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array() 590 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array() 594 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array() 614 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array() 620 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array() [all …]
|
H A D | zend_ssa.c | 794 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename() 1079 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains() 1184 ssa->ops[use].res_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1187 use = ssa->ops[use].res_use_chain; in zend_ssa_unlink_use_chain() 1191 ssa->ops[use].op1_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1194 use = ssa->ops[use].op1_use_chain; in zend_ssa_unlink_use_chain() 1198 ssa->ops[use].op2_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain() 1201 use = ssa->ops[use].op2_use_chain; in zend_ssa_unlink_use_chain() 1226 use = ssa->ops[use].res_use_chain; in zend_ssa_replace_use_chain() 1233 use = ssa->ops[use].op1_use_chain; in zend_ssa_replace_use_chain() [all …]
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_info.c | 213 if (ops->function_name) { in phpdbg_print_symbols() 214 if (ops->scope) { in phpdbg_print_symbols() 215 …phpdbg_notice("Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_h… in phpdbg_print_symbols() 220 if (ops->filename) { in phpdbg_print_symbols() 308 if (in_executor || PHPDBG_G(ops)) { in PHPDBG_INFO() 309 zend_op_array *ops = in_executor ? &EG(current_execute_data)->func->op_array : PHPDBG_G(ops); in PHPDBG_INFO() local 312 if (ops->function_name) { in PHPDBG_INFO() 313 if (ops->scope) { in PHPDBG_INFO() 314 …phpdbg_notice("Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val… in PHPDBG_INFO() 319 if (ops->filename) { in PHPDBG_INFO() [all …]
|
H A D | phpdbg_print.c | 87 if (PHPDBG_G(ops)) { in PHPDBG_PRINT() 90 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops)); in PHPDBG_PRINT() 103 if (ops->function_name) { in PHPDBG_PRINT() 104 if (ops->scope) { in PHPDBG_PRINT() 105 …dbg_notice("Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name),… in PHPDBG_PRINT() 107 phpdbg_notice("Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT() 110 if (ops->filename) { in PHPDBG_PRINT() 111 phpdbg_notice("Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT() 113 phpdbg_notice("Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT() 116 phpdbg_print_function_helper((zend_function*) ops); in PHPDBG_PRINT() [all …]
|
H A D | phpdbg_bp.c | 579 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break() 886 if (new_break.ops) { in phpdbg_create_conditional_break() 957 zend_op_array *ops; in phpdbg_find_breakpoint_symbol() local 963 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol() 965 if (ops->scope) { in phpdbg_find_breakpoint_symbol() 967 return phpdbg_find_breakpoint_method(ops); in phpdbg_find_breakpoint_symbol() 970 if (ops->function_name) { in phpdbg_find_breakpoint_symbol() 1040 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param() 1041 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param() 1070 if (ops->scope) { in phpdbg_find_breakpoint_param() [all …]
|
/PHP-8.3/Zend/tests/ |
H A D | bug53511.phpt | 7 throw new Exception("ops 1"); 14 throw new Exception("ops 2"); 24 Fatal error: Uncaught Exception: ops 1 in %sbug53511.php:4
|
H A D | temporary_cleaning_004.phpt | 6 function ops() { 19 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 34 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | globals_005.phpt | 9 return "ops"; 12 $GLOBALS[foo()] = "ops";
|
H A D | temporary_cleaning_005.phpt | 6 function ops() { 20 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 37 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | temporary_cleaning_003.phpt | 6 function ops() { 12 $r = [$x] + ops();
|
H A D | temporary_cleaning_001.phpt | 6 function ops() { 14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
/PHP-8.3/main/streams/ |
H A D | cast.c | 202 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast() 205 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast() 223 stream->ops->cast && in _php_stream_cast() 225 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast() 266 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast() 267 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast() 305 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast() 318 …php_error_docref(NULL, E_WARNING, "Cannot represent a stream of type %s as a %s", stream->ops->lab… in _php_stream_cast() 380 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
|
H A D | xp_socket.c | 667 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind() 675 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind() 748 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect() 803 && stream->ops != &php_stream_unix_socket_ops in php_tcp_sockop_connect() 804 && stream->ops != &php_stream_unixdg_socket_ops in php_tcp_sockop_connect() 936 const php_stream_ops *ops; in php_stream_generic_socket_factory() local 940 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory() 942 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory() 946 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory() 948 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory() [all …]
|
/PHP-8.3/Zend/tests/try/ |
H A D | bug70228_5.phpt | 9 throw new Exception("ops"); 20 ops
|
/PHP-8.3/Zend/tests/float_to_int/ |
H A D | no_warnings_compatible_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | warnings_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | no_warning_compatible_string_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 56 Bitwise ops:
|
H A D | warnings_string_float_literals_assignment_ops.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 35 Bitwise ops:
|
H A D | no_warning_compatible_float_literals.phpt | 6 echo 'Bitwise ops:' . \PHP_EOL; 64 Bitwise ops:
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit.c | 1139 if (!ssa->ops || !ssa->var_info) { in zend_may_overflow() 1799 op = ssa->ops + n; in zend_jit_compute_liveness() 2174 ssa->ops + line, in zend_jit_try_allocate_free_reg() 2186 ssa->ops + line, in zend_jit_try_allocate_free_reg() 2918 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[i] : NULL; in zend_jit() 3203 if (ssa->var_info && ssa->ops) { in zend_jit() 3251 if (ssa->var_info && ssa->ops) { in zend_jit() 3292 if (ssa->var_info && ssa->ops) { in zend_jit() 3794 if (ssa->var_info && ssa->ops) { in zend_jit() 3945 if (ssa->var_info && ssa->ops) { in zend_jit() [all …]
|