Home
last modified time | relevance | path

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

1234

/php-src/ext/hash/
H A Dhash.c111 return ops; in php_hash_fetch_ops()
367 if (!ops) { in php_hash_do_hash()
494 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round()
509 if (!ops || !ops->is_crypto) { in php_hash_do_hash_hmac()
537 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac()
649 hash->ops = ops; in PHP_FUNCTION()
911 if (!ops || !ops->is_crypto) { in PHP_FUNCTION()
955 ops->hash_update(context, K, ops->block_size); in PHP_FUNCTION()
1006 if (!ops || !ops->is_crypto) { in PHP_FUNCTION()
1412 newobj->ops = oldobj->ops; in php_hashcontext_clone()
[all …]
H A Dphp_hash_xxhash.h31 PHP_HASH_API zend_result PHP_XXH32Copy(const php_hash_ops *ops, const PHP_XXH32_CTX *orig_context, …
41 PHP_HASH_API zend_result PHP_XXH64Copy(const php_hash_ops *ops, const PHP_XXH64_CTX *orig_context, …
63 PHP_HASH_API zend_result PHP_XXH3_64_Copy(const php_hash_ops *ops, const PHP_XXH3_64_CTX *orig_cont…
70 PHP_HASH_API zend_result PHP_XXH3_128_Copy(const php_hash_ops *ops, const PHP_XXH3_128_CTX *orig_co…
H A Dphp_hash.h37 typedef zend_result (*php_hash_copy_func_t)(const void *ops, const void *orig_context, void *dest_c…
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 zend_result php_hash_copy(const void *ops, const void *orig_context, void *dest_contex…
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 Dphp_hash_murmur.h30 PHP_HASH_API zend_result PHP_MURMUR3ACopy(const php_hash_ops *ops, const PHP_MURMUR3A_CTX *orig_con…
42 PHP_HASH_API zend_result PHP_MURMUR3CCopy(const php_hash_ops *ops, const PHP_MURMUR3C_CTX *orig_con…
54 PHP_HASH_API zend_result PHP_MURMUR3FCopy(const php_hash_ops *ops, const PHP_MURMUR3F_CTX *orig_con…
/php-src/Zend/Optimizer/
H A Ddfa_pass.c163 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()
1228 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1248 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1293 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1460 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1614 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1627 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1636 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
[all …]
H A Dzend_func_info.c62 ssa->ops ? &ssa->ops[call_info->arg_info[0].opline - op_array->opcodes] : NULL); in zend_range_info()
64 ssa->ops ? &ssa->ops[call_info->arg_info[1].opline - op_array->opcodes] : NULL); in zend_range_info()
70 ssa->ops ? &ssa->ops[call_info->arg_info[2].opline - op_array->opcodes] : NULL); in zend_range_info()
H A Ddce.c348 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def()
460 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
584 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
589 || (zend_may_throw(&op_array->opcodes[i], &ssa->ops[i], op_array, ssa) in dce_optimize_op_array()
591 || (has_varargs && may_break_varargs(op_array, ssa, &ssa->ops[i]))) { in dce_optimize_op_array()
594 && ssa->ops[i].result_def >= 0 in dce_optimize_op_array()
595 && ssa->vars[ssa->ops[i].result_def].escape_state == ESCAPE_STATE_NO_ESCAPE) { in dce_optimize_op_array()
599 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 0); in dce_optimize_op_array()
619 add_operands_to_worklists(&ctx, &op_array->opcodes[i], &ssa->ops[i], ssa, 1); in dce_optimize_op_array()
625 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_ssa.c823 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename()
1108 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains()
1213 ssa->ops[use].res_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1216 use = ssa->ops[use].res_use_chain; in zend_ssa_unlink_use_chain()
1220 ssa->ops[use].op1_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1223 use = ssa->ops[use].op1_use_chain; in zend_ssa_unlink_use_chain()
1227 ssa->ops[use].op2_use_chain = zend_ssa_next_use(ssa->ops, var, op); in zend_ssa_unlink_use_chain()
1230 use = ssa->ops[use].op2_use_chain; in zend_ssa_unlink_use_chain()
1255 use = ssa->ops[use].res_use_chain; in zend_ssa_replace_use_chain()
1262 use = ssa->ops[use].op1_use_chain; in zend_ssa_replace_use_chain()
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg_info.c213 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 Dphpdbg_print.c85 if (PHPDBG_G(ops)) { in PHPDBG_PRINT()
88 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops)); in PHPDBG_PRINT()
101 if (ops->function_name) { in PHPDBG_PRINT()
102 if (ops->scope) { in PHPDBG_PRINT()
103 …dbg_notice("Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name),… in PHPDBG_PRINT()
105 phpdbg_notice("Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
108 if (ops->filename) { in PHPDBG_PRINT()
109 phpdbg_notice("Stack in %s (%d ops)", ZSTR_VAL(ops->filename), ops->last); in PHPDBG_PRINT()
111 phpdbg_notice("Stack @ %p (%d ops)", ops, ops->last); in PHPDBG_PRINT()
114 phpdbg_print_function_helper((zend_function*) ops); in PHPDBG_PRINT()
[all …]
H A Dphpdbg_bp.c579 …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-src/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 Dglobals_005.phpt9 return "ops";
12 $GLOBALS[foo()] = "ops";
/php-src/main/streams/
H A Dcast.c202 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 Dxp_socket.c671 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind()
679 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind()
752 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect()
807 && stream->ops != &php_stream_unix_socket_ops in php_tcp_sockop_connect()
808 && stream->ops != &php_stream_unixdg_socket_ops in php_tcp_sockop_connect()
940 const php_stream_ops *ops; in php_stream_generic_socket_factory() local
944 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory()
946 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory()
950 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory()
952 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory()
[all …]
/php-src/Zend/tests/temporary_cleaning/
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 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-src/Zend/tests/try/
H A Dbug70228_5.phpt9 throw new Exception("ops");
20 ops
/php-src/Zend/tests/float_to_int/
H A Dno_warnings_compatible_float_literals_assignment_ops.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
35 Bitwise ops:
H A Dwarnings_float_literals_assignment_ops.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
35 Bitwise ops:
H A Dno_warning_compatible_string_float_literals.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
56 Bitwise ops:
H A Dwarnings_string_float_literals_assignment_ops.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
35 Bitwise ops:
H A Dno_warning_compatible_float_literals.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
64 Bitwise ops:

Completed in 137 milliseconds

1234