/external/libchrome/base/process/ |
H A D | launch_posix.cc | 16 #include <sys/resource.h> 397 // Some resource limits need to be maximal in this child. 399 const int resource = (*options.maximize_rlimits)[i]; local 401 if (getrlimit(resource, &limit) < 0) { 405 if (setrlimit(resource, &limit) < 0) {
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_inlines.h | 425 struct pipe_resource *resource, 434 resource, 424 pipe_get_transfer( struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned layer, enum pipe_transfer_usage usage, unsigned x, unsigned y, unsigned w, unsigned h) argument
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_resource_texture.c | 281 * of core gallium, and probably move the flag to resource.flags, 716 struct pipe_resource *resource, 722 struct i915_texture *tex = i915_texture(resource); 729 transfer->b.resource = resource; 742 util_blitter_is_copy_supported(i915->blitter, resource, resource, 755 transfer->staging_texture = i915_texture_create(pipe->screen, resource, TRUE); 773 pipe->resource_copy_region(pipe, itransfer->b.resource, itransfer->b.level, 789 struct pipe_resource *resource local 715 i915_texture_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument 836 i915_transfer_inline_write( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
H A D | noop_pipe.c | 82 * resource 130 struct pipe_resource *resource, 137 struct pipe_resource *resource) 139 struct noop_resource *nresource = (struct noop_resource *)resource; 142 FREE(resource); 150 struct pipe_resource *resource, 160 pipe_resource_reference(&transfer->resource, resource); 172 struct noop_resource *nresource = (struct noop_resource *)transfer->resource; 191 pipe_resource_reference(&transfer->resource, NUL 129 noop_resource_get_handle(struct pipe_screen *screen, struct pipe_resource *resource, struct winsys_handle *handle) argument 136 noop_resource_destroy(struct pipe_screen *screen, struct pipe_resource *resource) argument 149 noop_get_transfer(struct pipe_context *context, struct pipe_resource *resource, unsigned level, enum pipe_transfer_usage usage, const struct pipe_box *box) argument 195 noop_transfer_inline_write(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument 291 noop_flush_frontbuffer(struct pipe_screen *_screen, struct pipe_resource *resource, unsigned level, unsigned layer, void *context_private) argument [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | evergreen_compute.c | 502 struct r600_pipe_sampler_view **resource = local 506 if (resource[i]) { 510 evergreen_set_tex_resource(ctx->cs_shader_state.shader, resource[i], i+2); 806 assert(transfer->resource->target == PIPE_BUFFER); 807 assert(transfer->resource->bind & PIPE_BIND_GLOBAL); 814 (struct r600_resource_global*)transfer->resource; 832 assert(transfer->resource->target == PIPE_BUFFER); 833 assert(transfer->resource->bind & PIPE_BIND_GLOBAL); 837 (struct r600_resource_global*)transfer->resource; 844 struct pipe_resource *resource, 842 r600_compute_global_get_transfer( struct pipe_context *ctx_, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument 888 r600_compute_global_transfer_inline_write( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument [all...] |
H A D | r600_texture.c | 38 struct pipe_resource *texture = transfer->resource; 50 struct pipe_resource *texture = transfer->resource; 164 struct pipe_resource *ptex = &rtex->resource.b.b; 210 struct r600_resource *resource = &rtex->resource; local 214 rscreen->ws->buffer_set_tiling(resource->buf, 226 return rscreen->ws->buffer_get_handle(resource->buf, 234 struct r600_resource *resource = &rtex->resource; local 239 pb_reference(&resource 387 struct r600_resource *resource; local 565 struct pipe_resource resource; local 605 struct pipe_resource resource; local [all...] |
H A D | r600_state_common.c | 383 struct r600_pipe_sampler_view *resource = (struct r600_pipe_sampler_view *)state; local 386 FREE(resource);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeonsi_pipe.h | 268 static INLINE uint64_t r600_resource_va(struct pipe_screen *screen, struct pipe_resource *resource) argument 271 struct si_resource *rresource = (struct si_resource*)resource;
|
/external/opencv3/modules/core/src/ |
H A D | opengl.cpp | 174 cudaGraphicsResource_t resource; 175 cudaSafeCall( cudaGraphicsGLRegisterBuffer(&resource, buffer, cudaGraphicsMapFlagsNone) ); 179 resource_ = resource; 195 GraphicsMapHolder(cudaGraphicsResource_t* resource, cudaStream_t stream); 205 CudaResource::GraphicsMapHolder::GraphicsMapHolder(cudaGraphicsResource_t* resource, cudaStream_t stream) : resource_(resource), stream_(stream) argument
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
H A D | ResourceLoader.java | 264 throw new RuntimeException("Couldn't find value resource directory: " + result.getAbsolutePath() ); 285 // Go through last 5 sdk versions looking for resource folders. 395 public View inflateView( Context context, int resource, ViewGroup viewGroup ) { argument 397 return viewLoader.inflateView( context, resource, viewGroup ); 471 // Try to find the passed in resource ID 489 * Returns a collection of resource IDs for all nine-patch drawables 522 public void inflateMenu( Context context, int resource, Menu root ) { argument 524 menuLoader.inflateMenu( context, resource, root );
|
/external/skia/src/gpu/ |
H A D | GrResourceCache.cpp | 120 void GrResourceCache::insertResource(GrGpuResource* resource) { argument 121 SkASSERT(resource); 122 SkASSERT(!this->isInCache(resource)); 123 SkASSERT(!resource->wasDestroyed()); 124 SkASSERT(!resource->isPurgeable()); 128 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); 130 this->addToNonpurgeableArray(resource); 132 size_t size = resource->gpuMemorySize(); 139 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { 149 if (resource 157 removeResource(GrGpuResource* resource) argument 254 GrGpuResource* resource; local 281 willRemoveScratchKey(const GrGpuResource* resource) argument 286 removeUniqueKey(GrGpuResource* resource) argument 297 changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) argument 332 refAndMakeResourceMRU(GrGpuResource* resource) argument 347 notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) argument 406 didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) argument 430 didChangeBudgetStatus(GrGpuResource* resource) argument 472 GrGpuResource* resource = fPurgeableQueue.peek(); local 480 GrGpuResource* resource = fPurgeableQueue.peek(); local 500 GrGpuResource* resource = fPurgeableQueue.peek(); local 511 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); local 519 addToNonpurgeableArray(GrGpuResource* resource) argument 525 removeFromNonpurgeableArray(GrGpuResource* resource) argument 654 update(GrGpuResource* resource) argument [all...] |
H A D | GrResourceCache.h | 33 * resource instances with the same properties (e.g. multipass rendering that ping-pongs 34 * between two temporary surfaces). The scratch key is set at resource creation time and 37 * resource may have a given unique key. The unique key can be set, cleared, or changed 38 * anytime after resource creation. 40 * A unique key always takes precedence over a scratch key when a resource has both types of keys. 41 * If a resource has neither key type then it will be deleted as soon as the last reference to it 45 * n-sized ring buffer. When purging occurs each purgeable resource's timestamp is compared to the 46 * timestamp of the n-th prior flush. If the resource's last use timestamp is older than the old 47 * flush then the resource is proactively purged even when the cache is under budget. By default 71 * of GrContext flushes that a resource ca 146 GrGpuResource* resource = fUniqueHash.find(key); local 210 update(GrGpuResource* resource) argument 366 insertResource(GrGpuResource* resource) argument 371 removeResource(GrGpuResource* resource) argument 391 notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) argument 398 didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) argument 405 changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) argument 412 removeUniqueKey(GrGpuResource* resource) argument 417 willRemoveScratchKey(const GrGpuResource* resource) argument 424 didChangeBudgetStatus(GrGpuResource* resource) argument [all...] |
/external/skia/tests/ |
H A D | CodexTest.cpp | 24 static SkStreamAsset* resource(const char path[]) { function 161 SkAutoTDelete<SkStream> stream(resource(path)); 163 SkDebugf("Missing resource '%s'\n", path); 291 SkAutoTDelete<SkStream> stream(resource(path)); 293 SkDebugf("Missing resource '%s'\n", path); 318 SkAutoTDelete<SkStream> stream(resource(path)); 410 SkAutoTDelete<SkStream> stream(resource(path)); 412 SkDebugf("Missing resource '%s'\n", path); 542 // Create the codec from the resource file 543 SkAutoTDelete<SkStream> stream(resource(pat [all...] |
/external/skia/tools/ |
H A D | skdiff_main.cpp | 345 static void get_bounds(DiffResource& resource, const char* name) { argument 346 if (resource.fBitmap.empty() && !DiffResource::isStatusFailed(resource.fStatus)) { 347 SkAutoDataUnref fileBits(read_file(resource.fFullPath.c_str())); 349 SkDebugf("WARNING: couldn't read %s file <%s>\n", name, resource.fFullPath.c_str()); 350 resource.fStatus = DiffResource::kCouldNotRead_Status; 352 get_bitmap(fileBits, resource, SkImageDecoder::kDecodeBounds_Mode);
|
/external/svox/pico/lib/ |
H A D | picorsrc.c | 62 /* next connects all active resources of a resource manager and the garbaged resources of the manager's free list */ 66 picoos_int8 lockCount; /* count of current subscribers of this resource */ 86 * Returns non-zero if 'this' is a valid resource handle, zero otherwise. 225 picorsrc_Resource * resource */); 508 /* currently we consider a kb mentioned in resource but with offset 0 (no knowledge) as 533 /* load resource file. the type of resource file etc. are in the header, 537 picoos_char * fileName, picorsrc_Resource * resource) 545 if (resource == NULL) { 548 *resource 536 picorsrc_loadResource(picorsrc_ResourceManager this, picoos_char * fileName, picorsrc_Resource * resource) argument 689 picorsrc_unloadResource(picorsrc_ResourceManager this, picorsrc_Resource * resource) argument [all...] |
/external/webrtc/webrtc/modules/audio_device/test/ |
H A D | func_test_manager.cc | 71 char* GetResource(char* resource) argument 73 return resource; 75 const char* GetResource(const char* resource) argument 77 return resource;
|
/external/autotest/client/common_lib/ |
H A D | base_utils.py | 14 import resource namespace 1237 child_pre = resource.getrusage(resource.RUSAGE_CHILDREN) 1238 self_pre = resource.getrusage(resource.RUSAGE_SELF) 1242 self_post = resource.getrusage(resource.RUSAGE_SELF) 1243 child_post = resource.getrusage(resource.RUSAGE_CHILDREN)
|
/external/avahi/avahi-daemon/ |
H A D | main.c | 40 #include <sys/resource.h> 436 " --no-rlimits Don't enforce resource limits\n" 1460 static void set_one_rlimit(int resource, rlim_t limit, const char *name) { argument 1464 if (setrlimit(resource, &rl) < 0)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
H A D | util.py | 76 import resource namespace 831 resource_name: Name of the resource to increase the soft limit for. 837 Current soft limit for the resource (after any changes we were able to 838 make), or -1 if the resource doesn't exist. 841 # Get the value of the resource. 843 (soft_limit, hard_limit) = resource.getrlimit(resource_name) 844 except (resource.error, ValueError): 845 # The resource wasn't present, so we can't do anything here. 851 resource.setrlimit(resource_name, (hard_limit, hard_limit)) 853 except (resource [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant-jdepend.jar | ... ea
private void addClasspathEntry (java.lang.String) String resource
java.io.File f
public void execute () throws ... |
/external/mesa3d/src/gallium/drivers/galahad/ |
H A D | glhd_context.c | 693 struct pipe_resource *dst = glhd_resource_dst->resource; 694 struct pipe_resource *src = glhd_resource_src->resource; 806 struct pipe_resource *resource = glhd_resource->resource; local 810 resource, 834 struct pipe_resource *resource = glhd_resource->resource; local 838 resource, 866 struct pipe_resource *resource = glhd_resource->resource; local 958 struct pipe_resource *resource = glhd_resource->resource; local [all...] |
/external/mesa3d/src/gallium/drivers/identity/ |
H A D | id_context.c | 621 struct pipe_resource *dst = id_resource_dst->resource; 622 struct pipe_resource *src = id_resource_src->resource; 717 struct pipe_resource *resource = id_resource->resource; local 721 resource, 745 struct pipe_resource *resource = id_resource->resource; local 749 resource, 775 struct pipe_resource *resource = id_resource->resource; local 855 struct pipe_resource *resource = id_resource->resource; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.c | 64 resource_is_texture(const struct pipe_resource *resource) argument 66 switch (resource->target) { 364 * Map a resource for read/write. 367 llvmpipe_resource_map(struct pipe_resource *resource, argument 373 struct llvmpipe_resource *lpr = llvmpipe_resource(resource); 377 assert(layer < (u_minify(resource->depth0, level) + resource->array_size - 1)); 389 struct llvmpipe_screen *screen = llvmpipe_screen(resource->screen); 417 else if (resource_is_texture(resource)) { 430 * Unmap a resource 433 llvmpipe_resource_unmap(struct pipe_resource *resource, unsigned level, unsigned layer) argument 458 llvmpipe_resource_data(struct pipe_resource *resource) argument 597 llvmpipe_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument 1383 llvmpipe_resource_size(const struct pipe_resource *resource) argument [all...] |
/external/mesa3d/src/gallium/drivers/rbug/ |
H A D | rbug_context.c | 857 struct pipe_resource *dst = rb_resource_dst->resource; 858 struct pipe_resource *src = rb_resource_src->resource; 963 struct pipe_resource *resource = rb_resource->resource; local 968 resource, 993 struct pipe_resource *resource = rb_resource->resource; local 998 resource, 1032 struct pipe_resource *resource = rb_resource->resource; local 1128 struct pipe_resource *resource = rb_resource->resource; local [all...] |
/external/mesa3d/src/gallium/drivers/trace/ |
H A D | tr_context.c | 48 struct pipe_resource *resource) 52 if(!resource) 55 tr_res = trace_resource(resource); 57 assert(tr_res->resource); 58 return tr_res->resource; 875 struct pipe_resource *resource = tr_res->resource; local 882 trace_dump_arg(ptr, resource); 885 trace_dump_sampler_view_template(templ, resource->target); 888 result = pipe->create_sampler_view(pipe, resource, temp 47 trace_resource_unwrap(struct trace_context *tr_ctx, struct pipe_resource *resource) argument 945 struct pipe_resource *resource = tr_res->resource; local 1449 struct pipe_resource *resource = transfer->resource; local 1497 struct pipe_resource *resource = tr_res->resource; local [all...] |