Home
last modified time | relevance | path

Searched full:resources (Results 1 – 25 of 5211) sorted by relevance

12345678910>>...209

/external/webrtc/webrtc/modules/
Dmodules_unittests.isolate23 '<(DEPTH)/resources/att-downlink.rx',
24 '<(DEPTH)/resources/att-uplink.rx',
25 '<(DEPTH)/resources/audio_coding/neteq4_network_stats.dat',
26 '<(DEPTH)/resources/audio_coding/neteq4_rtcp_stats.dat',
27 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref.pcm',
28 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_32.pcm',
29 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_64.pcm',
30 '<(DEPTH)/resources/audio_coding/neteq_universal_new.rtp',
31 '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm',
32 '<(DEPTH)/resources/audio_coding/speech_mono_32_48kHz.pcm',
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAConfiguration.java9 … * <a href="@dacRoot/guide/topics/resources/providing-resources.html#OrientationQualifier">port</a>
15 … * <a href="@dacRoot/guide/topics/resources/providing-resources.html#OrientationQualifier">land</a>
26 …* <a href="@dacRoot/guide/topics/resources/providing-resources.html#TouchscreenQualifier">notouch<…
35 …* <a href="@dacRoot/guide/topics/resources/providing-resources.html#TouchscreenQualifier">finger</…
43 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">ldpi</a>
49 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">mdpi</a>
55 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">tvdpi</a>
61 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">hdpi</a>
67 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">xhdpi</a>
73 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#DensityQualifier">xxhdpi</a>
[all …]
/external/deqp-deps/glslang/StandAlone/
DResourceLimits.cpp262 void DecodeResourceLimits(TBuiltInResource* resources, char* config) in DecodeResourceLimits() argument
289 resources->maxLights = value; in DecodeResourceLimits()
291 resources->maxClipPlanes = value; in DecodeResourceLimits()
293 resources->maxTextureUnits = value; in DecodeResourceLimits()
295 resources->maxTextureCoords = value; in DecodeResourceLimits()
297 resources->maxVertexAttribs = value; in DecodeResourceLimits()
299 resources->maxVertexUniformComponents = value; in DecodeResourceLimits()
301 resources->maxVaryingFloats = value; in DecodeResourceLimits()
303 resources->maxVertexTextureImageUnits = value; in DecodeResourceLimits()
305 resources->maxCombinedTextureImageUnits = value; in DecodeResourceLimits()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/resources/
DResourcesTest.java12 package org.jacoco.report.internal.html.resources;
25 * Unit tests for {@link Resources}.
33 private Resources resources; field in ResourcesTest
39 resources = new Resources(root); in setup()
45 assertEquals("../../jacoco-resources/test.png", in testGetLink()
46 resources.getLink(base, "test.png")); in testGetLink()
52 resources.copyResources(); in testCopyResources()
53 output.assertFile("jacoco-resources/branchfc.gif"); in testCopyResources()
54 output.assertFile("jacoco-resources/branchnc.gif"); in testCopyResources()
55 output.assertFile("jacoco-resources/branchpc.gif"); in testCopyResources()
[all …]
/external/vulkan-validation-layers/tests/
Dvktestframework.cpp230 // These are the default resources for TBuiltInResources, used for both
339 // *.conf => this is a config file that can set limits/resources
383 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()
[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()
97 …* be returned if the resource is found. If the resource cannot be found, {@link Resources.NotFound…
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()
[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()
127 …* be returned if the resource is found. If the resource cannot be found, {@link Resources.NotFound…
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()
[all …]
/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; field in ShadowThemeTest
34 resources = ApplicationProvider.getApplicationContext().getResources(); in setUp()
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()
[all …]
DShadowResourcesTest.java7 import android.content.res.Resources;
30 private Resources resources; field in ShadowResourcesTest
34 resources = ApplicationProvider.getApplicationContext().getResources(); in setup()
40 assertThat(resources.getString(R.string.hello)).isEqualTo("Bonjour"); in testGetValuesResFromSpecificQualifiers()
53 …int identifier_missing_from_r_file = resources.getIdentifier("secondary_text_material_dark", "colo… in shouldGenerateIdsForResourcesThatAreMissingRValues()
59 assertThat(resources.getColorStateList(identifier_missing_from_r_file)).isNotNull(); in shouldGenerateIdsForResourcesThatAreMissingRValues()
64 InputStream resourceStream = resources.openRawResource(R.drawable.an_image); in openRawResource_shouldLoadDrawableWithQualifiers()
73 assertThat(resources.openRawResourceFd(R.raw.raw_resource)).isNull(); in openRawResourceFd_returnsNull_todo_FIX()
75 assertThat(resources.openRawResourceFd(R.raw.raw_resource)).isNotNull(); in openRawResourceFd_returnsNull_todo_FIX()
84 Resources.Theme theme = resources.newTheme(); in themeResolveAttribute_shouldSupportDereferenceResource()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DPartner.java25 import android.content.res.Resources;
65 return entry.resources.getDrawable(entry.id); in getDrawable()
75 return entry.resources.getString(entry.id); in getString()
83 return resourceEntry.resources.getColor(resourceEntry.id); in getColor()
92 return entry.resources.getText(entry.id); in getText()
100 * @return a ResourceEntry in the partner overlay's resources, if one is defined. Otherwise the
101 * resources from the original context is returned. Clients can then get the resource by
102 * {@code entry.resources.getString(entry.id)}, or other methods available in {@link
103 * android.content.res.Resources}.
108 final Resources ourResources = context.getResources(); in getResourceEntry()
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_resource.py7 from importlib import resources, import_module
14 self.assertTrue(resources.is_resource(self.data, 'binary.file'))
17 self.assertFalse(resources.is_resource(self.data, 'not-a-file'))
20 # Directories are not resources.
21 self.assertFalse(resources.is_resource(self.data, 'subdirectory'))
24 contents = set(resources.contents(self.data))
56 set(resources.contents(package)),
63 self.assertTrue(resources.is_resource(package, 'B'))
69 self.assertFalse(resources.is_resource(package, 'D'))
75 self.assertFalse(resources.is_resource(package, 'Z'))
[all …]
/external/libtextclassifier/utils/
Dresources_test.cc17 #include "utils/resources.h"
142 Resources resources( in TEST_P() local
145 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-US")}, in TEST_P()
148 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-GB")}, in TEST_P()
151 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("pt-PT")}, in TEST_P()
154 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("zh-Hans-CN")}, in TEST_P()
157 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("zh")}, in TEST_P()
160 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("fr-CA")}, in TEST_P()
167 Resources resources( in TEST_P() local
171 EXPECT_TRUE(resources.GetResourceContent({Locale::FromBCP47("en-CA")}, in TEST_P()
[all …]
/external/python/google-api-python-client/docs/dyn/
Dmonitoring_v3.projects.groups.html110resources. Each group has a filter that is matched against monitored resources and their associate…
111 …"filter": "A String", # The filter used to determine which monitored resources belong to this grou…
127resources. Each group has a filter that is matched against monitored resources and their associate…
128 …"filter": "A String", # The filter used to determine which monitored resources belong to this grou…
172resources. Each group has a filter that is matched against monitored resources and their associate…
173 …"filter": "A String", # The filter used to determine which monitored resources belong to this grou…
203resources. Each group has a filter that is matched against monitored resources and their associate…
204 …"filter": "A String", # The filter used to determine which monitored resources belong to this grou…
237resources. Each group has a filter that is matched against monitored resources and their associate…
238 …"filter": "A String", # The filter used to determine which monitored resources belong to this grou…
[all …]
Dadmin_directory_v1.resources.calendars.html75 …ory API</a> . <a href="admin_directory_v1.resources.html">resources</a> . <a href="admin_directory…
88 <p class="firstline">Retrieves a list of calendar resources for an account.</p>
121 …n#directory#resources#calendars#CalendarResource", # The type of the resource. For calendar resour…
122 …"resourceType": "A String", # The type of the calendar resource. Used for grouping resources in th…
141 …n#directory#resources#calendars#CalendarResource", # The type of the resource. For calendar resour…
142 …"resourceType": "A String", # The type of the calendar resource. Used for grouping resources in th…
155 …n#directory#resources#calendars#CalendarResource", # The type of the resource. For calendar resour…
156 …"resourceType": "A String", # The type of the calendar resource. Used for grouping resources in th…
167 <pre>Retrieves a list of calendar resources for an account.
181 …n#directory#resources#calendars#CalendarResource", # The type of the resource. For calendar resour…
[all …]
/external/skqp/src/gpu/
DGrResourceCache.h42 * Resources may have optionally have two types of keys:
43 * 1) A scratch key. This is for resources whose allocations are cached but not their contents.
44 * Multiple resources can share the same scratch key. This is so a caller can have two
47 * should never change. Resources need not have a scratch key.
61 // Default maximum number of budgeted resources in the cache.
63 // Default maximum number of bytes of gpu memory of budgeted resources in the cache.
73 /** Sets the cache limits in terms of number of resources and max gpu memory byte size. */
77 * Returns the number of resources.
84 * Returns the number of resources that count against the budget.
89 * Returns the number of bytes consumed by resources.
[all …]
/external/skia/src/gpu/
DGrResourceCache.h43 * Resources may have optionally have two types of keys:
44 * 1) A scratch key. This is for resources whose allocations are cached but not their contents.
45 * Multiple resources can share the same scratch key. This is so a caller can have two
48 * should never change. Resources need not have a scratch key.
62 // Default maximum number of budgeted resources in the cache.
64 // Default maximum number of bytes of gpu memory of budgeted resources in the cache.
74 /** Sets the cache limits in terms of number of resources and max gpu memory byte size. */
78 * Returns the number of resources.
85 * Returns the number of resources that count against the budget.
90 * Returns the number of bytes consumed by resources.
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DTable.java23 import org.jacoco.report.internal.html.resources.Resources;
24 import org.jacoco.report.internal.html.resources.Styles;
79 * resources that might be referenced
80 * @param resources
81 * static resources that might be referenced
89 final Resources resources, final ReportOutputFolder base) in render() argument
95 footer(table, total, resources, base); in render()
96 body(table, sortedItems, resources, base); in render()
109 final Resources resources, final ReportOutputFolder base) in footer() argument
113 c.footer(tr, total, resources, base); in footer()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DResourcesTest.java40 * Unit test for {@link Resources}.
48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]", in suite()
50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]", in suite()
58 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()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java10 import android.content.res.Resources;
24 private Resources resources; field in QualifiersTest
28 resources = getApplicationContext().getResources(); in setUp()
48 …assertThat(resources.getConfiguration().orientation).isEqualTo(Configuration.ORIENTATION_LANDSCAPE… in orientation()
53 Locale locale = resources.getConfiguration().locale; in shouldBeEnglish()
59 Locale locale = resources.getConfiguration().locale; in shouldBeJapanese()
65 Locale locale = resources.getConfiguration().locale; in shouldBeFrench()
76 assertThat(resources.getQuantityString(R.plurals.minute, 2)).isEqualTo( in getQuantityString()
77 resources.getString(R.string.minute_plural)); in getQuantityString()
86 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(320); in inflateLayout_defaultsTo_sw320dp()
[all …]
/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp34 // This is a helper class to make sure all the resources used by the compiler are initialized
105 ShBuiltInResources resources; in LLVMFuzzerTestOneInput() local
106 resources.MaxVertexAttribs = sw::MAX_VERTEX_INPUTS; in LLVMFuzzerTestOneInput()
107 resources.MaxVertexUniformVectors = sw::VERTEX_UNIFORM_VECTORS - 3; in LLVMFuzzerTestOneInput()
108 resources.MaxVaryingVectors = MIN(sw::MAX_VERTEX_OUTPUTS, sw::MAX_VERTEX_INPUTS); in LLVMFuzzerTestOneInput()
109 resources.MaxVertexTextureImageUnits = sw::VERTEX_TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
110 resources.MaxCombinedTextureImageUnits = sw::TEXTURE_IMAGE_UNITS + sw::VERTEX_TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
111 resources.MaxTextureImageUnits = sw::TEXTURE_IMAGE_UNITS; in LLVMFuzzerTestOneInput()
112 resources.MaxFragmentUniformVectors = sw::FRAGMENT_UNIFORM_VECTORS - 3; in LLVMFuzzerTestOneInput()
113 resources.MaxDrawBuffers = sw::RENDERTARGETS; in LLVMFuzzerTestOneInput()
[all …]
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanelLocRes.vcproj85Resources mkdir $(OutDir)\ControlPanel.Resources&#x0D;&#x0A;if not exist $(OutDir)\ControlPanel.Re…
91 OutputFile="$(OutDir)\ControlPanel.Resources\en.lproj\ControlPanelLocalized.dll"
192Resources mkdir $(OutDir)\ControlPanel.Resources&#x0D;&#x0A;if not exist $(OutDir)\ControlPanel.Re…
198 OutputFile="$(OutDir)\ControlPanel.Resources\en.lproj\ControlPanelLocalized.dll"
302Resources mkdir $(OutDir)\ControlPanel.Resources&#x0D;&#x0A;if not exist $(OutDir)\ControlPanel.Re…
308 OutputFile="$(OutDir)\ControlPanel.Resources\en.lproj\ControlPanelLocalized.dll"
343Resources\en.lproj&quot; mkdir &quot;$(DSTROOT)\Program Files\Bonjour SDK\bin\$(PlatformName)\Co…
413Resources mkdir $(OutDir)\ControlPanel.Resources&#x0D;&#x0A;if not exist $(OutDir)\ControlPanel.Re…
419 OutputFile="$(OutDir)\ControlPanel.Resources\en.lproj\ControlPanelLocalized.dll"
455Resources\en.lproj&quot; mkdir &quot;$(DSTROOT)\Program Files\Bonjour SDK\bin\$(PlatformName)\Co…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DTryStmt.java70 …* <li>Resources can be specified after "try", but only variable declarations (VariableDeclarationE…
83 * Java 9 finishes resources: you can now refer to a resource that was declared somewhere else.
99 private NodeList<Expression> resources; field in TryStmt
117 …public TryStmt(NodeList<Expression> resources, final BlockStmt tryBlock, final NodeList<CatchClaus… in TryStmt() argument
118 this(null, resources, tryBlock, catchClauses, finallyBlock); in TryStmt()
125 …public TryStmt(TokenRange tokenRange, NodeList<Expression> resources, BlockStmt tryBlock, NodeList… in TryStmt() argument
127 setResources(resources); in TryStmt()
163 return resources; in getResources()
208 public TryStmt setResources(final NodeList<Expression> resources) { in setResources() argument
209 assertNotNull(resources); in setResources()
[all …]
/external/webrtc/
D.gitignore51 /resources/**/*.aecdump
52 /resources/**/*.bin
53 /resources/**/*.chn
54 /resources/**/*.dat
55 /resources/**/*.gai
56 /resources/**/*.jpg
57 /resources/**/*.pcap
58 /resources/**/*.pcm
59 /resources/**/*.rtp
60 /resources/**/*.rx
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c62 struct r600_texture *resources[VL_NUM_COMPONENTS] = {}; in r600_video_buffer_create() local
72 /* first create the needed resources as "normal" textures */ in r600_video_buffer_create()
85 resources[0] = (struct r600_texture *) in r600_video_buffer_create()
87 if (!resources[0]) in r600_video_buffer_create()
94 resources[1] = (struct r600_texture *) in r600_video_buffer_create()
96 if (!resources[1]) in r600_video_buffer_create()
104 resources[2] = (struct r600_texture *) in r600_video_buffer_create()
106 if (!resources[2]) in r600_video_buffer_create()
111 if (!resources[i]) in r600_video_buffer_create()
114 pbs[i] = &resources[i]->resource.buf; in r600_video_buffer_create()
[all …]

12345678910>>...209