Lines Matching refs:var_hash_ptr
55 #define PHP_VAR_SERIALIZE_INIT(var_hash_ptr) \ argument
59 ALLOC_HASHTABLE(var_hash_ptr); \
60 zend_hash_init((var_hash_ptr), 10, NULL, NULL, 0); \
62 BG(serialize).var_hash = (void *)(var_hash_ptr); \
66 (var_hash_ptr) = (php_serialize_data_t)BG(serialize).var_hash; \
71 #define PHP_VAR_SERIALIZE_DESTROY(var_hash_ptr) \ argument
75 zend_hash_destroy((var_hash_ptr)); \
76 FREE_HASHTABLE(var_hash_ptr); \
86 #define PHP_VAR_UNSERIALIZE_INIT(var_hash_ptr) \ argument
90 (var_hash_ptr) = (php_unserialize_data_t)ecalloc(1, sizeof(struct php_unserialize_data)); \
92 BG(unserialize).var_hash = (void *)(var_hash_ptr); \
96 (var_hash_ptr) = (php_unserialize_data_t)BG(unserialize).var_hash; \
101 #define PHP_VAR_UNSERIALIZE_DESTROY(var_hash_ptr) \ argument
105 var_destroy(&(var_hash_ptr)); \
106 efree(var_hash_ptr); \
109 var_destroy(&(var_hash_ptr)); \
110 efree((var_hash_ptr)); \