/external/angle/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.h | 365 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/ |
D | vktestframework.cpp | 386 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowResources.java | 14 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 …]
|
D | ShadowLegacyResourcesImpl.java | 13 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 …]
|
D | ShadowArscResourcesImpl.java | 13 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/guava-tests/test/com/google/common/io/ |
D | ResourcesTest.java | 61 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/android/guava-tests/test/com/google/common/io/ |
D | ResourcesTest.java | 61 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/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
D | LogMessageParserTest.java | 27 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/ |
D | Resources.cs | 15 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/llvm-project/clang/tools/clang-format-vs/ClangFormat/ |
D | Resources.Designer.cs | 25 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/clang/tools/clang-format-vs/ClangFormat/ |
D | Resources.Designer.cs | 25 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/flatbuffers/tests/FlatBuffers.Test/ |
D | NetTest.sh | 14 cp ../monsterdata_test.mon Resources/ 15 cp ../monsterdata_test.json Resources/ 22 rm Resources/monsterdata_cstest.mon 23 rm Resources/monsterdata_cstest_sp.mon 30 rm Resources/monsterdata_cstest.mon 31 rm Resources/monsterdata_cstest_sp.mon 39 rm Resources/monsterdata_test.mon 40 rm Resources/monsterdata_test.json
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/resources/ |
D | ResourcesTest.java | 33 private Resources resources; 39 resources = new Resources(root); in setup() 76 assertEquals("el_group", Resources.getElementStyle(ElementType.GROUP)); in testGetElementStyle() 77 assertEquals("el_bundle", Resources.getElementStyle(ElementType.BUNDLE)); in testGetElementStyle() 79 Resources.getElementStyle(ElementType.PACKAGE)); in testGetElementStyle() 81 Resources.getElementStyle(ElementType.SOURCEFILE)); in testGetElementStyle() 82 assertEquals("el_class", Resources.getElementStyle(ElementType.CLASS)); in testGetElementStyle() 83 assertEquals("el_method", Resources.getElementStyle(ElementType.METHOD)); in testGetElementStyle()
|
/external/llvm-project/llvm/lib/MCA/HardwareUnits/ |
D | ResourceManager.cpp | 112 : 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/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
D | ResourceManager.cpp | 112 : 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/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonHazardRecognizer.cpp | 29 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()
|
D | HexagonHazardRecognizer.h | 23 DFAPacketizer *Resources; variable 47 : Resources(ST.createDFAPacketizer(II)), TII(HII) { } in HexagonHazardRecognizer() 50 if (Resources) in ~HexagonHazardRecognizer() 51 delete Resources; in ~HexagonHazardRecognizer() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonHazardRecognizer.cpp | 29 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()
|
D | HexagonHazardRecognizer.h | 23 DFAPacketizer *Resources; variable 47 : Resources(ST.createDFAPacketizer(II)), TII(HII) { } in HexagonHazardRecognizer() 50 if (Resources) in ~HexagonHazardRecognizer() 51 delete Resources; in ~HexagonHazardRecognizer() local
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowThemeTest.java | 7 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/llvm-project/llvm/utils/TableGen/ |
D | DFAPacketizerEmitter.cpp | 58 ResourceVector Resources; member 179 ResourceVector Resources; in getResourcesForItinerary() local 187 Resources.push_back(StageResources); in getResourcesForItinerary() 189 return Resources; in getResourcesForItinerary() 200 ResourceVector Resources = getResourcesForItinerary(Itinerary); in createScheduleClasses() local 202 {ItineraryIdx, Idx++, UniqueResources.insert(Resources), Resources}); in createScheduleClasses() 309 for (NfaStateTy Resources : InsnClass) { in emitForItineraries() local 310 if ((State | Resources) == State) in emitForItineraries() 323 for (const ResourceVector &Resources : UniqueResources) { in emitForItineraries() local 324 if (!canApplyInsnClass(Resources, State)) in emitForItineraries() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryDeviceMemoryReportTests.cpp | 155 typename Case::Resources resources; 224 struct Resources struct 226 Resources (const Environment&, const Parameters&) {} in Resources() argument 229 static Move<VkDevice> create (const Environment& env, const Resources&, const Parameters&) in create() 252 struct Resources struct 254 Resources (const Environment&, const Parameters&) {} in Resources() argument 257 …static Move<VkDeviceMemory> create (const Environment& env, const Resources&, const Parameters& pa… in create() 302 struct Resources struct 304 Resources (const Environment&, const Parameters&) {} in Resources() function 307 static Move<VkBuffer> create (const Environment& env, const Resources&, const Parameters& params) in create() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 8 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/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiObjectManagementTests.cpp | 296 typename Case::Resources resources; 375 const typename Object::Resources res (env, params); in computeSystemMemoryUsage() 469 struct Resources struct 471 Resources (const Environment&, const Parameters&) {} in Resources() function 479 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create() 535 struct Resources struct 542 Resources (const Environment& env, const Parameters& params) in Resources() argument 581 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create() 633 struct Resources struct 642 Resources (const Environment& env, const Parameters& params) in Resources() argument [all …]
|
/external/opencensus-java/contrib/agent/src/test/java/io/opencensus/contrib/agent/ |
D | ResourcesTest.java | 46 Resources.getResourceAsTempFile("some_resource.txt", mockFile, new ByteArrayOutputStream()); in getResourceAsTempFile_deleteOnExit() 53 File file = Resources.getResourceAsTempFile("some_resource.txt"); in getResourceAsTempFile_contents() 62 Resources.getResourceAsTempFile(""); in getResourceAsTempFile_empty() 69 Resources.getResourceAsTempFile("missing_resource.txt"); in getResourceAsTempFile_Missing() 85 Resources.getResourceAsTempFile("some_resource.txt", mockFile, badOutputStream); in getResourceAsTempFile_WriteFailure()
|