Searched refs:alloc (Results 1 - 25 of 621) sorted by relevance

1234567891011>>

/external/clang/test/PCH/Inputs/
H A Dtypo.h4 + (id)alloc;
/external/qemu/distrib/ext4_utils/src/
H A Dallocate.h30 int block_allocation_num_regions(struct block_allocation *alloc);
31 int block_allocation_len(struct block_allocation *alloc);
34 void reduce_allocation(struct block_allocation *alloc, u32 len);
35 u32 get_block(struct block_allocation *alloc, u32 block);
36 u32 get_oob_block(struct block_allocation *alloc, u32 block);
37 void get_next_region(struct block_allocation *alloc);
38 void get_region(struct block_allocation *alloc, u32 *block, u32 *len);
47 void free_alloc(struct block_allocation *alloc);
48 int reserve_oob_blocks(struct block_allocation *alloc, int blocks);
49 int advance_blocks(struct block_allocation *alloc, in
[all...]
H A Dindirect.c28 static u8 *create_backing(struct block_allocation *alloc, argument
39 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
43 get_region(alloc, &region_block, &region_len);
55 static void reserve_indirect_block(struct block_allocation *alloc, int len) argument
57 if (reserve_oob_blocks(alloc, 1)) {
62 if (advance_blocks(alloc, len)) {
68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) argument
70 if (reserve_oob_blocks(alloc, 1)) {
78 reserve_indirect_block(alloc, ind_block_le
85 reserve_tindirect_block(struct block_allocation *alloc, int len) argument
101 fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) argument
109 fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) argument
139 fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) argument
166 inode_attach_direct_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
189 inode_attach_indirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
221 inode_attach_dindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
253 inode_attach_tindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
281 reserve_all_indirect_blocks(struct block_allocation *alloc, u32 len) argument
346 do_inode_attach_indirect(struct ext4_inode *inode, struct block_allocation *alloc, u32 block_len) argument
392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local
405 struct block_allocation *alloc; local
428 inode_attach_resize(struct ext4_inode *inode, struct block_allocation *alloc) argument
491 struct block_allocation *alloc; local
[all...]
H A Dextent.c29 static u8 *extent_create_backing(struct block_allocation *alloc, argument
37 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
41 get_region(alloc, &region_block, &region_len);
55 static void extent_create_backing_file(struct block_allocation *alloc, argument
59 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
63 get_region(alloc, &region_block, &region_len);
78 struct block_allocation *alloc = allocate_blocks(block_len + 1); local
84 if (alloc
183 struct block_allocation *alloc; local
208 struct block_allocation *alloc; local
224 struct block_allocation *alloc; local
[all...]
/external/chromium_org/third_party/lzma_sdk/
H A D7zBuf.c14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) argument
22 p->data = (Byte *)alloc->Alloc(alloc, size);
31 void Buf_Free(CBuf *p, ISzAlloc *alloc) argument
33 alloc->Free(alloc, p->data);
H A D7zBuf.h20 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);
H A DLzma2Dec.h28 #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/
H A D7zBuf.c14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) argument
22 p->data = (Byte *)alloc->Alloc(alloc, size);
31 void Buf_Free(CBuf *p, ISzAlloc *alloc) argument
33 alloc->Free(alloc, p->data);
H A D7zBuf.h20 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);
H A D7zBuf2.c19 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc) argument
26 data = (Byte *)alloc->Alloc(alloc, newSize);
31 alloc->Free(alloc, p->data);
39 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc) argument
41 alloc->Free(alloc, p->data);
H A DLzma2Dec.h28 #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/
H A Dobjc_property.h8 + alloc;
H A Dmethod_pool.h16 + alloc; variable
25 + alloc { return 0; }
/external/chromium-trace/trace-viewer/src/tcmalloc/
H A Dheap.js49 var alloc = allocs[i];
50 var traceNames = alloc.trace.split(' ');
65 heapEntry.currentBytes += alloc.currentBytes;
66 heapEntry.currentAllocs += alloc.currentAllocs;
67 heapEntry.totalBytes += alloc.totalBytes;
68 heapEntry.totalAllocs += alloc.totalAllocs;
74 currentBytes: alloc.currentBytes,
75 currentAllocs: alloc.currentAllocs,
76 totalBytes: alloc.totalBytes,
77 totalAllocs: alloc
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cc30 Alloc alloc; local
32 alloc.InitCache(&cache);
37 IndexT idx = alloc.Alloc(&cache);
40 int *v = alloc.Map(idx);
46 int *v = alloc.Map(idx);
48 alloc.Free(&cache, idx);
51 alloc.FlushCache(&cache);
/external/chromium_org/tools/android/heap_profiler/
H A Dheap_profiler.c173 Alloc* alloc = NULL; local
177 alloc = allocs_freelist;
178 allocs_freelist = alloc->next_free;
180 alloc = &allocs[stats->max_allocs];
186 alloc->start = start;
187 alloc->end = end;
188 alloc->st = st;
189 alloc->flags = flags;
190 alloc->next_free = NULL;
191 RB_INSERT(HeapEntriesTree, &allocs_tree, alloc);
209 Alloc* alloc = NULL; local
359 Alloc* alloc = insert_alloc(start, end, st, flags); local
[all...]
/external/libcxx/test/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter_alloc.pass.cpp49 std::allocator<int> alloc; local
50 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
51 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
52 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
53 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local
54 test<std::vector<int> >(a, an, alloc);
60 min_allocator<int> alloc; local
61 test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
62 test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
63 test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
64 test<std::vector<int, min_allocator<int>> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local
[all...]
/external/libcxx/test/containers/sequences/vector.bool/
H A Dconstruct_iter_iter_alloc.pass.cpp38 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/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/
H A DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/Android.mk
19 test_name := language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_autorelease_pool.mm18 pool_ = [[NSAutoreleasePool alloc] init];
/external/valgrind/main/massif/tests/
H A Dalloc-fns-A.post.exp2 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
[all...]
H A Dalloc-fns-B.post.exp2 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
[all...]
/external/chromium_org/third_party/skia/tests/
H A DMemsetTest.cpp14 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
[all...]
/external/skia/tests/
H A DMemsetTest.cpp14 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
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dcache.h43 * is 'alloc', using the standard growing factor alloc_nr() macro.
45 * DO NOT USE any expression with side-effect for 'x' or 'alloc'.
47 #define ALLOC_GROW(x, nr, alloc) \
49 if ((nr) > alloc) { \
50 if (alloc_nr(alloc) < (nr)) \
51 alloc = (nr); \
53 alloc = alloc_nr(alloc); \
54 x = xrealloc((x), alloc * sizeof(*(x))); \

Completed in 2090 milliseconds

1234567891011>>