Lines Matching refs:attributes

70 static zend_attribute *get_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset)  in get_attribute()  argument
72 if (attributes) { in get_attribute()
75 ZEND_HASH_FOREACH_PTR(attributes, attr) { in get_attribute()
85 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str() argument
87 if (attributes) { in get_attribute_str()
90 ZEND_HASH_FOREACH_PTR(attributes, attr) { in get_attribute_str()
102 ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname) in zend_get_attribute() argument
104 return get_attribute(attributes, lcname, 0); in zend_get_attribute()
107 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str() argument
109 return get_attribute_str(attributes, str, len, 0); in zend_get_attribute_str()
112 ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, u… in zend_get_parameter_attribute() argument
114 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
117 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str() argument
119 return get_attribute_str(attributes, str, len, offset + 1); in zend_get_parameter_attribute_str()
166 ZEND_API zend_bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr) in zend_is_attribute_repeated() argument
170 ZEND_HASH_FOREACH_PTR(attributes, other) { in zend_is_attribute_repeated()
203 ZEND_API zend_attribute *zend_add_attribute(HashTable **attributes, zend_string *name, uint32_t arg… in zend_add_attribute() argument
206 if (*attributes == NULL) { in zend_add_attribute()
207 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute()
208 zend_hash_init(*attributes, 8, NULL, attr_free, persistent); in zend_add_attribute()
231 zend_hash_next_index_insert_ptr(*attributes, attr); in zend_add_attribute()