/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_persistent_allocator.h | 25 void *alloc(uptr size); 29 StaticSpinMutex mtx; // Protects alloc of new blocks for region allocator. 46 inline void *PersistentAllocator::alloc(uptr size) { function in class:__sanitizer::PersistentAllocator 50 // If failed, lock, retry and alloc new superblock. 66 return thePersistentAllocator.alloc(sz);
|
/external/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/ |
size.pass.cpp | 13 // explicit forward_list(size_type n, const Alloc& a); 22 void check_allocator(unsigned n, Allocator const &alloc = Allocator()) 26 C d(n, alloc); 27 assert(d.get_allocator() == alloc);
|
/external/lldb/source/Host/macosx/cfcpp/ |
CFCBundle.cpp | 41 CFAllocatorRef alloc = kCFAllocatorDefault; local 51 CFCReleaser<CFURLRef> bundle_url (::CFURLCreateWithFileSystemPath (alloc, cf_path.get(), kCFURLPOSIXPathStyle, true)); 53 reset (::CFBundleCreate (alloc, bundle_url.get()));
|
/external/valgrind/main/memcheck/tests/ |
badrw.stderr.exp | 3 Address 0x........ is 4 bytes before a block of size 10 alloc'd 9 Address 0x........ is 4 bytes before a block of size 10 alloc'd 15 Address 0x........ is 4 bytes before a block of size 10 alloc'd 21 Address 0x........ is 4 bytes before a block of size 10 alloc'd 27 Address 0x........ is 1 bytes before a block of size 10 alloc'd 33 Address 0x........ is 1 bytes before a block of size 10 alloc'd
|
mismatches.stderr.exp | 4 Address 0x........ is 0 bytes inside a block of size 10 alloc'd 11 Address 0x........ is 0 bytes inside a block of size 10 alloc'd 18 Address 0x........ is 0 bytes inside a block of size 40 alloc'd 25 Address 0x........ is 0 bytes inside a block of size 40 alloc'd 32 Address 0x........ is 0 bytes inside a block of size 4 alloc'd 39 Address 0x........ is 0 bytes inside a block of size 4 alloc'd
|
custom_alloc.stderr.exp | 3 Address 0x........ is 0 bytes after a block of size 40 alloc'd 9 Address 0x........ is 0 bytes after a block of size 20 alloc'd 18 Address 0x........ is 0 bytes after a block of size 28 alloc'd 24 Address 0x........ is 4 bytes inside a block of size 28 alloc'd 36 Address 0x........ is 0 bytes inside a block of size 40 alloc'd 49 Address 0x........ is 1 bytes before a block of size 20 alloc'd 56 Address 0x........ is 8 bytes before a block of size 20 alloc'd 63 Address 0x........ is 0 bytes after a block of size 20 alloc'd 70 Address 0x........ is 7 bytes after a block of size 20 alloc'd 77 Address 0x........ is 1 bytes before a recently re-allocated block of size 10 alloc' [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_apitest.java | 46 Allocation alloc = Allocation.createTyped(pRS, type); local 51 s.set_allocNonNull(alloc); 55 s.bind_allocPtr(alloc);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/ |
size.pass.cpp | 13 // explicit forward_list(size_type n, const Alloc& a); 22 void check_allocator(unsigned n, Allocator const &alloc = Allocator()) 26 C d(n, alloc); 27 assert(d.get_allocator() == alloc);
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
std_basic_string.i | 22 char* buf = 0 ; size_t size = 0; int alloc = 0; 23 if (SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc) == SWIG_OK) { 26 if (alloc == SWIG_NEWOBJ) %delete_array(buf); 72 wchar_t *buf = 0 ; size_t size = 0; int alloc = 0; 73 if (SWIG_AsWCharPtrAndSize(obj, &buf, &size, &alloc) == SWIG_OK) { 76 if (alloc == SWIG_NEWOBJ) %delete_array(buf);
|
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
std_basic_string.i | 25 char* buf = 0 ; size_t size = 0; int alloc = 0; 26 if (SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc) == SWIG_OK) { 29 if (alloc == SWIG_NEWOBJ) %delete_array(buf); 70 wchar_t *buf = 0 ; size_t size = 0; int alloc = 0; 71 if (SWIG_AsWCharPtrAndSize(obj, &buf, &size, &alloc) == SWIG_OK) { 74 if (alloc == SWIG_NEWOBJ) %delete_array(buf);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
debug_map_base.hpp | 156 __gnu_cxx::throw_allocator<char> alloc; local 157 const double orig_throw_prob = alloc.get_throw_prob(); 158 alloc.set_throw_prob(0); 174 alloc.set_throw_prob(orig_throw_prob); 317 __gnu_cxx::throw_allocator<char> alloc; local 318 const double orig_throw_prob = alloc.get_throw_prob(); 319 alloc.set_throw_prob(0); 330 alloc.set_throw_prob(orig_throw_prob); 338 __gnu_cxx::throw_allocator<char> alloc; local 339 const double orig_throw_prob = alloc.get_throw_prob() [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
debug_map_base.hpp | 156 __gnu_cxx::throw_allocator<char> alloc; local 157 const double orig_throw_prob = alloc.get_throw_prob(); 158 alloc.set_throw_prob(0); 174 alloc.set_throw_prob(orig_throw_prob); 317 __gnu_cxx::throw_allocator<char> alloc; local 318 const double orig_throw_prob = alloc.get_throw_prob(); 319 alloc.set_throw_prob(0); 330 alloc.set_throw_prob(orig_throw_prob); 338 __gnu_cxx::throw_allocator<char> alloc; local 339 const double orig_throw_prob = alloc.get_throw_prob() [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
debug_map_base.hpp | 156 __gnu_cxx::throw_allocator<char> alloc; local 157 const double orig_throw_prob = alloc.get_throw_prob(); 158 alloc.set_throw_prob(0); 174 alloc.set_throw_prob(orig_throw_prob); 317 __gnu_cxx::throw_allocator<char> alloc; local 318 const double orig_throw_prob = alloc.get_throw_prob(); 319 alloc.set_throw_prob(0); 330 alloc.set_throw_prob(orig_throw_prob); 338 __gnu_cxx::throw_allocator<char> alloc; local 339 const double orig_throw_prob = alloc.get_throw_prob() [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/ |
debug_map_base.hpp | 156 __gnu_cxx::throw_allocator<char> alloc; local 157 const double orig_throw_prob = alloc.get_throw_prob(); 158 alloc.set_throw_prob(0); 174 alloc.set_throw_prob(orig_throw_prob); 317 __gnu_cxx::throw_allocator<char> alloc; local 318 const double orig_throw_prob = alloc.get_throw_prob(); 319 alloc.set_throw_prob(0); 330 alloc.set_throw_prob(orig_throw_prob); 338 __gnu_cxx::throw_allocator<char> alloc; local 339 const double orig_throw_prob = alloc.get_throw_prob() [all...] |
/frameworks/rs/ |
rs_hal.h | 165 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 166 void (*destroy)(const Context *rsc, Allocation *alloc); 167 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 169 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 171 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 172 void (*markDirty)(const Context *rsc, const Allocation *alloc); 174 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 175 void (*ioSend)(const Context *rsc, Allocation *alloc); 184 void (*ioReceive)(const Context *rsc, Allocation *alloc); 186 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
/art/runtime/ |
monitor_pool_test.cc | 63 bool alloc; local 65 alloc = true; 67 alloc = false; 70 alloc = r.next() % 2 == 0; 73 if (alloc) {
|
/external/jemalloc/src/ |
rtree.c | 5 rtree_new(unsigned bits, rtree_alloc_t *alloc, rtree_dalloc_t *dalloc) 23 ret = (rtree_t*)alloc(offsetof(rtree_t, level2bits) + 30 ret->alloc = alloc; 50 ret->root = (void**)alloc(sizeof(void *) << ret->level2bits[0]);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rs_hal.h | 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 147 void (*destroy)(const Context *rsc, Allocation *alloc); 148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 153 void (*markDirty)(const Context *rsc, const Allocation *alloc); 155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 156 void (*ioSend)(const Context *rsc, Allocation *alloc); 165 void (*ioReceive)(const Context *rsc, Allocation *alloc); 167 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rs_hal.h | 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 147 void (*destroy)(const Context *rsc, Allocation *alloc); 148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 153 void (*markDirty)(const Context *rsc, const Allocation *alloc); 155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 156 void (*ioSend)(const Context *rsc, Allocation *alloc); 165 void (*ioReceive)(const Context *rsc, Allocation *alloc); 167 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rs_hal.h | 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero); 147 void (*destroy)(const Context *rsc, Allocation *alloc); 148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc); 150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType, 152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src); 153 void (*markDirty)(const Context *rsc, const Allocation *alloc); 155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur); 156 void (*ioSend)(const Context *rsc, Allocation *alloc); 165 void (*ioReceive)(const Context *rsc, Allocation *alloc); 167 void (*data1D)(const Context *rsc, const Allocation *alloc, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_mm.c | 162 struct nouveau_mm_allocation *alloc; local 191 alloc = MALLOC_STRUCT(nouveau_mm_allocation); 192 if (!alloc) 202 alloc->next = NULL; 203 alloc->offset = *offset; 204 alloc->priv = (void *)slab; 206 return alloc; 210 nouveau_mm_free(struct nouveau_mm_allocation *alloc) 212 struct mm_slab *slab = (struct mm_slab *)alloc->priv; 215 mm_slab_free(slab, alloc->offset >> slab->order) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_mm.c | 162 struct nouveau_mm_allocation *alloc; local 191 alloc = MALLOC_STRUCT(nouveau_mm_allocation); 192 if (!alloc) 202 alloc->next = NULL; 203 alloc->offset = *offset; 204 alloc->priv = (void *)slab; 206 return alloc; 210 nouveau_mm_free(struct nouveau_mm_allocation *alloc) 212 struct mm_slab *slab = (struct mm_slab *)alloc->priv; 215 mm_slab_free(slab, alloc->offset >> slab->order) [all...] |
/external/lzma/C/ |
XzDec.c | 14 #include "Alloc.h"
66 void BraState_Free(void *pp, ISzAlloc *alloc)
68 alloc->Free(alloc, pp);
71 SRes BraState_SetProps(void *pp, const Byte *props, size_t propSize, ISzAlloc *alloc)
74 alloc = alloc;
198 SRes BraState_SetFromMethod(IStateCoder *p, UInt64 id, ISzAlloc *alloc)
210 decoder = alloc->Alloc(alloc, sizeof(CBraState)); [all...] |
7zIn.c | 22 void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc)
24 Buf_Free(&p->Props, alloc);
42 void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc)
47 SzCoderInfo_Free(&p->Coders[i], alloc);
48 IAlloc_Free(alloc, p->Coders);
49 IAlloc_Free(alloc, p->BindPairs);
50 IAlloc_Free(alloc, p->PackStreams);
51 IAlloc_Free(alloc, p->UnpackSizes);
116 void SzAr_Free(CSzAr *p, ISzAlloc *alloc)
121 SzFolder_Free(&p->Folders[i], alloc);
[all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zIn.c | 22 void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc) 24 Buf_Free(&p->Props, alloc); 42 void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc) 47 SzCoderInfo_Free(&p->Coders[i], alloc); 48 IAlloc_Free(alloc, p->Coders); 49 IAlloc_Free(alloc, p->BindPairs); 50 IAlloc_Free(alloc, p->PackStreams); 51 IAlloc_Free(alloc, p->UnpackSizes); 116 void SzAr_Free(CSzAr *p, ISzAlloc *alloc) 121 SzFolder_Free(&p->Folders[i], alloc); [all...] |