Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 740) sorted by relevance

12345678910>>...30

/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.h365 inline void init_resources(TBuiltInResource &Resources) in init_resources() argument
367 Resources.maxLights = 32; in init_resources()
368 Resources.maxClipPlanes = 6; in init_resources()
369 Resources.maxTextureUnits = 32; in init_resources()
370 Resources.maxTextureCoords = 32; in init_resources()
371 Resources.maxVertexAttribs = 64; in init_resources()
372 Resources.maxVertexUniformComponents = 4096; in init_resources()
373 Resources.maxVaryingFloats = 64; in init_resources()
374 Resources.maxVertexTextureImageUnits = 32; in init_resources()
375 Resources.maxCombinedTextureImageUnits = 80; in init_resources()
[all …]
/external/vulkan-validation-layers/tests/
Dvktestframework.cpp386 Resources.maxLights = value; in ProcessConfigFile()
388 Resources.maxClipPlanes = value; in ProcessConfigFile()
390 Resources.maxTextureUnits = value; in ProcessConfigFile()
392 Resources.maxTextureCoords = value; in ProcessConfigFile()
394 Resources.maxVertexAttribs = value; in ProcessConfigFile()
396 Resources.maxVertexUniformComponents = value; in ProcessConfigFile()
398 Resources.maxVaryingFloats = value; in ProcessConfigFile()
400 Resources.maxVertexTextureImageUnits = value; in ProcessConfigFile()
402 Resources.maxCombinedTextureImageUnits = value; in ProcessConfigFile()
404 Resources.maxTextureImageUnits = value; in ProcessConfigFile()
[all …]
/external/pdfium/testing/resources/pixel/
Dbug_972999.in18 /Resources <<
37 /Resources <<
53 /Resources <<
69 /Resources <<
85 /Resources <<
101 /Resources <<
117 /Resources <<
133 /Resources <<
149 /Resources <<
165 /Resources <<
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowResources.java14 import android.content.res.Resources;
15 import android.content.res.Resources.NotFoundException;
52 @Implements(Resources.class)
55 private static Resources system = null;
58 @RealObject Resources realResources;
70 ReflectionHelpers.setStaticField(Resources.class, "mSystem", null); in reset()
74 protected static Resources getSystem() { in getSystem()
79 system = new Resources(assetManager, metrics, config); in getSystem()
90 return directlyOn(realResources, Resources.class).obtainAttributes(set, attrs); in obtainAttributes()
96 throws Resources.NotFoundException { in getQuantityString()
[all …]
DShadowLegacyResourcesImpl.java13 import android.content.res.Resources;
57 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString()
63 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
84 public InputStream openRawResource(int id) throws Resources.NotFoundException { in openRawResource()
101 public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException { in openRawResourceFd()
116 private Resources.NotFoundException newNotFoundException(int id) { in newNotFoundException()
120 return new Resources.NotFoundException("resource ID #0x" + Integer.toHexString(id)); in newNotFoundException()
122 return new Resources.NotFoundException(resName.getFullyQualifiedName()); in newNotFoundException()
127 …public XmlResourceParser loadXmlResourceParser(int resId, String type) throws Resources.NotFoundEx… in loadXmlResourceParser()
133 …esourceParser(String file, int id, int assetCookie, String type) throws Resources.NotFoundExceptio… in loadXmlResourceParser()
[all …]
DShadowArscResourcesImpl.java13 import android.content.res.Resources;
64 Field[] allFields = Resources.class.getDeclaredFields(); in obtainResettableArrays()
82 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString()
88 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
109 public InputStream openRawResource(int id) throws Resources.NotFoundException { in openRawResource()
131 public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException { in openRawResourceFd()
146 private Resources.NotFoundException newNotFoundException(int id) { in newNotFoundException()
150 return new Resources.NotFoundException("resource ID #0x" + Integer.toHexString(id)); in newNotFoundException()
152 return new Resources.NotFoundException(resName.getFullyQualifiedName()); in newNotFoundException()
157 …ic Drawable loadDrawable(Resources wrapper, TypedValue value, int id, Resources.Theme theme, boole… in loadDrawable()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DResourcesTest.java61 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); in testToString()
62 assertThat(Resources.toString(resource, Charsets.US_ASCII)).isNotEqualTo(I18N); in testToString()
66 byte[] data = Resources.toByteArray(classfile(Resources.class)); in testToToByteArray()
73 assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
94 Resources.readLines(resource, Charsets.US_ASCII, collectAndLowercaseAndTrim); in testReadLines_withLineProcessor()
103 Resources.copy(resource, out); in testCopyToOutputStream()
109 Resources.getResource("no such resource"); in testGetResource_notFound()
117 assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt")); in testGetResource()
122 Resources.getResource(getClass(), "com/google/common/io/testdata/i18n.txt"); in testGetResource_relativePath_notFound()
134 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DResourcesTest.java61 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); in testToString()
62 assertThat(Resources.toString(resource, Charsets.US_ASCII)).isNotEqualTo(I18N); in testToString()
66 byte[] data = Resources.toByteArray(classfile(Resources.class)); in testToToByteArray()
73 assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
94 Resources.readLines(resource, Charsets.US_ASCII, collectAndLowercaseAndTrim); in testReadLines_withLineProcessor()
103 Resources.copy(resource, out); in testCopyToOutputStream()
109 Resources.getResource("no such resource"); in testGetResource_notFound()
117 assertNotNull(Resources.getResource("com/google/common/io/testdata/i18n.txt")); in testGetResource()
122 Resources.getResource(getClass(), "com/google/common/io/testdata/i18n.txt"); in testGetResource_relativePath_notFound()
134 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyResourcesImpl.java12 import android.content.res.Resources;
59 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString()
65 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
90 public InputStream openRawResource(int id) throws Resources.NotFoundException { in openRawResource()
107 public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException { in openRawResourceFd()
122 private Resources.NotFoundException newNotFoundException(int id) { in newNotFoundException()
126 return new Resources.NotFoundException("resource ID #0x" + Integer.toHexString(id)); in newNotFoundException()
128 return new Resources.NotFoundException(resName.getFullyQualifiedName()); in newNotFoundException()
133 …public XmlResourceParser loadXmlResourceParser(int resId, String type) throws Resources.NotFoundEx… in loadXmlResourceParser()
139 …esourceParser(String file, int id, int assetCookie, String type) throws Resources.NotFoundExceptio… in loadXmlResourceParser()
[all …]
DShadowArscResourcesImpl.java11 import android.content.res.Resources;
60 Field[] allFields = Resources.class.getDeclaredFields(); in obtainResettableArrays()
78 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString()
84 public String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
109 public InputStream openRawResource(int id) throws Resources.NotFoundException { in openRawResource()
130 public AssetFileDescriptor openRawResourceFd(int id) throws Resources.NotFoundException { in openRawResourceFd()
145 private Resources.NotFoundException newNotFoundException(int id) { in newNotFoundException()
149 return new Resources.NotFoundException("resource ID #0x" + Integer.toHexString(id)); in newNotFoundException()
151 return new Resources.NotFoundException(resName.getFullyQualifiedName()); in newNotFoundException()
156 …ic Drawable loadDrawable(Resources wrapper, TypedValue value, int id, Resources.Theme theme, boole… in loadDrawable()
[all …]
DShadowResources.java16 import android.content.res.Resources;
17 import android.content.res.Resources.NotFoundException;
58 @Implements(Resources.class)
61 private static Resources system = null;
64 @RealObject Resources realResources;
77 ReflectionHelpers.setStaticField(Resources.class, "mSystem", null); in reset()
81 protected static Resources getSystem() { in getSystem()
86 system = new Resources(assetManager, metrics, config); in getSystem()
104 throws Resources.NotFoundException { in getQuantityString()
115 protected String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/
DLogMessageParserTest.java27 import com.google.common.io.Resources;
57 List<String> lines = Resources.readLines( in gcPatten_jdk6()
58 Resources.getResource(LogMessageParserTest.class, "jdk6-gc.txt"), UTF_8); in gcPatten_jdk6()
65 List<String> lines = Resources.readLines( in gcPatten_jdk7()
66 Resources.getResource(LogMessageParserTest.class, "jdk7-gc.txt"), UTF_8); in gcPatten_jdk7()
86 List<String> lines = Resources.readLines( in jitPattern_jdk6()
87 Resources.getResource(LogMessageParserTest.class, "jdk6-compilation.txt"), UTF_8); in jitPattern_jdk6()
94 List<String> lines = Resources.readLines( in jitPattern_jdk7()
95 Resources.getResource(LogMessageParserTest.class, "jdk7-compilation.txt"), UTF_8); in jitPattern_jdk7()
102 List<String> lines = Resources.readLines( in vmOptionPattern_jdk6()
[all …]
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/
DResources.cs15 using System.Resources;
24 class Resources class
27 private static System.Resources.ResourceManager _resMgr;
32 internal Resources() in Resources() method in LzmaAlone.Properties.Resources
40 public static System.Resources.ResourceManager ResourceManager
46 …System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Resources", typeof(R…
/external/clang/tools/clang-format-vs/ClangFormat/
DResources.Designer.cs25 internal class Resources { class
27 private static global::System.Resources.ResourceManager resourceMan;
32 internal Resources() { in Resources() method in LLVM.ClangFormat.Resources
39 internal static global::System.Resources.ResourceManager ResourceManager {
42 …lobal::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LLVM.…
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAddressBindingTests.cpp183 typename Case::Resources resources;
253 struct Resources struct
255 Resources (const Environment&, const Parameters&) {} in Resources() function
258 static Move<VkDevice> create (const Environment& env, const Resources&, const Parameters&) in create()
281 struct Resources struct
283 Resources (const Environment&, const Parameters&) {} in Resources() function
286 …static Move<VkDeviceMemory> create (const Environment& env, const Resources&, const Parameters& pa… in create()
331 struct Resources struct
333 Resources (const Environment&, const Parameters&) {} in Resources() argument
336 static Move<VkBuffer> create (const Environment& env, const Resources&, const Parameters& params) in create()
[all …]
DvktMemoryDeviceMemoryReportTests.cpp156 typename Case::Resources resources;
225 struct Resources struct
227 Resources (const Environment&, const Parameters&) {} in Resources() function
230 static Move<VkDevice> create (const Environment& env, const Resources&, const Parameters&) in create()
253 struct Resources struct
255 Resources (const Environment&, const Parameters&) {} in Resources() argument
258 …static Move<VkDeviceMemory> create (const Environment& env, const Resources&, const Parameters& pa… in create()
303 struct Resources struct
305 Resources (const Environment&, const Parameters&) {} in Resources() argument
308 static Move<VkBuffer> create (const Environment& env, const Resources&, const Parameters& params) in create()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DResourceManager.cpp112 : Resources(SM.getNumProcResourceKinds() - 1), in ResourceManager()
130 Resources[Index] = in ResourceManager()
132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager()
138 const ResourceState &RS = *Resources[Index]; in ResourceManager()
161 assert(Index < Resources.size() && "Invalid processor resource index!"); in setCustomStrategyImpl()
171 return Resources[getResourceStateIndex(ResourceID)]->getNumUnits(); in getNumUnits()
179 assert(Index < Resources.size() && "Invalid resource use!"); in selectPipe()
180 ResourceState &RS = *Resources[Index]; in selectPipe()
197 ResourceState &RS = *Resources[RSID]; in use()
216 ResourceState &CurrentUser = *Resources[GroupIndex]; in use()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/resources/
DResourcesTest.java34 private Resources resources;
40 resources = new Resources(root); in setup()
77 assertEquals("el_group", Resources.getElementStyle(ElementType.GROUP)); in testGetElementStyle()
79 Resources.getElementStyle(ElementType.BUNDLE)); in testGetElementStyle()
81 Resources.getElementStyle(ElementType.PACKAGE)); in testGetElementStyle()
83 Resources.getElementStyle(ElementType.SOURCEFILE)); in testGetElementStyle()
84 assertEquals("el_class", Resources.getElementStyle(ElementType.CLASS)); in testGetElementStyle()
86 Resources.getElementStyle(ElementType.METHOD)); in testGetElementStyle()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java7 import android.content.res.Resources;
8 import android.content.res.Resources.Theme;
30 private Resources resources;
82 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
88 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs()
95 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs()
102 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideImplicitParentAttrs()
109 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldInheritParentAttrs()
119 Resources.Theme theme1 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
124 Resources.Theme theme2 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHazardRecognizer.cpp29 Resources->clearResources(); in Reset()
44 if (!Resources->canReserveResources(*MI)) { in getHazardType()
59 if (Resources->canReserveResources(*NewMI)) in getHazardType()
79 Resources->clearResources(); in AdvanceCycle()
122 if (!Resources->canReserveResources(*MI)) { in EmitInstruction()
130 assert(Resources->canReserveResources(*NewMI)); in EmitInstruction()
131 Resources->reserveResources(*NewMI); in EmitInstruction()
135 Resources->reserveResources(*MI); in EmitInstruction()
161 Resources->canReserveResources(*S.getSUnit()->getInstr())) { in EmitInstruction()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java7 import android.content.res.Resources;
8 import android.content.res.Resources.Theme;
40 private Resources resources;
99 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
106 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs()
114 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideParentAttrs()
122 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldOverrideImplicitParentAttrs()
130 Resources.Theme theme = resources.newTheme(); in applyStyle_shouldInheritParentAttrs()
140 Resources.Theme theme1 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
145 Resources.Theme theme2 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
[all …]
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/res/
DThemeTest.java7 import android.content.res.Resources.Theme;
26 private Resources resources;
159 Resources.Theme theme = resources.newTheme(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild()
169 Resources.Theme theme = resources.newTheme(); in whenAThemeHasExplicitlyEmptyParentAttr_shouldHaveNoParent()
177 Resources.Theme theme = resources.newTheme(); in shouldApplyParentStylesFromAttrs()
188 Resources.Theme theme1 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
193 Resources.Theme theme2 = resources.newTheme(); in setTo_shouldCopyAllAttributesToEmptyTheme()
203 Resources.Theme sourceTheme = resources.newTheme(); in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate()
208 Resources.Theme destTheme = resources.newTheme(); in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate()
219 Resources.Theme sourceTheme = resources.newTheme(); in setTo_whenSourceThemeIsModified_destThemeShouldNotMutate()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java8 import android.content.res.Resources;
97 Resources systemResources = Resources.getSystem(); in getQualifiers()
125 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers()
126 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics()); in setQualifiers()
132 Resources systemResources = Resources.getSystem(); in setQualifiers()
/external/pdfium/testing/resources/
Dclick_form.in20 /Resources <<
443 /Resources <<
485 /Resources <<
502 /Resources <<
544 /Resources <<
561 /Resources <<
603 /Resources <<
620 /Resources <<
655 /Resources <<
672 /Resources <<
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp329 typename Case::Resources resources;
413 const typename Object::Resources res (env, params); in computeSystemMemoryUsage()
508 struct Resources struct
510 Resources (const Environment&, const Parameters&) {} in Resources() argument
518 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create()
574 struct Resources struct
586 Resources (const Environment& env, const Parameters& params) in Resources() argument
629 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create()
721 struct Resources struct
734 Resources (const Environment& env, const Parameters& params) in Resources() function
[all …]

12345678910>>...30