Searched defs:ops (Results 1 - 17 of 17) sorted by relevance

/PHP_5_6/ext/hash/
H A Dhash_adler32.c59 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER32_CTX *copy_context) argument
H A Dhash_crc32.c69 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context) argument
H A Dhash.c91 php_hash_ops *ops; local
95 if (SUCCESS != zend_hash_find(&php_hash_hashtable, lower, algo_len + 1, (void*)&ops)) {
96 ops = NULL;
100 return ops;
104 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ argument
110 zend_hash_add(&php_hash_hashtable, lower, algo_len + 1, (void*)ops, sizeof(php_hash_ops), NULL);
115 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context) /* {{{ */ argument
117 php_hash_ops *hash_ops = (php_hash_ops *)ops;
131 const php_hash_ops *ops; local
139 ops
220 php_hash_hmac_prep_key(unsigned char *K, const php_hash_ops *ops, void *context, const unsigned char *key, const int key_len) argument
234 php_hash_hmac_round(unsigned char *final, const php_hash_ops *ops, void *context, const unsigned char *key, const unsigned char *data, const long data_size) argument
246 const php_hash_ops *ops; local
339 const php_hash_ops *ops; local
617 const php_hash_ops *ops; local
914 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
957 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
[all...]
H A Dphp_hash.h41 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
55 const php_hash_ops *ops; member in struct:_php_hash_data
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);
/PHP_5_6/ext/standard/
H A Dfilters.c2143 php_stream_filter_ops *ops; member in struct:__anon243
2162 for (i = 0; standard_filters[i].ops; i++) {
2164 standard_filters[i].ops->label,
2177 for (i = 0; standard_filters[i].ops; i++) {
2178 php_stream_filter_unregister_factory(standard_filters[i].ops->label TSRMLS_CC);
/PHP_5_6/main/streams/
H A Dxp_socket.c439 * by inspecting stream->ops.
575 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
578 sock->socket = socket(PF_UNIX, stream->ops == &php_stream_unix_socket_ops ? SOCK_STREAM : SOCK_DGRAM, 0);
583 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram",
603 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM,
625 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
628 sock->socket = socket(PF_UNIX, stream->ops == &php_stream_unix_socket_ops ? SOCK_STREAM : SOCK_DGRAM, 0);
673 stream->ops
786 php_stream_ops *ops; local
[all...]
H A Dstreams.c87 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);
287 /* allocate a new stream for a particular ops */
288 PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC TSRMLS_DC) /* {{{ */ argument
300 fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id);
303 ret->ops = ops;
405 stream->ops->label, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(close_options, out));
456 stream->ops->label, stream, stream->orig_path, preserve_handle, release_cast,
486 ret = stream->ops->close(stream, preserve_handle ? 0 : 1 TSRMLS_CC);
530 spprintf(&leakinfo, 0, __FILE__ "(%d) : Stream of type '%s' %p (path:%s) was not closed\n", __LINE__, stream->ops
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c49 ** large file support, or if the OS is windows, these should be no-ops.
1174 ** also be no-ops, and any attempt to read the journal would return
1372 ** are harmless no-ops.)^
1377 ** All other valid calls to sqlite3_shutdown() are harmless no-ops.)^
1797 ** They are retained for backwards compatibility but are now no-ops.
6005 ** behave as no-ops.
6068 ** xMutexInit() must be no-ops.
8619 ** macros become no-ops and have zero performance impact.
8921 ** Enter and Leave procedures no-ops.
25091 ** operations become no-ops
110597 static const u8 ops[] = {TK_GE, TK_LE}; local
[all...]
/PHP_5_6/main/
H A Dphp_streams.h62 #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC TSRMLS_CC)
123 const char *label; /* label for this ops structure */
187 php_stream_ops *ops; member in struct:_php_stream
238 /* allocate a new stream for a particular ops */
240 PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract,
243 #define php_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (persistent_id), (mode) STREAMS_CC TSRMLS_CC)
271 #define PHP_STREAM_FREE_CALL_DTOR 1 /* call ops->close */
273 #define PHP_STREAM_FREE_PRESERVE_HANDLE 4 /* tell ops
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_bp.c444 if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->class_len)) {
445 if (phpdbg_resolve_op_array_break(new_break, PHPDBG_G(ops) TSRMLS_CC) == SUCCESS) {
732 new_break.ops = zend_compile_string(
737 if (new_break.ops) {
743 brake->id, brake->code, brake->ops);
812 zend_op_array *ops; local
819 ops = (zend_op_array*)fbc;
821 if (ops->scope) {
823 return phpdbg_find_breakpoint_method(ops TSRMLS_C
907 zend_op_array *ops = (zend_op_array*)function; local
936 zend_op_array *ops = (zend_op_array*) function; local
[all...]
H A Dphpdbg_bp.h103 zend_op_array *ops; member in struct:_phpdbg_breakcond_t
H A Dphpdbg_info.c124 zend_op_array *ops = EG(active_op_array); local
126 if (ops->function_name) {
127 if (ops->scope) {
129 "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
132 "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
135 if (ops->filename) {
137 "Variables in %s (%d)", ops->filename, zend_hash_num_elements(&vars));
140 "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
209 if ((EG(in_execution) && EG(active_op_array)) || PHPDBG_G(ops)) {
210 zend_op_array *ops = EG(active_op_array) ? EG(active_op_array) : PHPDBG_G(ops); local
[all...]
H A Dphpdbg_opcode.c29 static inline zend_uint phpdbg_decode_literal(zend_op_array *ops, zend_literal *literal TSRMLS_DC) /* {{{ */ argument
33 while (iter < ops->last_literal) {
34 if (literal == &ops->literals[iter]) {
43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */ argument
49 asprintf(&decode, "$%s", ops->vars[op->var].name);
56 if (zend_hash_index_find(vars, (zend_ulong) ops->vars - op->var, (void**) &pid) != SUCCESS) {
59 vars, (zend_ulong) ops->vars - op->var,
68 asprintf(&decode, "C%u", phpdbg_decode_literal(ops, op->literal TSRMLS_CC));
78 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */ argument
90 asprintf(&decode[1], "J%ld", op->op1.jmp_addr - ops
[all...]
H A Dphpdbg_print.c111 if (!PHPDBG_G(ops)) {
115 if (PHPDBG_G(ops)) {
118 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops) TSRMLS_CC);
129 zend_op_array *ops = EG(active_op_array); local
131 if (EG(in_execution) && ops) {
132 if (ops->function_name) {
133 if (ops->scope) {
134 phpdbg_notice("Stack in %s::%s()", ops->scope->name, ops->function_name);
136 phpdbg_notice("Stack in %s()", ops
[all...]
H A Dphpdbg.h200 zend_op_array *ops; /* op_array */ variable
H A Dphpdbg_list.c184 const zend_op_array *ops; local
191 ops = (zend_op_array*)fbc;
193 phpdbg_list_file(ops->filename,
194 ops->line_end - ops->line_start + 1, ops->line_start, 0 TSRMLS_CC);
/PHP_5_6/ext/session/
H A Dsession.c748 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); local
750 if (ops) {
752 PS(hash_ops) = ops;

Completed in 225 milliseconds