Lines Matching refs:emalloc

52 		sdl->encoders = emalloc(sizeof(HashTable));  in create_encoder()
69 enc = emalloc(sizeof(encode)); in create_encoder()
166 ctx->sdl->types = emalloc(sizeof(HashTable)); in load_schema()
170 ctx->attributes = emalloc(sizeof(HashTable)); in load_schema()
174 ctx->attributeGroups = emalloc(sizeof(HashTable)); in load_schema()
317 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
331 sdl->encoders = emalloc(sizeof(HashTable)); in schema_simpleType()
334 cur_type->encode = emalloc(sizeof(encode)); in schema_simpleType()
348 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
358 cur_type->elements = emalloc(sizeof(HashTable)); in schema_simpleType()
423 newType = emalloc(sizeof(sdlType)); in schema_list()
432 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
453 newType = emalloc(sizeof(sdlType)); in schema_list()
459 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_list()
468 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
519 newType = emalloc(sizeof(sdlType)); in schema_union()
528 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
550 newType = emalloc(sizeof(sdlType)); in schema_union()
556 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_union()
565 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
657 cur_type->restrictions = emalloc(sizeof(sdlRestrictions)); in schema_restriction_simpleContent()
698 cur_type->restrictions->enumeration = emalloc(sizeof(HashTable)); in schema_restriction_simpleContent()
807 (*valptr) = emalloc(sizeof(sdlRestrictionInt)); in schema_restriction_var_int()
834 (*valptr) = emalloc(sizeof(sdlRestrictionChar)); in schema_restriction_var_char()
1017 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1019 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1096 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1103 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1105 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1117 newType = emalloc(sizeof(sdlType)); in schema_group()
1121 sdl->groups = emalloc(sizeof(HashTable)); in schema_group()
1193 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1195 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1243 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1245 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1295 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1372 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1386 sdl->encoders = emalloc(sizeof(HashTable)); in schema_complexType()
1389 cur_type->encode = emalloc(sizeof(encode)); in schema_complexType()
1403 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1506 newType = emalloc(sizeof(sdlType)); in schema_element()
1545 sdl->elements = emalloc(sizeof(HashTable)); in schema_element()
1554 cur_type->elements = emalloc(sizeof(HashTable)); in schema_element()
1572 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element()
1739 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attribute()
1786 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attribute()
1860 ext = emalloc(sizeof(sdlExtraAttribute)); in schema_attribute()
1874 newAttr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute()
1922 dummy_type = emalloc(sizeof(sdlType)); in schema_attribute()
1927 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_attribute()
1967 newType = emalloc(sizeof(sdlType)); in schema_attributeGroup()
1989 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attributeGroup()
1992 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributeGroup()
2053 new_attr = emalloc(sizeof(sdlExtraAttribute)); in copy_extra_attribute()
2109 attr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute_fixup()
2147 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributegroup_fixup()
2154 HashTable *ht = emalloc(sizeof(HashTable)); in schema_attributegroup_fixup()