Lines Matching refs:emalloc

55 		sdl->encoders = emalloc(sizeof(HashTable));  in create_encoder()
72 enc = emalloc(sizeof(encode)); in create_encoder()
169 ctx->sdl->types = emalloc(sizeof(HashTable)); in load_schema()
173 ctx->attributes = emalloc(sizeof(HashTable)); in load_schema()
177 ctx->attributeGroups = emalloc(sizeof(HashTable)); in load_schema()
320 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
334 sdl->encoders = emalloc(sizeof(HashTable)); in schema_simpleType()
337 cur_type->encode = emalloc(sizeof(encode)); in schema_simpleType()
351 newType = emalloc(sizeof(sdlType)); in schema_simpleType()
361 cur_type->elements = emalloc(sizeof(HashTable)); in schema_simpleType()
426 newType = emalloc(sizeof(sdlType)); in schema_list()
435 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
456 newType = emalloc(sizeof(sdlType)); in schema_list()
462 char *str = emalloc(sizeof("anonymous") + buf + sizeof(buf) - 1 - res); in schema_list()
471 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
522 newType = emalloc(sizeof(sdlType)); in schema_union()
531 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
553 newType = emalloc(sizeof(sdlType)); in schema_union()
559 char *str = emalloc(sizeof("anonymous") + buf + sizeof(buf) - 1 - res); in schema_union()
568 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
660 cur_type->restrictions = emalloc(sizeof(sdlRestrictions)); in schema_restriction_simpleContent()
701 cur_type->restrictions->enumeration = emalloc(sizeof(HashTable)); in schema_restriction_simpleContent()
810 (*valptr) = emalloc(sizeof(sdlRestrictionInt)); in schema_restriction_var_int()
837 (*valptr) = emalloc(sizeof(sdlRestrictionChar)); in schema_restriction_var_char()
1020 newModel = emalloc(sizeof(sdlContentModel)); in schema_all()
1022 newModel->u.content = emalloc(sizeof(HashTable)); in schema_all()
1099 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1106 newModel = emalloc(sizeof(sdlContentModel)); in schema_group()
1108 newModel->u.content = emalloc(sizeof(HashTable)); in schema_group()
1120 newType = emalloc(sizeof(sdlType)); in schema_group()
1124 sdl->groups = emalloc(sizeof(HashTable)); in schema_group()
1196 newModel = emalloc(sizeof(sdlContentModel)); in schema_choice()
1198 newModel->u.content = emalloc(sizeof(HashTable)); in schema_choice()
1246 newModel = emalloc(sizeof(sdlContentModel)); in schema_sequence()
1248 newModel->u.content = emalloc(sizeof(HashTable)); in schema_sequence()
1298 newModel = emalloc(sizeof(sdlContentModel)); in schema_any()
1375 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1389 sdl->encoders = emalloc(sizeof(HashTable)); in schema_complexType()
1392 cur_type->encode = emalloc(sizeof(encode)); in schema_complexType()
1406 newType = emalloc(sizeof(sdlType)); in schema_complexType()
1509 newType = emalloc(sizeof(sdlType)); in schema_element()
1548 sdl->elements = emalloc(sizeof(HashTable)); in schema_element()
1557 cur_type->elements = emalloc(sizeof(HashTable)); in schema_element()
1575 sdlContentModelPtr newModel = emalloc(sizeof(sdlContentModel)); in schema_element()
1744 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attribute()
1791 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attribute()
1864 ext = emalloc(sizeof(sdlExtraAttribute)); in schema_attribute()
1878 newAttr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute()
1926 dummy_type = emalloc(sizeof(sdlType)); in schema_attribute()
1931 char *str = emalloc(sizeof("anonymous") + buf + sizeof(buf) - 1 - res); in schema_attribute()
1971 newType = emalloc(sizeof(sdlType)); in schema_attributeGroup()
1993 cur_type->attributes = emalloc(sizeof(HashTable)); in schema_attributeGroup()
1996 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributeGroup()
2057 new_attr = emalloc(sizeof(sdlExtraAttribute)); in copy_extra_attribute()
2113 attr->extraAttributes = emalloc(sizeof(HashTable)); in schema_attribute_fixup()
2151 newAttr = emalloc(sizeof(sdlAttribute)); in schema_attributegroup_fixup()
2158 HashTable *ht = emalloc(sizeof(HashTable)); in schema_attributegroup_fixup()