/frameworks/rs/ |
rsDriverLoader.cpp | 77 ret &= fn(RS_HAL_ALLOCATION_INIT, (void **)&rsc->mHal.funcs.allocation.init); 78 ret &= fn(RS_HAL_ALLOCATION_INIT_OEM, (void **)&rsc->mHal.funcs.allocation.initOem); 79 ret &= fn(RS_HAL_ALLOCATION_INIT_ADAPTER, (void **)&rsc->mHal.funcs.allocation.initAdapter); 80 ret &= fn(RS_HAL_ALLOCATION_DESTROY, (void **)&rsc->mHal.funcs.allocation.destroy); 81 ret &= fn(RS_HAL_ALLOCATION_GET_GRALLOC_BITS, (void **)&rsc->mHal.funcs.allocation.grallocBits); 82 ret &= fn(RS_HAL_ALLOCATION_RESIZE, (void **)&rsc->mHal.funcs.allocation.resize); 83 ret &= fn(RS_HAL_ALLOCATION_SYNC_ALL, (void **)&rsc->mHal.funcs.allocation.syncAll); 84 ret &= fn(RS_HAL_ALLOCATION_MARK_DIRTY, (void **)&rsc->mHal.funcs.allocation.markDirty); 85 ret &= fn(RS_HAL_ALLOCATION_SET_SURFACE, (void **)&rsc->mHal.funcs.allocation.setSurface); 86 ret &= fn(RS_HAL_ALLOCATION_IO_SEND, (void **)&rsc->mHal.funcs.allocation.ioSend) [all...] |
rsScriptGroup.h | 28 class Allocation; 52 ObjectBaseRef<Allocation> mAlloc; 74 ObjectBaseRef<Allocation> mAlloc; 89 void setInput(Context *rsc, ScriptKernelID *kid, Allocation *a); 90 void setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a);
|
rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2]; 60 const Allocation** ains, 62 Allocation* aout, 72 const Allocation ** ains, size_t inLen, 73 Allocation *aout, const RsScriptCall *sc) {
|
rsScriptC_LibGL.cpp | 45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { 51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { 57 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { 89 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) { 95 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) { 213 void rsrDrawTextAlloc(Context *rsc, Allocation *a, int x, int y) { 214 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a); 217 rsc->mHal.funcs.allocation.unlock1D(rsc, a); 241 void rsrMeasureTextAlloc(Context *rsc, Allocation *a, 244 const char *text = (const char *)rsc->mHal.funcs.allocation.lock1D(rsc, a) [all...] |
/art/runtime/gc/ |
gc_cause.h | 27 // GC triggered by a failed allocation. Thread doing allocation is blocked waiting for GC before 28 // retrying allocation. 34 // GC triggered for a native allocation. 36 // Background GC triggered for a native allocation.
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
ScriptGraph.java | 28 import android.renderscript.Allocation; 40 * {@link android.renderscript.Script scripts} and managing their {@link Allocation allocations}. 52 * <p>In case the input {@link Allocation} is actually backed by a {@link Surface}, convenience 54 * automatically update the {@link Allocation allocation} with the latest buffer available.</p> 75 private final Allocation mOutputAllocation; 92 * update the backing input {@link Allocation} with the latest buffer with 93 * {@link Allocation#ioReceive ioReceive}. 111 * Update the backing input {@link Allocation} with the latest buffer with 112 * {@link Allocation#ioReceive ioReceive} repeatedly until no more buffers are pending [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
MemoryAllocationLib.h | 4 The Memory Allocation Library abstracts various common memory allocation operations. This library
5 allows code to be written in a phase-independent manner because the allocation of memory in PEI, DXE,
33 @return A pointer to the allocated buffer or NULL if allocation fails.
52 @return A pointer to the allocated buffer or NULL if allocation fails.
71 @return A pointer to the allocated buffer or NULL if allocation fails.
81 Frees one or more 4KB pages that were previously allocated with one of the page allocation
82 functions in the Memory Allocation Library.
85 must have been allocated on a previous call to the page allocation services of the Memory
86 Allocation Library. If it is not possible to free allocated pages, then this function will [all...] |
/external/llvm/lib/CodeGen/ |
AllocationOrder.cpp | 1 //===-- llvm/CodeGen/AllocationOrder.cpp - Allocation Order ---------------===// 10 // This file implements an allocation order for virtual registers. 12 // The preferred allocation order for a virtual register depends on allocation 52 "Target hint is outside allocation order.");
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
AllocationOrder.h | 1 //===-- llvm/CodeGen/AllocationOrder.h - Allocation Order -*- C++ -*-------===// 10 // This file implements an allocation order for virtual registers. 12 // The preferred allocation order for a virtual register depends on allocation 45 /// next - Return the next physical register in the allocation order, or 0.
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer1D.java | 20 import android.renderscript.Allocation; 44 * Access frame's data using a RenderScript {@link Allocation}. 48 * @return The Allocation instance holding the Frame's data. 51 public Allocation lockAllocation(int mode) { 53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
UT_invert.java | 20 import android.renderscript.Allocation; 52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create()); 53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create());
|
UT_modulo.java | 20 import android.renderscript.Allocation; 27 private Allocation A; 28 private Allocation B; 41 A = Allocation.createTyped(RS, typeBuilder.create()); 42 B = Allocation.createTyped(RS, typeBuilder.create());
|
UT_multi_kernel.java | 20 import android.renderscript.Allocation; 52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create()); 53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create());
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
Blur25.java | 21 import android.renderscript.Allocation; 38 private Allocation mScratchPixelsAllocation1; 39 private Allocation mScratchPixelsAllocation2; 79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
Blur25G.java | 22 import android.renderscript.Allocation; 40 private Allocation mScratchPixelsAllocation1; 41 private Allocation mScratchPixelsAllocation2; 70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
Grain.java | 21 import android.renderscript.Allocation; 33 private Allocation mNoise; 34 private Allocation mNoise2; 76 mNoise = Allocation.createTyped(mRS, tb.create()); 77 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Blur25G.java | 22 import android.renderscript.Allocation; 40 private Allocation mScratchPixelsAllocation1; 41 private Allocation mScratchPixelsAllocation2; 70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
|
Grain.java | 21 import android.renderscript.Allocation; 33 private Allocation mNoise; 34 private Allocation mNoise2; 81 mNoise = Allocation.createTyped(mRS, tb.create()); 82 mNoise2 = Allocation.createTyped(mRS, tb.create());
|
/frameworks/av/media/libstagefright/codec2/include/ |
C2Buffer.h | 487 * A constant (read-only) linear block (portion of an allocation) with an acquire fence. 490 * This class is copiable and contains a reference to the allocation that it is based on. 968 * A constant (read-only) graphic block (portion of an allocation) with an acquire fence. 971 * This class is copiable and contains a reference to the allocation that it is based on. [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RsPackColorTo8888Test.java | 19 import android.renderscript.Allocation; 41 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 75 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_3(mRS), INPUTSIZE); 76 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE); 105 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE); 106 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE) [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
BadUserCodeTest.java | 138 .instrument("allocation") 139 .options("-Cinstrument.allocation.options.trackAllocations=" + false) 143 String message = "Your benchmark appears to have non-deterministic allocation behavior"; 154 .instrument("allocation") 155 .options("-Cinstrument.allocation.options.trackAllocations=" + true) 159 String message = "Your benchmark appears to have non-deterministic allocation behavior"; 185 .instrument("allocation") 186 .options("-Cinstrument.allocation.options.trackAllocations=" + false) 195 .instrument("allocation") 196 .options("-Cinstrument.allocation.options.trackAllocations=" + true [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkMemUtil.cpp | 98 // Allocation 100 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) 107 Allocation::~Allocation (void) 148 class SimpleAllocation : public Allocation 160 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) 177 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment) 187 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); 190 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequirement requirement [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
RequestBuilder.java | 54 .Allocation { 80 private static interface Allocation { 88 private final List<Allocation> mAllocations; 91 public RequestImpl(CaptureRequestBuilderProxy builder, List<Allocation> allocations, 101 for (Allocation allocation : mAllocations) { 102 allocation.allocate(); 114 for (Allocation allocation : mAllocations) { 115 allocation.abort() [all...] |
/bionic/libc/malloc_debug/ |
README_api.md | 13 the allocation information. 16 value is zero, then there are no allocation being tracked. 17 *total\_memory* is set to the sum of all allocation sizes that are live at 21 that are present for each allocation. 42 backtrace and size as this allocation. On Android Nougat, this value was 56 Note, the size value in each allocation data structure will have bit 31 set 57 if this allocation was created in a process forked from the Zygote process.
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
ImageBuffersForRenderScriptF32.java | 20 import android.renderscript.Allocation; 40 public Allocation sharpImageAllocation; 41 public Allocation fuzzyImageAllocation; 42 public Allocation integralImageAllocation; 64 sharpImageAllocation = Allocation.createSized( 68 fuzzyImageAllocation = Allocation.createSized( 72 integralImageAllocation = Allocation.createSized(renderScript,
|