Searched refs:resource (Results 76 - 100 of 1082) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/trace/
H A Dtr_texture.c57 tr_res->resource = texture;
71 pipe_resource_reference(&tr_res->resource, NULL);
86 assert(surface->texture == tr_res->resource);
128 assert(transfer->resource == tr_res->resource);
136 tr_trans->base.resource = NULL;
139 pipe_resource_reference(&tr_trans->base.resource, &tr_res->base);
140 assert(tr_trans->base.resource == &tr_res->base);
154 pipe_resource_reference(&tr_trans->base.resource, NULL);
/external/skia/src/gpu/vk/
H A DGrVkUniformBuffer.cpp17 const GrVkResource* resource = nullptr; local
19 resource = gpu->resourceProvider().findOrCreateStandardUniformBufferResource();
21 resource = CreateResource(gpu, size);
23 if (!resource) {
32 (const GrVkUniformBuffer::Resource*) resource);
34 // this will destroy anything we got from the resource provider,
36 resource->unref(gpu);
41 // We implement our own creation function for special buffer resource type
75 const GrVkResource* resource = new GrVkUniformBuffer::Resource(buffer, alloc); local
76 if (!resource) {
[all...]
/external/skqp/src/gpu/vk/
H A DGrVkUniformBuffer.cpp17 const GrVkResource* resource = nullptr; local
19 resource = gpu->resourceProvider().findOrCreateStandardUniformBufferResource();
21 resource = CreateResource(gpu, size);
23 if (!resource) {
32 (const GrVkUniformBuffer::Resource*) resource);
34 // this will destroy anything we got from the resource provider,
36 resource->unref(gpu);
41 // We implement our own creation function for special buffer resource type
75 const GrVkResource* resource = new GrVkUniformBuffer::Resource(buffer, alloc); local
76 if (!resource) {
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource.h97 static inline struct i915_texture *i915_texture(struct pipe_resource *resource) argument
99 struct i915_texture *tex = (struct i915_texture *)resource;
104 static inline struct i915_buffer *i915_buffer(struct pipe_resource *resource) argument
106 struct i915_buffer *tex = (struct i915_buffer *)resource;
134 struct pipe_resource *resource,
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.h13 * resource->data has not been updated to reflect modified VRAM contents
15 * USER_MEMORY: resource->data is a pointer to client memory and may change
28 * The address of a resource will lie within the nouveau_bo referenced,
37 uint8_t *data; /* resource's contents, if domain == 0, or cached */
78 nv04_resource(struct pipe_resource *resource) argument
80 return (struct nv04_resource *)resource;
83 /* is resource mapped into the GPU's address space (i.e. VRAM or GART) ? */
85 nouveau_resource_mapped_by_gpu(struct pipe_resource *resource) argument
87 return nv04_resource(resource)->domain != 0;
104 struct pipe_resource *resource);
[all...]
/external/skia/src/gpu/
H A DGrGpuResourceRef.cpp16 GrGpuResourceRef::GrGpuResourceRef(GrGpuResource* resource, GrIOType ioType) { argument
20 this->setResource(resource, ioType);
54 void GrGpuResourceRef::setResource(GrGpuResource* resource, GrIOType ioType) { argument
58 if (nullptr == resource) {
62 fResource = resource;
/external/skqp/src/gpu/
H A DGrGpuResourceRef.cpp16 GrGpuResourceRef::GrGpuResourceRef(GrGpuResource* resource, GrIOType ioType) { argument
20 this->setResource(resource, ioType);
54 void GrGpuResourceRef::setResource(GrGpuResource* resource, GrIOType ioType) { argument
58 if (nullptr == resource) {
62 fResource = resource;
/external/swiftshader/src/Renderer/
H A DStream.hpp47 Resource *resource; member in struct:sw::StreamResource
54 Stream(Resource *resource = 0, const void *buffer = 0, unsigned int stride = 0)
56 this->resource = resource;
84 resource = 0;
/external/libcxx/test/libcxx/experimental/memory/memory.resource.global/
H A Dnew_delete_resource_lifetime.pass.cpp46 ex::memory_resource* resource = ex::new_delete_resource(); variable
48 POSType constructed_after_resources(resource, resource->allocate(1024), 1024);
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
H A DPluginFinder.java23 for (URL resource : resources) {
26 s = resource.openStream();
30 //If the resource does not have plugin class name we're ignoring it
38 throw new MockitoException("Problems reading plugin implementation from: " + resource, e);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowArrayAdapter.java37 private int resource; field in class:ShadowArrayAdapter
47 return resource;
54 public void __constructor__(Context context, int resource, int textViewResourceId) { argument
55 init(context, resource, textViewResourceId, new ArrayList<T>());
62 public void __constructor__(Context context, int resource, int textViewResourceId, T[] objects) { argument
63 init(context, resource, textViewResourceId, Arrays.asList(objects));
70 public void __constructor__(Context context, int resource, int textViewResourceId, List<T> objects) { argument
71 init(context, resource, textViewResourceId, objects);
74 private void init(Context context, int resource, int textViewResourceId, List<T> objects) { argument
77 this.resource
[all...]
H A DShadowMenuInflater.java25 public void inflate(int resource, Menu root) { argument
26 shadowOf(context.getApplicationContext()).getResourceLoader().inflateMenu(context, resource, root);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dwhile_op.cc47 // When reading a resource input, use the type and shape of the resource's
50 XlaResource* resource; local
51 TF_RETURN_IF_ERROR(ctx->GetResourceInput(i, &resource));
53 arg.initialized = resource->initialized();
55 arg.resource_kind = resource->kind();
60 arg.type = resource->type();
61 arg.shape = resource->shape();
65 arg.tensor_array_size = resource->tensor_array_size();
66 for (const auto& gradient : resource
149 XlaResource* resource; local
241 XlaResource* resource; local
280 XlaResource* resource; local
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemoryCacheAdapter.java34 public Resource<?> put(Key key, Resource<?> resource) { argument
35 listener.onResourceRemoved(resource);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
6 import com.bumptech.glide.load.resource.drawable.DrawableResource;
15 * {@link com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool} when the resource is recycled.
H A DGlideBitmapDrawableResource.java1 package com.bumptech.glide.load.resource.bitmap;
4 import com.bumptech.glide.load.resource.drawable.DrawableResource;
8 * A resource wrapper for {@link com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable}.
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
H A DInstrumentTask.java84 final Resource resource = (Resource) resourceIterator.next();
85 if (resource.isDirectory()) {
88 total += instrument(instrumenter, resource);
95 final Resource resource) {
96 final File file = new File(destdir, resource.getName());
102 input = resource.getInputStream();
105 resource.getName());
113 resource), e, getLocation());
94 instrument(final Instrumenter instrumenter, final Resource resource) argument
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue24/
H A DLineNumberTest.java28 String resource = Util.getLocalResource("issues/issue24-1.yaml");
29 // System.out.println(resource);
32 yaml.load(resource);
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
H A DImageSource.java13 * use of a bitmap, asset, resource, external file or any other URI.
26 private final Integer resource; field in class:ImageSource
36 this.resource = null;
58 this.resource = null;
62 private ImageSource(int resource) { argument
65 this.resource = resource;
70 * Create an instance from a resource. The correct resource for the device screen resolution will be used.
71 * @param resId resource I
74 public static ImageSource resource(int resId) { method in class:ImageSource
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DSoundSystem.java62 public Sound load(int resource) { argument
63 final int index = findSound(resource);
70 result.resource = resource;
71 result.soundId = mSoundPool.load(context, resource, 1);
162 private final int findSound(int resource) { argument
163 mSearchDummy.resource = resource;
176 public int resource; field in class:SoundSystem.Sound
189 result = object1.resource
[all...]
/external/deqp/framework/common/
H A DtcuImageIO.cpp46 * \brief Load image from resource
68 tcu::Resource* resource = (tcu::Resource*)png_get_io_ptr(png_ptr); local
69 resource->read(data, (int)length);
74 * \brief Load PNG image from resource
84 de::UniquePtr<Resource> resource(archive.getResource(fileName));
88 resource->read(header, sizeof(header));
100 png_set_read_fn(png_ptr, resource.get(), pngReadResource);
213 static inline deUint16 readBigEndianShort (tcu::Resource* resource) argument
216 resource->read((deUint8*)&val, sizeof(val));
230 de::UniquePtr<Resource> resource(archiv
[all...]
/external/mesa3d/src/gallium/drivers/rbug/
H A Drbug_objects.c42 struct pipe_resource *resource)
46 if (!resource)
49 assert(resource->screen == rb_screen->screen);
55 memcpy(&rb_resource->base, resource, sizeof(struct pipe_resource));
59 rb_resource->resource = resource;
61 if (resource->target != PIPE_BUFFER)
67 pipe_resource_reference(&resource, NULL);
79 pipe_resource_reference(&rb_resource->resource, NULL);
94 assert(surface->texture == rb_resource->resource);
41 rbug_resource_create(struct rbug_screen *rb_screen, struct pipe_resource *resource) argument
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dhtml_module.py23 return os.path.dirname(self.resource.absolute_path)
48 os.path.relpath(self.resource.absolute_path))
56 resource = _HRefToResource(self.loader, self.name, self._module_dir_name,
59 path = resource.unix_style_relative_path
86 module_dirname = os.path.dirname(self.resource.absolute_path)
94 resource = loader.FindResourceGivenRelativePath(
99 resource = loader.FindResourceGivenAbsolutePath(abspath)
101 if not resource:
106 resource.contents
110 return resource
[all...]
/external/compiler-rt/test/asan/TestCases/Linux/
H A Drlimit_mmap_test.cc6 #include <sys/resource.h>
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawTestCaseUtil.hpp50 de::UniquePtr<tcu::Resource> resource(archive.getResource(path));
52 std::vector<deUint8> readBuffer(resource->getSize() + 1);
53 resource->read(&readBuffer[0], resource->getSize());

Completed in 763 milliseconds

1234567891011>>