/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestTanpi.java | 21 import android.renderscript.Allocation; 46 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4820e8fl, false); 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 private void verifyResultsTanpiFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 115 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x53d567bbl, false); 117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestTgamma.java | 21 import android.renderscript.Allocation; 46 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeda55486l, false); 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 private void verifyResultsTgammaFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 115 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x3399bcbal, false); 117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestTrunc.java | 21 import android.renderscript.Allocation; 46 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x11eebe01l, false); 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 private void verifyResultsTruncFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 115 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x49d4961dl, false); 117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestDistance.java | 21 import android.renderscript.Allocation; 47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x82ced52al, false); 48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x66d69793l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) [all...] |
TestDot.java | 21 import android.renderscript.Allocation; 47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf7ff2d3el, false); 48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x15f562efl, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsDotFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) [all...] |
TestNativeDistance.java | 21 import android.renderscript.Allocation; 47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x30ae2337l, false); 48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9b58b3c2l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativeDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) [all...] |
TestNan.java | 21 import android.renderscript.Allocation; 46 Allocation inV = createRandomAllocation(mRS, Element.DataType.UNSIGNED_32, 1, 0x6a8a10d2l, false); 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 private void verifyResultsNanUintFloat(Allocation inV, Allocation out, boolean relaxed) {
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SingleSourceForEachTest.java | 19 import android.renderscript.Allocation; 30 private Allocation testInputAlloc; 31 private Allocation testInputAlloc2; 32 private Allocation testOutputAlloc; 33 private Allocation baselineOutputAlloc; 46 testInputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create()); 47 testInputAlloc2 = Allocation.createTyped(mRS, i32TypeBuilder.create()); 48 testOutputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create()); 49 baselineOutputAlloc = Allocation.createTyped(mRS, i32TypeBuilder.create());
|
AllocationCopyPaddedTest.java | 19 import android.renderscript.Allocation; 36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 64 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 93 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 123 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 159 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()) [all...] |
IntrinsicBase.java | 21 import android.renderscript.Allocation; 29 protected Allocation mAllocSrc; 30 protected Allocation mAllocRef; 31 protected Allocation mAllocDst; 63 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { 68 Allocation a = Allocation.createTyped(mRS, t); 79 protected Allocation makeAllocation(int w, int h, Element e) {
|
is_object.rs | 5 rs_allocation allocation; 10 *out = rsIsObject(in->allocation)==false ? 0 : 1;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiComputeInstanceResultBuffer.cpp | 54 de::MovePtr<Allocation> *outAllocation) 71 de::MovePtr<Allocation> allocation = allocator.allocate(requirements, MemoryRequirement::HostVisible); local 73 VK_CHECK(vki.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); 76 void* mapPtr = allocation->getHostPtr(); 81 flushMappedMemoryRange(vki, device, allocation->getMemory(), allocation->getOffset(), (VkDeviceSize) DATA_SIZE); 83 *outAllocation = allocation;
|
/external/llvm/tools/lli/ |
RemoteMemoryManager.h | 11 // allocation. Iterators are provided for all data and code allocations. 31 struct Allocation { 32 Allocation() {} 33 Allocation(sys::MemoryBlock mb, unsigned a, bool code) 42 // This vector contains Allocation objects for all sections which we have 45 SmallVector<Allocation, 2> AllocatedSections; 47 // This vector contains pointers to Allocation objects for any sections we 51 SmallVector<Allocation, 2> UnmappedSections; 55 DenseMap<uint64_t, Allocation> MappedSections;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlur.java | 25 * specified radius to all elements of an allocation. 31 private Allocation mInput; 40 * Create an intrinsic for applying a blur to an allocation. The 72 * @param ain The input allocation 74 public void setInput(Allocation ain) { 95 * allocation. 97 * @param aout Output allocation. Must match creation element 100 public void forEach(Allocation aout) { 101 forEach(0, (Allocation) null, aout, null);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 40 private final ImmutableMultiset<Allocation> allocations; 48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of()); 55 AllocationStats(Collection<Allocation> allocations, int reps) { 56 this(allocations.size(), Allocation.getTotalSize(allocations), reps, 61 Multiset<Allocation> allocations) { 85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) { 89 String.format("Your benchmark appears to have non-deterministic allocation behavior. " 104 "Your benchmark appears to have non-deterministic allocation behavior. The difference " 106 + "instrument.allocation.options.trackAllocations to get a more specific error message.", 129 for (Entry<Allocation> entry : allocations.entrySet()) [all...] |
/frameworks/rs/cpp/ |
ScriptIntrinsics.cpp | 48 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { 56 void ScriptIntrinsic3DLUT::setLUT(sp<Allocation> lut) { 63 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D"); 82 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { 90 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { 98 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> out) [all...] |
/frameworks/rs/ |
rsAllocation.h | 46 class Allocation : public ObjectBase { 47 // The graphics equivalent of malloc. The allocation contains a structure of elements. 77 // Allocation adapter state 78 const Allocation *baseAlloc; 95 } lod[android::renderscript::Allocation::MAX_LOD]; 115 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 118 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 121 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 124 virtual ~Allocation(); [all...] |
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni.cpp | 103 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y); 104 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y); 139 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y); 140 sp<Allocation> outputAlloc = Allocation::createSized2D(rs, e, X, Y); 184 sp<Allocation> inputAlloc = Allocation::createSized2D(rs, e, X, Y) [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSLUTTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 61 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/external/libchrome/base/trace_event/ |
heap_profiler_allocation_context_tracker.h | 19 // The allocation context tracker keeps track of thread-local context for heap 20 // profiling. It includes a pseudo stack of trace events. On every allocation 22 // |AllocationContext| that is to be stored together with the allocation 26 // Globally enables capturing allocation context. 31 // Returns whether capturing allocation context is enabled globally. 41 // the thread-local allocation context tracker has been initialized if
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
AllocationInfo.java | 24 import android.renderscript.Allocation; 31 * Abstract the information necessary to create new {@link Allocation allocations} with 38 * to {@link Allocation#USAGE_IO_SCRIPT}.</p> 54 * from an existing {@link Allocation}. 56 * @param allocation {@link Allocation} 60 * @throws NullPointerException if allocation was {@code null}. 62 public static AllocationInfo newInstance(Allocation allocation) { 63 checkNotNull("allocation", allocation) [all...] |
/frameworks/rs/api/ |
rs_allocation_data.spec | 18 summary: Allocation Data Access Functions 21 an allocation. 37 arg: rs_allocation dstAlloc, "Allocation to copy cells into." 39 arg: uint32_t dstMip, "Mip level in the destination allocation. 0 if mip mapping is not used." 41 arg: rs_allocation srcAlloc, "Source allocation." 43 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used." 46 Copies the specified number of cells from one allocation to another. 49 the same allocation yields undefined results. 52 of either allocation. Be careful! 66 arg: rs_allocation dstAlloc, "Allocation to copy cells into. [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 42 private Allocation mGridCache; 46 Allocation.USAGE_SCRIPT | 47 Allocation.USAGE_GRAPHICS_CONSTANTS); 75 private Allocation loadTexture(int id) { 79 final Allocation allocation = local 80 Allocation.createFromBitmap(mRS, bp, 81 Allocation.MipmapControl.MIPMAP_NONE, 82 Allocation.USAGE_GRAPHICS_TEXTURE); 83 return allocation; [all...] |
/bionic/libc/malloc_debug/ |
README.md | 8 by adding a shim layer that replaces the normal allocation calls. The replaced 40 to find memory corruption occuring to a region before the original allocation. 41 On first allocation, this front guard is written with a specific pattern (0xaa). 42 When the allocation is freed, the guard is checked to verify it has not been 47 the backtrace of the allocation site. 52 on 64 bit systems to make sure that the allocation returned is aligned 56 and information about the original allocation. 61 04-10 12:00:45.621 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 SIZE 100 HAS A CORRUPTED FRONT GUARD 62 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-32] = 0x00 (expected 0xaa) 63 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-15] = 0x02 (expected 0xaa [all...] |