HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 226 - 250 of 7203) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopy2DRangeTest.java 19 import android.renderscript.Allocation;
25 private Allocation mInAllocation;
26 private Allocation mOutAllocation;
45 mInAllocation = Allocation.createTyped(mRS, typeBuilder.create());
46 mOutAllocation = Allocation.createTyped(mRS, mInAllocation.getType());
  /external/parameter-framework/asio-1.10.6/include/asio/
handler_alloc_hook.hpp 22 /// Default allocation function for handlers.
29 * handlers to provide custom allocation for these temporary objects.
31 * The default implementation of these allocation hooks uses <tt>::operator
60 * handlers to provide custom allocation for the associated temporary objects.
62 * The default implementation of these allocation hooks uses <tt>::operator
  /frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
UT_check_dims.java 20 import android.renderscript.Allocation;
28 Allocation mAFailed;
29 Allocation mA;
39 mAFailed = Allocation.createTyped(RS, typeBuilder.create());
50 mA = Allocation.createTyped(RS, typeBuilder.create());
UT_ctxt_default.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
41 A = Allocation.createTyped(RS, T);
43 B = Allocation.createTyped(RS, T);
UT_kernel.java 20 import android.renderscript.Allocation;
28 private Allocation A;
29 private Allocation B;
41 A = Allocation.createTyped(RS, TA);
44 B = Allocation.createTyped(RS, TB);
UT_kernel2d.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
44 A = Allocation.createTyped(RS, T);
46 B = Allocation.createTyped(RS, T);
UT_kernel2d_oldstyle.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
44 A = Allocation.createTyped(RS, T);
46 B = Allocation.createTyped(RS, T);
UT_kernel3d.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
47 A = Allocation.createTyped(RS, T);
49 B = Allocation.createTyped(RS, T);
UT_small_struct.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
44 A = Allocation.createTyped(RS, builderA.create());
51 B = Allocation.createTyped(RS, builderB.create());
UT_small_struct_2.java 20 import android.renderscript.Allocation;
27 private Allocation A;
28 private Allocation B;
44 A = Allocation.createTyped(RS, builderA.create());
51 B = Allocation.createTyped(RS, builderB.create());
  /system/bt/bta/test/
bta_hf_client_test.cc 44 // Allocation should succeed
54 // Allocation should succeed
62 // Allocation should fail
71 // Allocation should succeed
80 // Allocation should succeed
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
EdkIIGlueMemoryAllocationLib.h 19 Public header file for Memory Allocation Lib
45 @return A pointer to the allocated buffer or NULL if allocation fails.
64 @return A pointer to the allocated buffer or NULL if allocation fails.
83 @return A pointer to the allocated buffer or NULL if allocation fails.
93 Frees one or more 4KB pages that were previously allocated with one of the page allocation
94 functions in the Memory Allocation Library.
97 must have been allocated on a previous call to the page allocation services of the Memory
98 Allocation Library.
99 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
    [all...]
  /hardware/interfaces/renderscript/1.0/vts/functional/
VtsMiscellaneousTests.cpp 41 * Create an Element, a Type and an Allocation of that type, and verify the
55 // Allocation create test
56 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
60 ASSERT_NE(Allocation(0), allocation);
62 // Allocation type test
63 Type type2 = context->allocationGetType(allocation);
104 * Create a Allocation, and verified allocationGetPointer and allocationResize1D
120 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE local
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestMix.java 21 import android.renderscript.Allocation;
55 Allocation inStart = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9f4beff6471d6db1l, false);
56 Allocation inStop = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6ede0b88b4422e8fl, false);
57 Allocation inFraction = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6d2f014ec6a51d9fl, false);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
69 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
83 private void verifyResultsMixFloatFloatFloatFloat(Allocation inStart, Allocation inStop, Allocation inFraction, Allocation out, boolean relaxed)
    [all...]
