Home
last modified time | relevance | path

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

123

/PHP-7.3/ext/hash/
H A Dhash.c91 return ops; in php_hash_fetch_ops()
130 if (!ops) { in php_hash_do_hash()
227 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round()
249 if (!ops) { in php_hash_do_hash_hmac()
281 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac()
346 if (!ops) { in php_hashcontext_ctor()
369 hash->ops = ops; in php_hashcontext_ctor()
632 if (!ops) { in PHP_FUNCTION()
681 ops->hash_update(context, K, ops->block_size); in PHP_FUNCTION()
732 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
151 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
152 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.3/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 …]
/PHP-7.3/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()
708 ssa_op = ssa->ops + op_num; in zend_dfa_optimize_jmps()
1122 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1125 ssa->ops[op_1].op2_use_chain = ssa->ops[op_1].op1_use_chain; in zend_dfa_optimize_op_array()
1131 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1132 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
1222 ssa->ops[op_1].result_def = ssa->ops[op_1].op1_def; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c321 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def()
422 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
518 ZEND_ASSERT(ssa->ops[def].result_def >= 0); in dce_live_ranges()
522 || ssa->ops[def].result_def < 0) { in dce_live_ranges()
531 var = ssa->ops[def].result_def; in dce_live_ranges()
602 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 0); in dce_optimize_op_array()
608 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array()
611 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
616 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 0); in dce_optimize_op_array()
636 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], 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()
1253 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1272 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1291 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1313 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1349 …if (ssa->ops[line].op1_def == var || ssa->ops[line].op2_def == var || ssa->ops[line].result_def ==… in zend_inference_calc_range()
1383 if (ssa->ops[line].op1_def == var || ssa->ops[line].result_def == var) { in zend_inference_calc_range()
1939 op = ssa->ops + use; in add_usages()
3906 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()
593 if (ssa && ssa->ops) { in zend_dump_op()
598 } else if (ssa->ops[opline - op_array->opcodes].op1_def < 0) { in zend_dump_op()
606 if (ssa && ssa->ops) { in zend_dump_op()
650 if (ssa && ssa->ops) { in zend_dump_op()
655 } else if (ssa->ops[opline - op_array->opcodes].op2_def < 0) { in zend_dump_op()
663 if (ssa && ssa->ops) { in zend_dump_op()
694 } else if (ssa && ssa->ops && ssa->ops[opline - op_array->opcodes].result_use >= 0) { in zend_dump_op()
696 if (ssa && ssa->ops) { in zend_dump_op()
[all …]
/PHP-7.3/Zend/tests/
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
23 Fatal error: Uncaught Exception: ops 2 in %sbug53511.php:11
28 Next 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_005.phpt6 function ops() {
20 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
37 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Dtemporary_cleaning_003.phpt6 function ops() {
12 $r = [$x] + ops();
H A Dtemporary_cleaning_001.phpt6 function ops() {
14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
/PHP-7.3/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 (11 ops)]
34 L1-21 {main}() %s - %s + 11 ops
H A Dprint_002.phpt19 prompt> [Stack in foo() (8 ops)]
20 L14-16 foo() %s - %s + 8 ops
/PHP-7.3/main/streams/
H A Dcast.c197 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast()
200 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
218 stream->ops->cast && in _php_stream_cast()
220 stream->ops->cast(stream, castas, ret) == SUCCESS in _php_stream_cast()
261 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast()
262 if (FAILURE == stream->ops->cast(stream, castas, ret)) { in _php_stream_cast()
298 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
311 …php_error_docref(NULL, E_WARNING, "cannot represent a stream of type %s as a %s", stream->ops->lab… in _php_stream_cast()
373 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
H A Dxp_socket.c625 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind()
633 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind()
706 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect()
761 && stream->ops != &php_stream_unix_socket_ops in php_tcp_sockop_connect()
762 && stream->ops != &php_stream_unixdg_socket_ops in php_tcp_sockop_connect()
890 const php_stream_ops *ops; in php_stream_generic_socket_factory() local
894 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory()
896 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory()
900 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory()
902 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory()
[all …]
H A Dstreams.c289 ret->ops = ops; in _php_stream_alloc()
466 ret = stream->ops->close(stream, preserve_handle ? 0 : 1); in _php_stream_free()
696 toread = stream->ops->read(stream, buf, size); in _php_stream_read()
725 (stream->ops != &php_stream_memory_ops) && in _php_stream_read()
726 (stream->ops != &php_stream_temp_ops)) { in _php_stream_read()
800 if (stream->ops->stat == NULL) { in _php_stream_stat()
804 return (stream->ops->stat)(stream, ssb); in _php_stream_stat()
1098 justwrote = stream->ops->write(stream, buf, towrite); in _php_stream_write_buffer()
1195 if (stream->ops->flush) { in _php_stream_flush()
1196 ret = stream->ops->flush(stream); in _php_stream_flush()
[all …]
/PHP-7.3/Zend/tests/try/
H A Dbug70228_5.phpt9 throw new Exception("ops");
20 ops
/PHP-7.3/ext/zip/lib/
H A Dzip_source_win32handle.c73 …t64_t len, int closep, const zip_stat_t *st, _zip_source_win32_file_ops_t *ops, zip_error_t *error) in _zip_source_win32_handle_or_name() argument
90 if ((ctx->fname = ops->op_strdup(fname)) == NULL) { in _zip_source_win32_handle_or_name()
97 ctx->ops = ops; in _zip_source_win32_handle_or_name()
120 th = ops->op_open(ctx); in _zip_source_win32_handle_or_name()
167 if (ctx->ops->op_rename_temp(ctx) < 0) { in _win32_read_file()
196 if ((ctx->h = ctx->ops->op_open(ctx)) == INVALID_HANDLE_VALUE) { in _win32_read_file()
239 if (ctx->ops->op_remove(ctx->fname) < 0) { in _win32_read_file()
250 ctx->ops->op_remove(ctx->tmpname); in _win32_read_file()
346 h = ctx->ops->op_open(ctx); in _win32_read_file()
453 th = ctx->ops->op_create_temp(ctx, &temp, value + i, psa); in _win32_create_temp_file()

Completed in 137 milliseconds

123