/PHP-7.0/ext/hash/ |
H A D | hash.c | 95 return ops; in php_hash_fetch_ops() 134 if (!ops) { in php_hash_do_hash() 231 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round() 253 if (!ops) { in php_hash_do_hash_hmac() 280 ops->hash_update(context, K, ops->block_size); in php_hash_do_hash_hmac() 349 if (!ops) { in PHP_FUNCTION() 365 hash->ops = ops; in PHP_FUNCTION() 582 copy_hash->ops = hash->ops; in PHP_FUNCTION() 625 if (!ops) { in PHP_FUNCTION() 918 if (ops) { in PHP_FUNCTION() [all …]
|
H A D | php_hash.h | 42 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context); 56 const php_hash_ops *ops; member 143 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops); 144 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
|
H A D | php_hash_adler32.h | 33 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
|
H A D | php_hash_crc32.h | 34 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX …
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_opcode.c | 45 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)]; in phpdbg_decode_op() 52 spprintf(&decode, 0, "@%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op() 55 spprintf(&decode, 0, "~%u", EX_VAR_TO_NUM(op->var) - ops->last_var); in phpdbg_decode_op() 58 zval *literal = RT_CONSTANT(ops, *op); in phpdbg_decode_op() 65 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op) /*{{{ */ in phpdbg_decode_opline() argument 89 spprintf(&decode[1], 0, "J%td", OP_JMP_ADDR(op, op->op1) - ops->opcodes); in phpdbg_decode_opline() 100 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type); in phpdbg_decode_opline() 108 OP_JMP_ADDR(op, op->op2) - ops->opcodes, in phpdbg_decode_opline() 109 ZEND_OFFSET_TO_OPLINE(op, op->extended_value) - ops->opcodes); in phpdbg_decode_opline() 139 decode[2] = phpdbg_decode_op(ops, &op->op2, op->op2_type); in phpdbg_decode_opline() [all …]
|
H A D | phpdbg_info.c | 213 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 D | phpdbg_print.c | 112 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 D | phpdbg_bp.c | 568 …if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->cl… in phpdbg_resolve_opline_break() 850 if (new_break.ops) { in phpdbg_create_conditional_break() 921 zend_op_array *ops; in phpdbg_find_breakpoint_symbol() local 927 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol() 929 if (ops->scope) { in phpdbg_find_breakpoint_symbol() 931 return phpdbg_find_breakpoint_method(ops); in phpdbg_find_breakpoint_symbol() 934 if (ops->function_name) { in phpdbg_find_breakpoint_symbol() 1004 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param() 1005 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param() 1034 if (ops->scope) { in phpdbg_find_breakpoint_param() [all …]
|
H A D | phpdbg_opcode.h | 26 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op);
|
H A D | phpdbg_list.c | 180 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.0/sapi/phpdbg/tests/ |
H A D | print_001.phpt | 13 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 D | print_002.phpt | 19 prompt> [Stack in foo() (8 ops)] 20 L14-16 foo() %s - %s + 8 ops
|
/PHP-7.0/Zend/tests/ |
H A D | bug53511.phpt | 7 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 D | temporary_cleaning_004.phpt | 8 function ops() { 21 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 36 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | globals_005.phpt | 9 return "ops"; 12 $GLOBALS[foo()] = "ops";
|
H A D | temporary_cleaning_005.phpt | 8 function ops() { 22 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 39 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | temporary_cleaning_003.phpt | 8 function ops() { 14 $r = [$x] + ops();
|
H A D | temporary_cleaning_001.phpt | 8 function ops() { 16 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
/PHP-7.0/main/streams/ |
H A D | cast.c | 199 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() 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 D | xp_socket.c | 621 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind() 629 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind() 678 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM, in php_tcp_sockop_bind() 702 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect() 760 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM, in php_tcp_sockop_connect() 873 php_stream_ops *ops; in php_stream_generic_socket_factory() local 877 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory() 879 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory() 883 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory() 885 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory() [all …]
|
H A D | streams.c | 284 ret->ops = ops; in _php_stream_alloc() 467 ret = stream->ops->close(stream, preserve_handle ? 0 : 1); in _php_stream_free() 716 toread = stream->ops->read(stream, buf, size); in _php_stream_read() 818 if (stream->ops->stat == NULL) { in _php_stream_stat() 822 return (stream->ops->stat)(stream, ssb); in _php_stream_stat() 1116 justwrote = stream->ops->write(stream, buf, towrite); in _php_stream_write_buffer() 1213 if (stream->ops->flush) { in _php_stream_flush() 1214 ret = stream->ops->flush(stream); in _php_stream_flush() 1224 if (buf == NULL || count == 0 || stream->ops->write == NULL) { in _php_stream_write() 1349 if (stream->ops->set_option) { in _php_stream_set_option() [all …]
|
/PHP-7.0/ext/zip/lib/ |
H A D | zip_source_win32handle.c | 73 …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()
|
H A D | zipwin32.h | 48 struct _zip_source_win32_file_ops *ops; member
|
/PHP-7.0/Zend/tests/generators/ |
H A D | yield_unary_precedence.phpt | 8 var_dump(yield * -1); // other ops still should behave normally
|
/PHP-7.0/Zend/tests/traits/ |
H A D | bug60809.phpt | 24 public $prop = "ops";
|