Lines Matching refs:uld
51 ULocaleData *uld; in ulocdata_open() local
57 uld = (ULocaleData *)uprv_malloc(sizeof(ULocaleData)); in ulocdata_open()
58 if (uld == NULL) { in ulocdata_open()
63 uld->langBundle = NULL; in ulocdata_open()
65 uld->noSubstitute = FALSE; in ulocdata_open()
66 uld->bundle = ures_open(NULL, localeID, status); in ulocdata_open()
67 uld->langBundle = ures_open(U_ICUDATA_LANG, localeID, status); in ulocdata_open()
70 uprv_free(uld); in ulocdata_open()
74 return uld; in ulocdata_open()
78 ulocdata_close(ULocaleData *uld) in ulocdata_close() argument
80 if ( uld != NULL ) { in ulocdata_close()
81 ures_close(uld->langBundle); in ulocdata_close()
82 ures_close(uld->bundle); in ulocdata_close()
83 uprv_free(uld); in ulocdata_close()
88 ulocdata_setNoSubstitute(ULocaleData *uld, UBool setting) in ulocdata_setNoSubstitute() argument
90 uld->noSubstitute = setting; in ulocdata_setNoSubstitute()
94 ulocdata_getNoSubstitute(ULocaleData *uld) in ulocdata_getNoSubstitute() argument
96 return uld->noSubstitute; in ulocdata_getNoSubstitute()
100 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn, in ulocdata_getExemplarSet() argument
111 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet()
112 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet()
135 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, in ulocdata_getDelimiter() argument
153 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
155 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
171 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
249 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, in ulocdata_getLocaleDisplayPattern() argument
261 patternBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleDisplayPattern()
263 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleDisplayPattern()
279 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleDisplayPattern()
297 ulocdata_getLocaleSeparator(ULocaleData *uld, in ulocdata_getLocaleSeparator() argument
309 separatorBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleSeparator()
311 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleSeparator()
327 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleSeparator()