Home
last modified time | relevance | path

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

1234

/php-src/ext/hash/
H A Dhash.c112 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 Dphp_hash_xxhash.h31 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 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
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 Dphp_hash_murmur.h30 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-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()
1215 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1235 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1280 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1447 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1601 ssa->ops[op_2].op1_use = ssa->ops[op_2].op2_use; in zend_dfa_optimize_op_array()
1614 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1623 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
[all …]
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.c87 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 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/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.c662 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind()
670 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind()
743 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect()
798 && stream->ops != &php_stream_unix_socket_ops in php_tcp_sockop_connect()
799 && stream->ops != &php_stream_unixdg_socket_ops in php_tcp_sockop_connect()
931 const php_stream_ops *ops; in php_stream_generic_socket_factory() local
935 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory()
937 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory()
941 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory()
943 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory()
[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 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 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_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 Dwarnings_string_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 Dno_warning_compatible_float_literals.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
64 Bitwise ops:
H A Dno_warnings_compatible_string_float_vars.phpt6 echo 'Bitwise ops:' . \PHP_EOL;
75 Bitwise ops:

Completed in 69 milliseconds

1234