Lines Matching refs:emalloc

54 		sdl->encoders = emalloc(sizeof(HashTable));  in create_encoder()
71 enc = emalloc(sizeof(encode)); in create_encoder()
168 ctx->sdl->types = emalloc(sizeof(HashTable)); in load_schema()
172 ctx->attributes = emalloc(sizeof(HashTable)); in load_schema()
176 ctx->attributeGroups = emalloc(sizeof(HashTable)); in load_schema()
319 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
333 sdl->encoders = emalloc(sizeof(HashTable)); in schema_simpleType()
336 cur_type->encode = emalloc(sizeof(encode)); in schema_simpleType()
350 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
360 cur_type->elements = emalloc(sizeof(HashTable)); in schema_simpleType()
425 newType = emalloc(sizeof(sdlType)); in schema_list()
434 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
455 newType = emalloc(sizeof(sdlType)); in schema_list()
461 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_list()
470 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
521 newType = emalloc(sizeof(sdlType)); in schema_union()
530 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
552 newType = emalloc(sizeof(sdlType)); in schema_union()
558 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_union()
567 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
659 cur_type->restrictions = emalloc(sizeof(sdlRestrictions)); in schema_restriction_simpleContent()
700 cur_type->restrictions->enumeration = emalloc(sizeof(HashTable)); in schema_restriction_simpleContent()
809 (*valptr) = emalloc(sizeof(sdlRestrictionInt)); in schema_restriction_var_int()
836 (*valptr) = emalloc(sizeof(sdlRestrictionChar)); in schema_restriction_var_char()
1019 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1021 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1098 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1105 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1107 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1119 newType = emalloc(sizeof(sdlType)); in schema_group()
1123 sdl->groups = emalloc(sizeof(HashTable)); in schema_group()
1195 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1197 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1245 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1247 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1297 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1374 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1388 sdl->encoders = emalloc(sizeof(HashTable)); in schema_complexType()
1391 cur_type->encode = emalloc(sizeof(encode)); in schema_complexType()
1405 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1508 newType = emalloc(sizeof(sdlType)); in schema_element()
1547 sdl->elements = emalloc(sizeof(HashTable)); in schema_element()
1556 cur_type->elements = emalloc(sizeof(HashTable)); in schema_element()
1574 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element()
1741 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attribute()
1788 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attribute()
1862 ext = emalloc(sizeof(sdlExtraAttribute)); in schema_attribute()
1876 newAttr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute()
1924 dummy_type = emalloc(sizeof(sdlType)); in schema_attribute()
1929 char *str = emalloc(sizeof("anonymous")-1 + (buf + sizeof(buf) - res)); in schema_attribute()
1969 newType = emalloc(sizeof(sdlType)); in schema_attributeGroup()
1991 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attributeGroup()
1994 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributeGroup()
2055 new_attr = emalloc(sizeof(sdlExtraAttribute)); in copy_extra_attribute()
2111 attr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute_fixup()
2149 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributegroup_fixup()
2156 HashTable *ht = emalloc(sizeof(HashTable)); in schema_attributegroup_fixup()