/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UResourceBundle.java | 107 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument 108 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() 123 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument 125 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance() 143 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument 145 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance() 181 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() argument 182 if (baseName == null) { in getBundleInstance() 183 baseName = ICUResourceBundle.ICU_BASE_NAME; in getBundleInstance() 186 … return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UResourceBundle.java | 107 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument 108 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() 122 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument 124 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance() 141 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument 143 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance() 176 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() argument 177 if (baseName == null) { in getBundleInstance() 178 baseName = ICUResourceBundle.ICU_BASE_NAME; in getBundleInstance() 181 … return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ResourceBundleWrapper.java | 32 private String baseName = null; field in ResourceBundleWrapper 57 +baseName in handleGetObject() 103 public static UResourceBundle getBundleInstance(String baseName, String localeID, in getBundleInstance() argument 105 UResourceBundle b = instantiateBundle(baseName, localeID, root, disableFallback); in getBundleInstance() 108 if(baseName.indexOf('/')>=0){ in getBundleInstance() 111 …throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","… in getBundleInstance() 116 … protected static synchronized UResourceBundle instantiateBundle(String baseName, String localeID, in instantiateBundle() argument 122 String name = baseName; in instantiateBundle() 136 parent = (ResourceBundleWrapper)loadFromCache(baseName+"_"+locName,defaultLocale); in instantiateBundle() 138 … parent = (ResourceBundleWrapper)instantiateBundle(baseName, locName , cl, disableFallback); in instantiateBundle() [all …]
|
D | ICUResourceBundle.java | 156 WholeBundle(String baseName, String localeID, ClassLoader loader, in WholeBundle() argument 158 this.baseName = baseName; in WholeBundle() 165 String baseName; field in ICUResourceBundle.WholeBundle 197 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, in getFunctionalEquivalent() argument 219 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 222 ULocale[] availableULocales = getAvailEntry(baseName, loader).getULocaleList(); in getFunctionalEquivalent() 251 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 281 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 318 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent() 337 public static final String[] getKeywordValues(String baseName, String keyword) { in getKeywordValues() argument [all …]
|
D | ICUResourceBundleReader.java | 152 final String baseName; field in ICUResourceBundleReader.ReaderCacheKey 155 ReaderCacheKey(String baseName, String localeID) { in ReaderCacheKey() argument 156 this.baseName = (baseName == null) ? "" : baseName; in ReaderCacheKey() 168 return this.baseName.equals(info.baseName) in equals() 173 return baseName.hashCode() ^ localeID.hashCode(); in hashCode() 183 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID); in createInstance() 186 if (key.baseName != null && key.baseName.startsWith(ICUData.ICU_BASE_NAME)) { in createInstance() 200 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance() 214 String baseName, String localeID, in ICUResourceBundleReader() argument 220 poolBundleReader = getReader(baseName, "pool", loader); in ICUResourceBundleReader() [all …]
|
D | LocaleIDParser.java | 46 String baseName; field in LocaleIDParser 496 public void setBaseName(String baseName) { in setBaseName() argument 497 this.baseName = baseName; in setBaseName() 501 if (baseName != null) { in parseBaseName() 502 set(0, baseName); in parseBaseName() 523 if (baseName != null) { in getBaseName() 524 return baseName; in getBaseName()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ResourceBundleWrapper.java | 30 private String baseName = null; field in ResourceBundleWrapper 55 +baseName in handleGetObject() 101 public static UResourceBundle getBundleInstance(String baseName, String localeID, in getBundleInstance() argument 103 UResourceBundle b = instantiateBundle(baseName, localeID, root, disableFallback); in getBundleInstance() 106 if(baseName.indexOf('/')>=0){ in getBundleInstance() 109 …throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","… in getBundleInstance() 114 … protected static synchronized UResourceBundle instantiateBundle(String baseName, String localeID, in instantiateBundle() argument 120 String name = baseName; in instantiateBundle() 134 parent = (ResourceBundleWrapper)loadFromCache(baseName+"_"+locName,defaultLocale); in instantiateBundle() 136 … parent = (ResourceBundleWrapper)instantiateBundle(baseName, locName , cl, disableFallback); in instantiateBundle() [all …]
|
D | ICUResourceBundle.java | 152 WholeBundle(String baseName, String localeID, ClassLoader loader, in WholeBundle() argument 154 this.baseName = baseName; in WholeBundle() 161 String baseName; field in ICUResourceBundle.WholeBundle 193 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, in getFunctionalEquivalent() argument 215 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 218 ULocale[] availableULocales = getAvailEntry(baseName, loader).getULocaleList(); in getFunctionalEquivalent() 247 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 277 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent() 314 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent() 333 public static final String[] getKeywordValues(String baseName, String keyword) { in getKeywordValues() argument [all …]
|
D | ICUResourceBundleReader.java | 150 final String baseName; field in ICUResourceBundleReader.ReaderCacheKey 153 ReaderCacheKey(String baseName, String localeID) { in ReaderCacheKey() argument 154 this.baseName = (baseName == null) ? "" : baseName; in ReaderCacheKey() 166 return this.baseName.equals(info.baseName) in equals() 171 return baseName.hashCode() ^ localeID.hashCode(); in hashCode() 181 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID); in createInstance() 184 if (key.baseName != null && key.baseName.startsWith(ICUData.ICU_BASE_NAME)) { in createInstance() 198 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance() 212 String baseName, String localeID, in ICUResourceBundleReader() argument 218 poolBundleReader = getReader(baseName, "pool", loader); in ICUResourceBundleReader() [all …]
|
D | LocaleIDParser.java | 44 String baseName; field in LocaleIDParser 494 public void setBaseName(String baseName) { in setBaseName() argument 495 this.baseName = baseName; in setBaseName() 499 if (baseName != null) { in parseBaseName() 500 set(0, baseName); in parseBaseName() 521 if (baseName != null) { in getBaseName() 522 return baseName; in getBaseName()
|
/external/icu/icu4c/source/common/ |
D | locid.cpp | 244 if (baseName != fullName) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 245 uprv_free(baseName); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 247 baseName = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 257 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale() 268 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale() 278 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale() 413 : UObject(other), fullName(fullNameBuffer), baseName(NULL) in Locale() 425 if (baseName != fullName) { in operator =() 426 uprv_free(baseName); in operator =() 428 baseName = NULL; in operator =() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 506 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local 513 baseName += "_instance_array"; in init() 515 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_vertex"), "", baseFlag… in init() 516 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_fragment"), "", baseFl… in init() 517 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_both"), "", baseFlags… in init() 605 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local 612 baseName += "_instance_array"; in init() 614 …modeGroup->addChild(new BlockSingleStructCase(m_testCtx, baseName + "_vertex", "", baseFlags|DECL… in init() 615 …modeGroup->addChild(new BlockSingleStructCase(m_testCtx, baseName + "_fragment", "", baseFlags|DEC… in init() 616 …modeGroup->addChild(new BlockSingleStructCase(m_testCtx, baseName + "_both", "", baseFlags|DECLAR… in init() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fUniformBlockTests.cpp | 488 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local 495 baseName += "_instance_array"; in init() 497 …modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_vertex").c_str(), "", baseF… in init() 498 …modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_fragment").c_str(), "", bas… in init() 501 …modeGroup->addChild(new BlockSingleStructCase(m_context, (baseName + "_both").c_str(), "", baseFl… in init() 521 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local 528 baseName += "_instance_array"; in init() 530 …modeGroup->addChild(new BlockSingleStructArrayCase(m_context, (baseName + "_vertex").c_str(), "", … in init() 531 …modeGroup->addChild(new BlockSingleStructArrayCase(m_context, (baseName + "_fragment").c_str(), ""… in init() 534 …modeGroup->addChild(new BlockSingleStructArrayCase(m_context, (baseName + "_both").c_str(), "", b… in init() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | windttst.cpp | 155 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local 158 … log->errln("DateTime format error for locale " + baseName + ": expected date \"" + expected + in testLocales() 163 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local 166 … log->errln("DateTime format error for locale " + baseName + ": expected time \"" + expected + in testLocales() 171 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local 174 log->errln("Date format error for locale " + baseName + ": expected \"" + expected + in testLocales() 179 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local 182 log->errln("Time format error for locale " + baseName + ": expected \"" + expected + in testLocales()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | ModuleTest.java | 40 private String baseName = null; field in ModuleTest 44 protected ModuleTest(String baseName, String locName) { in ModuleTest() argument 46 this.baseName = baseName; in ModuleTest() 84 m = Factory.get(baseName, localeName); in validate()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | ModuleTest.java | 41 private String baseName = null; field in ModuleTest 45 protected ModuleTest(String baseName, String locName) { in ModuleTest() argument 47 this.baseName = baseName; in ModuleTest() 85 m = Factory.get(baseName, localeName); in validate()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 945 String baseName="android.icu.dev.data.resources.TestDataElements"; in TestJavaULocaleBundleLoading() local 947 UResourceBundle bundle = UResourceBundle.getBundleInstance(baseName, locName, testLoader); in TestJavaULocaleBundleLoading() 964 …UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLo… in TestJavaULocaleBundleLoading() 966 errln("Did not get the expected bundle for "+baseName +"."+locName); in TestJavaULocaleBundleLoading() 972 UResourceBundle bundle2 = UResourceBundle.getBundleInstance(baseName, "en_IN", testLoader); in TestJavaULocaleBundleLoading() 976 UResourceBundle bundle3 = UResourceBundle.getBundleInstance(baseName, "te_IN", testLoader); in TestJavaULocaleBundleLoading() 981 … UResourceBundle defaultBundle = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading() 989 UResourceBundle root = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading() 1004 … UResourceBundle bundle4 = UResourceBundle.getBundleInstance(baseName, "fr_Latn_FR", testLoader); in TestJavaULocaleBundleLoading() 1034 String baseName="android/icu/dev/data/testdata"; in TestICUGetKeysAtTopLevel() local [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 941 String baseName="com.ibm.icu.dev.data.resources.TestDataElements"; in TestJavaULocaleBundleLoading() local 943 UResourceBundle bundle = UResourceBundle.getBundleInstance(baseName, locName, testLoader); in TestJavaULocaleBundleLoading() 960 …UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLo… in TestJavaULocaleBundleLoading() 962 errln("Did not get the expected bundle for "+baseName +"."+locName); in TestJavaULocaleBundleLoading() 968 UResourceBundle bundle2 = UResourceBundle.getBundleInstance(baseName, "en_IN", testLoader); in TestJavaULocaleBundleLoading() 972 UResourceBundle bundle3 = UResourceBundle.getBundleInstance(baseName, "te_IN", testLoader); in TestJavaULocaleBundleLoading() 977 … UResourceBundle defaultBundle = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading() 985 UResourceBundle root = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading() 1000 … UResourceBundle bundle4 = UResourceBundle.getBundleInstance(baseName, "fr_Latn_FR", testLoader); in TestJavaULocaleBundleLoading() 1030 String baseName="com/ibm/icu/dev/data/testdata"; in TestICUGetKeysAtTopLevel() local [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
D | LocaleIDParser.java | 44 String baseName; field in LocaleIDParser 494 public void setBaseName(String baseName) { in setBaseName() argument 495 this.baseName = baseName; in setBaseName() 499 if (baseName != null) { in parseBaseName() 500 set(0, baseName); in parseBaseName() 521 if (baseName != null) { in getBaseName() 522 return baseName; in getBaseName()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/ |
D | StouCommandHandler.java | 50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local 52 return baseName + suffix; in getOutputFile()
|