Home
last modified time | relevance | path

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

12345678910>>...27

/external/vulkan-validation-layers/tests/
Dvktestframework.cpp383 Resources.maxLights = value; in ProcessConfigFile()
385 Resources.maxClipPlanes = value; in ProcessConfigFile()
387 Resources.maxTextureUnits = value; in ProcessConfigFile()
389 Resources.maxTextureCoords = value; in ProcessConfigFile()
391 Resources.maxVertexAttribs = value; in ProcessConfigFile()
393 Resources.maxVertexUniformComponents = value; in ProcessConfigFile()
395 Resources.maxVaryingFloats = value; in ProcessConfigFile()
397 Resources.maxVertexTextureImageUnits = value; in ProcessConfigFile()
399 Resources.maxCombinedTextureImageUnits = value; in ProcessConfigFile()
401 Resources.maxTextureImageUnits = value; in ProcessConfigFile()
[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/guava-tests/test/com/google/common/io/
DResourcesTest.java58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); in testToString()
59 assertThat(Resources.toString(resource, Charsets.US_ASCII)) in testToString()
64 byte[] data = Resources.toByteArray(classfile(Resources.class)); in testToToByteArray()
73 Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, in testReadLines_withLineProcessor()
102 Resources.copy(resource, out); in testCopyToOutputStream()
108 Resources.getResource("no such resource"); in testGetResource_notFound()
117 Resources.getResource("com/google/common/io/testdata/i18n.txt")); in testGetResource()
122 Resources.getResource( in testGetResource_relativePath_notFound()
133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath()
[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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DScheduler.cpp56 assert(Resources.find(Mask) == Resources.end() && "Resource already added!"); in addResource()
57 Resources[Mask] = llvm::make_unique<ResourceState>(Desc, Index, Mask); in addResource()
64 ResourceState &RS = *Resources[ResourceID]; in selectPipe()
87 ResourceState &RS = *Resources[RR.first]; in use()
95 for (const std::pair<uint64_t, UniqueResourceState> &Res : Resources) { in use()
108 ResourceState &RS = *Resources[RR.first]; in release()
114 for (const std::pair<uint64_t, UniqueResourceState> &Res : Resources) { in release()
138 ResourceState &Resource = *Resources[R]; in reserveBuffers()
152 return std::all_of(Desc.Resources.begin(), Desc.Resources.end(), in canBeIssued()
166 const ResourceState &Resource = *Resources[BufferMask]; in mustIssueImmediately()
[all …]
DScheduler.h277 llvm::SmallDenseMap<uint64_t, UniqueResourceState> Resources; variable
301 assert(Resources.find(ResourceID) != Resources.end()); in getNumUnits()
302 return Resources.find(ResourceID)->getSecond()->getNumUnits(); in getNumUnits()
309 ResourceState &Resource = *Resources[ResourceID]; in reserveBuffer()
314 Resources[ResourceID]->releaseBuffer(); in releaseBuffer()
318 const ResourceState &Resource = *Resources.find(ResourceID)->second; in isBufferAvailable()
323 const ResourceState &Resource = *Resources.find(ResourceID)->second; in isReady()
339 return Resources.find(Mask)->second->getProcResourceID(); in resolveResourceMask()
350 ResourceState &Resource = *Resources[ResourceID]; in reserveResource()
356 ResourceState &Resource = *Resources[ResourceID]; in releaseResource()
[all …]
/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/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/resources/
DResourcesTest.java33 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/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-7.0/llvm/lib/Target/Hexagon/
DHexagonHazardRecognizer.cpp30 Resources->clearResources(); in Reset()
45 if (!Resources->canReserveResources(*MI)) { in getHazardType()
60 if (Resources->canReserveResources(*NewMI)) in getHazardType()
80 Resources->clearResources(); in AdvanceCycle()
123 if (!Resources->canReserveResources(*MI)) { in EmitInstruction()
131 assert(Resources->canReserveResources(*NewMI)); in EmitInstruction()
132 Resources->reserveResources(*NewMI); in EmitInstruction()
136 Resources->reserveResources(*MI); in EmitInstruction()
162 Resources->canReserveResources(*S.getSUnit()->getInstr())) { in EmitInstruction()
DHexagonHazardRecognizer.h24 DFAPacketizer *Resources; variable
48 : Resources(ST.createDFAPacketizer(II)), TII(HII) { } in HexagonHazardRecognizer()
51 if (Resources) in ~HexagonHazardRecognizer()
52 delete Resources; in ~HexagonHazardRecognizer() local
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp283 typename Case::Resources resources;
360 const typename Object::Resources res (env, params); in computeSystemMemoryUsage()
454 struct Resources struct
456 Resources (const Environment&, const Parameters&) {} in Resources() argument
464 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create()
519 struct Resources struct
526 Resources (const Environment& env, const Parameters& params) in Resources() function
565 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create()
616 struct Resources struct
625 Resources (const Environment& env, const Parameters& params) in Resources() argument
[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/setupdesign/main/src/com/google/android/setupdesign/util/
DPartner.java25 import android.content.res.Resources;
108 final Resources ourResources = context.getResources(); in getResourceEntry()
121 public Resources resources;
125 ResourceEntry(String packageName, Resources resources, int id, boolean isOverlay) { in ResourceEntry()
165 final Resources res = pm.getResourcesForApplication(appInfo); in get()
185 private final Resources resources;
187 private Partner(String packageName, Resources res) { in Partner()
196 public Resources getResources() { in getResources()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DBarColumn.java27 import org.jacoco.report.internal.html.resources.Resources;
76 final Resources resources, final ReportOutputFolder base) in footer()
84 final Resources resources, final ReportOutputFolder base) in item()
89 bar(td, missed, Resources.REDBAR, resources, base); in item()
91 bar(td, covered, Resources.GREENBAR, resources, base); in item()
96 final Resources resources, final ReportOutputFolder base) in bar()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/
DTableTest.java33 import org.jacoco.report.internal.html.resources.Resources;
48 private Resources resources;
60 resources = new Resources(root); in setup()
89 Resources resources, ReportOutputFolder base) { in testCallbackSequence()
95 Resources resources, ReportOutputFolder base) { in testCallbackSequence()
126 Resources resources, ReportOutputFolder base) { in testInvisible()
132 Resources resources, ReportOutputFolder base) { in testInvisible()
240 return Resources.getElementStyle(node.getElementType()); in createItem()
271 Resources resources, ReportOutputFolder base) {
274 public void item(HTMLElement td, ITableItem item, Resources resources,
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java22 import android.content.res.Resources;
23 import android.content.res.Resources.NotFoundException;
97 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getColor()
131 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDrawable()
175 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getString()
206 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getBoolean()
248 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDimension()
295 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getFraction()
325 private Resources getResourcesByPackageName(Context context, String packageName) in getResourcesByPackageName()
349 private TypedValue getTypedValueFromResource(Resources resource, int resId, int type) { in getTypedValueFromResource()
/external/opencensus-java/contrib/agent/src/test/java/io/opencensus/contrib/agent/
DResourcesTest.java46 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()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/
DMessages.Designer.cs27 private static global::System.Resources.ResourceManager resourceMan;
39 internal static global::System.Resources.ResourceManager ResourceManager {
42 …global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Antl…
/external/pdfium/testing/resources/
Dbug_451265.in14 /Resources 11 0 R
37 /Resources <<
49 /Resources <<
64 /Resources <<
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlLexerTest.java40 import com.google.common.io.Resources;
47 String input = Resources.toString( in testHtmlLexer()
48 Resources.getResource(getClass(), "htmllexerinput1.html"), in testHtmlLexer()
54 String golden = Resources.toString( in testHtmlLexer()
55 Resources.getResource(getClass(), "htmllexergolden1.txt"), in testHtmlLexer()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLogicalDylib.h38 : Resources(std::move(RHS.Resources)), in LogicalModule()
41 LogicalModuleResources Resources; member
77 return LMH->Resources; in getLogicalModuleResources()
92 if (auto StubSym = LMH->Resources.findSymbol(Name, ExportedSymbolsOnly)) in findSymbolInLogicalModule()

12345678910>>...27