Lines Matching refs:attributes
159 static zend_attribute *get_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset) in get_attribute() argument
161 if (attributes) { in get_attribute()
164 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in get_attribute()
174 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str() argument
176 if (attributes) { in get_attribute_str()
179 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in get_attribute_str()
189 ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname) in zend_get_attribute() argument
191 return get_attribute(attributes, lcname, 0); in zend_get_attribute()
194 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str() argument
196 return get_attribute_str(attributes, str, len, 0); in zend_get_attribute_str()
199 ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, u… in zend_get_parameter_attribute() argument
201 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
204 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str() argument
206 return get_attribute_str(attributes, str, len, offset + 1); in zend_get_parameter_attribute_str()
253 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr) in zend_is_attribute_repeated() argument
257 ZEND_HASH_PACKED_FOREACH_PTR(attributes, other) { in zend_is_attribute_repeated()
290 ZEND_API zend_attribute *zend_add_attribute(HashTable **attributes, zend_string *name, uint32_t arg… in zend_add_attribute() argument
293 if (*attributes == NULL) { in zend_add_attribute()
294 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute()
295 zend_hash_init(*attributes, 8, NULL, attr_free, persistent); in zend_add_attribute()
318 zend_hash_next_index_insert_ptr(*attributes, attr); in zend_add_attribute()
337 ZEND_HASH_FOREACH_PTR(ce->attributes, attr) { in zend_mark_internal_attribute()