• Home
  • Raw
  • Download

Lines Matching refs:ht

83 #define PHP_GRPC_HASH_FOREACH_VAL_START(ht, data) \  argument
85 for (zend_hash_internal_pointer_reset(ht); \
86 zend_hash_get_current_data(ht, (void**)&tmp_data) == SUCCESS; \
87 zend_hash_move_forward(ht)) { \
90 #define PHP_GRPC_HASH_FOREACH_STR_KEY_VAL_START(ht, key, key_type, data) \ argument
94 for (zend_hash_internal_pointer_reset(ht); \
95 zend_hash_get_current_data(ht, (void**)&tmp##key) == SUCCESS; \
96 zend_hash_move_forward(ht)) { \
97 key_type = zend_hash_get_current_key_ex(ht, &key, &len##key, &index##key,\
104 #define PHP_GRPC_HASH_FOREACH_LONG_KEY_VAL_START(ht, key, key_type, index,\ argument
108 for (zend_hash_internal_pointer_reset(ht); \
109 zend_hash_get_current_data(ht, (void**)&tmp##key) == SUCCESS; \
110 zend_hash_move_forward(ht)) { \
111 key_type = zend_hash_get_current_key_ex(ht, &key, &len##key, &index,\
117 static inline int php_grpc_zend_hash_find(HashTable *ht, char *key, int len, in php_grpc_zend_hash_find() argument
120 if (zend_hash_find(ht, key, len, (void **)&data) == SUCCESS) { in php_grpc_zend_hash_find()
220 #define PHP_GRPC_HASH_FOREACH_VAL_START(ht, data) \ argument
221 ZEND_HASH_FOREACH_VAL(ht, data) {
223 #define PHP_GRPC_HASH_FOREACH_STR_KEY_VAL_START(ht, key, key_type, data) \ argument
225 ZEND_HASH_FOREACH_STR_KEY_VAL(ht, (zs_##key), data) { \
232 #define PHP_GRPC_HASH_FOREACH_LONG_KEY_VAL_START(ht, key, key_type, index, \ argument
235 ZEND_HASH_FOREACH_KEY_VAL(ht, index, zs_##key, data) { \
241 static inline int php_grpc_zend_hash_find(HashTable *ht, char *key, int len, in php_grpc_zend_hash_find() argument
243 zval *value_tmp = zend_hash_str_find(ht, key, len -1); in php_grpc_zend_hash_find()
252 static inline int php_grpc_zend_hash_del(HashTable *ht, char *key, int len) { in php_grpc_zend_hash_del() argument
253 return zend_hash_str_del(ht, key, len - 1); in php_grpc_zend_hash_del()