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

/PHP_TRUNK/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 Dphp_hash.h42 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
56 const php_hash_ops *ops; member in struct:_php_hash_data
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 Dhash.c92 php_hash_ops *ops = zend_hash_str_find_ptr(&php_hash_hashtable, lower, algo_len); local
95 return ops;
99 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ argument
103 zend_hash_str_add_ptr(&php_hash_hashtable, lower, algo_len, (void *) ops);
108 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context) /* {{{ */ argument
110 php_hash_ops *hash_ops = (php_hash_ops *)ops;
125 const php_hash_ops *ops; local
133 ops = php_hash_fetch_ops(algo, algo_len);
134 if (!ops) {
150 context = emalloc(ops
215 php_hash_hmac_prep_key(unsigned char *K, const php_hash_ops *ops, void *context, const unsigned char *key, const size_t key_len) argument
229 php_hash_hmac_round(unsigned char *final, const php_hash_ops *ops, void *context, const unsigned char *key, const unsigned char *data, const zend_long data_size) argument
243 const php_hash_ops *ops; local
341 const php_hash_ops *ops; local
617 const php_hash_ops *ops; local
919 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
962 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
[all...]
/PHP_TRUNK/main/streams/
H A Dxp_socket.c461 * by inspecting stream->ops.
599 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
602 sock->socket = socket(PF_UNIX, stream->ops == &php_stream_unix_socket_ops ? SOCK_STREAM : SOCK_DGRAM, 0);
607 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram",
636 if (stream->ops == &php_stream_udp_socket_ops /* SO_BROADCAST is only applicable for UDP */
646 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM,
670 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
673 sock->socket = socket(PF_UNIX, stream->ops
841 php_stream_ops *ops; local
[all...]
H A Dstreams.c80 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);
267 /* allocate a new stream for a particular ops */
268 PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC) /* {{{ */ argument
280 fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id);
283 ret->ops = ops;
382 stream->ops->label, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(close_options, out));
433 stream->ops->label, stream, stream->orig_path, preserve_handle, release_cast,
466 ret = stream->ops->close(stream, preserve_handle ? 0 : 1);
511 spprintf(&leakinfo, 0, __FILE__ "(%d) : Stream of type '%s' %p (path:%s) was not closed\n", __LINE__, stream->ops
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h117 zend_op_array *ops; member in struct:_phpdbg_breakcond_t
H A Dphpdbg_info.c205 zend_op_array *ops = &EG(current_execute_data)->func->op_array; local
207 if (ops->function_name) {
208 if (ops->scope) {
209 phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_hash_num_elements(&vars));
211 phpdbg_notice("variableinfo", "function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars));
214 if (ops->filename) {
215 phpdbg_notice("variableinfo", "file=\"%s\" num=\"%d\"", "Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars));
217 phpdbg_notice("variableinfo", "opline=\"%p\" num=\"%d\"", "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
301 if (in_executor || PHPDBG_G(ops)) {
302 zend_op_array *ops = in_executor ? &EG(current_execute_data)->func->op_array : PHPDBG_G(ops); local
[all...]
H A Dphpdbg_print.c65 phpdbg_writeln("printoplineinfo", "type=\"User\" startline=\"%d\" endline=\"%d\" method=\"%s::%s\" file=\"%s\" opline=\"%p\"", "L%d-%d %s::%s() %s - %p + %d ops",
74 phpdbg_writeln("printoplineinfo", "type=\"User\" startline=\"%d\" endline=\"%d\" function=\"%s\" file=\"%s\" opline=\"%p\"", "L%d-%d %s() %s - %p + %d ops",
108 if (!PHPDBG_G(ops) && !(PHPDBG_G(flags) & PHPDBG_IN_SIGNAL_HANDLER)) {
112 if (PHPDBG_G(ops)) {
113 phpdbg_notice("printinfo", "file=\"%s\" num=\"%d\"", "Context %s (%d ops)", PHPDBG_G(exec), PHPDBG_G(ops)->last);
115 phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops));
127 zend_op_array *ops = &EG(current_execute_data)->func->op_array; local
128 if (ops->function_name) {
129 if (ops
[all...]
H A Dphpdbg.h259 zend_op_array *ops; /* op_array */ variable
H A Dphpdbg_bp.c553 if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->class_len)) {
554 if (phpdbg_resolve_op_array_break(new_break, PHPDBG_G(ops)) == SUCCESS) {
828 new_break.ops = zend_compile_string(&pv, "Conditional Breakpoint Code");
832 if (new_break.ops) {
835 phpdbg_notice("breakpoint", "id=\"%d\" expression=\"%s\" ptr=\"%p\"", "Conditional breakpoint #%d added %s/%p", brake->id, brake->code, brake->ops);
911 zend_op_array *ops; local
917 ops = (zend_op_array *) fbc;
919 if (ops->scope) {
921 return phpdbg_find_breakpoint_method(ops);
937 phpdbg_find_breakpoint_method(zend_op_array *ops) argument
993 zend_op_array *ops = (zend_op_array*)function; local
1022 zend_op_array *ops = (zend_op_array*) function; local
[all...]
H A Dphpdbg_list.c181 const zend_op_array *ops; local
188 ops = (zend_op_array *) fbc;
190 phpdbg_list_file(ops->filename, ops->line_end - ops->line_start + 1, ops->line_start, 0);
H A Dphpdbg_opcode.c39 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type) /* {{{ */ argument
45 zend_string *var = ops->vars[EX_VAR_TO_NUM(op->var)];
52 spprintf(&decode, 0, "@%td", EX_VAR_TO_NUM(op->var) - ops->last_var);
55 spprintf(&decode, 0, "~%td", EX_VAR_TO_NUM(op->var) - ops->last_var);
58 zval *literal = RT_CONSTANT(ops, *op);
65 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op) /*{{{ */ argument
89 spprintf(&decode[1], 0, "J%td", OP_JMP_ADDR(op, op->op1) - ops->opcodes);
100 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type);
108 OP_JMP_ADDR(op, op->op2) - ops->opcodes,
109 ZEND_OFFSET_TO_OPLINE(op, op->extended_value) - ops
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_win32handle.c74 _zip_source_win32_handle_or_name(const void *fname, HANDLE h, zip_uint64_t start, zip_int64_t len, int closep, const zip_stat_t *st, _zip_source_win32_file_ops_t *ops, zip_error_t *error) argument
91 if ((ctx->fname = ops->op_strdup(fname)) == NULL) {
98 ctx->ops = ops;
121 th = ops->op_open(ctx);
168 if (ctx->ops->op_rename_temp(ctx) < 0) {
197 if ((ctx->h = ctx->ops->op_open(ctx)) == INVALID_HANDLE_VALUE) {
240 if (ctx->ops->op_remove(ctx->fname) < 0) {
251 ctx->ops->op_remove(ctx->tmpname);
347 h = ctx->ops
[all...]
H A Dzipwin32.h48 struct _zip_source_win32_file_ops *ops; member in struct:_zip_source_win32_read_file
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c132 ** large file support, or if the OS is windows, these should be no-ops.
1294 ** also be no-ops, and any attempt to read the journal would return
1492 ** are harmless no-ops.)^
1497 ** All other valid calls to sqlite3_shutdown() are harmless no-ops.)^
1936 ** They are retained for backwards compatibility but are now no-ops.
6334 ** behave as no-ops.
6397 ** xMutexInit() must be no-ops.
9253 ** macros become no-ops and have zero performance impact.
9580 ** Enter and Leave procedures no-ops.
117489 static const u8 ops[] = {TK_GE, TK_LE}; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c2067 php_stream_filter_ops *ops; member in struct:__anon1
2086 for (i = 0; standard_filters[i].ops; i++) {
2088 standard_filters[i].ops->label,
2101 for (i = 0; standard_filters[i].ops; i++) {
2102 php_stream_filter_unregister_factory(standard_filters[i].ops->label);
/PHP_TRUNK/main/
H A Dphp_streams.h64 #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC)
125 const char *label; /* label for this ops structure */
191 php_stream_ops *ops; member in struct:_php_stream
243 /* allocate a new stream for a particular ops */
245 PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract,
248 #define php_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (persistent_id), (mode) STREAMS_CC)
283 #define PHP_STREAM_FREE_CALL_DTOR 1 /* call ops->close */
285 #define PHP_STREAM_FREE_PRESERVE_HANDLE 4 /* tell ops
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c752 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); local
754 if (ops) {
756 PS(hash_ops) = ops;

Completed in 172 milliseconds