Searched refs:ops (Results 1 - 21 of 21) sorted by relevance

/PHP_5_5/ext/posix/
H A Dposix.c712 stream->ops->label);
/PHP_5_5/ext/standard/
H A Dfilters.c2143 php_stream_filter_ops *ops; member in struct:__anon242
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);
H A Dphp_fopen_wrapper.c362 stream->ops = &php_stream_socket_ops;
H A Dstreamsfuncs.c508 add_assoc_string(return_value, "stream_type", (char *)stream->ops->label, 1);
529 add_assoc_bool(return_value, "seekable", (stream->ops->seek) && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0);
/PHP_5_5/main/streams/
H A Dcast.c208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) {
211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC);
229 stream->ops->cast &&
231 stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS
272 if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL TSRMLS_CC) == SUCCESS) {
273 if (FAILURE == stream->ops->cast(stream, castas, ret TSRMLS_CC)) {
309 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS) {
322 php_error_docref(NULL TSRMLS_CC, E_WARNING, "cannot represent a stream of type %s as a %s", stream->ops
[all...]
H A Dfilter.c504 stream->ops->write(stream, bucket->buf, bucket->buflen TSRMLS_CC);
H A Dmemory.c721 stream->ops = &php_stream_rfc2397_ops;
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_5/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.h36 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
50 const php_hash_ops *ops; member in struct:_php_hash_data
133 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
134 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
H A Dphp_hash_adler32.h33 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER32_CTX *copy_context);
H A Dphp_hash_crc32.h34 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context);
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
874 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
917 const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name)); local
[all...]
/PHP_5_5/ext/opcache/
H A DZendAccelerator.c793 !stream->ops ||
794 !stream->ops->stat) {
801 ret = stream->ops->stat(stream, &sb TSRMLS_CC);
/PHP_5_5/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_5/ext/session/
H A Dsession.c727 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); local
729 if (ops) {
731 PS(hash_ops) = ops;
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_net.c816 int was_blocked = net_stream->ops->set_option(net_stream, opt, 0, NULL TSRMLS_CC);
829 net_stream->ops->set_option(net_stream, opt, 1, NULL TSRMLS_CC);
/PHP_5_5/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_5/ext/openssl/
H A Dxp_ssl.c433 if (cparam->inputs.session->ops != &php_openssl_socket_ops) {
656 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+");

Completed in 194 milliseconds