Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/jetty/src/java/org/eclipse/jetty/util/resource/
DResourceCollection.java66 public ResourceCollection(Resource... resources) in ResourceCollection() argument
69 for (Resource r : resources) in ResourceCollection()
96 public ResourceCollection(String[] resources) in ResourceCollection() argument
98 _resources = new Resource[resources.length]; in ResourceCollection()
101 for(int i=0; i<resources.length; i++) in ResourceCollection()
103 _resources[i] = Resource.newResource(resources[i]); in ResourceCollection()
146 public void setResources(Resource[] resources) in setResources() argument
148 _resources = resources != null ? resources : new Resource[0]; in setResources()
203 ArrayList<Resource> resources = null; in addPath() local
223 resources = new ArrayList<Resource>(); in addPath()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DResourcesTest.java33 private Resources resources; field in ResourcesTest
38 resources = new Activity().getResources(); in setup()
44 resources.getStringArray(-1); in getStringArray_shouldThrowExceptionIfNotFound()
49 Configuration configuration = resources.getConfiguration(); in testConfiguration()
56 assertThat(resources.getConfiguration(), is(resources.getConfiguration())); in testConfigurationReturnsTheSameInstance()
61 assertThat(resources.newTheme(), notNullValue()); in testNewTheme()
71 … assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( BitmapDrawable.class ) ); in testGetDrawableNullRClass()
80 …assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( AnimationDrawable.class )… in testGetAnimationDrawable()
86 String hello=resources.getString( R.string.hello ); in testGetResourceFromSpecificLocale()
96 …assertThat( resources.getDrawable( TestR.color.test_color_1 ), instanceOf( ColorDrawable.class ) )… in testGetColorDrawable()
[all …]
DBitmapDrawableTest.java26 private Resources resources; field in BitmapDrawableTest
30 resources = Robolectric.application.getResources(); in setUp()
35 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in getBitmap_shouldReturnBitmapUsedToDraw()
41 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in draw_shouldCopyDescriptionToCanvas()
57 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
68 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId()
69 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId()
70 Drawable drawable2 = resources.getDrawable(R.drawable.an_other_image); in equals_shouldTestResourceId()
78 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds()
79 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c252 pipe_resource_reference(&buf->resources[i], NULL); in vl_video_buffer_destroy()
278 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes()
280 if (util_format_get_nr_components(buf->resources[i]->format) == 1) in vl_video_buffer_sampler_view_planes()
283 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes()
316 struct pipe_resource *res = buf->resources[plane_order[i]]; in vl_video_buffer_sampler_view_components()
363 if (!buf->resources[j]) { in vl_video_buffer_surfaces()
370 surf_templ.format = vl_video_buffer_surface_format(buf->resources[j]->format); in vl_video_buffer_surfaces()
373 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[j], &surf_templ); in vl_video_buffer_surfaces()
440 struct pipe_resource *resources[VL_NUM_COMPONENTS]; in vl_video_buffer_create_ex() local
445 memset(resources, 0, sizeof resources); in vl_video_buffer_create_ex()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmemory.cpp79 if (!resources.count(&q->dev)) { in resource()
80 auto r = (!resources.empty() ? in resource()
81 new root_resource(q->dev, *this, *resources.begin()->second) : in resource()
84 resources.insert(std::make_pair(&q->dev, in resource()
89 return *resources.find(&q->dev)->second; in resource()
102 if (!resources.count(&q->dev)) { in resource()
105 resources.insert(std::make_pair(&q->dev, in resource()
109 return *resources.find(&q->dev)->second; in resource()
130 if (!resources.count(&q->dev)) { in resource()
131 auto r = (!resources.empty() ? in resource()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DResourceLoader.java19 private final Resources resources; field in ResourceLoader
25 public ResourceLoader(Resources resources, ModelLoader<Uri, T> uriLoader) { in ResourceLoader() argument
26 this.resources = resources; in ResourceLoader()
33 + resources.getResourcePackageName(model) + '/' in getResourceFetcher()
34 + resources.getResourceTypeName(model) + '/' in getResourceFetcher()
35 + resources.getResourceEntryName(model)); in getResourceFetcher()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c137 shader->resources = (struct evergreen_compute_resource*) in evergreen_create_compute_state()
164 free(shader->resources); in evergreen_delete_compute_state()
325 struct evergreen_compute_resource *resources = in compute_emit_cs() local
326 ctx->cs_shader_state.shader->resources; in compute_emit_cs()
352 if (resources[i].enabled) { in compute_emit_cs()
356 for (j = 0; j < resources[i].cs_end; j++) { in compute_emit_cs()
357 if (resources[i].do_reloc[j]) { in compute_emit_cs()
358 assert(resources[i].bo); in compute_emit_cs()
360 resources[i].bo, in compute_emit_cs()
361 resources[i].usage); in compute_emit_cs()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java226 File resources = Support_Resources.createTempFolder(); in test_findClassLjava_lang_String() local
227 String resPath = resources.toString(); in test_findClassLjava_lang_String()
231 Support_Resources.copyFile(resources, "JarIndex", "hyts_11.jar"); in test_findClassLjava_lang_String()
232 Support_Resources.copyFile(resources, "JarIndex", "hyts_12.jar"); in test_findClassLjava_lang_String()
233 Support_Resources.copyFile(resources, "JarIndex", "hyts_13.jar"); in test_findClassLjava_lang_String()
234 Support_Resources.copyFile(resources, "JarIndex", "hyts_14.jar"); in test_findClassLjava_lang_String()
248 Support_Resources.copyFile(resources, "JarIndex", "hyts_21.jar"); in test_findClassLjava_lang_String()
249 Support_Resources.copyFile(resources, "JarIndex", "hyts_22.jar"); in test_findClassLjava_lang_String()
250 Support_Resources.copyFile(resources, "JarIndex", "hyts_23.jar"); in test_findClassLjava_lang_String()
292 Support_Resources.copyFile(resources, "JarIndex", "hyts_22-new.jar"); in test_findClassLjava_lang_String()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/common/
Dnative_helper.c52 struct pipe_resource *resources[NUM_NATIVE_ATTACHMENTS]; member
93 if (rsurf->resources[i]) in resource_surface_free_resources()
94 pipe_resource_reference(&rsurf->resources[i], NULL); in resource_surface_free_resources()
158 assert(!rsurf->resources[i]); in resource_surface_add_resources()
160 rsurf->resources[i] = in resource_surface_add_resources()
162 if (rsurf->resources[i]) in resource_surface_add_resources()
175 pipe_resource_reference(&rsurf->resources[which], pres); in resource_surface_import_resource()
181 struct pipe_resource **resources, in resource_surface_get_resources() argument
188 resources[i] = NULL; in resource_surface_get_resources()
189 pipe_resource_reference(&resources[i], rsurf->resources[i]); in resource_surface_get_resources()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DGlideBitmapDrawableTranscoder.java18 private final Resources resources; field in GlideBitmapDrawableTranscoder
25 public GlideBitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool) { in GlideBitmapDrawableTranscoder() argument
26 this.resources = resources; in GlideBitmapDrawableTranscoder()
32 GlideBitmapDrawable drawable = new GlideBitmapDrawable(resources, toTranscode.get()); in transcode()
/external/icu/icu4c/source/samples/ufortune/
Dreadme.txt5 Defining resources for use by an application
15 resources/root.txt Default resources (text for messages in English)
16 resources/es.txt Spanish language resources source file..
17 resources/res-file-list.txt List of resource source files to be built
18 resources/Makefile Makefile for compiling resources, for Unixes.
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2.egg-info/
DSOURCES.txt109 tests/resources/__init__.py
110 tests/resources/handlers.py
111 tests/resources/i18n.py
112 tests/resources/protorpc_services.py
113 tests/resources/template.py
114 tests/resources/jinja2_templates/hello.html
115 tests/resources/jinja2_templates/template1.html
116 tests/resources/jinja2_templates/template2.html
117 tests/resources/jinja2_templates/template3.html
118 tests/resources/jinja2_templates_compiled/tmpl_3a79873b1b49be244fd5444b1258ce348be26de8.py
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DFingerPrintGraph.java89 Map resources = new HashMap(); field in FingerPrintGraph
187 Font italicFont = (Font) this.resources.get("italicFont"); in drawBars()
193 this.resources.put("italicFont", italicFont); in drawBars()
195 Color blueref = (Color) this.resources.get("blueref"); in drawBars()
198 this.resources.put("blueref", blueref); in drawBars()
200 Color lightyellow= (Color) this.resources.get("lightyellow"); in drawBars()
203 this.resources.put("lightyellow", lightyellow); in drawBars()
205 Color darkyellow= (Color) this.resources.get("darkyellow"); in drawBars()
208 this.resources.put("darkyellow", darkyellow); in drawBars()
210 Color okColor= (Color) this.resources.get("lightgreen"); in drawBars()
[all …]
/external/libdrm/tests/modetest/
Dmodetest.c92 struct resources { struct
106 struct resources *resources; argument
227 for (i = 0; i < dev->resources->res->count_encoders; i++) { in bit_name_fn()
228 encoder = dev->resources->encoders[i].encoder; in bit_name_fn()
370 for (i = 0; i < dev->resources->res->count_connectors; i++) { in dump_connectors()
371 struct connector *_connector = &dev->resources->connectors[i]; in dump_connectors()
414 for (i = 0; i < dev->resources->res->count_crtcs; i++) { in dump_crtcs()
415 struct crtc *_crtc = &dev->resources->crtcs[i]; in dump_crtcs()
447 for (i = 0; i < dev->resources->res->count_fbs; i++) { in dump_framebuffers()
448 fb = dev->resources->fbs[i].fb; in dump_framebuffers()
[all …]
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java74 private final ImmutableSet<ResourceInfo> resources; field in ClassPath
76 private ClassPath(ImmutableSet<ResourceInfo> resources) { in ClassPath() argument
77 this.resources = resources; in ClassPath()
102 return resources; in getResources()
111 return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); in getAllClasses()
116 return FluentIterable.from(resources).filter(ClassInfo.class).filter(IS_TOP_LEVEL).toSet(); in getTopLevelClasses()
305 private final ImmutableSortedSet.Builder<ResourceInfo> resources = field in ClassPath.Scanner
310 return resources.build(); in getResources()
360 resources.add(ResourceInfo.of(resourceName, classloader)); in scanDirectory()
384 resources.add(ResourceInfo.of(entry.getName(), classloader)); in scanJar()
/external/llvm/include/llvm/Target/
DTargetSchedule.td15 // 2. Scheduler Read/Write resources for simple per-opcode cost model.
28 // processor resources and latency with each SchedReadWrite type.
33 // be subtarget specific and can be directly associated with resources
39 // subtarget can directly associate resources with SchedReadWrite
88 // Per-cycle resources tables.
113 // Define a number of interchangeable processor resources. NumUnits
116 // An optional Super resource may be given to model these resources as
117 // a subset of the more general super resources. Using one of these
118 // resources implies using one of the super resoruces.
120 // ProcResourceUnits normally model a few buffered resources within an
[all …]
/external/libxml2/
Dcheck-relaxng-test-suite2.py33 resources = {} variable
35 global resources
37 if resources.has_key(URL):
38 return(StringIO.StringIO(resources[URL]))
40 log.write("resources: %s\n" % (resources))
224 global resources
245 resources[name] = res
277 global resources
283 resources = {}
Dcheck-xsddata-test-suite.py43 resources = {} variable
45 global resources
47 if resources.has_key(URL):
48 return(StringIO.StringIO(resources[URL]))
50 log.write("resources: %s\n" % (resources))
222 global resources
243 resources[name] = res
275 global resources
281 resources = {}
Dcheck-relaxng-test-suite.py44 resources = {} variable
46 global resources
50 if resources.has_key(URL):
51 return(StringIO.StringIO(resources[URL]))
53 log.write("resources: %s\n" % (resources))
210 global resources
231 resources[name] = res
263 global resources
269 resources = {}
/external/protobuf/src/google/protobuf/
Ddescriptor_pb2_test.py35 from google3.pyglib import resources
46 generated = resources.GetResource(_NEW)
47 checkedin = resources.GetResource(_OLD)
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dmodeset.c337 for (idx = 0; idx < drmdpy->resources->count_crtcs; idx++) { in drm_display_choose_crtc()
373 if (idx >= drmdpy->resources->count_crtcs) { in drm_display_choose_crtc()
380 return drmdpy->resources->crtcs[idx]; in drm_display_choose_crtc()
588 CALLOC(drmdpy->resources->count_connectors, sizeof(*drmdpy->connectors)); in drm_display_get_connectors()
592 for (i = 0; i < drmdpy->resources->count_connectors; i++) { in drm_display_get_connectors()
595 drmconn->connector_id = drmdpy->resources->connectors[i]; in drm_display_get_connectors()
599 drmdpy->num_connectors = drmdpy->resources->count_connectors; in drm_display_get_connectors()
611 *num_crtc = drmdpy->resources->count_crtcs; in drm_display_get_connectors()
657 for (i = 0; i < drmdpy->resources->count_crtcs; i++) { in drm_display_fini_modeset()
673 if (drmdpy->resources) { in drm_display_fini_modeset()
[all …]
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp170 void generateVariableTypeResourceNames (std::vector<std::string>& resources, const std::string& nam… in generateVariableTypeResourceNames() argument
178 resources.push_back(name); in generateVariableTypeResourceNames()
183 …generateVariableTypeResourceNames(resources, name + "." + structType->getMember(ndx).getName(), st… in generateVariableTypeResourceNames()
192 resources.push_back(name); in generateVariableTypeResourceNames()
198 generateVariableTypeResourceNames(resources, name + "[0]", type.getElementType(), childFlags); in generateVariableTypeResourceNames()
204 …generateVariableTypeResourceNames(resources, name + "[" + de::toString(ndx) + "]", type.getElement… in generateVariableTypeResourceNames()
1260 std::vector<std::string> resources; in getProgramInterfaceBlockMemberResourceList() local
1264 generateVariableTypeResourceNames(resources, in getProgramInterfaceBlockMemberResourceList()
1271 return resources; in getProgramInterfaceBlockMemberResourceList()
1281 std::vector<std::string> resources; in getProgramInterfaceResourceList() local
[all …]
/external/apache-harmony/support/src/test/java/tests/support/resource/
DSupport_Resources.java45 File resources = createTempFolder(); in getURL() local
51 copyFile(resources, folder, name); in getURL()
53 String resPath = resources.toString(); in getURL()
119 File resources = createTempFolder(); in getExternalLocalFile() local
121 File temp = new File(resources.toString() + "/local.tmp"); in getExternalLocalFile()
/external/apache-harmony/luni/src/test/resources/net.resources/
DREADME.txt8 This directory contains resources that can be used to carry out unit testing of
9 the java.net types. The resources are separated according to the type of
29 Directory html/testres231 contains a number of text and binary resources. This
52 The intent is that these resources can be accessed with URLs beginning
87 <EXTRACT_DIR>/Harmony/Harmony_Tests/src/test/resources/config/localhost.ini
115 points to the network location of the FTP resources.
118 that the HTTP server resources were last
120 web resources this value will need to
125 Any changes to the web resources will affect this
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DViewfinderView.java66 Resources resources = getResources(); in ViewfinderView() local
67 maskColor = resources.getColor(R.color.viewfinder_mask); in ViewfinderView()
68 resultColor = resources.getColor(R.color.result_view); in ViewfinderView()
69 frameColor = resources.getColor(R.color.viewfinder_frame); in ViewfinderView()
70 laserColor = resources.getColor(R.color.viewfinder_laser); in ViewfinderView()
71 resultPointColor = resources.getColor(R.color.possible_result_points); in ViewfinderView()

12345678910>>...12