Lines Matching refs:attributes
153 static zend_attribute *get_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset) in get_attribute() argument
155 if (attributes) { in get_attribute()
158 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in get_attribute()
168 static zend_attribute *get_attribute_str(HashTable *attributes, const char *str, size_t len, uint32… in get_attribute_str() argument
170 if (attributes) { in get_attribute_str()
173 ZEND_HASH_PACKED_FOREACH_PTR(attributes, attr) { in get_attribute_str()
183 ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname) in zend_get_attribute() argument
185 return get_attribute(attributes, lcname, 0); in zend_get_attribute()
188 ZEND_API zend_attribute *zend_get_attribute_str(HashTable *attributes, const char *str, size_t len) in zend_get_attribute_str() argument
190 return get_attribute_str(attributes, str, len, 0); in zend_get_attribute_str()
193 ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, u… in zend_get_parameter_attribute() argument
195 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
198 ZEND_API zend_attribute *zend_get_parameter_attribute_str(HashTable *attributes, const char *str, s… in zend_get_parameter_attribute_str() argument
200 return get_attribute_str(attributes, str, len, offset + 1); in zend_get_parameter_attribute_str()
247 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr) in zend_is_attribute_repeated() argument
251 ZEND_HASH_PACKED_FOREACH_PTR(attributes, other) { in zend_is_attribute_repeated()
284 ZEND_API zend_attribute *zend_add_attribute(HashTable **attributes, zend_string *name, uint32_t arg… in zend_add_attribute() argument
287 if (*attributes == NULL) { in zend_add_attribute()
288 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute()
289 zend_hash_init(*attributes, 8, NULL, attr_free, persistent); in zend_add_attribute()
312 zend_hash_next_index_insert_ptr(*attributes, attr); in zend_add_attribute()
331 ZEND_HASH_FOREACH_PTR(ce->attributes, attr) { in zend_mark_internal_attribute()