Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/hash/
H A Dhash.c104 return ops; in php_hash_fetch_ops()
360 if (!ops) { in php_hash_do_hash()
483 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round()
498 if (!ops || !ops->is_crypto) { in php_hash_do_hash_hmac()
526 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac()
637 hash->ops = ops; in PHP_FUNCTION()
895 if (!ops || !ops->is_crypto) { in PHP_FUNCTION()
939 ops->hash_update(context, K, ops->block_size); in PHP_FUNCTION()
989 if (!ops || !ops->is_crypto) { in PHP_FUNCTION()
1392 newobj->ops = oldobj->ops; in php_hashcontext_clone()
[all …]
H A Dphp_hash.h37 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
58 const php_hash_ops *ops; member
142 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
143 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
149 static inline void *php_hash_alloc_context(const php_hash_ops *ops) { in php_hash_alloc_context() argument
151 return ecalloc(1, ops->context_size); in php_hash_alloc_context()
H A Dphp_hash_adler32.h30 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
/PHP-8.0/ext/opcache/Optimizer/
H A Ddfa_pass.c178 ssa->ops[target] = ssa->ops[i]; in zend_ssa_remove_nops()
225 ssa->ops[i].op1_use_chain -= shiftlist[ssa->ops[i].op1_use_chain]; in zend_ssa_remove_nops()
228 ssa->ops[i].op2_use_chain -= shiftlist[ssa->ops[i].op2_use_chain]; in zend_ssa_remove_nops()
231 ssa->ops[i].res_use_chain -= shiftlist[ssa->ops[i].res_use_chain]; in zend_ssa_remove_nops()
1253 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1424 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1578 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1592 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1601 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1602 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c335 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def()
434 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
561 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
566 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array()
568 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array()
571 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
572 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array()
576 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
596 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
602 add_operands_to_worklists(&ctx, &op_array->opcodes[i+1], &ssa->ops[i+1], ssa, 1); in dce_optimize_op_array()
[all …]
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_info.c211 if (ops->function_name) { in phpdbg_print_symbols()
212 if (ops->scope) { in phpdbg_print_symbols()
218 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
310 int literal = 0, count = ops->last_literal - 1; in PHPDBG_INFO()
312 if (ops->function_name) { in PHPDBG_INFO()
313 if (ops->scope) { in PHPDBG_INFO()
319 if (ops->filename) { in PHPDBG_INFO()
326 while (literal < ops->last_literal) { in PHPDBG_INFO()
[all …]
H A Dphpdbg_opcode.c44 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; in phpdbg_decode_op()
51 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
54 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op()
65 zend_op_array *ops, const zend_op *opline, znode_op op, zend_uchar op_type, in phpdbg_decode_input_op() argument
69 result = phpdbg_decode_op(ops, opline, &op, op_type); in phpdbg_decode_input_op()
71 spprintf(&result, 0, "J%td", OP_JMP_ADDR(opline, op) - ops->opcodes); in phpdbg_decode_input_op()
90 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *opline) /*{{{ */ in phpdbg_decode_opline() argument
103 ops, opline, opline->op1, opline->op1_type, ZEND_VM_OP1_FLAGS(flags)); in phpdbg_decode_opline()
107 ops, opline, opline->op2, opline->op2_type, ZEND_VM_OP2_FLAGS(flags)); in phpdbg_decode_opline()
118 decode[3] = phpdbg_decode_op(ops, opline, &opline->result, opline->result_type); in phpdbg_decode_opline()
[all …]
H A Dphpdbg_print.c110 if (PHPDBG_G(ops)) { in PHPDBG_PRINT()
113 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops)); in PHPDBG_PRINT()
126 if (ops->function_name) { in PHPDBG_PRINT()
127 if (ops->scope) { in PHPDBG_PRINT()
128 …m=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name),… in PHPDBG_PRINT()
130 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
133 if (ops->filename) { in PHPDBG_PRINT()
134 …"printinfo", "file=\"%s\" num=\"%d\"", "Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT()
136 phpdbg_notice("printinfo", "opline=\"%p\" num=\"%d\"", "Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT()
139 phpdbg_print_function_helper((zend_function*) ops); in PHPDBG_PRINT()
[all …]
H A Dphpdbg_bp.c580 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break()
885 if (new_break.ops) { in phpdbg_create_conditional_break()
956 zend_op_array *ops; in phpdbg_find_breakpoint_symbol() local
962 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol()
964 if (ops->scope) { in phpdbg_find_breakpoint_symbol()
966 return phpdbg_find_breakpoint_method(ops); in phpdbg_find_breakpoint_symbol()
969 if (ops->function_name) { in phpdbg_find_breakpoint_symbol()
1039 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param()
1040 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param()
1069 if (ops->scope) { in phpdbg_find_breakpoint_param()
[all …]
H A Dphpdbg_opcode.h24 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op);
H A Dphpdbg_list.c178 const zend_op_array *ops; in phpdbg_list_function() local
185 ops = (zend_op_array *) fbc; in phpdbg_list_function()
187 phpdbg_list_file(ops->filename, ops->line_end - ops->line_start + 1, ops->line_start, 0); in phpdbg_list_function()
/PHP-8.0/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-8.0/Zend/tests/
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
24 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-8.0/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()
300 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret) == SUCCESS) { in _php_stream_cast()
313 …php_error_docref(NULL, E_WARNING, "Cannot represent a stream of type %s as a %s", stream->ops->lab… in _php_stream_cast()
375 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()
900 const php_stream_ops *ops; in php_stream_generic_socket_factory() local
904 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory()
906 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory()
910 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory()
912 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory()
[all …]
/PHP-8.0/Zend/tests/try/
H A Dbug70228_5.phpt9 throw new Exception("ops");
20 ops
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit.c535 if (!ssa->ops || !ssa->var_info) { in zend_may_overflow()
1208 op = ssa->ops + n; in zend_jit_compute_liveness()
1376 (i == ssa->ops[line].op1_def && in zend_jit_compute_liveness()
1583 ssa->ops + line, in zend_jit_try_allocate_free_reg()
1595 ssa->ops + line, in zend_jit_try_allocate_free_reg()
2318 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[i] : NULL; in zend_jit()
2614 if (ssa->var_info && ssa->ops) { in zend_jit()
2661 if (ssa->var_info && ssa->ops) { in zend_jit()
2701 if (ssa->var_info && ssa->ops) { in zend_jit()
3207 if (ssa->var_info && ssa->ops) { in zend_jit()
[all …]
/PHP-8.0/ext/sodium/tests/
H A Dphp_password_verify.phpt31 foreach($opsSet as $ops) {
36 $hash = sodium_crypto_pwhash_str($password, $ops, $mem);
/PHP-8.0/ext/opcache/tests/jit/
H A Dsend_val_001.phpt15 "ops"

Completed in 58 milliseconds

123