/external/clang/test/PCH/Inputs/ |
typo.h | 4 + (id)alloc;
|
/system/extras/ext4_utils/ |
allocate.h | 32 int block_allocation_num_regions(struct block_allocation *alloc); 33 int block_allocation_len(struct block_allocation *alloc); 36 void reduce_allocation(struct block_allocation *alloc, u32 len); 37 u32 get_block(struct block_allocation *alloc, u32 block); 38 u32 get_oob_block(struct block_allocation *alloc, u32 block); 39 void get_next_region(struct block_allocation *alloc); 40 void get_region(struct block_allocation *alloc, u32 *block, u32 *len); 49 void free_alloc(struct block_allocation *alloc); 50 int reserve_oob_blocks(struct block_allocation *alloc, int blocks); 51 int advance_blocks(struct block_allocation *alloc, int blocks) [all...] |
indirect.c | 30 static u8 *create_backing(struct block_allocation *alloc, 41 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 45 get_region(alloc, ®ion_block, ®ion_len); 57 static void reserve_indirect_block(struct block_allocation *alloc, int len) 59 if (reserve_oob_blocks(alloc, 1)) { 64 if (advance_blocks(alloc, len)) { 70 static void reserve_dindirect_block(struct block_allocation *alloc, int len) 72 if (reserve_oob_blocks(alloc, 1)) { 80 reserve_indirect_block(alloc, ind_block_len) 394 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local 407 struct block_allocation *alloc; local 493 struct block_allocation *alloc; local [all...] |
extent.c | 30 static u8 *extent_create_backing(struct block_allocation *alloc, 38 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 42 get_region(alloc, ®ion_block, ®ion_len); 56 static void extent_create_backing_file(struct block_allocation *alloc, 60 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 64 get_region(alloc, ®ion_block, ®ion_len); 79 struct block_allocation *alloc = allocate_blocks(block_len + 1); local 85 if (alloc == NULL) 184 struct block_allocation *alloc; local 209 struct block_allocation *alloc; local 225 struct block_allocation *alloc; local [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zBuf.c | 14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) 22 p->data = (Byte *)alloc->Alloc(alloc, size); 31 void Buf_Free(CBuf *p, ISzAlloc *alloc) 33 alloc->Free(alloc, p->data);
|
7zBuf.h | 20 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc); 21 void Buf_Free(CBuf *p, ISzAlloc *alloc); 32 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc); 33 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc);
|
Lzma2Dec.h | 28 #define Lzma2Dec_FreeProbs(p, alloc) LzmaDec_FreeProbs(&(p)->decoder, alloc); 29 #define Lzma2Dec_Free(p, alloc) LzmaDec_Free(&(p)->decoder, alloc); 31 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 32 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 78 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc);
|
/external/lzma/C/ |
7zBuf.c | 14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
22 p->data = (Byte *)alloc->Alloc(alloc, size);
31 void Buf_Free(CBuf *p, ISzAlloc *alloc)
33 alloc->Free(alloc, p->data);
|
7zBuf.h | 20 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
21 void Buf_Free(CBuf *p, ISzAlloc *alloc);
32 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
33 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc);
|
7zBuf2.c | 19 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc)
26 data = (Byte *)alloc->Alloc(alloc, newSize);
31 alloc->Free(alloc, p->data);
39 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc)
41 alloc->Free(alloc, p->data);
|
Lzma2Dec.h | 28 #define Lzma2Dec_FreeProbs(p, alloc) LzmaDec_FreeProbs(&(p)->decoder, alloc);
29 #define Lzma2Dec_Free(p, alloc) LzmaDec_Free(&(p)->decoder, alloc);
31 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
32 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc);
78 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc);
|
/external/clang/test/PCH/ |
objc_property.h | 8 + alloc;
|
method_pool.h | 16 + alloc; variable 25 + alloc { return 0; }
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/ |
construct_iter_iter_alloc.pass.cpp | 38 std::allocator<int> alloc; local 39 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local 40 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local 41 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local 42 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local 43 test<std::vector<int> >(a, an, alloc); 49 min_allocator<int> alloc; local 50 test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local 51 test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local 52 test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local 53 test<std::vector<int, min_allocator<int>> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
construct_iter_iter_alloc.pass.cpp | 38 std::allocator<bool> alloc; local 39 test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local 40 test<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local 41 test<std::vector<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local 42 test<std::vector<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local 43 test<std::vector<bool> >(a, an, alloc); 47 min_allocator<bool> alloc; local 48 test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local 49 test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local 50 test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local 51 test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local [all...] |
/external/dropbear/libtommath/ |
bn_mp_grow.c | 24 /* if the alloc size is smaller alloc more ram */ 25 if (a->alloc < size) { 45 i = a->alloc; 46 a->alloc = size; 47 for (; i < a->alloc; i++) {
|
/frameworks/rs/driver/ |
rsdAllocation.cpp | 92 uint8_t *GetOffsetPtr(const android::renderscript::Allocation *alloc, 95 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 96 ptr += face * alloc->mHal.drvState.faceOffset; 97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 99 ptr += xoff * alloc->mHal.state.elementSizeBytes; 104 static void Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, 108 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; 114 if (alloc->mHal.state.hasFaces) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
scoped_autorelease_pool.mm | 35 pool_ = [[NSAutoreleasePool alloc] init];
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 53 p_buffer->alloc.len = p_buffer->size; 54 p_buffer->alloc.align = 4096; 55 p_buffer->alloc.flags = ION_FLAG_CACHED; 56 p_buffer->alloc.heap_mask = 0x1 << ION_IOMMU_HEAP_ID; 65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095); 66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); 69 p_buffer->alloc.len); 73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; 83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 53 p_buffer->alloc.len = p_buffer->size; 54 p_buffer->alloc.align = 4096; 55 p_buffer->alloc.flags = ION_FLAG_CACHED; 56 p_buffer->alloc.heap_mask = 0x1 << ION_IOMMU_HEAP_ID; 65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095); 66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); 69 p_buffer->alloc.len); 73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; 83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE [all...] |
/external/valgrind/main/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...] |
/external/skia/tests/ |
MemsetTest.cpp | 14 SkChunkAlloc alloc(min); 16 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 17 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()); 18 REPORTER_ASSERT(reporter, 0 == alloc.blockCount()); 19 REPORTER_ASSERT(reporter, !alloc.contains(NULL)); 20 REPORTER_ASSERT(reporter, !alloc.contains(reporter)); 22 alloc.reset(); 23 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 24 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()); 25 REPORTER_ASSERT(reporter, 0 == alloc.blockCount()) [all...] |
/external/linux-tools-perf/util/ |
cache.h | 56 * is 'alloc', using the standard growing factor alloc_nr() macro. 58 * DO NOT USE any expression with side-effect for 'x' or 'alloc'. 60 #define ALLOC_GROW(x, nr, alloc) \ 62 if ((nr) > alloc) { \ 63 if (alloc_nr(alloc) < (nr)) \ 64 alloc = (nr); \ 66 alloc = alloc_nr(alloc); \ 67 x = xrealloc((x), alloc * sizeof(*(x))); \
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrAllocPool.h | 22 * Frees all blocks that have been allocated with alloc(). 31 void* alloc(size_t bytes); 57 T* alloc() { return (T*)fPool.alloc(sizeof(T)); } function in class:GrTAllocPool
|