HomeSort by relevance Sort by last modified time
    Searched refs:alloc (Results 1 - 25 of 951) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/PCH/Inputs/
typo.h 4 + (id)alloc;
  /external/qemu/distrib/ext4_utils/src/
allocate.h 30 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, int blocks)
    [all...]
indirect.c 28 static u8 *create_backing(struct block_allocation *alloc,
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)
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)
70 if (reserve_oob_blocks(alloc, 1)) {
78 reserve_indirect_block(alloc, ind_block_len)
392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local
405 struct block_allocation *alloc; local
491 struct block_allocation *alloc; local
    [all...]
extent.c 29 static u8 *extent_create_backing(struct block_allocation *alloc,
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,
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 == NULL)
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/
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);
  /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);
  /external/clang/test/PCH/
objc_property.h 8 + alloc;
method_pool.h 16 + alloc; variable
25 + alloc { return 0; }
  /system/extras/ext4_utils/
allocate.h 45 int block_allocation_num_regions(struct block_allocation *alloc);
46 int block_allocation_len(struct block_allocation *alloc);
49 void reduce_allocation(struct block_allocation *alloc, u32 len);
50 u32 get_block(struct block_allocation *alloc, u32 block);
51 u32 get_oob_block(struct block_allocation *alloc, u32 block);
52 void get_next_region(struct block_allocation *alloc);
53 void get_region(struct block_allocation *alloc, u32 *block, u32 *len);
62 void free_alloc(struct block_allocation *alloc);
63 int reserve_oob_blocks(struct block_allocation *alloc, int blocks);
64 int advance_blocks(struct block_allocation *alloc, int blocks)
    [all...]
indirect.c 28 static u8 *create_backing(struct block_allocation *alloc,
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)
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)
70 if (reserve_oob_blocks(alloc, 1)) {
78 reserve_indirect_block(alloc, ind_block_len)
392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local
405 struct block_allocation *alloc; local
491 struct block_allocation *alloc; local
    [all...]
extent.c 29 static u8 *extent_create_backing(struct block_allocation *alloc,
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,
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 == NULL)
183 struct block_allocation *alloc; local
208 struct block_allocation *alloc; local
223 struct block_allocation *alloc; local
    [all...]
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_dense_alloc_test.cc 25 typedef DenseSlabAlloc<int, 128, 128> Alloc;
26 typedef Alloc::Cache Cache;
27 typedef Alloc::IndexT IndexT;
30 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)
    [all...]
  /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...]
rsdSampler.cpp 45 const Sampler *alloc,
48 obj->p = alloc;
51 if (alloc != NULL) {
52 obj->v1 = alloc->mHal.drv;
  /external/libcxx/test/containers/sequences/vector/vector.cons/
construct_iter_iter_alloc.pass.cpp 49 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/
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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/
construct_iter_iter_alloc.pass.cpp 51 std::allocator<int> alloc; local
52 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
53 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
54 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
55 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local
56 test<std::vector<int> >(a, an, alloc);
62 min_allocator<int> alloc; local
63 test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
64 test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
65 test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
66 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/libcxx/test/language.support/support.dynamic/alloc.errors/bad.alloc/
Android.mk 17 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
  /prebuilts/misc/common/swig/include/2.0.11/python/
pystrings.swg 6 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
16 if (!alloc && cptr) {
25 if(alloc) *alloc = SWIG_NEWOBJ;
30 if (alloc) {
41 if (*alloc != SWIG_OLDOBJ)
43 if (*alloc == SWIG_NEWOBJ)
47 *alloc = SWIG_NEWOBJ;
51 *alloc = SWIG_OLDOBJ;
72 if (alloc) *alloc = SWIG_OLDOBJ
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
scoped_autorelease_pool.mm 35 pool_ = [[NSAutoreleasePool alloc] init];
  /external/chromium_org/third_party/webrtc/base/
scoped_autorelease_pool.mm 18 pool_ = [[NSAutoreleasePool alloc] init];

Completed in 668 milliseconds

1 2 3 4 5 6 7 8 91011>>