Lines Matching refs:uld
52 ULocaleData *uld; in ulocdata_open() local
58 uld = (ULocaleData *)uprv_malloc(sizeof(ULocaleData)); in ulocdata_open()
59 if (uld == NULL) { in ulocdata_open()
64 uld->langBundle = NULL; in ulocdata_open()
66 uld->noSubstitute = FALSE; in ulocdata_open()
67 uld->bundle = ures_open(NULL, localeID, status); in ulocdata_open()
68 uld->langBundle = ures_open(U_ICUDATA_LANG, localeID, status); in ulocdata_open()
71 uprv_free(uld); in ulocdata_open()
75 return uld; in ulocdata_open()
79 ulocdata_close(ULocaleData *uld) in ulocdata_close() argument
81 if ( uld != NULL ) { in ulocdata_close()
82 ures_close(uld->langBundle); in ulocdata_close()
83 ures_close(uld->bundle); in ulocdata_close()
84 uprv_free(uld); in ulocdata_close()
89 ulocdata_setNoSubstitute(ULocaleData *uld, UBool setting) in ulocdata_setNoSubstitute() argument
91 uld->noSubstitute = setting; in ulocdata_setNoSubstitute()
95 ulocdata_getNoSubstitute(ULocaleData *uld) in ulocdata_getNoSubstitute() argument
97 return uld->noSubstitute; in ulocdata_getNoSubstitute()
101 ulocdata_getExemplarSet(ULocaleData *uld, USet *fillIn, in ulocdata_getExemplarSet() argument
115 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); in ulocdata_getExemplarSet()
116 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getExemplarSet()
139 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, in ulocdata_getDelimiter() argument
157 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); in ulocdata_getDelimiter()
159 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
175 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getDelimiter()
278 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, in ulocdata_getLocaleDisplayPattern() argument
290 patternBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleDisplayPattern()
292 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleDisplayPattern()
308 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleDisplayPattern()
326 ulocdata_getLocaleSeparator(ULocaleData *uld, in ulocdata_getLocaleSeparator() argument
342 separatorBundle = ures_getByKey(uld->langBundle, "localeDisplayPattern", NULL, &localStatus); in ulocdata_getLocaleSeparator()
344 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleSeparator()
360 if ( (localStatus == U_USING_DEFAULT_WARNING) && uld->noSubstitute ) { in ulocdata_getLocaleSeparator()