Home
last modified time | relevance | path

Searched refs:zv (Results 26 – 50 of 205) sorted by relevance

123456789

/PHP-8.3/Zend/
H A Dzend_ini_parser.y280 static void zval_ini_dtor(zval *zv) in zval_ini_dtor() argument
282 if (Z_TYPE_P(zv) == IS_STRING) { in zval_ini_dtor()
284 GC_MAKE_PERSISTENT_LOCAL(Z_STR_P(zv)); in zval_ini_dtor()
286 zend_string_release(Z_STR_P(zv)); in zval_ini_dtor()
311 static void normalize_value(zval *zv) in normalize_value() argument
317 ZEND_ASSERT(Z_EXTRA_P(zv) == 0 || Z_EXTRA_P(zv) == INI_ZVAL_IS_NUMBER); in normalize_value()
318 if (Z_EXTRA_P(zv) == INI_ZVAL_IS_NUMBER && Z_TYPE_P(zv) == IS_STRING) { in normalize_value()
320 if (convert_to_number(&number_rv, Z_STRVAL_P(zv), Z_STRLEN_P(zv)) == SUCCESS) { in normalize_value()
321 zval_ptr_dtor(zv); in normalize_value()
322 ZVAL_COPY_VALUE(zv, &number_rv); in normalize_value()
H A Dzend_hash.c298 zval *zv; in zend_new_pair() local
306 zv++; in zend_new_pair()
1083 zval *zv; in _zend_hash_index_add_or_update_i() local
2029 zv--; in zend_hash_graceful_reverse_destroy()
3059 zv++; in zend_hash_sort_ex()
3312 zval *zv; in zend_symtable_to_proptable() local
3341 if (Z_ISREF_P(zv) && Z_REFCOUNT_P(zv) == 1) { in zend_symtable_to_proptable()
3342 zv = Z_REFVAL_P(zv); in zend_symtable_to_proptable()
3365 zval *zv; in zend_proptable_to_symtable() local
3397 if (Z_ISREF_P(zv) && Z_REFCOUNT_P(zv) == 1) { in zend_proptable_to_symtable()
[all …]
H A Dzend_weakrefs.h36 zval tmp, *zv; in zend_weakrefs_hash_add_ptr() local
38 if ((zv = zend_weakrefs_hash_add(ht, key, &tmp))) { in zend_weakrefs_hash_add_ptr()
39 return Z_PTR_P(zv); in zend_weakrefs_hash_add_ptr()
H A Dzend_constants.c33 #define IS_CONSTANT_VISITED(zv) (Z_CONSTANT_FLAGS_P(zv) & IS_CONSTANT_VISITED_MARK) argument
34 #define MARK_CONSTANT_VISITED(zv) Z_CONSTANT_FLAGS_P(zv) |= IS_CONSTANT_VISITED_MARK argument
35 #define RESET_CONSTANT_VISITED(zv) Z_CONSTANT_FLAGS_P(zv) &= ~IS_CONSTANT_VISITED_MARK argument
40 void free_zend_constant(zval *zv) in free_zend_constant() argument
42 zend_constant *c = Z_PTR_P(zv); in free_zend_constant()
61 static void copy_zend_constant(zval *zv) in copy_zend_constant() argument
63 zend_constant *c = Z_PTR_P(zv); in copy_zend_constant()
66 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), 1); in copy_zend_constant()
67 memcpy(Z_PTR_P(zv), c, sizeof(zend_constant)); in copy_zend_constant()
69 c = Z_PTR_P(zv); in copy_zend_constant()
H A Dzend_execute_API.c213 zv = Z_INDIRECT_P(zv); in zval_call_destructor()
215 if (Z_TYPE_P(zv) == IS_OBJECT && Z_REFCOUNT_P(zv) == 1) { in zval_call_destructor()
226 zv = Z_INDIRECT_P(zv); in zend_unclean_zval_ptr_dtor()
228 i_zval_ptr_dtor(zv); in zend_unclean_zval_ptr_dtor()
274 zval *zv; in zend_shutdown_executor_values() local
406 zval *zv; in shutdown_executor() local
455 destroy_zend_class(zv); in shutdown_executor()
696 ZVAL_COPY_OR_DUP(p, zv); in zval_update_constant_with_ctx()
1121 zval *zv; in zend_lookup_class_ex() local
1150 if (zv) { in zend_lookup_class_ex()
[all …]
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c296 zval *zv; in _zend_quick_get_constant() local
301 if (zv) { in _zend_quick_get_constant()
306 if (zv) { in _zend_quick_get_constant()
683 zv = Z_INDIRECT_P(zv);
688 zv = Z_REFVAL_P(zv);
693 ce1 = Z_OBJCE_P(zv);
726 zv = Z_INDIRECT_P(zv);
731 zv = Z_REFVAL_P(zv);
736 ce2 = Z_OBJCE_P(zv);
754 zv = Z_INDIRECT_P(zv);
[all …]
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_reverse_api.h24 MYSQLND *(*conversion_cb)(zval * zv);
34 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned in…
H A Dmysqlnd_ps.h22 typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, const unsigned in…
38 void ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pa…
H A Dmysqlnd_reverse_api.c67 zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_a… in zval_to_mysqlnd() argument
72 MYSQLND *retval = api->conversion_cb(zv); in zval_to_mysqlnd()
/PHP-8.3/ext/hash/
H A Dphp_hash.h38 … int (*php_hash_serialize_func_t)(const php_hashcontext_object *hash, zend_long *magic, zval *zv);
39 …int (*php_hash_unserialize_func_t)(php_hashcontext_object *hash, zend_long magic, const zval *zv);
151 …HASH_API int php_hash_serialize(const php_hashcontext_object *context, zend_long *magic, zval *zv);
152 …ASH_API int php_hash_unserialize(php_hashcontext_object *context, zend_long magic, const zval *zv);
153 PHP_HASH_API int php_hash_serialize_spec(const php_hashcontext_object *context, zval *zv, const cha…
154 PHP_HASH_API int php_hash_unserialize_spec(php_hashcontext_object *hash, const zval *zv, const char…
H A Dhash_sha3.c206 const zval *zv, in php_sha3_unserialize() argument
212 && (r = php_hash_unserialize_spec(hash, zv, PHP_SHA3_SPEC)) == SUCCESS in php_sha3_unserialize()
240 const zval *zv) { \
241 return php_sha3_unserialize(hash, magic, zv, (1600 - (2 * bits)) >> 3); \
296 static int php_keccak_serialize(const php_hashcontext_object *hash, zend_long *magic, zval *zv) in php_keccak_serialize() argument
299 return php_hash_serialize_spec(hash, zv, PHP_KECCAK_SPEC); in php_keccak_serialize()
302 static int php_keccak_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_keccak_unserialize() argument
307 && (r = php_hash_unserialize_spec(hash, zv, PHP_KECCAK_SPEC)) == SUCCESS in php_keccak_unserialize()
/PHP-8.3/ext/xmlwriter/
H A Dphp_xmlwriter.h46 #define Z_XMLWRITER_P(zv) php_xmlwriter_fetch_object(Z_OBJ_P((zv))) argument
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_watch.h64 zval *zv; member
75 zval zv; member
100 zval zv; member
129 void phpdbg_create_zval_watchpoint(zval *zv, phpdbg_watchpoint_t *watch);
/PHP-8.3/sapi/apache2handler/
H A Dapache_config.c122 static bool should_overwrite_per_dir_entry(HashTable *target_ht, zval *zv, zend_hash_key *hash_key,… in should_overwrite_per_dir_entry() argument
124 php_dir_entry *new_per_dir_entry = Z_PTR_P(zv); in should_overwrite_per_dir_entry()
140 void config_entry_ctor(zval *zv) in config_entry_ctor() argument
142 php_dir_entry *pe = (php_dir_entry*)Z_PTR_P(zv); in config_entry_ctor()
146 ZVAL_PTR(zv, npe); in config_entry_ctor()
226 static void config_entry_dtor(zval *zv) in config_entry_dtor() argument
228 free((php_dir_entry*)Z_PTR_P(zv)); in config_entry_dtor()
/PHP-8.3/ext/intl/formatter/
H A Dformatter_class.h33 #define Z_INTL_NUMBERFORMATTER_P(zv) php_intl_number_format_fetch_object(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/intl/msgformat/
H A Dmsgformat_class.h37 #define Z_INTL_MESSAGEFORMATTER_P(zv) php_intl_messageformatter_fetch_object(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/xmlreader/
H A Dphp_xmlreader.h54 #define Z_XMLREADER_P(zv) php_xmlreader_fetch_object(Z_OBJ_P((zv))) argument
/PHP-8.3/ext/curl/
H A Dcurl_private.h154 #define Z_CURL_P(zv) curl_from_obj(Z_OBJ_P(zv)) argument
160 #define Z_CURL_SHARE_P(zv) curl_share_from_obj(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_class.h36 #define Z_INTL_DATEFORMATTER_P(zv) php_intl_dateformatter_fetch_object(Z_OBJ_P(zv)) argument
H A Ddatepatterngenerator_class.h42 #define Z_INTL_DATEPATTERNGENERATOR_P(zv) php_intl_datepatterngenerator_fetch_object(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/intl/resourcebundle/
H A Dresourcebundle_class.h36 #define Z_INTL_RESOURCEBUNDLE_P(zv) php_intl_resourcebundle_fetch_object(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/simplexml/
H A Dphp_simplexml_exports.h45 #define Z_SXEOBJ_P(zv) php_sxe_fetch_object(Z_OBJ_P((zv))) argument
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c50 static void zend_persist_op_array_calc(zval *zv);
123 zval *zv; in zend_persist_zval_calc() local
125 ZEND_HASH_PACKED_FOREACH_VAL(Z_ARRVAL_P(z), zv) { in zend_persist_zval_calc()
126 zend_persist_zval_calc(zv); in zend_persist_zval_calc()
319 static void zend_persist_op_array_calc(zval *zv) in zend_persist_op_array_calc() argument
321 zend_op_array *op_array = Z_PTR_P(zv); in zend_persist_op_array_calc()
332 static void zend_persist_class_method_calc(zval *zv) in zend_persist_class_method_calc() argument
334 zend_op_array *op_array = Z_PTR_P(zv); in zend_persist_class_method_calc()
359 zend_persist_op_array_calc_ex(Z_PTR_P(zv)); in zend_persist_class_method_calc()
387 zend_class_constant *c = Z_PTR_P(zv); in zend_persist_class_constant_calc()
[all …]
/PHP-8.3/ext/intl/transliterator/
H A Dtransliterator_class.h38 #define Z_INTL_TRANSLITERATOR_P(zv) php_intl_transliterator_fetch_object(Z_OBJ_P(zv)) argument
/PHP-8.3/ext/intl/collator/
H A Dcollator_class.h47 #define Z_INTL_COLLATOR_P(zv) php_intl_collator_fetch_object(Z_OBJ_P(zv)) argument

Completed in 64 milliseconds

123456789