Searched defs:resource (Results 1 - 25 of 721) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
H A DANTLR3.java372 * Search for the given resource and add the directory or archive
378 protected void addClasspathEntry(String resource, String msg) { argument
388 if (resource.startsWith("/")) {
389 resource = resource.substring(1);
391 resource = "org/apache/tools/ant/taskdefs/optional/" + resource;
394 File f = LoaderUtils.getResourceSource(getClass().getClassLoader(), resource);
399 log("Couldn\'t find resource " + resource
[all...]
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/
H A Dantlr3.jar ... .lang.String, java.lang.String) String resource String msg java.io.File f private void ...
/external/apache-harmony/
H A DAndroid.mk29 # We need to use -maxdepth 4 because there's a non-resource directory called "resources" deeper in the tree.
30 define harmony-test-resource-dirs
34 harmony_test_resource_dirs := $(call harmony-test-resource-dirs,$(harmony_test_dirs))
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_GetResource.java22 public static String getResourceURL(String resource) { argument
23 return "http://" + Support_Configuration.TestResources + resource;
/external/apache-harmony/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java18 package tests.support.resource;
126 public static String getResourceURL(String resource) { argument
127 return "http://" + Support_Configuration.TestResources + resource;
131 * Util method to load resource files
133 * @param name - name of resource file
134 * @return - resource input stream
139 throw new RuntimeException("Failed to load resource: " + name);
145 * Util method to get absolute path to resource file
147 * @param name - name of resource file
148 * @return - path to resource
[all...]
/external/blktrace/
H A Dblktrace.c46 #include <sys/resource.h>
622 static int increase_limit(int resource, rlim_t increase) argument
627 if (!getrlimit(resource, &rlim)) {
632 if (!setrlimit(resource, &rlim))
/external/blktrace/btt/
H A Dmisc.c28 #include <sys/resource.h>
87 static int increase_limit(int resource, rlim_t increase) argument
92 if (!getrlimit(resource, &rlim)) {
97 if (!setrlimit(resource, &rlim))
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwSettingsTest.java2124 // Test a resource URL (file:///android_res/).
2160 // Test that the file URL access toggle does not affect resource URLs.
2939 * Verifies the number of resource requests made to the content provider.
2940 * @param resource Resource name
2941 * @param expectedCount Expected resource requests count
2943 private void ensureResourceRequestCountInContentProvider(String resource, int expectedCount) { argument
2945 int actualCount = TestContentProvider.getResourceRequestCount(context, resource);
2949 private void resetResourceRequestCountInContentProvider(String resource) { argument
2951 TestContentProvider.resetResourceRequestCount(context, resource);
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
H A DTestContentProvider.java44 private static Uri createRequestUri(final String target, String resource) { argument
45 return Uri.parse(createContentUrl(target) + "?" + resource);
48 public static int getResourceRequestCount(Context context, String resource) { argument
49 Uri uri = createRequestUri(GET_RESOURCE_REQUEST_COUNT, resource);
59 public static void resetResourceRequestCount(Context context, String resource) { argument
60 Uri uri = createRequestUri(RESET_RESOURCE_REQUEST_COUNT, resource);
77 String resource = uri.getLastPathSegment();
78 if (mResourceRequestCount.containsKey(resource)) {
79 mResourceRequestCount.put(resource, mResourceRequestCount.get(resource)
[all...]
/external/chromium_org/base/process/
H A Dlaunch_posix.cc12 #include <sys/resource.h>
371 // Some resource limits need to be maximal in this child.
373 const int resource = (*options.maximize_rlimits)[i]; local
375 if (getrlimit(resource, &limit) < 0) {
379 if (setrlimit(resource, &limit) < 0) {
/external/chromium_org/base/win/
H A Dresource_util.cc34 void* resource = LockResource(hres); local
35 if (!resource)
38 *data = resource;
/external/chromium_org/cc/layers/
H A Ddelegated_frame_provider_unittest.cc39 TransferableResource resource; local
40 resource.id = resource_id;
41 resource.mailbox_holder.texture_target = GL_TEXTURE_2D;
42 frame->resource_list.push_back(resource);
358 // Add a second reference on the resource.
H A Ddelegated_frame_resource_collection_unittest.cc43 TransferableResource resource; local
44 resource.id = 444;
45 resources.push_back(resource);
H A Dheads_up_display_layer_impl.cc95 scoped_ptr<ScopedResource> resource = local
97 resource->Allocate(
99 resources_.push_back(resource.Pass());
107 bool operator()(const ScopedResource* resource) { argument
108 return resource->size() == compare_size_;
H A Dnine_patch_layer_unittest.cc68 scoped_ptr<ScopedUIResource> resource = ScopedUIResource::Create( local
73 test_layer->SetUIResourceId(resource->id());
H A Dtiled_layer.cc820 PrioritizedResource* resource = tile->managed_resource(); local
821 resource->SetDimensions(resource->size(), texture_format_);
H A Dui_resource_layer_unittest.cc97 scoped_ptr<ScopedUIResource> resource = ScopedUIResource::Create( local
99 test_layer->SetUIResourceId(resource->id());
/external/chromium_org/cc/output/
H A Drenderer_pixeltest.cc128 ResourceProvider::ResourceId resource = local
134 resource,
148 resource,
2167 ResourceProvider::ResourceId resource = local
2174 resource,
2188 resource,
/external/chromium_org/cc/resources/
H A Dbitmap_raster_worker_pool.cc14 #include "cc/resources/resource.h"
22 const Resource* resource)
23 : lock_(resource_provider, resource->id()) {}
164 const Resource* resource) {
166 new RasterBufferImpl(resource_provider_, resource));
21 RasterBufferImpl(ResourceProvider* resource_provider, const Resource* resource) argument
163 AcquireBufferForRaster( const Resource* resource) argument
H A Dgpu_raster_worker_pool.cc12 #include "cc/resources/resource.h"
28 const Resource* resource,
31 resource_(resource),
32 surface_(resource_provider->LockForWriteToSkSurface(resource->id())),
200 const Resource* resource) {
202 // the resource.
203 resource_provider_->AcquireSkSurface(resource->id());
206 new RasterBufferImpl(resource_provider_, resource, &multi_picture_draw_));
27 RasterBufferImpl(ResourceProvider* resource_provider, const Resource* resource, SkMultiPictureDraw* multi_picture_draw) argument
199 AcquireBufferForRaster( const Resource* resource) argument
H A Dmanaged_tile_state.h26 EVENTUALLY_AND_ACTIVE_BIN = 3, // Nice to have, and has a task or resource.
79 void SetResourceForTesting(scoped_ptr<ScopedResource> resource) { argument
80 resource_ = resource.Pass();
H A Done_copy_raster_worker_pool.cc26 const Resource* resource)
29 resource_(resource),
30 raster_resource_(resource_pool->AcquireResource(resource->size())),
33 // Acquire and map image for raster resource.
39 // First unmap image for raster resource.
42 // Copy contents of raster resource to |resource_|.
47 // trying to map a resource that is currently in-use by the GPU.
50 // Return raster resource to pool so it can be used by another RasterBuffer
228 const Resource* resource) {
229 DCHECK_EQ(resource
24 RasterBufferImpl(ResourceProvider* resource_provider, ResourcePool* resource_pool, const Resource* resource) argument
227 AcquireBufferForRaster( const Resource* resource) argument
[all...]
H A Dpixel_buffer_raster_worker_pool.cc15 #include "cc/resources/resource.h"
25 const Resource* resource)
27 resource_(resource),
327 const Resource* resource) {
329 new RasterBufferImpl(resource_provider_, resource));
381 if (!resource_provider_->DidSetPixelsComplete(task->resource()->id()))
427 resource_provider_->ForceSetPixelsToComplete(task->resource()->id());
446 bytes_pending_upload_ -= task->resource()->bytes();
454 // commands don't access the resource while used for drawing.
455 resource_provider_->EnableReadLockFences(task->resource()
24 RasterBufferImpl(ResourceProvider* resource_provider, const Resource* resource) argument
326 AcquireBufferForRaster( const Resource* resource) argument
[all...]
H A Dprioritized_resource_manager.cc129 PrioritizedResource* resource = *it; local
131 resource->request_priority(), priority_cutoff_);
132 resource->set_above_priority_cutoff(is_above_priority_cutoff);
133 if (!resource->is_self_managed()) {
134 max_memory_needed_bytes_ += resource->bytes();
136 memory_above_cutoff_bytes_ += resource->bytes();
473 // Note that we create a backing and its resource at the same time, but we
474 // delete the backing structure and its resource in two steps. This is because
475 // we can delete the resource while the main thread is running, but we cannot
H A Draster_worker_pool_perftest.cc134 PerfRasterTaskImpl(scoped_ptr<ScopedResource> resource, argument
136 : RasterTask(resource.get(), dependencies), resource_(resource.Pass()) {}
143 raster_buffer_ = client->AcquireBufferForRaster(resource());
191 scoped_ptr<ScopedResource> resource(
193 resource->Allocate(
198 new PerfRasterTaskImpl(resource.Pass(), &dependencies));

Completed in 735 milliseconds

1234567891011>>