/external/skia/tools/skdiff/ |
H A D | skdiff_html.cpp | 181 static void print_diff_resource_cell(SkFILEWStream* stream, DiffResource& resource, argument 183 if (resource.fBitmap.empty()) { 184 if (DiffResource::kCouldNotDecode_Status == resource.fStatus) { 185 if (local && !resource.fFilename.isEmpty()) { 186 print_link_cell(stream, resource.fFilename, "N/A"); 189 if (!resource.fFullPath.isEmpty()) { 190 if (!resource.fFullPath.startsWith(PATH_DIV_STR)) { 191 resource.fFullPath.prepend(relativePath); 193 print_link_cell(stream, resource.fFullPath, "N/A"); 201 int height = compute_image_height(resource [all...] |
/external/skqp/tools/skdiff/ |
H A D | skdiff_html.cpp | 181 static void print_diff_resource_cell(SkFILEWStream* stream, DiffResource& resource, argument 183 if (resource.fBitmap.empty()) { 184 if (DiffResource::kCouldNotDecode_Status == resource.fStatus) { 185 if (local && !resource.fFilename.isEmpty()) { 186 print_link_cell(stream, resource.fFilename, "N/A"); 189 if (!resource.fFullPath.isEmpty()) { 190 if (!resource.fFullPath.startsWith(PATH_DIV_STR)) { 191 resource.fFullPath.prepend(relativePath); 193 print_link_cell(stream, resource.fFullPath, "N/A"); 201 int height = compute_image_height(resource [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
H A D | resource9.c | 58 pipe_resource_reference(&This->resource, initResource); 72 * * This would add overhead to each resource allocation. 90 This->resource = screen->resource_create(screen, &This->info); 91 if (!This->resource) 110 pipe_resource_reference(&This->resource, NULL); 122 return This->resource;
|
H A D | swapchain9.c | 88 struct pipe_resource *resource, 100 This->screen->resource_get_handle(This->screen, pipe, resource, 111 resource->width0, 112 resource->height0, 138 struct pipe_resource *resource, tmplt; local 319 resource = This->screen->resource_create(This->screen, &tmplt); 320 if (!resource) { 325 resource->flags |= NINE_RESOURCE_FLAG_LOCKABLE; 328 NineSurface9_SetResourceResize(This->buffers[i], resource); 330 pipe_resource_reference(&resource, NUL 87 D3DWindowBuffer_create(struct NineSwapChain9 *This, struct pipe_resource *resource, int depth, int for_frontbuffer_reading) argument 528 create_present_buffer( struct NineSwapChain9 *This, unsigned int width, unsigned int height, struct pipe_resource **resource, D3DWindowBuffer **present_handle) argument 560 handle_draw_cursor_and_hud( struct NineSwapChain9 *This, struct pipe_resource *resource) argument 658 struct pipe_resource *resource; local [all...] |
H A D | surface9.c | 68 /* Mark this as a special surface held by another internal resource. */ 159 /* Ram buffer with no parent. Has to allocate the resource itself */ 187 if (This->base.resource && (pDesc->Usage & D3DUSAGE_DYNAMIC)) 188 This->base.resource->flags |= NINE_RESOURCE_FLAG_LOCKABLE; 190 if (This->base.resource && (pDesc->Usage & (D3DUSAGE_RENDERTARGET | D3DUSAGE_DEPTHSTENCIL))) 194 if (This->base.resource && (pDesc->Usage & D3DUSAGE_RENDERTARGET)) 235 struct pipe_resource *resource = This->base.resource; local 240 assert(resource); 242 srgb_format = util_format_srgb(resource 411 struct pipe_resource *resource = This->base.resource; local 773 NineSurface9_SetResource( struct NineSurface9 *This, struct pipe_resource *resource, unsigned level ) argument [all...] |
/external/python/cpython3/Lib/test/libregrtest/ |
H A D | setup.py | 62 import resource namespace 66 soft, hard = resource.getrlimit(resource.RLIMIT_STACK) 68 resource.setrlimit(resource.RLIMIT_STACK, (newsoft, hard))
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
H A D | module.py | 94 def __init__(self, loader, name, resource, load_resource=True): 103 self.resource = resource 133 return self.resource.absolute_path 175 'Module must be registered in resource loader before loading.') 238 dependent_filenames.append(self.resource.absolute_path) 241 dependent_filenames.append(raw_script.resource.absolute_path) 247 """Represents a raw script resource referenced by a module via the 250 def __init__(self, resource): 251 self.resource [all...] |
/external/python/cpython2/Modules/ |
H A D | resource.c | 4 #include <sys/resource.h> 52 "resource.struct_rusage", /* name */ 117 int resource; local 119 if (!PyArg_ParseTuple(args, "i:getrlimit", &resource)) 122 if (resource < 0 || resource >= RLIM_NLIMITS) { 124 "invalid resource specified"); 128 if (getrlimit(resource, &rl) == -1) { 147 int resource; local 150 if (!PyArg_ParseTuple(args, "iO:setrlimit", &resource, [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_uvd.c | 114 pbs[i] = &resources[i]->resource.buf; 125 resources[i]->resource.gpu_address = ctx->b.ws->buffer_get_virtual_address( 126 resources[i]->resource.buf); 167 return luma->resource.buf; 171 static void r600_vce_get_buffer(struct pipe_resource *resource, argument 175 struct r600_texture *res = (struct r600_texture *)resource; 178 *handle = res->resource.buf;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_uvd.c | 97 pbs[i] = &resources[i]->resource.buf; 107 resources[i]->resource.gpu_address = ctx->b.ws->buffer_get_virtual_address( 108 resources[i]->resource.buf); 131 return luma->resource.buf; 135 static void si_vce_get_buffer(struct pipe_resource *resource, argument 139 struct r600_texture *res = (struct r600_texture *)resource; 142 *handle = res->resource.buf;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_surface.c | 42 if (info->src.resource->nr_samples > 1 && 43 info->dst.resource->nr_samples <= 1 && 44 !util_format_is_depth_or_stencil(info->src.resource->format) && 45 !util_format_is_pure_integer(info->src.resource->format)) { 56 util_format_short_name(info->src.resource->format), 57 util_format_short_name(info->dst.resource->format)); 91 struct pipe_resource *resource) 90 sp_flush_resource(struct pipe_context *pipe, struct pipe_resource *resource) argument
|
/external/swiftshader/src/D3D9/ |
H A D | Direct3DVolume9.cpp | 36 resource = new Direct3DResource9(device, D3DRTYPE_VOLUME, pool, memoryUsage(width, height, depth, format)); 37 resource->bind(); 42 resource->unbind(); 95 return resource->FreePrivateData(guid); 147 return resource->GetDevice(device); 156 return resource->GetPrivateData(guid, data, size); 212 return resource->SetPrivateData(guid, data, size, flags);
|
/external/webrtc/webrtc/test/testsupport/ |
H A D | fileutils_unittest.cc | 123 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); local 124 ASSERT_GT(resource.find(kTestName), 0u); 125 ASSERT_GT(resource.find(kExtension), 0u); 130 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); local 131 ASSERT_NE(resource.find("resources"), std::string::npos); 132 ASSERT_GT(resource.find(kTestName), 0u); 133 ASSERT_GT(resource.find(kExtension), 0u);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | Engine.java | 13 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder; 106 * <li>Check the memory cache and provide the cached resource if present</li> 107 * <li>Check the current set of actively used resources and return the active resource if present</li> 115 * Once all consumers of a resource have released that resource, the resource then goes to cache. If the 116 * resource is ever returned to a new consumer from cache, it is re-added to the active resources. If the 117 * resource is evicted from the cache, its resources are recycled and re-used if possible and the resource is 124 * @param width The target width in pixels of the desired resource 220 release(Resource resource) argument 230 onEngineJobComplete(Key key, EngineResource<?> resource) argument 249 onResourceRemoved(final Resource<?> resource) argument 254 onResourceReleased(Key cacheKey, EngineResource resource) argument [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
H A D | GenericRequest.java | 15 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder; 29 * @param <A> The type of the model that the resource will be loaded from. 30 * @param <T> The type of the data that the resource will be loaded from. 31 * @param <Z> The type of the resource that will be loaded. 32 * @param <R> The type of the resource that will be transcoded from the loaded resource. 83 private Resource<?> resource; field in class:GenericRequest 272 * the loaded resource if the load completed before the call to cancel. 290 * the loaded resource if the load completed with the placeholder. 303 if (resource ! 322 releaseResource(Resource resource) argument 446 onResourceReady(Resource<?> resource) argument 482 onResourceReady(Resource<?> resource, R result) argument [all...] |
H A D | RequestFutureTarget.java | 27 * Object resource = target.get(); 28 * // Do something with resource, and when finished: 36 * @param <R> The type of the resource that will be loaded. 48 private R resource; field in class:RequestFutureTarget 179 public synchronized void onResourceReady(R resource, GlideAnimation<? super R> glideAnimation) { argument 182 this.resource = resource; 196 return resource; 215 return resource;
|
/external/libcups/cups/ |
H A D | http-support.c | 49 const char *resource; /* Resource from URI */ member in struct:_http_uribuf_s 145 * 'httpAssembleURI()' - Assemble a uniform resource identifier from its 165 const char *resource) /* I - Resource */ 368 * Last but not least, add the resource string... 371 if (resource) 377 * Copy the resource string up to the query string if present... 380 query = strchr(resource, '?'); 381 ptr = http_copy_encode(ptr, resource, end, NULL, "?", 424 * 'httpAssembleURIf()' - Assemble a uniform resource identifier from its 425 * components with a formatted resource 157 httpAssembleURI( http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource) argument 449 char resource[1024]; /* Formatted resource string */ local 899 httpSeparate(const char *uri, char *scheme, char *username, char *host, int *port, char *resource) argument 923 httpSeparate2(const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument 947 httpSeparateURI( http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument 1578 resource[1024]; local 2148 char resource[257], /* Remote path */ local 2361 char resource[257], /* Remote path */ local [all...] |
/external/libxml2/doc/ |
H A D | index.py | 72 resource varchar(255) BINARY NOT NULL, 77 KEY resource (resource), 78 UNIQUE KEY ref (name, resource))""", 86 resource varchar(255) BINARY NOT NULL, 88 UNIQUE KEY name (resource))""", 91 resource varchar(255) BINARY NOT NULL, 93 UNIQUE KEY id (ID,resource(255)), 95 INDEX (resource))""", 293 def addPage(resource, titl [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationOperationMultiQueueTests.cpp | 227 const Resource& resource, 233 if (resource.getType() == RESOURCE_TYPE_IMAGE) 236 writeSync.imageLayout, readSync.imageLayout, resource.getImage().handle, resource.getImage().subresourceRange); 252 else if ((resource.getType() == RESOURCE_TYPE_BUFFER || isIndirectBuffer(resource.getType())) && 264 resource.getBuffer().handle, // VkBuffer buffer; 265 resource.getBuffer().offset, // VkDeviceSize offset; 266 resource.getBuffer().size, // VkDeviceSize size; 311 const UniquePtr<Resource> resource (ne 223 createBarrierMultiQueue(const DeviceInterface& vk, const VkCommandBuffer& cmdBuffer, const SyncInfo& writeSync, const SyncInfo& readSync, const Resource& resource, const deUint32 writeFamily, const deUint32 readFamily, const VkSharingMode sharingMode, const bool secondQueue = false) argument 540 const ResourceDescription& resource = s_resources[resourceNdx]; local [all...] |
/external/v8/src/extensions/ |
H A D | externalize-string-extension.cc | 97 SimpleOneByteStringResource* resource = new SimpleOneByteStringResource( local 99 result = string->MakeExternal(resource); 104 if (!result) delete resource; 108 SimpleTwoByteStringResource* resource = new SimpleTwoByteStringResource( local 110 result = string->MakeExternal(resource); 115 if (!result) delete resource;
|
/external/autotest/client/bin/ |
H A D | test.py | 21 import os, logging, resource, glob namespace 65 resource.setrlimit(resource.RLIMIT_CORE, (-1, -1))
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
H A D | GifTypeRequest.java | 4 import com.bumptech.glide.load.resource.gif.GifDrawable; 5 import com.bumptech.glide.load.resource.transcode.GifDrawableBytesTranscoder; 6 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder; 13 * A class for creating a load request that either loads an {@link com.bumptech.glide.load.resource.gif.GifDrawable} 14 * directly or that adds an {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} to transcode 15 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} into another resource type. 17 * @param <ModelType> The type of model to load the {@link com.bumptech.glide.load.resource.gif.GifDrawable} or other 50 * Sets a transcoder to transcode the decoded {@link com.bumptech.glide.load.resource.gif.GifDrawable} into another 51 * resource typ [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
H A D | ImageVideoGifDrawableLoadProvider.java | 1 package com.bumptech.glide.load.resource.gifbitmap; 10 import com.bumptech.glide.load.resource.file.FileToStreamDecoder; 11 import com.bumptech.glide.load.resource.gif.GifDrawable; 19 * {@link com.bumptech.glide.load.resource.gif.GifDrawable} or an {@link Bitmap} from either an
|
/external/icu/icu4c/source/samples/uresb/ |
H A D | uresb.c | 24 * This program prints out resource bundles - example for 65 void printOutBundle(UFILE *out, UResourceBundle *resource, int32_t indent, UErrorCode *status); 227 void printOutBundle(UFILE *out, UResourceBundle *resource, int32_t indent, UErrorCode *status) { argument 229 const char *key = ures_getKey(resource); 231 switch(ures_getType(resource)) { 235 const UChar*thestr = ures_getString(resource, &len, status); 264 u_fprintf(out, ":int { %li } ", ures_getInt(resource, status)); 274 const int8_t *data = (const int8_t *)ures_getBinary(resource, &len, status); 277 u_fprintf(out, "// WARNING: this resource, size %li is truncated to %li\n", len, truncsize/2); 303 const int32_t *data = ures_getIntVector(resource, [all...] |
/external/mesa3d/include/CL/ |
H A D | cl_d3d10.h | 88 ID3D10Buffer * resource, 94 ID3D10Texture2D * resource, 101 ID3D10Texture3D * resource,
|