Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 64) sorted by relevance

123

/PHP-7.4/ext/hash/
H A Dhash.c92 return ops; in php_hash_fetch_ops()
131 if (!ops) { in php_hash_do_hash()
232 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round()
254 if (!ops) { in php_hash_do_hash_hmac()
286 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac()
360 if (!ops) { in PHP_FUNCTION()
383 hash->ops = ops; in PHP_FUNCTION()
639 if (!ops) { in PHP_FUNCTION()
688 ops->hash_update(context, K, ops->block_size); in PHP_FUNCTION()
739 if (!ops) { in PHP_FUNCTION()
[all …]
H A Dphp_hash.h35 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
50 const php_hash_ops *ops; member
148 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
149 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
H A Dphp_hash_adler32.h31 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_info.c213 if (ops->function_name) { in phpdbg_print_symbols()
214 if (ops->scope) { in phpdbg_print_symbols()
220 if (ops->filename) { in phpdbg_print_symbols()
310 if (in_executor || PHPDBG_G(ops)) { in PHPDBG_INFO()
311 zend_op_array *ops = in_executor ? &EG(current_execute_data)->func->op_array : PHPDBG_G(ops); in PHPDBG_INFO() local
312 int literal = 0, count = ops->last_literal - 1; in PHPDBG_INFO()
314 if (ops->function_name) { in PHPDBG_INFO()
315 if (ops->scope) { in PHPDBG_INFO()
321 if (ops->filename) { in PHPDBG_INFO()
328 while (literal < ops->last_literal) { in PHPDBG_INFO()
[all …]
H A Dphpdbg_opcode.c46 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; in phpdbg_decode_op()
53 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
56 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
67 zend_op_array *ops, const zend_op *opline, znode_op op, zend_uchar op_type, in phpdbg_decode_input_op() argument
71 result = phpdbg_decode_op(ops, opline, &op, op_type); in phpdbg_decode_input_op()
73 spprintf(&result, 0, "J%td", OP_JMP_ADDR(opline, op) - ops->opcodes); in phpdbg_decode_input_op()
92 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *opline) /*{{{ */ in phpdbg_decode_opline() argument
105 ops, opline, opline->op1, opline->op1_type, ZEND_VM_OP1_FLAGS(flags)); in phpdbg_decode_opline()
109 ops, opline, opline->op2, opline->op2_type, ZEND_VM_OP2_FLAGS(flags)); in phpdbg_decode_opline()
120 decode[3] = phpdbg_decode_op(ops, opline, &opline->result, opline->result_type); in phpdbg_decode_opline()
[all …]
H A Dphpdbg_print.c112 if (PHPDBG_G(ops)) { in PHPDBG_PRINT()
115 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops)); in PHPDBG_PRINT()
128 if (ops->function_name) { in PHPDBG_PRINT()
129 if (ops->scope) { in PHPDBG_PRINT()
130 …m=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name),… in PHPDBG_PRINT()
132 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
135 if (ops->filename) { in PHPDBG_PRINT()
136 …"printinfo", "file=\"%s\" num=\"%d\"", "Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT()
138 phpdbg_notice("printinfo", "opline=\"%p\" num=\"%d\"", "Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT()
141 phpdbg_print_function_helper((zend_function*) ops); in PHPDBG_PRINT()
[all …]
H A Dphpdbg_bp.c582 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
893 if (new_break.ops) { in phpdbg_create_conditional_break()
964 zend_op_array *ops; in phpdbg_find_breakpoint_symbol() local
970 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol()
972 if (ops->scope) { in phpdbg_find_breakpoint_symbol()
974 return phpdbg_find_breakpoint_method(ops); in phpdbg_find_breakpoint_symbol()
977 if (ops->function_name) { in phpdbg_find_breakpoint_symbol()
1047 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param()
1048 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param()
1077 if (ops->scope) { in phpdbg_find_breakpoint_param()
[all …]
H A Dphpdbg_opcode.h26 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op);
H A Dphpdbg_list.c180 const zend_op_array *ops; in phpdbg_list_function() local
187 ops = (zend_op_array *) fbc; in phpdbg_list_function()
189 phpdbg_list_file(ops->filename, ops->line_end - ops->line_start + 1, ops->line_start, 0); in phpdbg_list_function()
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_inference.h47 ssa->ops && \
70 ssa->ops && \
72 ssa->ops[opline - op_array->opcodes].opN##_use >= 0 && \
94 ssa->ops && \
96 ssa->ops[opline - op_array->opcodes].opN##_use >= 0 && \
112 ssa->ops && \
114 ssa->ops[opline - op_array->opcodes].opN##_use >= 0 && \
130 ssa->ops && \
132 ssa->ops[opline - op_array->opcodes].opN##_use >= 0 && \
212 return get_ssa_var_info(ssa, ssa->ops ? ssa->ops[opline - op_array->opcodes].opN##_use : -1); \
[all …]
H A Ddfa_pass.c206 ssa->ops[target] = ssa->ops[i]; in zend_ssa_remove_nops()
253 ssa->ops[i].op1_use_chain -= shiftlist[ssa->ops[i].op1_use_chain]; in zend_ssa_remove_nops()
256 ssa->ops[i].op2_use_chain -= shiftlist[ssa->ops[i].op2_use_chain]; in zend_ssa_remove_nops()
259 ssa->ops[i].res_use_chain -= shiftlist[ssa->ops[i].res_use_chain]; in zend_ssa_remove_nops()
724 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_jmps()
1221 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1224 ssa->ops[op_1].op2_use_chain = ssa->ops[op_1].op1_use_chain; in zend_dfa_optimize_op_array()
1230 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1231 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
1286 ssa->ops[op_1].result_def = ssa->ops[op_1].op1_def; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c325 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def()
424 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
541 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
543 add_operands_to_worklists(&ctx, &op_array->opcodes[op_data], &ssa->ops[op_data], ssa, 0); in dce_optimize_op_array()
547 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array()
550 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
551 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array()
555 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
575 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
578 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array()
[all …]
H A Dzend_inference.c113 MACRO(ssa->ops[line].op1_def); \
259 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies()
1246 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1265 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1284 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1306 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1342 …if (ssa->ops[line].op1_def == var || ssa->ops[line].op2_def == var || ssa->ops[line].result_def ==… in zend_inference_calc_range()
1368 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1929 op = ssa->ops + use; in add_usages()
4135 info->ssa.ops && in zend_func_return_info()
[all …]
H A Dzend_dump.c429 if (!ssa || !ssa->ops || ssa->ops[opline - op_array->opcodes].result_use < 0) { in zend_dump_op()
431 if (ssa && ssa->ops && ssa->ops[opline - op_array->opcodes].result_def >= 0) { in zend_dump_op()
599 if (ssa && ssa->ops) { in zend_dump_op()
604 } else if (ssa->ops[opline - op_array->opcodes].op1_def < 0) { in zend_dump_op()
612 if (ssa && ssa->ops) { in zend_dump_op()
656 if (ssa && ssa->ops) { in zend_dump_op()
661 } else if (ssa->ops[opline - op_array->opcodes].op2_def < 0) { in zend_dump_op()
669 if (ssa && ssa->ops) { in zend_dump_op()
700 } else if (ssa && ssa->ops && ssa->ops[opline - op_array->opcodes].result_use >= 0) { in zend_dump_op()
702 if (ssa && ssa->ops) { in zend_dump_op()
[all …]
/PHP-7.4/sapi/phpdbg/tests/
H A Dprint_001.phpt13 prompt> [User Function foo (8 ops)]
14 L14-16 foo() %s - %s + 8 ops
24 L5-7 Foo\Bar::Foo() %s - %s + 5 ops
30 L9-9 Foo\Bar::baz() %s - %s + 1 ops
33 prompt> [Context %s (9 ops)]
34 L1-21 {main}() %s - %s + 9 ops
H A Dprint_002.phpt19 prompt> [Stack in foo() (8 ops)]
20 L14-16 foo() %s - %s + 8 ops
/PHP-7.4/Zend/tests/
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
23 Fatal error: Uncaught Exception: ops 1 in %sbug53511.php:4
H A Dtemporary_cleaning_004.phpt6 function ops() {
19 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
34 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Dglobals_005.phpt9 return "ops";
12 $GLOBALS[foo()] = "ops";
H A Dtemporary_cleaning_003.phpt6 function ops() {
12 $r = [$x] + ops();
H A Dtemporary_cleaning_005.phpt6 function ops() {
20 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
37 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Dtemporary_cleaning_001.phpt6 function ops() {
14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
/PHP-7.4/main/streams/
H A Dcast.c199 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast()
202 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
220 stream->ops->cast && in _php_stream_cast()
222 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
263 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
264 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast()
302 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
315 …php_error_docref(NULL, E_WARNING, "cannot represent a stream of type %s as a %s", stream->ops->lab… in _php_stream_cast()
377 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
H A Dxp_socket.c631 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind()
639 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind()
712 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect()
767 && stream->ops != &php_stream_unix_socket_ops in php_tcp_sockop_connect()
768 && stream->ops != &php_stream_unixdg_socket_ops in php_tcp_sockop_connect()
896 const php_stream_ops *ops; in php_stream_generic_socket_factory() local
900 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory()
902 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory()
906 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory()
908 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory()
[all …]
/PHP-7.4/Zend/tests/try/
H A Dbug70228_5.phpt9 throw new Exception("ops");
20 ops

Completed in 83 milliseconds

123