/external/lzma/C/ |
7zBuf2.c | 22 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc)
29 data = (Byte *)alloc->Alloc(alloc, newSize);
34 alloc->Free(alloc, p->data);
45 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc)
47 alloc->Free(alloc, p->data);
|
Lzma2Dec.h | 26 #define Lzma2Dec_FreeProbs(p, alloc) LzmaDec_FreeProbs(&(p)->decoder, alloc);
27 #define Lzma2Dec_Free(p, alloc) LzmaDec_Free(&(p)->decoder, alloc);
29 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
30 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
76 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc);
|
/external/webrtc/webrtc/base/ |
scoped_autorelease_pool.mm | 18 pool_ = [[NSAutoreleasePool alloc] init];
|
/system/core/libutils/ |
SharedBufferTest.cpp | 27 EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX), ""); 28 EXPECT_DEATH(android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer)), ""); 33 android::SharedBuffer::alloc(SIZE_MAX - sizeof(android::SharedBuffer) - 1); 36 buf = android::SharedBuffer::alloc(0); 43 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); 45 buf = android::SharedBuffer::alloc(10); 48 buf = android::SharedBuffer::alloc(10); 54 buf = android::SharedBuffer::alloc(10);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyPaddedTest.java | 36 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 37 alloc.setAutoPadding(true); 38 alloc.copyFrom(inArray); 39 alloc.copyTo(outArray); 50 alloc.destroy(); 65 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 66 alloc.setAutoPadding(true); 67 alloc.copyFrom(inArray); 68 alloc.copyTo(outArray); 79 alloc.destroy() 95 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 163 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 201 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 237 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 269 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 302 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 333 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 364 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 396 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 427 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 458 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 490 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 521 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 553 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 586 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 615 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 654 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 698 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 737 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 776 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 817 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 853 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 894 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 930 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 966 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 995 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 1034 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 1078 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 1117 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local 1156 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); local [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_wsi_wayland.c | 50 const VkAllocationCallbacks *alloc; local 54 alloc = pAllocator; 56 alloc = &instance->alloc; 58 return wsi_create_wl_surface(alloc, pCreateInfo, pSurface);
|
/external/valgrind/massif/tests/ |
alloc-fns-A.post.exp | 2 Command: ./alloc-fns 48 100.00% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 49 ->44.44% (1,600B) 0x........: d4 (alloc-fns.c:18) 50 | ->33.33% (1,200B) 0x........: d3 (alloc-fns.c:19) 51 | | ->22.22% (800B) 0x........: d2 (alloc-fns.c:20) 52 | | | ->11.11% (400B) 0x........: d1 (alloc-fns.c:21) 53 | | | | ->11.11% (400B) 0x........: main (alloc-fns.c:30) 55 | | | ->11.11% (400B) 0x........: main (alloc-fns.c:31) 57 | | ->11.11% (400B) 0x........: main (alloc-fns.c:32) 59 | ->11.11% (400B) 0x........: main (alloc-fns.c:33 [all...] |
alloc-fns-B.post.exp | 2 Command: ./alloc-fns 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --alloc-fn=d4 --alloc-fn=d3 --alloc-fn=d2 --alloc-fn=d1 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time (…) [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_fp16.java | 30 private Allocation alloc; field in class:UT_fp16 50 alloc = Allocation.createTyped(RS, type); 55 s.set_gAlloc(alloc); 62 s.forEach_set_kernel_half(alloc); 66 alloc.destroy(); 72 s.forEach_verify_kernel_half(alloc); 75 alloc.destroy(); 83 s.forEach_set_kernel_half2(alloc); 87 alloc.destroy(); 93 s.forEach_verify_kernel_half2(alloc); [all...] |
/external/curl/lib/ |
escape.c | 82 size_t alloc; local 94 alloc = (inlength?(size_t)inlength:strlen(string)) + 1; 95 newlen = alloc; 97 ns = malloc(alloc); 101 length = alloc-1; 111 if(newlen > alloc) { 112 alloc *= 2; 113 testing_ptr = Curl_saferealloc(ns, alloc); 151 size_t alloc = (length?length:strlen(string)) + 1; local 152 char *ns = malloc(alloc); [all...] |
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_F.pass.cpp | 41 void test_FunctionObject(AllocType& alloc) 48 std::function<FuncType> f2(std::allocator_arg, alloc, target); 61 void test_FreeFunction(AllocType& alloc) 67 std::function<FuncType> f2(std::allocator_arg, alloc, target); 78 void test_MemFunClass(AllocType& alloc) 84 std::function<FuncType> f2(std::allocator_arg, alloc, target); 93 template <class Alloc> 94 void test_for_alloc(Alloc& alloc) { 95 test_FunctionObject<int()>(alloc); [all...] |
/external/skia/src/gpu/vk/ |
GrVkMemory.h | 28 GrVkAlloc* alloc); 29 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc); 34 GrVkAlloc* alloc); 35 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc); 41 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 43 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 71 bool alloc(VkDeviceSize requestedSize, VkDeviceSize* allocOffset, VkDeviceSize* allocSize); 105 bool alloc(VkDeviceSize requestedSize, GrVkAlloc* alloc); 106 void free(const GrVkAlloc& alloc); 143 bool alloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, function in class:GrVkHeap [all...] |
/external/skqp/src/gpu/vk/ |
GrVkMemory.h | 28 GrVkAlloc* alloc); 29 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc); 34 GrVkAlloc* alloc); 35 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc); 41 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 43 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, 71 bool alloc(VkDeviceSize requestedSize, VkDeviceSize* allocOffset, VkDeviceSize* allocSize); 105 bool alloc(VkDeviceSize requestedSize, GrVkAlloc* alloc); 106 void free(const GrVkAlloc& alloc); 143 bool alloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, function in class:GrVkHeap [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc_F.pass.cpp | 41 void test_FunctionObject(AllocType& alloc) 48 std::function<FuncType> f2(std::allocator_arg, alloc, target); 61 void test_FreeFunction(AllocType& alloc) 67 std::function<FuncType> f2(std::allocator_arg, alloc, target); 78 void test_MemFunClass(AllocType& alloc) 84 std::function<FuncType> f2(std::allocator_arg, alloc, target); 93 template <class Alloc> 94 void test_for_alloc(Alloc& alloc) { 95 test_FunctionObject<int()>(alloc); [all...] |
/art/test/616-cha-unloading/ |
cha_unload.cc | 45 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); 48 alloc->Alloc(Thread::Current(), 1); 49 } while (!alloc->Contains(reinterpret_cast<void*>(static_cast<uintptr_t>(art_method))));
|
/bionic/linker/ |
linker_block_allocator.h | 48 void* alloc(); 84 T* alloc() { return reinterpret_cast<T*>(block_allocator_.alloc()); } function in class:LinkerTypeAllocator
|
/frameworks/rs/support/jni/ |
android_rscompat_usage_io.cpp | 9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur, dispatchTable dispatchTab) 11 LOG_API("nAllocationSetSurface, con(%p), alloc(%p), surface(%p)", 12 con, alloc, sur); 18 dispatchTab.AllocationSetSurface(con, alloc, s);
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
perlstrings.swg | 7 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc) 19 if (alloc) { 20 if (*alloc == SWIG_NEWOBJ) { 24 *alloc = SWIG_OLDOBJ; 37 if (alloc) *alloc = SWIG_OLDOBJ;
|
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
rubystrings.swg | 7 SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc) 13 if (alloc) { 14 if (*alloc == SWIG_NEWOBJ) { 18 *alloc = SWIG_OLDOBJ; 31 if (alloc) *alloc = SWIG_OLDOBJ;
|
rubywstrings.swg | 16 SWIG_AsWCharPtrAndSize(VALUE obj, wchar_t **cptr, size_t *psize, int *alloc) 18 return SWIG_AsCharPtrAndSize( obj, (char**)cptr, psize, alloc); 36 // if (alloc) *alloc = cptr ? SWIG_NEWOBJ : 0;
|
/external/clang/test/PCH/ |
objc_import.h | 4 + alloc; variable
|
/external/skia/src/core/ |
SkDrawLooper.cpp | 17 SkSTArenaAlloc<48> alloc; local 19 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc); 40 SkSTArenaAlloc<48> alloc; local 43 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc);
|
/external/skia/src/shaders/ |
SkBitmapProcShader.h | 20 const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
|
/external/skqp/src/core/ |
SkDrawLooper.cpp | 17 SkSTArenaAlloc<48> alloc; local 19 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc); 40 SkSTArenaAlloc<48> alloc; local 43 SkDrawLooper::Context* context = this->makeContext(&canvas, &alloc);
|
/external/skqp/src/shaders/ |
SkBitmapProcShader.h | 20 const SkBitmapProvider&, const ContextRec&, SkArenaAlloc* alloc);
|