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

1234567891011>>

/external/clang/test/PCH/Inputs/
H A Dtypo.h4 + (id)alloc;
/external/clang/test/Modules/Inputs/
H A Dtypo.h4 + (id)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.h18 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
19 void Buf_Free(CBuf *p, ISzAlloc *alloc);
30 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
31 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc);
H A D7zBuf2.c22 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc) argument
29 data = (Byte *)alloc->Alloc(alloc, newSize);
34 alloc->Free(alloc, p->data);
42 void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc) argument
44 alloc->Free(alloc, p->data);
H A DLzma2Dec.h26 #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/clang/test/PCH/
H A Dobjc_property.h8 + alloc;
H A Dmethod_pool.h16 + alloc; variable
25 + alloc { return 0; }
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/
H A Ddiagnose_reference_binding.fail.cpp23 std::allocator<void> alloc; local
29 std::tuple<int const&> t1(std::allocator_arg, alloc, 42); // expected-note {{requested here}}
32 std::tuple<std::string &&> t3(std::allocator_arg, alloc, "hello"); // expected-note {{requested here}}
/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/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter_alloc.pass.cpp56 std::allocator<int> alloc; local
57 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
58 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
59 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
60 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local
61 test<std::vector<int> >(a, an, alloc);
67 min_allocator<int> alloc; local
68 test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
69 test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
70 test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
71 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/std/containers/sequences/vector.bool/
H A Dconstruct_iter_iter_alloc.pass.cpp40 std::allocator<bool> alloc; local
41 test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local
42 test<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local
43 test<std::vector<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local
44 test<std::vector<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local
45 test<std::vector<bool> >(a, an, alloc);
49 min_allocator<bool> alloc; local
50 test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local
51 test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local
52 test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local
53 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/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_function.pass.cpp29 void test_FunctionObject(AllocType& alloc) argument
41 std::function<FuncType> f2(std::allocator_arg, alloc, f);
53 void test_FreeFunction(AllocType& alloc) argument
65 std::function<FuncType> f2(std::allocator_arg, alloc, f);
75 void test_MemFunClass(AllocType& alloc) argument
87 std::function<FuncType> f2(std::allocator_arg, alloc, f);
97 void test_for_alloc(Alloc& alloc) argument
100 test_FunctionObject<int()>(alloc);
101 test_FunctionObject<int(int)>(alloc);
102 test_FunctionObject<int(int, int)>(alloc);
118 bare_allocator<DummyClass> alloc; local
[all...]
H A Dalloc_F.pass.cpp41 void test_FunctionObject(AllocType& alloc) argument
48 std::function<FuncType> f2(std::allocator_arg, alloc, target);
61 void test_FreeFunction(AllocType& alloc) argument
67 std::function<FuncType> f2(std::allocator_arg, alloc, target);
78 void test_MemFunClass(AllocType& alloc) argument
84 std::function<FuncType> f2(std::allocator_arg, alloc, target);
94 void test_for_alloc(Alloc& alloc) { argument
95 test_FunctionObject<int()>(alloc);
96 test_FunctionObject<int(int)>(alloc);
97 test_FunctionObject<int(int, int)>(alloc);
[all...]
/external/webrtc/webrtc/base/
H A Dscoped_autorelease_pool.mm18 pool_ = [[NSAutoreleasePool alloc] init];
/external/valgrind/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/skia/src/gpu/vk/
H A DGrVkMemory.cpp59 GrVkAlloc* alloc) {
86 alloc->fFlags = mpf & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT ? 0x0
95 alloc->fFlags = 0x0;
100 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) {
105 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) {
106 SkDebugf("Failed to alloc buffer\n");
113 alloc->fMemory, alloc
55 AllocAndBindBufferMemory(const GrVkGpu* gpu, VkBuffer buffer, GrVkBuffer::Type type, bool dynamic, GrVkAlloc* alloc) argument
122 FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc) argument
140 AllocAndBindImageMemory(const GrVkGpu* gpu, VkImage image, bool linearTiling, GrVkAlloc* alloc) argument
215 FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc) argument
287 FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) argument
300 InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) argument
313 bool GrVkFreeListAlloc::alloc(VkDeviceSize requestedSize, function in class:GrVkFreeListAlloc
500 alloc(VkDeviceSize size, GrVkAlloc* alloc) argument
505 free(const GrVkAlloc& alloc) argument
511 subAlloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, uint32_t heapIndex, GrVkAlloc* alloc) argument
583 singleAlloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, uint32_t heapIndex, GrVkAlloc* alloc) argument
623 free(const GrVkAlloc& alloc) argument
[all...]
H A DGrVkMemory.h28 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);
42 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
69 bool alloc(VkDeviceSize requestedSize, VkDeviceSize* allocOffset, VkDeviceSize* allocSize);
103 bool alloc(VkDeviceSize requestedSize, GrVkAlloc* alloc);
104 void free(const GrVkAlloc& alloc);
141 alloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, uint32_t heapIndex, GrVkAlloc* alloc) argument
[all...]
/external/curl/lib/
H A Descape.c81 size_t alloc = (inlength?(size_t)inlength:strlen(string))+1; local
85 size_t newlen = alloc;
90 ns = malloc(alloc);
94 length = alloc-1;
104 if(newlen > alloc) {
105 alloc *= 2;
106 testing_ptr = realloc(ns, alloc);
148 size_t alloc = (length?length:strlen(string))+1; local
149 char *ns = malloc(alloc);
158 while(--alloc >
[all...]
/external/skia/tests/
H A DVarAllocTest.cpp13 char* p = va.alloc(128);
/external/compiler-rt/test/tsan/
H A Drace_on_heap.cc17 void *alloc() { function
22 return alloc();
43 // CHECK: #{{1|2}} alloc
/external/deqp/framework/platform/ios/
H A DtcuIOSMain.m28 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
/external/webrtc/webrtc/examples/objc/AppRTCDemo/mac/
H A Dmain.m18 APPRTCAppDelegate* delegate = [[APPRTCAppDelegate alloc] init];
/external/skia/src/core/
H A DSkVarAlloc.cpp50 size_t alloc = static_cast<size_t>(1)<<fLgSize++; local
51 while (alloc < bytes + sizeof(Block)) {
52 alloc *= 2;
54 fBytesAllocated += alloc;
55 fBlock = Block::Alloc(fBlock, alloc);
57 fRemaining = alloc - sizeof(Block);

Completed in 655 milliseconds

1234567891011>>