/PHP-5.5/ext/hash/ |
H A D | hash.c | 96 ops = NULL; in php_hash_fetch_ops() 100 return ops; in php_hash_fetch_ops() 140 if (!ops) { in php_hash_do_hash() 237 ops->hash_update(context, key, ops->block_size); in php_hash_hmac_round() 257 if (!ops) { in php_hash_do_hash_hmac() 352 if (!ops) { in PHP_FUNCTION() 368 hash->ops = ops; in PHP_FUNCTION() 582 copy_hash->ops = hash->ops; in PHP_FUNCTION() 630 if (!ops) { in PHP_FUNCTION() 880 if (ops) { in PHP_FUNCTION() [all …]
|
H A D | php_hash.h | 36 typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context); 50 const php_hash_ops *ops; member 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 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 …
|
H A D | hash_adler32.c | 59 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3… in PHP_ADLER32Copy() argument
|
H A D | hash_crc32.c | 69 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX … in PHP_CRC32Copy() argument
|
/PHP-5.5/Zend/tests/ |
H A D | bug53511.phpt | 7 throw new Exception("ops 1"); 14 throw new Exception("ops 2"); 23 Fatal error: Uncaught exception 'Exception' with message 'ops 2' in %sbug53511.php:11 28 Next exception 'Exception' with message 'ops 1' in %sbug53511.php:4
|
/PHP-5.5/main/streams/ |
H A D | cast.c | 208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast() 211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast() 229 stream->ops->cast && in _php_stream_cast() 231 stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS in _php_stream_cast() 272 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast() 273 if (FAILURE == stream->ops->cast(stream, castas, ret TSRMLS_CC)) { in _php_stream_cast() 309 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS) { in _php_stream_cast() 322 …MLS_CC, E_WARNING, "cannot represent a stream of type %s as a %s", stream->ops->label, cast_names[… in _php_stream_cast() 384 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
|
H A D | xp_socket.c | 575 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind() 583 stream->ops == &php_stream_unix_socket_ops ? "" : "datagram", in php_tcp_sockop_bind() 603 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM, in php_tcp_sockop_bind() 625 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect() 673 stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM, in php_tcp_sockop_connect() 786 php_stream_ops *ops; in php_stream_generic_socket_factory() local 790 ops = &php_stream_socket_ops; in php_stream_generic_socket_factory() 792 ops = &php_stream_udp_socket_ops; in php_stream_generic_socket_factory() 796 ops = &php_stream_unix_socket_ops; in php_stream_generic_socket_factory() 798 ops = &php_stream_unixdg_socket_ops; in php_stream_generic_socket_factory() [all …]
|
H A D | streams.c | 87 fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream); in forget_persistent_resource_id_numbers() 303 ret->ops = ops; in _php_stream_alloc() 486 ret = stream->ops->close(stream, preserve_handle ? 0 : 1 TSRMLS_CC); in _php_stream_free() 733 toread = stream->ops->read(stream, buf, size TSRMLS_CC); in _php_stream_read() 835 if (stream->ops->stat == NULL) { in _php_stream_stat() 839 return (stream->ops->stat)(stream, ssb TSRMLS_CC); in _php_stream_stat() 1133 justwrote = stream->ops->write(stream, buf, towrite TSRMLS_CC); in _php_stream_write_buffer() 1228 if (stream->ops->flush) { in _php_stream_flush() 1229 ret = stream->ops->flush(stream TSRMLS_CC); in _php_stream_flush() 1237 if (buf == NULL || count == 0 || stream->ops->write == NULL) { in _php_stream_write() [all …]
|
H A D | filter.c | 504 stream->ops->write(stream, bucket->buf, bucket->buflen TSRMLS_CC); in _php_stream_filter_flush()
|
H A D | memory.c | 731 stream->ops = &php_stream_rfc2397_ops; in php_stream_url_wrap_rfc2397()
|
/PHP-5.5/Zend/tests/traits/ |
H A D | bug60809.phpt | 24 public $prop = "ops";
|
/PHP-5.5/main/ |
H A D | php_streams.h | 62 #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (p… argument 187 php_stream_ops *ops; member 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), (pe… argument 486 #define php_stream_is(stream, anops) ((stream)->ops == anops)
|
/PHP-5.5/ |
H A D | README.STREAMS | 232 The php_streams ops struct consists of pointers to methods that implement 236 that can efficiently behave as fgets. The ops struct also contains a label 268 PHPAPI php_stream * php_stream_alloc(php_stream_ops * ops, void * abstract, 271 ops is a pointer to the implementation, 360 are all mandatory. The rest are optional. Declare your stream ops struct:
|
/PHP-5.5/ext/standard/ |
H A D | php_fopen_wrapper.c | 362 stream->ops = &php_stream_socket_ops; in php_stream_url_wrap_php()
|
H A D | filters.c | 2143 php_stream_filter_ops *ops; member 2162 for (i = 0; standard_filters[i].ops; i++) { in PHP_MINIT_FUNCTION() 2164 standard_filters[i].ops->label, in PHP_MINIT_FUNCTION() 2177 for (i = 0; standard_filters[i].ops; i++) { in PHP_MSHUTDOWN_FUNCTION() 2178 php_stream_filter_unregister_factory(standard_filters[i].ops->label TSRMLS_CC); in PHP_MSHUTDOWN_FUNCTION()
|
H A D | streamsfuncs.c | 514 add_assoc_string(return_value, "stream_type", (char *)stream->ops->label, 1); in PHP_FUNCTION() 535 …add_assoc_bool(return_value, "seekable", (stream->ops->seek) && (stream->flags & PHP_STREAM_FLAG_N… in PHP_FUNCTION()
|
/PHP-5.5/ext/openssl/ |
H A D | xp_ssl.c | 557 if (cparam->inputs.session->ops != &php_openssl_socket_ops) { in php_openssl_setup_crypto() 768 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_openssl_tcp_sockop_accept()
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 816 int was_blocked = net_stream->ops->set_option(net_stream, opt, 0, NULL TSRMLS_CC); in MYSQLND_METHOD() 829 net_stream->ops->set_option(net_stream, opt, 1, NULL TSRMLS_CC); in MYSQLND_METHOD()
|
/PHP-5.5/ext/session/ |
H A D | session.c | 730 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); in PHP_INI_MH() local 732 if (ops) { in PHP_INI_MH() 734 PS(hash_ops) = ops; in PHP_INI_MH()
|
/PHP-5.5/ext/posix/ |
H A D | posix.c | 712 stream->ops->label); in php_posix_stream_get_fd()
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.c | 793 !stream->ops || in zend_get_file_handle_timestamp() 794 !stream->ops->stat) { in zend_get_file_handle_timestamp() 801 ret = stream->ops->stat(stream, &sb TSRMLS_CC); in zend_get_file_handle_timestamp()
|
/PHP-5.5/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 117489 static const u8 ops[] = {TK_GE, TK_LE}; 117495 pNewExpr = sqlite3PExpr(pParse, ops[i],
|