Home
last modified time | relevance | path

Searched refs:nsName (Results 1 – 25 of 47) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDateNumberFormat.java51 public DateNumberFormat(ULocale loc, String digitString, String nsName) { in DateNumberFormat() argument
55 initialize(loc,digitString,nsName); in DateNumberFormat()
58 public DateNumberFormat(ULocale loc, char zeroDigit, String nsName) { in DateNumberFormat() argument
63 initialize(loc,buf.toString(),nsName); in DateNumberFormat()
66 private void initialize(ULocale loc,String digitString,String nsName) { in initialize() argument
73 … minusString = rb.getStringWithFallback("NumberElements/"+nsName+"/symbols/minusSign"); in initialize()
75 if ( !nsName.equals("latn") ) { in initialize()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDateNumberFormat.java47 public DateNumberFormat(ULocale loc, String digitString, String nsName) { in DateNumberFormat() argument
51 initialize(loc,digitString,nsName); in DateNumberFormat()
54 public DateNumberFormat(ULocale loc, char zeroDigit, String nsName) { in DateNumberFormat() argument
59 initialize(loc,buf.toString(),nsName); in DateNumberFormat()
62 private void initialize(ULocale loc,String digitString,String nsName) { in initialize() argument
69 … minusString = rb.getStringWithFallback("NumberElements/"+nsName+"/symbols/minusSign"); in initialize()
71 if ( !nsName.equals("latn") ) { in initialize()
/external/icu/icu4c/source/i18n/
Dnumber_compact.cpp28 void getResourceBundleKey(const char *nsName, CompactStyle compactStyle, CompactType compactType, in getResourceBundleKey() argument
32 sb.append(nsName, status); in getResourceBundleKey()
61 void CompactData::populate(const Locale &locale, const char *nsName, CompactStyle compactStyle, in populate() argument
67 bool nsIsLatn = strcmp(nsName, "latn") == 0; in populate()
72 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey, status); in populate()
81 getResourceBundleKey(nsName, CompactStyle::UNUM_SHORT, compactType, resourceKey, status); in populate()
226 const char *nsName, in CompactHandler() argument
234 data.populate(locale, nsName, compactStyle, compactType, status); in CompactHandler()
Dnumber_utils.cpp35 doGetPattern(UResourceBundle* res, const char* nsName, const char* patternKey, UErrorCode& publicSt… in doGetPattern() argument
40 key.append(nsName, publicStatus); in doGetPattern()
52 const char16_t* utils::getPatternForStyle(const Locale& locale, const char* nsName, CldrPatternStyl… in getPatternForStyle() argument
81 pattern = doGetPattern(res.getAlias(), nsName, patternKey, status, localStatus); in getPatternForStyle()
85 if (U_FAILURE(localStatus) && uprv_strcmp("latn", nsName) != 0) { in getPatternForStyle()
Dnumrange_impl.cpp83 void getNumberRangeData(const char* localeName, const char* nsName, NumberRangeData& data, UErrorCo… in getNumberRangeData() argument
91 dataPath.append(nsName, -1, status); in getNumberRangeData()
121 const char* nsName = formatterImpl1.getRawMicroProps().nsName; in NumberRangeFormatterImpl() local
122 if (uprv_strcmp(nsName, formatterImpl2.getRawMicroProps().nsName) != 0) { in NumberRangeFormatterImpl()
128 getNumberRangeData(macros.locale.getName(), nsName, data, status); in NumberRangeFormatterImpl()
Dnumber_compact.h26 void populate(const Locale &locale, const char *nsName, CompactStyle compactStyle,
62 const char *nsName,
Dnumsys.cpp152 …const UChar *nsName = ures_getStringByKeyWithFallback(numberElementsRes.getAlias(), buffer, &count… in createInstance() local
159 u_UCharsToChars(nsName, buffer, count); in createInstance()
314 const char *nsName = ures_getKey(nsCurrent.getAlias()); in initNumsysNames() local
315 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in initNumsysNames()
Ddcfmtsym.cpp368 const char *nsName; in initialize() local
370 nsName = ns->getName(); in initialize()
381 nsName = gLatn; in initialize()
412 if (uprv_strcmp(nsName, gLatn) != 0) { in initialize()
416 .append(nsName, status) in initialize()
Dnumber_formatimpl.cpp176 const char* nsName = U_SUCCESS(status) ? ns->getName() : "latn"; in macrosToMicroGenerator() local
177 uprv_strncpy(fMicros.nsName, nsName, 8); in macrosToMicroGenerator()
178 fMicros.nsName[8] = 0; // guarantee NUL-terminated in macrosToMicroGenerator()
220 pattern = utils::getPatternForStyle(macros.locale, nsName, patternStyle, status); in macrosToMicroGenerator()
420 nsName, in macrosToMicroGenerator()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCompactData.java52 String nsName, in populate() argument
60 boolean nsIsLatn = nsName.equals("latn"); in populate()
65 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey); in populate()
72 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey); in populate()
88 String nsName, in getResourceBundleKey() argument
94 sb.append(nsName); in getResourceBundleKey()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCompactData.java47 String nsName, in populate() argument
55 boolean nsIsLatn = nsName.equals("latn"); in populate()
60 getResourceBundleKey(nsName, compactStyle, compactType, resourceKey); in populate()
67 getResourceBundleKey(nsName, CompactStyle.SHORT, compactType, resourceKey); in populate()
83 String nsName, in getResourceBundleKey() argument
89 sb.append(nsName); in getResourceBundleKey()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatterImpl.java106 String nsName, in getNumberRangeData() argument
113 sb.append(nsName); in getNumberRangeData()
145 String nsName = formatterImpl1.getRawMicroProps().nsName; in NumberRangeFormatterImpl() local
146 if (nsName == null || !nsName.equals(formatterImpl2.getRawMicroProps().nsName)) { in NumberRangeFormatterImpl()
149 getNumberRangeData(macros.loc, nsName, this); in NumberRangeFormatterImpl()
DCompactNotation.java65 String nsName, in withLocaleData() argument
72 … return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, safe, parent); in withLocaleData()
86 String nsName, in CompactHandler() argument
96 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java105 String nsName, in getNumberRangeData() argument
112 sb.append(nsName); in getNumberRangeData()
144 String nsName = formatterImpl1.getRawMicroProps().nsName; in NumberRangeFormatterImpl() local
145 if (nsName == null || !nsName.equals(formatterImpl2.getRawMicroProps().nsName)) { in NumberRangeFormatterImpl()
148 getNumberRangeData(macros.loc, nsName, this); in NumberRangeFormatterImpl()
DCompactNotation.java65 String nsName, in withLocaleData() argument
72 … return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, safe, parent); in withLocaleData()
86 String nsName, in CompactHandler() argument
96 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler()
/external/libxml2/test/relaxng/
D565219.rng6 <nsName ns="http://bar.com/"/>
7 <nsName ns="http://foo.com/"/>
Dtutor11_2.rng7 <nsName/>
8 <nsName ns=""/>
DtutorA.rng238 <element name="nsName">
289 <nsName/>
290 <nsName ns=""/>
302 <nsName/>
/external/icu/libicu/cts_headers/
Dnumber_compact.h26 void populate(const Locale &locale, const char *nsName, CompactStyle compactStyle,
62 const char *nsName,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberingSystem.java271 String nsName; in getAvailableNames() local
276 nsName = temp.getKey(); in getAvailableNames()
277 output.add(nsName); in getAvailableNames()
DDecimalFormatSymbols.java1447 String nsName; in loadData() local
1461 nsName = ns.getName(); in loadData()
1465 nsName = "latn"; in loadData()
1480 rb.getAllItemsWithFallback(NUMBER_ELEMENTS + "/" + nsName + "/" + SYMBOLS, sink); in loadData()
1494 if (hasNull && !nsName.equals(LATIN_NUMBERING_SYSTEM)) { in loadData()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberingSystem.java260 String nsName; in getAvailableNames() local
265 nsName = temp.getKey(); in getAvailableNames()
266 output.add(nsName); in getAvailableNames()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberRangeFormatterTest.java780 String nsName = key.toString(); in put() local
781 if (Arrays.binarySearch(allNSNames, nsName) < 0) { in put()
791 if (key.contentEquals("range") && !rangePatterns.containsKey(nsName)) { in put()
792 rangePatterns.put(nsName, value.getString()); in put()
794 … if (key.contentEquals("approximately") && !approxPatterns.containsKey(nsName)) { in put()
795 approxPatterns.put(nsName, value.getString()); in put()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java777 String nsName = key.toString(); in put() local
778 if (Arrays.binarySearch(allNSNames, nsName) < 0) { in put()
788 if (key.contentEquals("range") && !rangePatterns.containsKey(nsName)) { in put()
789 rangePatterns.put(nsName, value.getString()); in put()
791 … if (key.contentEquals("approximately") && !approxPatterns.containsKey(nsName)) { in put()
792 approxPatterns.put(nsName, value.getString()); in put()
/external/libxml2/
Dxmlschemas.c893 const xmlChar *nsName; member
952 const xmlChar *nsName; member
2285 ielem->nsName, ielem->localName)); in xmlSchemaFormatNodeForError()
2293 vctxt->inode->nsName, vctxt->inode->localName)); in xmlSchemaFormatNodeForError()
2570 return (xmlSchemaFormatQName(str, ni->nsName, ni->localName)); in xmlSchemaFormatErrorNodeQName()
2602 xmlChar *localName, *nsName; in xmlSchemaComplexTypeErr() local
2619 nsName = NULL; in xmlSchemaComplexTypeErr()
2656 nsName = xmlStrdup(BAD_CAST "{*}"); in xmlSchemaComplexTypeErr()
2662 nsName = xmlStrdup(BAD_CAST "{##other:"); in xmlSchemaComplexTypeErr()
2664 nsName = xmlStrdup(BAD_CAST "{"); in xmlSchemaComplexTypeErr()
[all …]

12