Home
last modified time | relevance | path

Searched refs:ResourceTable (Results 1 – 25 of 56) sorted by relevance

123

/external/cldr/tools/java/org/unicode/cldr/icu/
DResourceSplitter.java15 import org.unicode.cldr.icu.ICUResourceWriter.ResourceTable;
51 final ResourceTable root;
53 public ResultInfo(File directory, ResourceTable root) { in ResultInfo()
125 public List<ResultInfo> split(File targetDir, ResourceTable root) { in split()
134 private final Map<String, ResourceTable> resultMap;
135 private final Map<String, ResourceTable> aliasMap;
142 this.resultMap = new HashMap<String, ResourceTable>(); in SplitProcessor()
143 this.aliasMap = new HashMap<String, ResourceTable>(); in SplitProcessor()
170 ResourceTable root = resultMap.get(targetDirPath); in split()
181 for (Map.Entry<String, ResourceTable> e : resultMap.entrySet()) { in split()
[all …]
DKeyTypeDataConverter.java16 import org.unicode.cldr.icu.ICUResourceWriter.ResourceTable;
72 ResourceTable keyTypeDataRes = new ResourceTable(); in convert()
74 keyTypeDataRes.annotation = ResourceTable.NO_FALLBACK; in convert()
77 ResourceTable keyMapRes = new ResourceTable(); in convert()
107 ResourceTable extTypeDataRes = new ResourceTable(); in convert()
109 extTypeDataRes.annotation = ResourceTable.NO_FALLBACK; in convert()
266 ResourceTable typeMapRes = new ResourceTable(); in createTypeMapResource()
299 ResourceTable typeMapForKeyRes = new ResourceTable(); in createTypeMapResource()
332 ResourceTable typeAliasRes = new ResourceTable(); in createTypeAliasResource()
366 ResourceTable aliasesForKeyRes = new ResourceTable(); in createTypeAliasResource()
DLDML2ICUBinaryWriter.java288 … if (res.name.equals("CollationElements") && res instanceof ICUResourceWriter.ResourceTable) { in getSpecialType()
292 if (res.name.equals("collations") && res instanceof ICUResourceWriter.ResourceTable) { in getSpecialType()
319 if (top instanceof ICUResourceWriter.ResourceTable) { in dealWithSpecialElements()
331 … addDependency((ICUResourceWriter.ResourceTable) top, (ICUResourceWriter.ResourceProcess) cur, in dealWithSpecialElements()
335 …addTransliteration((ICUResourceWriter.ResourceTable) top, (ICUResourceWriter.ResourceProcess) cur); in dealWithSpecialElements()
353 private static void addTransliteration(ICUResourceWriter.ResourceTable parent, in addTransliteration()
561 …private static void addDependency(ICUResourceWriter.ResourceTable parent, ICUResourceWriter.Resour… in addDependency()
783 if (((ICUResourceWriter.ResourceTable) resTop).is32Bit()) { in writeKeyString()
DICUWriter.java13 import org.unicode.cldr.icu.ICUResourceWriter.ResourceTable;
55 List<ResultInfo> result = splitter.split(rootDir, (ResourceTable) res); in writeResource()
DICUResourceWriter.java427 if (current instanceof ResourceTable || in write()
480 } else if (current instanceof ResourceTable) { in writeBinary()
481 if (((ResourceTable) current).is32Bit()) { in writeBinary()
544 if (current instanceof ResourceTable || current instanceof ResourceArray) { in setSize()
802 public static class ResourceTable extends Resource { class in ICUResourceWriter
931 } else if (current instanceof ResourceTable) { in writeBinary()
1025 if (current instanceof ResourceTable || current instanceof ResourceArray) { in setSize()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java13 import org.robolectric.res.ResourceTable;
30 private static ResourceTable systemResourceTable;
31 private static ResourceTable appResourceTable;
32 private static ResourceTable compileTimeResourceTable;
179 public static void setSystemResourceTable(ResourceTable systemResourceTable) { in setSystemResourceTable()
183 public static void setAppResourceTable(ResourceTable appResourceTable) { in setAppResourceTable()
187 public static ResourceTable getSystemResourceTable() { in getSystemResourceTable()
191 public static ResourceTable getAppResourceTable() { in getAppResourceTable()
195 public static void setCompileTimeResourceTable(ResourceTable compileTimeResourceTable) { in setCompileTimeResourceTable()
199 public static ResourceTable getCompileTimeResourceTable() { in getCompileTimeResourceTable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStyleResolver.java10 private final ResourceTable appResourceTable;
11 private final ResourceTable systemResourceTable;
16 …public StyleResolver(ResourceTable appResourceTable, ResourceTable systemResourceTable, StyleData … in StyleResolver()
91ResourceTable resourceProvider = "android".equals(styleRef.packageName) ? systemResourceTable : ap… in getParent()
DResourceTable.java8 public interface ResourceTable { interface
/external/icu/icu4c/source/common/
Dresource.h76 class U_COMMON_API ResourceTable {
79 ResourceTable() : keys16(NULL), keys32(NULL), items16(NULL), items32(NULL), length(0) {} in ResourceTable() function
82 ResourceTable(const uint16_t *k16, const int32_t *k32, in ResourceTable() function
180 virtual ResourceTable getTable(UErrorCode &errorCode) const = 0;
Dstatic_unicode_sets.cpp76 ResourceTable contextsTable = value.getTable(status); in put()
82 ResourceTable strictnessTable = value.getTable(status); in put()
/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp54 ResourceTable dayPeriodData = value.getTable(errorCode); in put()
59 ResourceTable locales = value.getTable(errorCode); in put()
74 ResourceTable rules = value.getTable(errorCode); in put()
81 void processRules(const ResourceTable &rules, const char *key, in processRules()
87 ResourceTable ruleSet = value.getTable(errorCode); in processRules()
96 ResourceTable periodDefinition = value.getTable(errorCode); in processRules()
286 ResourceTable rules = value.getTable(errorCode); in put()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DXLIFF2ICUConverter.java449 set[0] = new ResourceTable(); in createRB()
450 set[1] = new ResourceTable(); in createRB()
771 private class ResourceTable extends Resource{ class in XLIFF2ICUConverter
1133 set[0] = new ResourceTable(); in parseTable()
1134 set[1] = new ResourceTable(); in parseTable()
1158 ((ResourceTable) currentSource).first = next[0]; in parseTable()
1159 ((ResourceTable) currentTarget).first = next[1]; in parseTable()
1160 currentSource = ((ResourceTable) currentSource).first; in parseTable()
1161 currentTarget = ((ResourceTable) currentTarget).first; in parseTable()
1175 ((ResourceTable) currentSource).first = next[0]; in parseTable()
[all …]
/external/robolectric-shadows/resources/src/test/java/org/robolectric/manifest/
DMetaDataTest.java13 import org.robolectric.res.ResourceTable;
23 @Mock private ResourceTable resourceProvider;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceTableFactoryTest.java15 private ResourceTable appResourceTable;
16 private ResourceTable systemResourceTable;
DResourceTestUtil.java20 static String stringify(ResourceTable resourceTable) { in stringify()
22 resourceTable.receive(new ResourceTable.Visitor() { in stringify()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleImpl.java55 return new ICUResourceBundleImpl.ResourceTable(this, _key, _resource); in createBundleObject()
213 static class ResourceTable extends ResourceContainer { class in ICUResourceBundleImpl
297 ResourceTable(ICUResourceBundleImpl container, String key, int resource) { in ResourceTable() method in ICUResourceBundleImpl.ResourceTable
304 ResourceTable(WholeBundle wholeBundle, int rootRes) { in ResourceTable() method in ICUResourceBundleImpl.ResourceTable
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleImpl.java56 return new ICUResourceBundleImpl.ResourceTable(this, _key, _resource); in createBundleObject()
214 static class ResourceTable extends ResourceContainer { class in ICUResourceBundleImpl
298 ResourceTable(ICUResourceBundleImpl container, String key, int resource) { in ResourceTable() method in ICUResourceBundleImpl.ResourceTable
305 ResourceTable(WholeBundle wholeBundle, int rootRes) { in ResourceTable() method in ICUResourceBundleImpl.ResourceTable
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DAndroidConfigurer.java18 import org.robolectric.res.ResourceTable;
56 .doNotAcquireClass(ResourceTable.class) in configure()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscResourcesImpl.java40 import org.robolectric.res.ResourceTable;
112 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
147 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
DShadowLegacyResourcesImpl.java35 import org.robolectric.res.ResourceTable;
86 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
117 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
DShadowResources.java45 import org.robolectric.res.ResourceTable;
136 ResourceTable resourceTable = shadowAssetManager.getResourceTable(); in openRawResource()
175 ResourceTable resourceTable = legacyShadowOf(realResources.getAssets()).getResourceTable(); in newNotFoundException()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java30 import org.robolectric.res.ResourceTable;
35 import org.robolectric.res.android.ResourceTable.flag_entry;
147 org.robolectric.res.android.ResourceTable.gFormatFlags); in arscParse()
168 private final ResourceTable resourceTable;
170 public LegacyResourceResolver(Context context, ResourceTable compileTimeResourceTable) { in LegacyResourceResolver()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java26 import org.robolectric.res.ResourceTable;
94 ResourceTable resourceProvider = RuntimeEnvironment.getSystemResourceTable(); in shouldMakeInternalResourcesAvailable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DMetaData.java7 import org.robolectric.res.ResourceTable;
35 public void init(ResourceTable resourceTable, String packageName) throws RoboNotFoundException { in init()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceTable.java5 public class ResourceTable { class

123