Lines Matching refs:SResource
56 static const struct SResource kNoResource = { URES_NONE };
110 res_write16(struct SRBRoot *bundle, struct SResource *res,
129 struct SRBRoot *bundle, struct SResource *res,
139 struct SRBRoot *bundle, struct SResource *res,
218 string_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) { in string_write16()
219 struct SResource *same; in string_write16()
232 array_write16(struct SRBRoot *bundle, struct SResource *res, in array_write16()
234 struct SResource *current; in array_write16()
264 table_write16(struct SRBRoot *bundle, struct SResource *res, in table_write16()
266 struct SResource *current; in table_write16()
338 res_write16(struct SRBRoot *bundle, struct SResource *res, in res_write16()
375 struct SRBRoot *bundle, struct SResource *res, in string_preWrite()
384 struct SRBRoot *bundle, struct SResource *res, in bin_preWrite()
399 struct SRBRoot *bundle, struct SResource *res, in array_preWrite()
401 struct SResource *current; in array_preWrite()
415 struct SRBRoot *bundle, struct SResource *res, in table_preWrite()
417 struct SResource *current; in table_preWrite()
438 struct SRBRoot *bundle, struct SResource *res, in res_preWrite()
492 struct SRBRoot *bundle, struct SResource *res, in string_write()
503 struct SRBRoot *bundle, struct SResource *res, in alias_write()
512 struct SRBRoot *bundle, struct SResource *res, in array_write()
516 struct SResource *current = NULL; in array_write()
534 struct SRBRoot *bundle, struct SResource *res, in intvector_write()
545 struct SRBRoot *bundle, struct SResource *res, in bin_write()
564 struct SRBRoot *bundle, struct SResource *res, in table_write()
566 struct SResource *current; in table_write()
603 struct SRBRoot *bundle, struct SResource *res, in res_write()
832 struct SResource* res_open(struct SRBRoot *bundle, const char *tag,
835 struct SResource* res_open(struct SRBRoot *bundle, const char *tag, in res_open()
837 struct SResource *res; in res_open()
843 res = (struct SResource *) uprv_malloc(sizeof(struct SResource)); in res_open()
848 uprv_memset(res, 0, sizeof(struct SResource)); in res_open()
863 struct SResource* res_none() { in res_none()
864 return (struct SResource*)&kNoResource; in res_none()
867 struct SResource* table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment… in table_open()
868 struct SResource *res = res_open(bundle, tag, comment, status); in table_open()
877 struct SResource* array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment… in array_open()
878 struct SResource *res = res_open(bundle, tag, comment, status); in array_open()
888 const struct SResource *res = (struct SResource *)key.pointer; in string_hash()
894 const struct SResource *res1 = (struct SResource *)key1.pointer; in string_comp()
895 const struct SResource *res2 = (struct SResource *)key2.pointer; in string_comp()
901 struct SResource *string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t … in string_open()
902 struct SResource *res = res_open(bundle, tag, comment, status); in string_open()
962 struct SResource *same = res->u.fString.fSame; in string_open()
969 struct SResource *alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, co… in alias_open()
970 struct SResource *res = res_open(bundle, tag, comment, status); in alias_open()
994 struct SResource* intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* com… in intvector_open()
995 struct SResource *res = res_open(bundle, tag, comment, status); in intvector_open()
1011 struct SResource *int_open(struct SRBRoot *bundle, const char *tag, int32_t value, const struct USt… in int_open()
1012 struct SResource *res = res_open(bundle, tag, comment, status); in int_open()
1023 struct SResource *bin_open(struct SRBRoot *bundle, const char *tag, uint32_t length, uint8_t *data,… in bin_open()
1024 struct SResource *res = res_open(bundle, tag, comment, status); in bin_open()
1107 static void table_close(struct SResource *table) { in table_close()
1108 struct SResource *current = NULL; in table_close()
1109 struct SResource *prev = NULL; in table_close()
1123 static void array_close(struct SResource *array) { in array_close()
1124 struct SResource *current = NULL; in array_close()
1125 struct SResource *prev = NULL; in array_close()
1141 static void string_close(struct SResource *string) { in string_close()
1151 static void alias_close(struct SResource *alias) { in alias_close()
1158 static void intvector_close(struct SResource *intvector) { in intvector_close()
1165 static void int_close(struct SResource *intres) { in int_close()
1169 static void bin_close(struct SResource *binres) { in bin_close()
1176 void res_close(struct SResource *res) { in res_close()
1220 void bundle_closeString(struct SRBRoot *bundle, struct SResource *string) { in bundle_closeString()
1228 void table_add(struct SResource *table, struct SResource *res, int linenumber, UErrorCode *status) { in table_add()
1229 struct SResource *current = NULL; in table_add()
1230 struct SResource *prev = NULL; in table_add()
1299 void array_add(struct SResource *array, struct SResource *res, UErrorCode *status) { in array_add()
1315 void intvector_add(struct SResource *intvector, int32_t value, UErrorCode *status) { in intvector_add()
1358 res_getKeyString(const struct SRBRoot *bundle, const struct SResource *res, char temp[8]) { in res_getKeyString()
1598 struct SResource *left = *((struct SResource **)l); in compareStringSuffixes()
1599 struct SResource *right = *((struct SResource **)r); in compareStringSuffixes()
1618 struct SResource *left = *((struct SResource **)l); in compareStringLengths()
1619 struct SResource *right = *((struct SResource **)r); in compareStringLengths()
1631 string_writeUTF16v2(struct SRBRoot *bundle, struct SResource *res, int32_t utf16Length) { in string_writeUTF16v2()
1667 struct SResource **array; in bundle_compactStrings()
1677 array = (struct SResource **)uprv_malloc(count * sizeof(struct SResource **)); in bundle_compactStrings()
1691 … array[i] = (struct SResource *)uhash_nextElement(bundle->fStringSet, &pos)->key.pointer; in bundle_compactStrings()
1694 uprv_sortArray(array, count, (int32_t)sizeof(struct SResource **), in bundle_compactStrings()
1708 struct SResource *res = array[i]; in bundle_compactStrings()
1712 struct SResource *suffixRes = array[j]; in bundle_compactStrings()
1742 uprv_sortArray(array, count, (int32_t)sizeof(struct SResource **), in bundle_compactStrings()
1751 struct SResource *res = array[i]; in bundle_compactStrings()
1752 struct SResource *same = res->u.fString.fSame; in bundle_compactStrings()