HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 51 - 75 of 5756) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlendThunker.java 43 public void forEachClear(Allocation ain, Allocation aout) {
64 public void forEachSrc(Allocation ain, Allocation aout) {
85 public void forEachDst(Allocation ain, Allocation aout) {
106 public void forEachSrcOver(Allocation ain, Allocation aout) {
127 public void forEachDstOver(Allocation ain, Allocation aout)
    [all...]
  /frameworks/rs/cpp/
rsCppStructs.h 29 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
30 * every row in a user-backed allocation must be aligned by this amount.
44 class Allocation;
218 sp<const Element> ALLOCATION;
281 * from RenderScript kernels. An Allocation provides the backing store for a
284 * An Allocation also contains a set of usage flags that denote how the
285 * Allocation could be used. For example, an Allocation may have usage flags
288 * syncAll(int) in order to ensure that different users of the Allocation have
289 * a consistent view of memory. For example, in the case where an Allocation i
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/cpp/
rsCppStructs.h 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
29 * every row in a user-backed allocation must be aligned by this amount.
43 class Allocation;
217 sp<const Element> ALLOCATION;
280 * from RenderScript kernels. An Allocation provides the backing store for a
283 * An Allocation also contains a set of usage flags that denote how the
284 * Allocation could be used. For example, an Allocation may have usage flags
287 * syncAll(int) in order to ensure that different users of the Allocation have
288 * a consistent view of memory. For example, in the case where an Allocation i
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/cpp/
rsCppStructs.h 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
29 * every row in a user-backed allocation must be aligned by this amount.
43 class Allocation;
217 sp<const Element> ALLOCATION;
280 * from RenderScript kernels. An Allocation provides the backing store for a
283 * An Allocation also contains a set of usage flags that denote how the
284 * Allocation could be used. For example, an Allocation may have usage flags
287 * syncAll(int) in order to ensure that different users of the Allocation have
288 * a consistent view of memory. For example, in the case where an Allocation i
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/cpp/
rsCppStructs.h 28 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
29 * every row in a user-backed allocation must be aligned by this amount.
43 class Allocation;
217 sp<const Element> ALLOCATION;
280 * from RenderScript kernels. An Allocation provides the backing store for a
283 * An Allocation also contains a set of usage flags that denote how the
284 * Allocation could be used. For example, an Allocation may have usage flags
287 * syncAll(int) in order to ensure that different users of the Allocation have
288 * a consistent view of memory. For example, in the case where an Allocation i
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TestRemquo.java 21 import android.renderscript.Allocation;
45 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x118af9b82db63b13l, false);
46 Allocation inC = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x118af9b82db63b14l, false);
48 Allocation outD = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
49 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
58 Allocation outD = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE);
59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE)
    [all...]
YuvTest.java 28 Allocation ay;
29 Allocation au;
30 Allocation av;
61 ay = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U8(mRS), w, h));
63 au = Allocation.createTyped(mRS, tuv);
64 av = Allocation.createTyped(mRS, tuv);
71 public Allocation makeOutput() {
72 return Allocation.createTyped(mRS, Type.createXY(mRS, Element.RGBA_8888(mRS), width, height));
81 Allocation aout = makeOutput();
82 Allocation aref = makeOutput()
    [all...]
AllocationResize.java 20 import android.renderscript.Allocation;
26 private Allocation mIn;
27 private Allocation mOut;
31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
41 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2);
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
TestAbs.java 21 import android.renderscript.Allocation;
43 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0x4c0d03eb0d0c5a91l, false);
45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE);
60 private void verifyResultsAbsCharUchar(Allocation inValue, Allocation out, boolean relaxed) {
99 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0x901d551e7f67bb87l, false);
101 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE)
    [all...]
TestMax.java 21 import android.renderscript.Allocation;
44 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfb01ed3804837dddl, false);
45 Allocation in1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2952d868c2162450l, false);
47 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);
64 private void verifyResultsMaxFloatFloatFloat(Allocation in, Allocation in1, Allocation out, boolean relaxed)
    [all...]
TestMin.java 21 import android.renderscript.Allocation;
44 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x816f2fe273bf4977l, false);
45 Allocation in1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdad0b097121572el, false);
47 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);
64 private void verifyResultsMinFloatFloatFloat(Allocation in, Allocation in1, Allocation out, boolean relaxed)
    [all...]
