Lines Matching refs:attributes

172 	if (!ctx->attributes) {  in load_schema()
173 ctx->attributes = emalloc(sizeof(HashTable)); in load_schema()
174 zend_hash_init(ctx->attributes, 0, NULL, delete_attribute, 0); in load_schema()
1786 addHash = ctx->attributes; in schema_attribute()
1788 if (cur_type->attributes == NULL) { in schema_attribute()
1789 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attribute()
1790 zend_hash_init(cur_type->attributes, 0, NULL, delete_attribute, 0); in schema_attribute()
1792 addHash = cur_type->attributes; in schema_attribute()
1986 if (cur_type->attributes == NULL) { in schema_attributeGroup()
1987 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attributeGroup()
1988 zend_hash_init(cur_type->attributes, 0, NULL, delete_attribute, 0); in schema_attributeGroup()
2006 zend_hash_next_index_insert(cur_type->attributes, &newAttr, sizeof(sdlAttributePtr), NULL); in schema_attributeGroup()
2085 if (ctx->attributes != NULL) { in schema_attribute_fixup()
2086 tmp = (sdlAttributePtr*)schema_find_by_ref(ctx->attributes, attr->ref); in schema_attribute_fixup()
2139 if ((*tmp)->attributes) { in schema_attributegroup_fixup()
2140 zend_hash_internal_pointer_reset((*tmp)->attributes); in schema_attributegroup_fixup()
2141 while (zend_hash_get_current_data((*tmp)->attributes,(void**)&tmp_attr) == SUCCESS) { in schema_attributegroup_fixup()
2142 if (zend_hash_get_current_key_type((*tmp)->attributes) == HASH_KEY_IS_STRING) { in schema_attributegroup_fixup()
2163 zend_hash_get_current_key_ex((*tmp)->attributes, &key, &key_len, NULL, 0, NULL); in schema_attributegroup_fixup()
2166 zend_hash_move_forward((*tmp)->attributes); in schema_attributegroup_fixup()
2171 zend_hash_get_current_key((*tmp)->attributes, NULL, &index, 0); in schema_attributegroup_fixup()
2172 zend_hash_index_del((*tmp)->attributes, index); in schema_attributegroup_fixup()
2272 if (type->attributes) { in schema_type_fixup()
2273 zend_hash_internal_pointer_reset(type->attributes); in schema_type_fixup()
2274 while (zend_hash_get_current_data(type->attributes,(void**)&attr) == SUCCESS) { in schema_type_fixup()
2275 if (zend_hash_get_current_key_type(type->attributes) == HASH_KEY_IS_STRING) { in schema_type_fixup()
2277 zend_hash_move_forward(type->attributes); in schema_type_fixup()
2281 schema_attributegroup_fixup(ctx,*attr,type->attributes); in schema_type_fixup()
2282 zend_hash_get_current_key(type->attributes, NULL, &index, 0); in schema_type_fixup()
2283 zend_hash_index_del(type->attributes, index); in schema_type_fixup()
2295 if (ctx->attributes) { in schema_pass2()
2296 zend_hash_internal_pointer_reset(ctx->attributes); in schema_pass2()
2297 while (zend_hash_get_current_data(ctx->attributes,(void**)&attr) == SUCCESS) { in schema_pass2()
2299 zend_hash_move_forward(ctx->attributes); in schema_pass2()
2330 if (ctx->attributes) { in schema_pass2()
2331 zend_hash_destroy(ctx->attributes); in schema_pass2()
2332 efree(ctx->attributes); in schema_pass2()
2404 if (type->attributes) { in delete_type()
2405 zend_hash_destroy(type->attributes); in delete_type()
2406 efree(type->attributes); in delete_type()
2451 if (type->attributes) { in delete_type_persistent()
2452 zend_hash_destroy(type->attributes); in delete_type_persistent()
2453 free(type->attributes); in delete_type_persistent()