ops                91 ext/hash/hash.c 	php_hash_ops *ops;
ops                95 ext/hash/hash.c 	if (SUCCESS != zend_hash_find(&php_hash_hashtable, lower, algo_len + 1, (void*)&ops)) {
ops                96 ext/hash/hash.c 		ops = NULL;
ops               100 ext/hash/hash.c 	return ops;
ops               104 ext/hash/hash.c PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */
ops               110 ext/hash/hash.c 	zend_hash_add(&php_hash_hashtable, lower, algo_len + 1, (void*)ops, sizeof(php_hash_ops), NULL);
ops               115 ext/hash/hash.c PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context) /* {{{ */
ops               117 ext/hash/hash.c 	php_hash_ops *hash_ops = (php_hash_ops *)ops;
ops               131 ext/hash/hash.c 	const php_hash_ops *ops;
ops               139 ext/hash/hash.c 	ops = php_hash_fetch_ops(algo, algo_len);
ops               140 ext/hash/hash.c 	if (!ops) {
ops               156 ext/hash/hash.c 	context = emalloc(ops->context_size);
ops               157 ext/hash/hash.c 	ops->hash_init(context);
ops               164 ext/hash/hash.c 			ops->hash_update(context, (unsigned char *) buf, n);
ops               168 ext/hash/hash.c 		ops->hash_update(context, (unsigned char *) data, data_len);
ops               171 ext/hash/hash.c 	digest = emalloc(ops->digest_size + 1);
ops               172 ext/hash/hash.c 	ops->hash_final((unsigned char *) digest, context);
ops               176 ext/hash/hash.c 		digest[ops->digest_size] = 0;
ops               177 ext/hash/hash.c 		RETURN_STRINGL(digest, ops->digest_size, 0);
ops               179 ext/hash/hash.c 		char *hex_digest = safe_emalloc(ops->digest_size, 2, 1);
ops               181 ext/hash/hash.c 		php_hash_bin2hex(hex_digest, (unsigned char *) digest, ops->digest_size);
ops               182 ext/hash/hash.c 		hex_digest[2 * ops->digest_size] = 0;
ops               184 ext/hash/hash.c 		RETURN_STRINGL(hex_digest, 2 * ops->digest_size, 0);
ops               221 ext/hash/hash.c static inline void php_hash_hmac_prep_key(unsigned char *K, const php_hash_ops *ops, void *context, const unsigned char *key, const int key_len) {
ops               222 ext/hash/hash.c 	memset(K, 0, ops->block_size);
ops               223 ext/hash/hash.c 	if (key_len > ops->block_size) {
ops               225 ext/hash/hash.c 		ops->hash_init(context);
ops               226 ext/hash/hash.c 		ops->hash_update(context, key, key_len);
ops               227 ext/hash/hash.c 		ops->hash_final(K, context);
ops               232 ext/hash/hash.c 	php_hash_string_xor_char(K, K, 0x36, ops->block_size);
ops               235 ext/hash/hash.c static inline void 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) {
ops               236 ext/hash/hash.c 	ops->hash_init(context);
ops               237 ext/hash/hash.c 	ops->hash_update(context, key, ops->block_size);
ops               238 ext/hash/hash.c 	ops->hash_update(context, data, data_size);
ops               239 ext/hash/hash.c 	ops->hash_final(final, context);
ops               247 ext/hash/hash.c 	const php_hash_ops *ops;
ops               256 ext/hash/hash.c 	ops = php_hash_fetch_ops(algo, algo_len);
ops               257 ext/hash/hash.c 	if (!ops) {
ops               273 ext/hash/hash.c 	context = emalloc(ops->context_size);
ops               275 ext/hash/hash.c 	K = emalloc(ops->block_size);
ops               276 ext/hash/hash.c 	digest = emalloc(ops->digest_size + 1);
ops               278 ext/hash/hash.c 	php_hash_hmac_prep_key((unsigned char *) K, ops, context, (unsigned char *) key, key_len);		
ops               283 ext/hash/hash.c 		ops->hash_init(context);
ops               284 ext/hash/hash.c 		ops->hash_update(context, (unsigned char *) K, ops->block_size);
ops               286 ext/hash/hash.c 			ops->hash_update(context, (unsigned char *) buf, n);
ops               289 ext/hash/hash.c 		ops->hash_final((unsigned char *) digest, context);
ops               291 ext/hash/hash.c 		php_hash_hmac_round((unsigned char *) digest, ops, context, (unsigned char *) K, (unsigned char *) data, data_len);
ops               294 ext/hash/hash.c 	php_hash_string_xor_char((unsigned char *) K, (unsigned char *) K, 0x6A, ops->block_size);
ops               296 ext/hash/hash.c 	php_hash_hmac_round((unsigned char *) digest, ops, context, (unsigned char *) K, (unsigned char *) digest, ops->digest_size);
ops               299 ext/hash/hash.c 	memset(K, 0, ops->block_size);
ops               304 ext/hash/hash.c 		digest[ops->digest_size] = 0;
ops               305 ext/hash/hash.c 		RETURN_STRINGL(digest, ops->digest_size, 0);
ops               307 ext/hash/hash.c 		char *hex_digest = safe_emalloc(ops->digest_size, 2, 1);
ops               309 ext/hash/hash.c 		php_hash_bin2hex(hex_digest, (unsigned char *) digest, ops->digest_size);
ops               310 ext/hash/hash.c 		hex_digest[2 * ops->digest_size] = 0;
ops               312 ext/hash/hash.c 		RETURN_STRINGL(hex_digest, 2 * ops->digest_size, 0);
ops               344 ext/hash/hash.c 	const php_hash_ops *ops;
ops               351 ext/hash/hash.c 	ops = php_hash_fetch_ops(algo, algo_len);
ops               352 ext/hash/hash.c 	if (!ops) {
ops               364 ext/hash/hash.c 	context = emalloc(ops->context_size);
ops               365 ext/hash/hash.c 	ops->hash_init(context);
ops               368 ext/hash/hash.c 	hash->ops = ops;
ops               374 ext/hash/hash.c 		char *K = emalloc(ops->block_size);
ops               377 ext/hash/hash.c 		memset(K, 0, ops->block_size);
ops               379 ext/hash/hash.c 		if (key_len > ops->block_size) {
ops               381 ext/hash/hash.c 			ops->hash_update(context, (unsigned char *) key, key_len);
ops               382 ext/hash/hash.c 			ops->hash_final((unsigned char *) K, context);
ops               384 ext/hash/hash.c 			ops->hash_init(context);
ops               390 ext/hash/hash.c 		for(i=0; i < ops->block_size; i++) {
ops               393 ext/hash/hash.c 		ops->hash_update(context, (unsigned char *) K, ops->block_size);
ops               416 ext/hash/hash.c 	hash->ops->hash_update(hash->context, (unsigned char *) data, data_len);
ops               450 ext/hash/hash.c 		hash->ops->hash_update(hash->context, (unsigned char *) buf, n);
ops               484 ext/hash/hash.c 		hash->ops->hash_update(hash->context, (unsigned char *) buf, n);
ops               509 ext/hash/hash.c 	digest_len = hash->ops->digest_size;
ops               511 ext/hash/hash.c 	hash->ops->hash_final((unsigned char *) digest, hash->context);
ops               516 ext/hash/hash.c 		for(i=0; i < hash->ops->block_size; i++) {
ops               521 ext/hash/hash.c 		hash->ops->hash_init(hash->context);
ops               522 ext/hash/hash.c 		hash->ops->hash_update(hash->context, (unsigned char *) hash->key, hash->ops->block_size);
ops               523 ext/hash/hash.c 		hash->ops->hash_update(hash->context, (unsigned char *) digest, hash->ops->digest_size);
ops               524 ext/hash/hash.c 		hash->ops->hash_final((unsigned char *) digest, hash->context);
ops               527 ext/hash/hash.c 		memset(hash->key, 0, hash->ops->block_size);
ops               572 ext/hash/hash.c 	context = emalloc(hash->ops->context_size);
ops               573 ext/hash/hash.c 	hash->ops->hash_init(context);
ops               575 ext/hash/hash.c 	res = hash->ops->hash_copy(hash->ops, hash->context, context);
ops               582 ext/hash/hash.c 	copy_hash->ops = hash->ops;
ops               585 ext/hash/hash.c 	copy_hash->key = ecalloc(1, hash->ops->block_size);
ops               587 ext/hash/hash.c 		memcpy(copy_hash->key, hash->key, hash->ops->block_size);
ops               622 ext/hash/hash.c 	const php_hash_ops *ops;
ops               629 ext/hash/hash.c 	ops = php_hash_fetch_ops(algo, algo_len);
ops               630 ext/hash/hash.c 	if (!ops) {
ops               650 ext/hash/hash.c 	context = emalloc(ops->context_size);
ops               651 ext/hash/hash.c 	ops->hash_init(context);
ops               653 ext/hash/hash.c 	K1 = emalloc(ops->block_size);
ops               654 ext/hash/hash.c 	K2 = emalloc(ops->block_size);
ops               655 ext/hash/hash.c 	digest = emalloc(ops->digest_size);
ops               656 ext/hash/hash.c 	temp = emalloc(ops->digest_size);
ops               659 ext/hash/hash.c 	php_hash_hmac_prep_key(K1, ops, context, (unsigned char *) pass, pass_len);
ops               661 ext/hash/hash.c 	php_hash_string_xor_char(K2, K1, 0x6A, ops->block_size);
ops               665 ext/hash/hash.c 		length = ops->digest_size;
ops               675 ext/hash/hash.c 	loops = (long) ceil((float) digest_length / (float) ops->digest_size);
ops               677 ext/hash/hash.c 	result = safe_emalloc(loops, ops->digest_size, 0);
ops               691 ext/hash/hash.c 		php_hash_hmac_round(digest, ops, context, K1, computed_salt, (long) salt_len + 4);
ops               692 ext/hash/hash.c 		php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size);
ops               696 ext/hash/hash.c 		memcpy(temp, digest, ops->digest_size);
ops               704 ext/hash/hash.c 			php_hash_hmac_round(digest, ops, context, K1, digest, ops->digest_size);
ops               705 ext/hash/hash.c 			php_hash_hmac_round(digest, ops, context, K2, digest, ops->digest_size);
ops               708 ext/hash/hash.c 			php_hash_string_xor(temp, temp, digest, ops->digest_size);
ops               711 ext/hash/hash.c 		memcpy(result + ((i - 1) * ops->digest_size), temp, ops->digest_size);
ops               714 ext/hash/hash.c 	memset(K1, 0, ops->block_size);
ops               715 ext/hash/hash.c 	memset(K2, 0, ops->block_size);
ops               784 ext/hash/hash.c 		unsigned char *dummy = emalloc(hash->ops->digest_size);
ops               785 ext/hash/hash.c 		hash->ops->hash_final(dummy, hash->context);
ops               791 ext/hash/hash.c 		memset(hash->key, 0, hash->ops->block_size);
ops               919 ext/hash/hash.c 			const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name));
ops               920 ext/hash/hash.c 			if (ops) {
ops               921 ext/hash/hash.c 				RETVAL_LONG(ops->digest_size);
ops               962 ext/hash/hash.c 			const php_hash_ops *ops = php_hash_fetch_ops(algorithm_lookup.hash_name, strlen(algorithm_lookup.hash_name));
ops               963 ext/hash/hash.c 			if (ops) {
ops               968 ext/hash/hash.c 				int block_size = ops->digest_size;
ops               972 ext/hash/hash.c 				context = emalloc(ops->context_size);
ops               973 ext/hash/hash.c 				ops->hash_init(context);
ops               976 ext/hash/hash.c 				digest = emalloc(ops->digest_size + 1);
ops               979 ext/hash/hash.c 					ops->hash_init(context);
ops               982 ext/hash/hash.c 						ops->hash_update(context, &null, 1);
ops               984 ext/hash/hash.c 					ops->hash_update(context, (unsigned char *)padded_salt, salt_len);
ops               985 ext/hash/hash.c 					ops->hash_update(context, (unsigned char *)password, password_len);
ops               986 ext/hash/hash.c 					ops->hash_final((unsigned char *)digest, context);
ops                59 ext/hash/hash_adler32.c PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER32_CTX *copy_context)
ops                69 ext/hash/hash_crc32.c PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context)
ops                41 ext/hash/php_hash.h typedef int  (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context);
ops                55 ext/hash/php_hash.h 	const php_hash_ops *ops;
ops               142 ext/hash/php_hash.h PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
ops               143 ext/hash/php_hash.h PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
ops                33 ext/hash/php_hash_adler32.h PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER32_CTX *copy_context);
ops                34 ext/hash/php_hash_crc32.h PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context);
ops               865 ext/mysqlnd/mysqlnd_net.c 	int was_blocked = net_stream->ops->set_option(net_stream, opt, 0, NULL TSRMLS_CC);
ops               878 ext/mysqlnd/mysqlnd_net.c 			net_stream->ops->set_option(net_stream, opt, 1, NULL TSRMLS_CC);
ops               802 ext/opcache/ZendAccelerator.c 				    !stream->ops ||
ops               803 ext/opcache/ZendAccelerator.c 				    !stream->ops->stat) {
ops               810 ext/opcache/ZendAccelerator.c 					ret = stream->ops->stat(stream, &sb TSRMLS_CC);
ops              1577 ext/openssl/xp_ssl.c 		if (cparam->inputs.session->ops != &php_openssl_socket_ops) {
ops              2122 ext/openssl/xp_ssl.c 			xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+");
ops               712 ext/posix/posix.c 				stream->ops->label);
ops               730 ext/session/session.c 	php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length);
ops               732 ext/session/session.c 	if (ops) {
ops               734 ext/session/session.c 		PS(hash_ops) = ops;
ops              117489 ext/sqlite3/libsqlite/sqlite3.c     static const u8 ops[] = {TK_GE, TK_LE};
ops              117495 ext/sqlite3/libsqlite/sqlite3.c       pNewExpr = sqlite3PExpr(pParse, ops[i], 
ops              2143 ext/standard/filters.c 	php_stream_filter_ops *ops;
ops              2162 ext/standard/filters.c 	for (i = 0; standard_filters[i].ops; i++) {
ops              2164 ext/standard/filters.c 					standard_filters[i].ops->label,
ops              2177 ext/standard/filters.c 	for (i = 0; standard_filters[i].ops; i++) {
ops              2178 ext/standard/filters.c 		php_stream_filter_unregister_factory(standard_filters[i].ops->label TSRMLS_CC);
ops               388 ext/standard/php_fopen_wrapper.c 				stream->ops = &php_stream_socket_ops;
ops               516 ext/standard/streamsfuncs.c 	add_assoc_string(return_value, "stream_type", (char *)stream->ops->label, 1);
ops               537 ext/standard/streamsfuncs.c 	add_assoc_bool(return_value, "seekable", (stream->ops->seek) && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0);
ops                62 main/php_streams.h #define php_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persistent), (mode) STREAMS_REL_CC TSRMLS_CC)
ops               187 main/php_streams.h 	php_stream_ops *ops;
ops               240 main/php_streams.h PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract,
ops               243 main/php_streams.h #define php_stream_alloc(ops, thisptr, persistent_id, mode)	_php_stream_alloc((ops), (thisptr), (persistent_id), (mode) STREAMS_CC TSRMLS_CC)
ops               486 main/php_streams.h #define php_stream_is(stream, anops)		((stream)->ops == anops)
ops               208 main/streams/cast.c 		if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) {
ops               211 main/streams/cast.c 			stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC);
ops               229 main/streams/cast.c 			stream->ops->cast &&
ops               231 main/streams/cast.c 			stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS
ops               272 main/streams/cast.c 		if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL TSRMLS_CC) == SUCCESS) {
ops               273 main/streams/cast.c 			if (FAILURE == stream->ops->cast(stream, castas, ret TSRMLS_CC)) {
ops               309 main/streams/cast.c 	} else if (stream->ops->cast && stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS) {
ops               322 main/streams/cast.c 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "cannot represent a stream of type %s as a %s", stream->ops->label, cast_names[castas]);
ops               384 main/streams/cast.c 	if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) {
ops               504 main/streams/filter.c 			stream->ops->write(stream, bucket->buf, bucket->buflen TSRMLS_CC);
ops               746 main/streams/memory.c 		stream->ops = &php_stream_rfc2397_ops;
ops                87 main/streams/streams.c fprintf(stderr, "forget_persistent: %s:%p\n", stream->ops->label, stream);
ops               288 main/streams/streams.c PHPAPI php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC TSRMLS_DC) /* {{{ */
ops               300 main/streams/streams.c fprintf(stderr, "stream_alloc: %s:%p persistent=%s\n", ops->label, ret, persistent_id);
ops               303 main/streams/streams.c 	ret->ops = ops;
ops               405 main/streams/streams.c 			stream->ops->label, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(close_options, out));
ops               456 main/streams/streams.c 		stream->ops->label, stream, stream->orig_path, preserve_handle, release_cast,
ops               486 main/streams/streams.c 		ret = stream->ops->close(stream, preserve_handle ? 0 : 1 TSRMLS_CC);
ops               530 main/streams/streams.c 			spprintf(&leakinfo, 0, __FILE__ "(%d) : Stream of type '%s' %p (path:%s) was not closed\n", __LINE__, stream->ops->label, stream, stream->orig_path);
ops               596 main/streams/streams.c 			justread = stream->ops->read(stream, chunk_buf, stream->chunk_size TSRMLS_CC);
ops               692 main/streams/streams.c 			justread = stream->ops->read(stream, stream->readbuf + stream->writepos,
ops               733 main/streams/streams.c 			toread = stream->ops->read(stream, buf, size TSRMLS_CC);
ops               835 main/streams/streams.c 	if (stream->ops->stat == NULL) {
ops               839 main/streams/streams.c 	return (stream->ops->stat)(stream, ssb TSRMLS_CC);
ops              1121 main/streams/streams.c 	if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && stream->readpos != stream->writepos) {
ops              1124 main/streams/streams.c 		stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position TSRMLS_CC);
ops              1133 main/streams/streams.c 		justwrote = stream->ops->write(stream, buf, towrite TSRMLS_CC);
ops              1143 main/streams/streams.c 			if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) {
ops              1228 main/streams/streams.c 	if (stream->ops->flush) {
ops              1229 main/streams/streams.c 		ret = stream->ops->flush(stream TSRMLS_CC);
ops              1237 main/streams/streams.c 	if (buf == NULL || count == 0 || stream->ops->write == NULL) {
ops              1304 main/streams/streams.c 	if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) {
ops              1317 main/streams/streams.c 		ret = stream->ops->seek(stream, offset, whence, &stream->position TSRMLS_CC);
ops              1356 main/streams/streams.c 	if (stream->ops->set_option) {
ops              1357 main/streams/streams.c 		ret = stream->ops->set_option(stream, option, value, ptrparam TSRMLS_CC);
ops              2134 main/streams/streams.c 	if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, 'a') && stream->position == 0) {
ops              2138 main/streams/streams.c 		if (0 == stream->ops->seek(stream, 0, SEEK_CUR, &newpos TSRMLS_CC)) {
ops               585 main/streams/xp_socket.c 	if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
ops               588 main/streams/xp_socket.c 		sock->socket = socket(PF_UNIX, stream->ops == &php_stream_unix_socket_ops ? SOCK_STREAM : SOCK_DGRAM, 0);
ops               593 main/streams/xp_socket.c 						stream->ops == &php_stream_unix_socket_ops ? "" : "datagram",
ops               613 main/streams/xp_socket.c 			stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM,
ops               635 main/streams/xp_socket.c 	if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) {
ops               638 main/streams/xp_socket.c 		sock->socket = socket(PF_UNIX, stream->ops == &php_stream_unix_socket_ops ? SOCK_STREAM : SOCK_DGRAM, 0);
ops               683 main/streams/xp_socket.c 			stream->ops == &php_stream_udp_socket_ops ? SOCK_DGRAM : SOCK_STREAM,
ops               743 main/streams/xp_socket.c 			xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+");
ops               796 main/streams/xp_socket.c 	php_stream_ops *ops;
ops               800 main/streams/xp_socket.c 		ops = &php_stream_socket_ops;
ops               802 main/streams/xp_socket.c 		ops = &php_stream_udp_socket_ops;
ops               806 main/streams/xp_socket.c 		ops = &php_stream_unix_socket_ops;
ops               808 main/streams/xp_socket.c 		ops = &php_stream_unixdg_socket_ops;
ops               827 main/streams/xp_socket.c 	stream = php_stream_alloc_rel(ops, sock, persistent_id, "r+");
ops                66 sapi/phpdbg/phpdbg.c 	pg->ops = NULL;
ops               128 sapi/phpdbg/phpdbg.c 		if (brake->ops) {
ops               132 sapi/phpdbg/phpdbg.c 					brake->ops TSRMLS_CC);
ops               133 sapi/phpdbg/phpdbg.c 			efree(brake->ops);
ops               211 sapi/phpdbg/phpdbg.c 	if (PHPDBG_G(ops)) {
ops               212 sapi/phpdbg/phpdbg.c 		destroy_op_array(PHPDBG_G(ops) TSRMLS_CC);
ops               213 sapi/phpdbg/phpdbg.c 		efree(PHPDBG_G(ops));
ops               214 sapi/phpdbg/phpdbg.c 		PHPDBG_G(ops) = NULL;
ops               200 sapi/phpdbg/phpdbg.h 	zend_op_array *ops;                 	     /* op_array */
ops               444 sapi/phpdbg/phpdbg_bp.c 			if (PHPDBG_G(ops) != NULL && !memcmp(PHPDBG_G(ops)->filename, new_break->class_name, new_break->class_len)) {
ops               445 sapi/phpdbg/phpdbg_bp.c 				if (phpdbg_resolve_op_array_break(new_break, PHPDBG_G(ops) TSRMLS_CC) == SUCCESS) {
ops               733 sapi/phpdbg/phpdbg_bp.c 	new_break.ops = zend_compile_string(
ops               738 sapi/phpdbg/phpdbg_bp.c 	if (new_break.ops) {
ops               744 sapi/phpdbg/phpdbg_bp.c 			brake->id, brake->code, brake->ops);
ops               813 sapi/phpdbg/phpdbg_bp.c 	zend_op_array *ops;
ops               820 sapi/phpdbg/phpdbg_bp.c 	ops = (zend_op_array*)fbc;
ops               822 sapi/phpdbg/phpdbg_bp.c 	if (ops->scope) {
ops               824 sapi/phpdbg/phpdbg_bp.c 		return phpdbg_find_breakpoint_method(ops TSRMLS_CC);
ops               827 sapi/phpdbg/phpdbg_bp.c 	fname = ops->function_name;
ops               840 sapi/phpdbg/phpdbg_bp.c static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_method(zend_op_array *ops TSRMLS_DC) /* {{{ */
ops               845 sapi/phpdbg/phpdbg_bp.c 	if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], ops->scope->name,
ops               846 sapi/phpdbg/phpdbg_bp.c 		ops->scope->name_length, (void**)&class_table) == SUCCESS) {
ops               847 sapi/phpdbg/phpdbg_bp.c 		char *lcname = zend_str_tolower_dup(ops->function_name, strlen(ops->function_name));
ops               908 sapi/phpdbg/phpdbg_bp.c 				zend_op_array *ops = (zend_op_array*)function;
ops               909 sapi/phpdbg/phpdbg_bp.c 				str = ops->function_name ? ops->function_name : "main";
ops               913 sapi/phpdbg/phpdbg_bp.c 					return param->type == STR_PARAM || execute_data->opline - ops->opcodes == param->num;
ops               937 sapi/phpdbg/phpdbg_bp.c 				zend_op_array *ops = (zend_op_array*) function;
ops               939 sapi/phpdbg/phpdbg_bp.c 				if (ops->scope) {
ops               940 sapi/phpdbg/phpdbg_bp.c 					size_t lengths[2] = {strlen(param->method.class), ops->scope->name_length};
ops               941 sapi/phpdbg/phpdbg_bp.c 					if (lengths[0] == lengths[1] && memcmp(param->method.class, ops->scope->name, lengths[0]) == SUCCESS) {
ops               943 sapi/phpdbg/phpdbg_bp.c 						lengths[1] = strlen(ops->function_name);
ops               945 sapi/phpdbg/phpdbg_bp.c 						if (lengths[0] == lengths[1] && memcmp(param->method.name, ops->function_name, lengths[0]) == SUCCESS) {
ops               946 sapi/phpdbg/phpdbg_bp.c 							return param->type == METHOD_PARAM || (execute_data->opline - ops->opcodes) == param->num;
ops               992 sapi/phpdbg/phpdbg_bp.c 		EG(active_op_array) = bp->ops;
ops               103 sapi/phpdbg/phpdbg_bp.h 	zend_op_array  *ops;
ops               124 sapi/phpdbg/phpdbg_info.c 		zend_op_array *ops = EG(active_op_array);
ops               126 sapi/phpdbg/phpdbg_info.c 		if (ops->function_name) {
ops               127 sapi/phpdbg/phpdbg_info.c 			if (ops->scope) {
ops               129 sapi/phpdbg/phpdbg_info.c 				"Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
ops               132 sapi/phpdbg/phpdbg_info.c 					"Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
ops               135 sapi/phpdbg/phpdbg_info.c 			if (ops->filename) {
ops               137 sapi/phpdbg/phpdbg_info.c 				"Variables in %s (%d)", ops->filename, zend_hash_num_elements(&vars));
ops               140 sapi/phpdbg/phpdbg_info.c 					"Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
ops               209 sapi/phpdbg/phpdbg_info.c 	if ((EG(in_execution) && EG(active_op_array)) || PHPDBG_G(ops)) {
ops               210 sapi/phpdbg/phpdbg_info.c 		zend_op_array *ops = EG(active_op_array) ? EG(active_op_array) : PHPDBG_G(ops);
ops               211 sapi/phpdbg/phpdbg_info.c 		int literal = 0, count = ops->last_literal-1;
ops               213 sapi/phpdbg/phpdbg_info.c 		if (ops->function_name) {
ops               214 sapi/phpdbg/phpdbg_info.c 			if (ops->scope) {
ops               216 sapi/phpdbg/phpdbg_info.c 				"Literal Constants in %s::%s() (%d)", ops->scope->name, ops->function_name, count);
ops               219 sapi/phpdbg/phpdbg_info.c 					"Literal Constants in %s() (%d)", ops->function_name, count);
ops               222 sapi/phpdbg/phpdbg_info.c 			if (ops->filename) {
ops               224 sapi/phpdbg/phpdbg_info.c 				"Literal Constants in %s (%d)", ops->filename, count);
ops               227 sapi/phpdbg/phpdbg_info.c 					"Literal Constants @ %p (%d)", ops, count);
ops               231 sapi/phpdbg/phpdbg_info.c 		while (literal < ops->last_literal) {
ops               232 sapi/phpdbg/phpdbg_info.c 			if (Z_TYPE(ops->literals[literal].constant) != IS_NULL) {
ops               235 sapi/phpdbg/phpdbg_info.c 					&ops->literals[literal].constant, 0);
ops               184 sapi/phpdbg/phpdbg_list.c 	const zend_op_array *ops;
ops               191 sapi/phpdbg/phpdbg_list.c 	ops = (zend_op_array*)fbc;
ops               193 sapi/phpdbg/phpdbg_list.c 	phpdbg_list_file(ops->filename,
ops               194 sapi/phpdbg/phpdbg_list.c 		ops->line_end - ops->line_start + 1, ops->line_start, 0 TSRMLS_CC);
ops                29 sapi/phpdbg/phpdbg_opcode.c static inline zend_uint phpdbg_decode_literal(zend_op_array *ops, zend_literal *literal TSRMLS_DC) /* {{{ */
ops                33 sapi/phpdbg/phpdbg_opcode.c 	while (iter < ops->last_literal) {
ops                34 sapi/phpdbg/phpdbg_opcode.c 		if (literal == &ops->literals[iter]) {
ops                43 sapi/phpdbg/phpdbg_opcode.c static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */
ops                49 sapi/phpdbg/phpdbg_opcode.c 			asprintf(&decode, "$%s", ops->vars[op->var].name);
ops                56 sapi/phpdbg/phpdbg_opcode.c 				if (zend_hash_index_find(vars, (zend_ulong) ops->vars - op->var, (void**) &pid) != SUCCESS) {
ops                59 sapi/phpdbg/phpdbg_opcode.c 						vars, (zend_ulong) ops->vars - op->var,
ops                68 sapi/phpdbg/phpdbg_opcode.c 			asprintf(&decode, "C%u", phpdbg_decode_literal(ops, op->literal TSRMLS_CC));
ops                78 sapi/phpdbg/phpdbg_opcode.c char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */
ops                90 sapi/phpdbg/phpdbg_opcode.c 			asprintf(&decode[1], "J%ld", op->op1.jmp_addr - ops->opcodes);
ops                94 sapi/phpdbg/phpdbg_opcode.c 			decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
ops               110 sapi/phpdbg/phpdbg_opcode.c 		decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
ops               112 sapi/phpdbg/phpdbg_opcode.c 			&decode[2], "J%ld", op->op2.jmp_addr - ops->opcodes);
ops               119 sapi/phpdbg/phpdbg_opcode.c 			decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
ops               120 sapi/phpdbg/phpdbg_opcode.c 			decode[2] = phpdbg_decode_op(ops, &op->op2, op->op2_type, vars TSRMLS_CC);
ops               122 sapi/phpdbg/phpdbg_opcode.c 			decode[3] = phpdbg_decode_op(ops, &op->result, op->result_type, vars TSRMLS_CC);
ops                27 sapi/phpdbg/phpdbg_opcode.h char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC);
ops               111 sapi/phpdbg/phpdbg_print.c 		if (!PHPDBG_G(ops)) {
ops               115 sapi/phpdbg/phpdbg_print.c 		if (PHPDBG_G(ops)) {
ops               118 sapi/phpdbg/phpdbg_print.c 			phpdbg_print_function_helper((zend_function*) PHPDBG_G(ops) TSRMLS_CC);
ops               129 sapi/phpdbg/phpdbg_print.c 	zend_op_array *ops = EG(active_op_array);
ops               131 sapi/phpdbg/phpdbg_print.c 	if (EG(in_execution) && ops) {
ops               132 sapi/phpdbg/phpdbg_print.c 		if (ops->function_name) {
ops               133 sapi/phpdbg/phpdbg_print.c 			if (ops->scope) {
ops               134 sapi/phpdbg/phpdbg_print.c 				phpdbg_notice("Stack in %s::%s()", ops->scope->name, ops->function_name);
ops               136 sapi/phpdbg/phpdbg_print.c 				phpdbg_notice("Stack in %s()", ops->function_name);
ops               139 sapi/phpdbg/phpdbg_print.c 			if (ops->filename) {
ops               140 sapi/phpdbg/phpdbg_print.c 				phpdbg_notice("Stack in %s", ops->filename);
ops               142 sapi/phpdbg/phpdbg_print.c 				phpdbg_notice("Stack @ %p", ops);
ops               145 sapi/phpdbg/phpdbg_print.c 		phpdbg_print_function_helper((zend_function*) ops TSRMLS_CC);
ops               351 sapi/phpdbg/phpdbg_prompt.c 				if (PHPDBG_G(ops)) {
ops               398 sapi/phpdbg/phpdbg_prompt.c 		PHPDBG_G(ops) = zend_compile_file(&fh, ZEND_INCLUDE TSRMLS_CC);
ops               584 sapi/phpdbg/phpdbg_prompt.c 	if (PHPDBG_G(ops) || PHPDBG_G(exec)) {
ops               591 sapi/phpdbg/phpdbg_prompt.c 		if (!PHPDBG_G(ops)) {
ops               598 sapi/phpdbg/phpdbg_prompt.c 		EG(active_op_array) = PHPDBG_G(ops);
ops               742 sapi/phpdbg/phpdbg_prompt.c 	phpdbg_writeln("Compiled\t%s", PHPDBG_G(ops) ? "yes" : "no");
ops               747 sapi/phpdbg/phpdbg_prompt.c 	if (PHPDBG_G(ops)) {
ops               748 sapi/phpdbg/phpdbg_prompt.c 		phpdbg_writeln("Opcodes\t\t%d", PHPDBG_G(ops)->last);
ops               750 sapi/phpdbg/phpdbg_prompt.c 		if (PHPDBG_G(ops)->last_var) {
ops               751 sapi/phpdbg/phpdbg_prompt.c 			phpdbg_writeln("Variables\t%d", PHPDBG_G(ops)->last_var-1);
ops              1073 sapi/phpdbg/phpdbg_prompt.c 	if (PHPDBG_G(ops)) {
ops              1074 sapi/phpdbg/phpdbg_prompt.c 		destroy_op_array(PHPDBG_G(ops) TSRMLS_CC);
ops              1075 sapi/phpdbg/phpdbg_prompt.c 		efree(PHPDBG_G(ops));
ops              1076 sapi/phpdbg/phpdbg_prompt.c 		PHPDBG_G(ops) = NULL;