SampleTest.java 20 import android.renderscript.Allocation;
21 import android.renderscript.Allocation.MipmapControl;
32 Allocation mAlloc_RGBA_1D;
33 Allocation mAlloc_RGBA_2D;
35 Allocation createAlloc(Type t) {
36 Allocation a = Allocation.createTyped(mRS, t, Allocation.MipmapControl.MIPMAP_FULL,
37 Allocation.USAGE_SCRIPT);
TestConvert.java 21 import android.renderscript.Allocation;
43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xfb5215c44e1f6ac6l, -1.6163412428744576259e+38, 1.6163412428744576259e+38);
45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE);
52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE);
60 private void verifyResultsConvertFloat2Float2(Allocation inV, Allocation out, boolean relaxed) {
102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xfb53dedf443a8ba4l, -1.6163412428744576259e+38, 1.6163412428744576259e+38);
104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE)
    [all...]
GetAllocationTest.java 19 import android.renderscript.Allocation;
35 Allocation mTemp = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE);
37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType());
  /frameworks/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /external/lldb/source/Expression/
IRMemoryMap.cpp 203 IRMemoryMap::Allocation::Allocation (lldb::addr_t process_alloc,
255 error.SetErrorString("Couldn't malloc: invalid allocation policy");
316 m_allocations[aligned_address] = Allocation(allocation_address,
364 error.SetErrorString("Couldn't leak: allocation doesn't exist");
368 Allocation &allocation = iter->second; local
370 allocation.m_leak = true;
383 error.SetErrorString("Couldn't free: allocation doesn't exist");
387 Allocation &allocation = iter->second local
445 Allocation &allocation = iter->second; local
575 Allocation &allocation = iter->second; local
706 Allocation &allocation = iter->second; local
    [all...]
  /frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 26 import android.renderscript.Allocation;
44 private Allocation mOutPixelsAllocation;
47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) {
80 private Allocation mTwoByTwoAlloc;
81 private Allocation mCityAlloc;
102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
103 Allocation.MipmapControl.MIPMAP_NONE,
104 Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE);
106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterRS.java 45 float scaleFactor, int quality, Allocation in) {}
46 protected void bindScriptValues(Allocation in) {}
59 protected Allocation getInPixelsAllocation() {
64 protected Allocation getOutPixelsAllocation() {
70 public void apply(Allocation in, Allocation out) {
108 protected void run(Allocation in, Allocation out) {}
154 protected static Allocation convertBitmap(RenderScript RS, Bitmap bitmap) {
155 return Allocation.createFromBitmap(RS, bitmap
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBlur.java 21 * specified radius to all elements of an allocation.
27 private Allocation mInput;
34 * Create an intrinsic for applying a blur to an allocation. The
58 * @param ain The input allocation
60 public void setInput(Allocation ain) {
81 * allocation.
83 * @param aout Output allocation. Must match creation element
86 public void forEach(Allocation aout) {
87 forEach(0, (Allocation) null, aout, null);
92 * allocation
    [all...]
ScriptIntrinsicYuvToRGB.java 23 * The input allocation should be supplied in a supported YUV format
24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
69 forEach(0, (Allocation) null, aout, null);
  /external/clang/test/Analysis/
malloc-overflow.c 9 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
14 return malloc(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}}
29 return malloc(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
35 return malloc(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
40 return malloc((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
62 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
70 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
79 int * x = malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
112 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}}
  /frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncRS.java 54 private Allocation mGridImage;
55 private Allocation mOffscreen;
56 private Allocation mOffscreenDepth;
57 private Allocation mAllocPV;
58 private Allocation mReadBackTest;
61 private Allocation mTextAlloc;
118 mGridImage = Allocation.createFromBitmapResource(mRS, mRes, R.drawable.robot,
119 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE,
120 Allocation.USAGE_GRAPHICS_TEXTURE);
126 mTextAlloc = Allocation.createFromString(mRS, allocString, Allocation.USAGE_SCRIPT)
    [all...]

Completed in 1103 milliseconds

1 23 4 5 6 7 8 91011>>