TestFract.java 21 import android.renderscript.Allocation;
54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x57d8e6573c675d27l, false);
56 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
67 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
TestCross.java 21 import android.renderscript.Allocation;
54 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x3505ebf7382f1ad4l, false);
55 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xe9d27bf3de024b21l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE);
78 private void verifyResultsCrossFloat3Float3Float3(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
TestFastDistance.java 21 import android.renderscript.Allocation;
54 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeb32e5abb9b28b1al, false);
55 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x83606d459f1626e3l, false);
57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
78 private void verifyResultsFastDistanceFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed)
    [all...]
  /bionic/libc/malloc_debug/
README_marshmallow_and_earlier.md 20 the normal allocation calls. The replaced calls are:
46 that contains information about the allocation.
48 ### Backtrace at Allocation Creation
49 Enable capturing the backtrace of each allocation site. Only the
66 Whenever an allocation is created, initialize the data with a known
68 Whenever an allocation is freed, write a known pattern over the data (0xef).
73 that contains information about the allocation.
77 ### Allocation Guards
78 A 32 byte buffer is placed before the returned allocation (known as
80 a 32 byte buffer is placed after the data for the returned allocation (know
    [all...]
README.md 18 the normal allocation calls. The replaced calls are:
45 to find memory corruption occuring to a region before the original allocation.
46 On first allocation, this front guard is written with a specific pattern (0xaa).
47 When the allocation is freed, the guard is checked to verify it has not been
52 the backtrace of the allocation site.
57 on 64 bit systems to make sure that the allocation returned is aligned
61 and information about the original allocation.
65 04-10 12:00:45.621 7412 7412 E malloc_debug: +++ ALLOCATION 0x12345678 SIZE 100 HAS A CORRUPTED FRONT GUARD
66 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-32] = 0x00 (expected 0xaa)
67 04-10 12:00:45.622 7412 7412 E malloc_debug: allocation[-15] = 0x02 (expected 0xaa
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Include/Library/
UncachedMemoryAllocationLib.h 67 @return A pointer to the allocated buffer or NULL if allocation fails.
86 @return A pointer to the allocated buffer or NULL if allocation fails.
105 @return A pointer to the allocated buffer or NULL if allocation fails.
115 Frees one or more 4KB pages that were previously allocated with one of the page allocation
116 functions in the Memory Allocation Library.
119 must have been allocated on a previous call to the page allocation services of the Memory
120 Allocation Library.
121 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
146 @param Alignment The requested alignment of the allocation. Must be a power of two.
    [all...]
  /frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
ViewfinderProcessor.java 27 import android.renderscript.Allocation;
48 private Allocation mInputAllocation;
49 private Allocation mOutputAllocation;
50 private Allocation mBlurAllocation;
51 private Allocation mEdgeAllocation;
56 public Allocation mHoughOutput;
57 public Allocation mHoughSlices;
68 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
69 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/
rsMesh.cpp 45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount];
53 mHal.state.vertexBuffers = new Allocation *[mHal.state.vertexBuffersCount];
58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount];
59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount];
117 ObjectBaseRef<Allocation> *vertexBuffers = nullptr;
119 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount];
122 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream);
128 ObjectBaseRef<Allocation> *indexBuffers = nullptr;
131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount]
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBLAS.java 34 private Allocation mLUT;
275 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
313 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
314 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
317 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
320 public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Allocation Y, int incY)
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicBLAS.java 34 private Allocation mLUT;
282 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) {
320 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}.
321 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}.
324 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}.
327 public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float beta, Allocation Y, int incY)
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni_allocation.cpp 48 Allocation::createTyped(rs, typeBuilder.create());
119 createTypedHelper(rs, Element::ALLOCATION(rs));
134 * Test copyTo and copyFrom for all or part of a 1D Allocation.
137 * @param cellCount Total number of elements in this Allocation.
138 * @param offset Offset of this Allocation for copy.
140 * @param copyRange Copy the entire allocation or part of it (using different API).
151 sp<Allocation> alloc = nullptr;
157 alloc = Allocation::createSized(rs, makeElement(rs, dt, 3), cellCount);
160 alloc = Allocation::createSized(rs, makeElement(rs, dt, 1), cellCount);
190 //Corresponding 1D allocation to allocation copy
    [all...]

Completed in 2017 milliseconds

1 2 3 4 5 6 7 8 91011>>