Home
last modified time | relevance | path

Searched refs:baseName (Results 1 – 25 of 224) sorted by relevance

123456789

/external/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundle.java109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument
110 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
125 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
127 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance()
145 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
147 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance()
180 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() argument
181 if (baseName == null) { in getBundleInstance()
182 baseName = ICUData.ICU_BASE_NAME; in getBundleInstance()
185 … return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() argument
110 return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
126 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
128 return getBundleInstance(baseName, localeName, root, false); in getBundleInstance()
147 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() argument
149 return instantiateBundle(baseName, localeName, root, disableFallback); in getBundleInstance()
185 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() argument
186 if (baseName == null) { in getBundleInstance()
187 baseName = ICUData.ICU_BASE_NAME; in getBundleInstance()
190 … return getBundleInstance(baseName, uloc.getBaseName(), ICUResourceBundle.ICU_DATA_CLASS_LOADER, in getBundleInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DResourceBundleWrapper.java32 private String baseName = null; field in ResourceBundleWrapper
66 +baseName in handleGetObject()
117 public static ResourceBundleWrapper getBundleInstance(String baseName, String localeID, in getBundleInstance() argument
124 b = instantiateBundle(baseName, localeID, null, root, disableFallback); in getBundleInstance()
126 b = instantiateBundle(baseName, localeID, ULocale.getDefault().getBaseName(), in getBundleInstance()
131 if(baseName.indexOf('/')>=0){ in getBundleInstance()
134 …throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","… in getBundleInstance()
145 final String baseName, final String localeID, final String defaultID, in instantiateBundle() argument
147 final String name = localeID.isEmpty() ? baseName : baseName + '_' + localeID; in instantiateBundle()
159 parent = instantiateBundle(baseName, locName, defaultID, root, disableFallback); in instantiateBundle()
[all …]
DICUResourceBundle.java56 WholeBundle(String baseName, String localeID, ClassLoader loader, in WholeBundle() argument
58 this.baseName = baseName; in WholeBundle()
65 String baseName; field in ICUResourceBundle.WholeBundle
110 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, in getFunctionalEquivalent() argument
132 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
135 ULocale[] availableULocales = getAvailEntry(baseName, loader).getULocaleList(); in getFunctionalEquivalent()
164 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
194 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
231 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
250 public static final String[] getKeywordValues(String baseName, String keyword) { in getKeywordValues() argument
[all …]
DICUResourceBundleReader.java151 final String baseName; field in ICUResourceBundleReader.ReaderCacheKey
154 ReaderCacheKey(String baseName, String localeID) { in ReaderCacheKey() argument
155 this.baseName = (baseName == null) ? "" : baseName; in ReaderCacheKey()
168 return this.baseName.equals(info.baseName) in equals()
174 return baseName.hashCode() ^ localeID.hashCode(); in hashCode()
184 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID); in createInstance()
187 if (key.baseName != null && key.baseName.startsWith(ICUData.ICU_BASE_NAME)) { in createInstance()
201 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance()
215 String baseName, String localeID, in ICUResourceBundleReader() argument
221 poolBundleReader = getReader(baseName, "pool", loader); in ICUResourceBundleReader()
[all …]
DLocaleIDParser.java46 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/android_icu4j/src/main/java/android/icu/impl/
DResourceBundleWrapper.java34 private String baseName = null; field in ResourceBundleWrapper
68 +baseName in handleGetObject()
119 public static ResourceBundleWrapper getBundleInstance(String baseName, String localeID, in getBundleInstance() argument
126 b = instantiateBundle(baseName, localeID, null, root, disableFallback); in getBundleInstance()
128 b = instantiateBundle(baseName, localeID, ULocale.getDefault().getBaseName(), in getBundleInstance()
133 if(baseName.indexOf('/')>=0){ in getBundleInstance()
136 …throw new MissingResourceException("Could not find the bundle "+ baseName+separator+ localeID,"","… in getBundleInstance()
147 final String baseName, final String localeID, final String defaultID, in instantiateBundle() argument
149 final String name = localeID.isEmpty() ? baseName : baseName + '_' + localeID; in instantiateBundle()
161 parent = instantiateBundle(baseName, locName, defaultID, root, disableFallback); in instantiateBundle()
[all …]
DICUResourceBundle.java60 WholeBundle(String baseName, String localeID, ClassLoader loader, in WholeBundle() argument
62 this.baseName = baseName; in WholeBundle()
69 String baseName; field in ICUResourceBundle.WholeBundle
114 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, in getFunctionalEquivalent() argument
136 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
139 ULocale[] availableULocales = getAvailEntry(baseName, loader).getULocaleList(); in getFunctionalEquivalent()
168 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
198 r = (ICUResourceBundle) UResourceBundle.getBundleInstance(baseName, parent); in getFunctionalEquivalent()
235 baseName, keyword + "=" + kwVal); in getFunctionalEquivalent()
254 public static final String[] getKeywordValues(String baseName, String keyword) { in getKeywordValues() argument
[all …]
DICUResourceBundleReader.java153 final String baseName; field in ICUResourceBundleReader.ReaderCacheKey
156 ReaderCacheKey(String baseName, String localeID) { in ReaderCacheKey() argument
157 this.baseName = (baseName == null) ? "" : baseName; in ReaderCacheKey()
170 return this.baseName.equals(info.baseName) in equals()
176 return baseName.hashCode() ^ localeID.hashCode(); in hashCode()
186 String fullName = ICUResourceBundleReader.getFullName(key.baseName, key.localeID); in createInstance()
189 if (key.baseName != null && key.baseName.startsWith(ICUData.ICU_BASE_NAME)) { in createInstance()
203 return new ICUResourceBundleReader(inBytes, key.baseName, key.localeID, loader); in createInstance()
217 String baseName, String localeID, in ICUResourceBundleReader() argument
223 poolBundleReader = getReader(baseName, "pool", loader); in ICUResourceBundleReader()
[all …]
DLocaleIDParser.java48 String baseName; field in LocaleIDParser
498 public void setBaseName(String baseName) { in setBaseName() argument
499 this.baseName = baseName; in setBaseName()
503 if (baseName != null) { in parseBaseName()
504 set(0, baseName); in parseBaseName()
525 if (baseName != null) { in getBaseName()
526 return baseName; in getBaseName()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp558 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
565 baseName += "_instance_array"; in init()
567 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_vertex"), "", baseF… in init()
568 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_fragment"), "", bas… in init()
569 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_both"), "", baseFl… in init()
570 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_vertex_comp_access"), … in init()
571 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_fragment_comp_access")… in init()
572 …modeGroup->addChild(new Block2LevelStructArrayCase(m_testCtx, (baseName + "_both_comp_access"), "… in init()
670 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
677 baseName += "_instance_array"; in init()
[all …]
/external/icu/icu4c/source/common/
Dlocid.cpp259 if (baseName != fullName) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
260 uprv_free(baseName); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
262 baseName = NULL; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
272 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale()
283 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale()
293 : UObject(), fullName(fullNameBuffer), baseName(NULL) in Locale()
427 : UObject(other), fullName(fullNameBuffer), baseName(NULL) in Locale()
433 : UObject(other), fullName(fullNameBuffer), baseName(fullName) { in Locale()
453 if (other.baseName == other.fullName) { in operator =()
454 baseName = fullName; in operator =()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp488 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/
Dwindttst.cpp175 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local
178 … log->errln("DateTime format error for locale " + baseName + ": expected date \"" + expected + in testLocales()
183 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local
186 … log->errln("DateTime format error for locale " + baseName + ": expected time \"" + expected + in testLocales()
191 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local
194 log->errln("Date format error for locale " + baseName + ": expected \"" + expected + in testLocales()
199 UnicodeString baseName(wlocale.getBaseName()); in testLocales() local
202 log->errln("Time format error for locale " + baseName + ": expected \"" + expected + in testLocales()
/external/libcxx/benchmarks/
Dordered_set.bench.cpp75 std::string baseName() const { in baseName() function
101 return "BM_Create" + Access::name() + baseName(); in name()
122 return "BM_Find" + Hit::name() + Access::name() + baseName(); in name()
143 return "BM_FindNeEnd" + Hit::name() + Access::name() + baseName(); in name()
164 return "BM_InsertHit" + Access::name() + baseName(); in name()
185 return "BM_InsertMissAndErase" + Access::name() + baseName(); in name()
205 std::string name() const { return "BM_IterateRangeFor" + baseName(); } in name()
224 std::string name() const { return "BM_IterateBeginEnd" + baseName(); } in name()
/external/catch2/scripts/
DapprovalTests.py150 def approve(baseName, args): argument
155 baselinesPath = os.path.join(rootPath, '{0}.approved.txt'.format(baseName))
156 rawResultsPath = os.path.join(rootPath, '_{0}.tmp'.format(baseName))
157 filteredResultsPath = os.path.join(rootPath, '{0}.unapproved.txt'.format(baseName))
166 filteredFile.write(filterLine(line, 'compact' in baseName).rstrip() + "\n")
172 print(baseName + ":")
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java914 String baseName="com.ibm.icu.dev.data.resources.TestDataElements"; in TestJavaULocaleBundleLoading() local
916 UResourceBundle bundle = UResourceBundle.getBundleInstance(baseName, locName, testLoader); in TestJavaULocaleBundleLoading()
933 …UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLo… in TestJavaULocaleBundleLoading()
935 errln("Did not get the expected bundle for "+baseName +"."+locName); in TestJavaULocaleBundleLoading()
941 UResourceBundle bundle2 = UResourceBundle.getBundleInstance(baseName, "en_IN", testLoader); in TestJavaULocaleBundleLoading()
945 UResourceBundle bundle3 = UResourceBundle.getBundleInstance(baseName, "te_IN", testLoader); in TestJavaULocaleBundleLoading()
950 … UResourceBundle defaultBundle = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading()
958 UResourceBundle root = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading()
973 … UResourceBundle bundle4 = UResourceBundle.getBundleInstance(baseName, "fr_Latn_FR", testLoader); in TestJavaULocaleBundleLoading()
1005 String baseName="com/ibm/icu/dev/data/testdata"; in TestICUGetKeysAtTopLevel() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleTest.java917 String baseName="android.icu.dev.data.resources.TestDataElements"; in TestJavaULocaleBundleLoading() local
919 UResourceBundle bundle = UResourceBundle.getBundleInstance(baseName, locName, testLoader); in TestJavaULocaleBundleLoading()
936 …UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLo… in TestJavaULocaleBundleLoading()
938 errln("Did not get the expected bundle for "+baseName +"."+locName); in TestJavaULocaleBundleLoading()
944 UResourceBundle bundle2 = UResourceBundle.getBundleInstance(baseName, "en_IN", testLoader); in TestJavaULocaleBundleLoading()
948 UResourceBundle bundle3 = UResourceBundle.getBundleInstance(baseName, "te_IN", testLoader); in TestJavaULocaleBundleLoading()
953 … UResourceBundle defaultBundle = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading()
961 UResourceBundle root = UResourceBundle.getBundleInstance(baseName, "hi_IN", testLoader); in TestJavaULocaleBundleLoading()
976 … UResourceBundle bundle4 = UResourceBundle.getBundleInstance(baseName, "fr_Latn_FR", testLoader); in TestJavaULocaleBundleLoading()
1008 String baseName="android/icu/dev/data/testdata"; in TestICUGetKeysAtTopLevel() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp1413 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1420 baseName += "_instance_array"; in init()
1422 …modeGroup->addChild(new BlockSingleStructArrayCase(m_testCtx, baseName.c_str(), "", baseFlags… in init()
1423 …modeGroup->addChild(new BlockSingleStructArrayCase(m_testCtx, (baseName + "_comp_access").c_str(),… in init()
1443 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1450 baseName += "_instance_array"; in init()
1452 …modeGroup->addChild(new BlockSingleNestedStructCase(m_testCtx, baseName.c_str(), "", baseFlags… in init()
1453 …modeGroup->addChild(new BlockSingleNestedStructCase(m_testCtx, (baseName + "_comp_access").c_str()… in init()
1473 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1480 baseName += "_instance_array"; in init()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
DLocaleIDParser.java46 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/skqp/tools/viewer/
DNIMASlide.cpp43 SkString baseName = SkOSPath::Basename(path.c_str()); in NIMASlide() local
44 baseName.resize(baseName.size() - 5); in NIMASlide()
46 SkString basePath = SkOSPath::Join(dirName.c_str(), baseName.c_str()); in NIMASlide()
/external/skia/tools/viewer/
DNIMASlide.cpp43 SkString baseName = SkOSPath::Basename(path.c_str()); in NIMASlide() local
44 baseName.resize(baseName.size() - 5); in NIMASlide()
46 SkString basePath = SkOSPath::Join(dirName.c_str(), baseName.c_str()); in NIMASlide()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp1051 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1058 baseName += "_instance_array"; in init()
1060 …modeGroup->addChild(new BlockSingleStructArrayCase(m_context, baseName.c_str(), "", baseFlags, buf… in init()
1080 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1087 baseName += "_instance_array"; in init()
1089 …modeGroup->addChild(new BlockSingleNestedStructCase(m_context, baseName.c_str(), "", baseFlags, bu… in init()
1109 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
1116 baseName += "_instance_array"; in init()
1118 …modeGroup->addChild(new BlockSingleNestedStructArrayCase(m_context, baseName.c_str(), "", baseFlag… in init()
1138 std::string baseName = layoutFlags[layoutFlagNdx].name; in init() local
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
DStouCommandHandler.java50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local
52 return baseName + suffix; in getOutputFile()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DStouCommandHandler.java50 String baseName = defaultIfNullOrEmpty(command.getOptionalString(0), "Temp"); in getOutputFile() local
52 return baseName + suffix; in getOutputFile()

123456789