Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/external/valgrind/massif/tests/
Dculling1.stderr.exp24 Massif: alloc S. 1 (t:32, hp:16, ex:16, st:0)
25 Massif: alloc S. 2 (t:64, hp:32, ex:32, st:0)
26 Massif: alloc S. 3 (t:96, hp:48, ex:48, st:0)
27 Massif: alloc S. 4 (t:128, hp:64, ex:64, st:0)
28 Massif: alloc S. 5 (t:160, hp:80, ex:80, st:0)
29 Massif: alloc S. 6 (t:192, hp:96, ex:96, st:0)
30 Massif: alloc S. 7 (t:224, hp:112, ex:112, st:0)
31 Massif: alloc S. 8 (t:256, hp:128, ex:128, st:0)
32 Massif: alloc Sd 9 (t:288, hp:144, ex:144, st:0)
33 Massif: alloc S. 10 (t:320, hp:160, ex:160, st:0)
[all …]
Dculling2.stderr.exp24 Massif: alloc S. 1 (t:16, hp:0, ex:16, st:0)
25 Massif: alloc S. 2 (t:432, hp:400, ex:32, st:0)
26 Massif: alloc S. 3 (t:1248, hp:1200, ex:48, st:0)
27 Massif: alloc S. 4 (t:2464, hp:2400, ex:64, st:0)
28 Massif: alloc S. 5 (t:4080, hp:4000, ex:80, st:0)
29 Massif: alloc S. 6 (t:6096, hp:6000, ex:96, st:0)
30 Massif: alloc S. 7 (t:8512, hp:8400, ex:112, st:0)
31 Massif: alloc S. 8 (t:11328, hp:11200, ex:128, st:0)
32 Massif: alloc Sd 9 (t:14544, hp:14400, ex:144, st:0)
33 Massif: alloc S. 10 (t:18160, hp:18000, ex:160, st:0)
[all …]
Dpeak2.stderr.exp24 Massif: alloc S. 1 (t:1728, hp:1600, ex:128, st:0)
25 Massif: alloc S. 2 (t:1872, hp:1616, ex:256, st:0)
28 Massif: alloc S. 5 (t:3744, hp:3200, ex:256, st:0)
29 Massif: alloc S. 6 (t:3888, hp:3216, ex:384, st:0)
32 Massif: alloc S. 9 (t:5760, hp:4800, ex:384, st:0)
33 Massif: alloc S. 10 (t:5904, hp:4816, ex:512, st:0)
36 Massif: alloc S. 13 (t:7776, hp:6400, ex:512, st:0)
37 Massif: alloc S. 14 (t:7920, hp:6416, ex:640, st:0)
40 Massif: alloc S. 17 (t:9792, hp:8000, ex:640, st:0)
41 Massif: alloc S. 18 (t:9936, hp:8016, ex:768, st:0)
[all …]
Ddeep-D.vgtest2alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --
Ddeep-D.post.exp-ppc643alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --
48 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
Dalloc-fns-B.vgtest1 prog: alloc-fns
2 …-admin=0 --alloc-fn=a4 --alloc-fn=b4 --alloc-fn=b3 --alloc-fn=c4 --alloc-fn=c3 --alloc-fn=c2 --all…
Ddeep-C.vgtest2 …-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --allo…
/external/skia/src/gpu/vk/
DGrVkMemory.cpp61 GrVkAlloc* alloc) { in AllocAndBindBufferMemory() argument
88 alloc->fFlags = mpf & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT ? 0x0 in AllocAndBindBufferMemory()
97 alloc->fFlags = 0x0; in AllocAndBindBufferMemory()
102 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
107 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
115 alloc->fMemory, alloc->fOffset)); in AllocAndBindBufferMemory()
117 SkASSERT_RELEASE(heap->free(*alloc)); in AllocAndBindBufferMemory()
125 const GrVkAlloc& alloc) { in FreeBufferMemory() argument
128 SkASSERT_RELEASE(heap->free(alloc)); in FreeBufferMemory()
145 GrVkAlloc* alloc) { in AllocAndBindImageMemory() argument
[all …]
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 bool alloc(VkDeviceSize size, VkDeviceSize alignment, uint32_t memoryTypeIndex, in alloc() function
[all …]
/external/mesa3d/src/util/
Dvk_alloc.h32 vk_alloc(const VkAllocationCallbacks *alloc, in vk_alloc() argument
36 return alloc->pfnAllocation(alloc->pUserData, size, align, scope); in vk_alloc()
40 vk_realloc(const VkAllocationCallbacks *alloc, in vk_realloc() argument
44 return alloc->pfnReallocation(alloc->pUserData, ptr, size, align, scope); in vk_realloc()
48 vk_free(const VkAllocationCallbacks *alloc, void *data) in vk_free() argument
53 alloc->pfnFree(alloc->pUserData, data); in vk_free()
58 const VkAllocationCallbacks *alloc, in vk_alloc2() argument
62 if (alloc) in vk_alloc2()
63 return vk_alloc(alloc, size, align, scope); in vk_alloc2()
70 const VkAllocationCallbacks *alloc, in vk_zalloc2() argument
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_function.pass.cpp29 void test_FunctionObject(AllocType& alloc) in test_FunctionObject() argument
41 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject()
53 void test_FreeFunction(AllocType& alloc) in test_FreeFunction() argument
65 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FreeFunction()
75 void test_MemFunClass(AllocType& alloc) in test_MemFunClass() argument
87 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_MemFunClass()
97 void test_for_alloc(Alloc& alloc) in test_for_alloc() argument
100 test_FunctionObject<int()>(alloc); in test_for_alloc()
101 test_FunctionObject<int(int)>(alloc); in test_for_alloc()
102 test_FunctionObject<int(int, int)>(alloc); in test_for_alloc()
[all …]
Dalloc_F.pass.cpp41 void test_FunctionObject(AllocType& alloc) in test_FunctionObject() argument
48 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject()
61 void test_FreeFunction(AllocType& alloc) in test_FreeFunction() argument
67 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction()
78 void test_MemFunClass(AllocType& alloc) in test_MemFunClass() argument
84 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_MemFunClass()
94 void test_for_alloc(Alloc& alloc) { in test_for_alloc() argument
95 test_FunctionObject<int()>(alloc); in test_for_alloc()
96 test_FunctionObject<int(int)>(alloc); in test_for_alloc()
97 test_FunctionObject<int(int, int)>(alloc); in test_for_alloc()
[all …]
/external/skia/tests/
DVkHeapTests.cpp28 REPORTER_ASSERT(reporter, heap.alloc(64 * 1024, &alloc0)); in subheap_test()
36 REPORTER_ASSERT(reporter, heap.alloc(16 * 1024, &alloc0)); in subheap_test()
37 REPORTER_ASSERT(reporter, heap.alloc(23 * 1024, &alloc1)); in subheap_test()
38 REPORTER_ASSERT(reporter, heap.alloc(18 * 1024, &alloc2)); in subheap_test()
44 REPORTER_ASSERT(reporter, heap.alloc(6 * 1024, &alloc3)); in subheap_test()
47 REPORTER_ASSERT(reporter, heap.alloc(23 * 1024, &alloc1)); in subheap_test()
63 REPORTER_ASSERT(reporter, heap.alloc(4 * 1024, &alloc0)); in subheap_test()
64 REPORTER_ASSERT(reporter, heap.alloc(35 * 1024, &alloc1)); in subheap_test()
65 REPORTER_ASSERT(reporter, heap.alloc(10 * 1024, &alloc2)); in subheap_test()
78 REPORTER_ASSERT(reporter, heap.alloc(19 * 1024, &alloc0)); in subheap_test()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dcompare-alloca.ll6 %alloc = alloca i64
7 %cmp = icmp eq i64* %arg, %alloc
14 %alloc = alloca i64
15 %cmp = icmp eq i64* %alloc, %arg
22 %alloc = alloca i64
23 %cmp = icmp ne i64* %arg, %alloc
30 %alloc = alloca i64, i64 8
32 %q = getelementptr i64, i64* %alloc, i64 3
41 %alloc = alloca i64
42 call void @escape(i64* %alloc)
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_wsi_x11.c47 &device->instance->alloc, in radv_GetPhysicalDeviceXcbPresentationSupportKHR()
61 &device->instance->alloc, in radv_GetPhysicalDeviceXlibPresentationSupportKHR()
72 const VkAllocationCallbacks *alloc; in radv_CreateXcbSurfaceKHR() local
76 alloc = pAllocator; in radv_CreateXcbSurfaceKHR()
78 alloc = &instance->alloc; in radv_CreateXcbSurfaceKHR()
80 return wsi_create_xcb_surface(alloc, pCreateInfo, pSurface); in radv_CreateXcbSurfaceKHR()
90 const VkAllocationCallbacks *alloc; in radv_CreateXlibSurfaceKHR() local
95 alloc = pAllocator; in radv_CreateXlibSurfaceKHR()
97 alloc = &instance->alloc; in radv_CreateXlibSurfaceKHR()
99 return wsi_create_xlib_surface(alloc, pCreateInfo, pSurface); in radv_CreateXlibSurfaceKHR()
/external/mesa3d/src/intel/vulkan/
Danv_wsi_x11.c43 &device->instance->alloc, in anv_GetPhysicalDeviceXcbPresentationSupportKHR()
57 &device->instance->alloc, in anv_GetPhysicalDeviceXlibPresentationSupportKHR()
68 const VkAllocationCallbacks *alloc; in anv_CreateXcbSurfaceKHR() local
72 alloc = pAllocator; in anv_CreateXcbSurfaceKHR()
74 alloc = &instance->alloc; in anv_CreateXcbSurfaceKHR()
76 return wsi_create_xcb_surface(alloc, pCreateInfo, pSurface); in anv_CreateXcbSurfaceKHR()
86 const VkAllocationCallbacks *alloc; in anv_CreateXlibSurfaceKHR() local
91 alloc = pAllocator; in anv_CreateXlibSurfaceKHR()
93 alloc = &instance->alloc; in anv_CreateXlibSurfaceKHR()
95 return wsi_create_xlib_surface(alloc, pCreateInfo, pSurface); in anv_CreateXlibSurfaceKHR()
/external/libcxx/test/std/containers/sequences/vector.bool/
Dconstruct_iter_iter_alloc.pass.cpp40 std::allocator<bool> alloc; in main() local
41 … test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); in main()
42 …st<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); in main()
43 …or<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); in main()
44 …or<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); in main()
45 test<std::vector<bool> >(a, an, alloc); in main()
49 min_allocator<bool> alloc; in main() local
50 …ol, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); in main()
51 …min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); in main()
52 …r<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); in main()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_vec4_live_variables.h63 vec4_live_variables(const simple_allocator &alloc, cfg_t *cfg);
76 const simple_allocator &alloc; variable
85 var_from_reg(const simple_allocator &alloc, const src_reg &reg,
88 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
91 8 * (alloc.offsets[reg.nr] + reg.offset / REG_SIZE) +
94 assert(result < 8 * (alloc.offsets[reg.nr] + alloc.sizes[reg.nr]));
99 var_from_reg(const simple_allocator &alloc, const dst_reg &reg,
102 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
105 8 * (alloc.offsets[reg.nr] + reg.offset / REG_SIZE) +
108 assert(result < 8 * (alloc.offsets[reg.nr] + alloc.sizes[reg.nr]));
Dbrw_vec4_live_variables.cpp81 const unsigned v = var_from_reg(alloc, inst->src[i], c, j); in setup_def_use()
104 const unsigned v = var_from_reg(alloc, inst->dst, c, i); in setup_def_use()
183 vec4_live_variables::vec4_live_variables(const simple_allocator &alloc, in vec4_live_variables() argument
185 : alloc(alloc), cfg(cfg) in vec4_live_variables()
189 num_vars = alloc.total_size * 8; in vec4_live_variables()
239 int *start = ralloc_array(mem_ctx, int, this->alloc.total_size * 8); in calculate_live_intervals()
240 int *end = ralloc_array(mem_ctx, int, this->alloc.total_size * 8); in calculate_live_intervals()
246 for (unsigned i = 0; i < this->alloc.total_size * 8; i++) { in calculate_live_intervals()
260 const unsigned v = var_from_reg(alloc, inst->src[i], c, j); in calculate_live_intervals()
272 const unsigned v = var_from_reg(alloc, inst->dst, c, i); in calculate_live_intervals()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dconstruct_iter_iter_alloc.pass.cpp56 std::allocator<int> alloc; in main() local
57 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); in main()
58 … test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); in main()
59 …ector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); in main()
60 …ector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); in main()
61 test<std::vector<int> >(a, an, alloc); in main()
67 min_allocator<int> alloc; in main() local
68 …r<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); in main()
69 …t, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); in main()
70 …ator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); in main()
[all …]
/external/curl/lib/
Descape.c82 size_t alloc; in curl_easy_escape() local
94 alloc = (inlength?(size_t)inlength:strlen(string))+1; in curl_easy_escape()
95 newlen = alloc; in curl_easy_escape()
97 ns = malloc(alloc); in curl_easy_escape()
101 length = alloc-1; in curl_easy_escape()
111 if(newlen > alloc) { in curl_easy_escape()
112 alloc *= 2; in curl_easy_escape()
113 testing_ptr = Curl_saferealloc(ns, alloc); in curl_easy_escape()
153 size_t alloc = (length?length:strlen(string))+1; in Curl_urldecode() local
154 char *ns = malloc(alloc); in Curl_urldecode()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_array.h37 size_t alloc; member
46 arr->alloc = 0; in nir_array_init()
68 if (new_size > arr->alloc) { in nir_array_grow()
69 if (arr->alloc == 0) in nir_array_grow()
70 arr->alloc = NIR_ARRAY_INITIAL_SIZE; in nir_array_grow()
72 while (new_size > arr->alloc) in nir_array_grow()
73 arr->alloc *= 2; in nir_array_grow()
76 arr->data = reralloc_size(arr->mem_ctx, arr->data, arr->alloc); in nir_array_grow()
78 arr->data = realloc(arr->data, arr->alloc); in nir_array_grow()
/external/lzma/C/
DXzIn.c73 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAlloc *alloc) in Xz_ReadIndex2() argument
94 Xz_Free(p, alloc); in Xz_ReadIndex2()
100 p->blocks = alloc->Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2()
118 static SRes Xz_ReadIndex(CXzStream *p, ILookInStream *stream, UInt64 indexSize, ISzAlloc *alloc) in Xz_ReadIndex() argument
128 buf = alloc->Alloc(alloc, size); in Xz_ReadIndex()
133 res = Xz_ReadIndex2(p, buf, size, alloc); in Xz_ReadIndex()
134 alloc->Free(alloc, buf); in Xz_ReadIndex()
145 …atic SRes Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAlloc *alloc) in Xz_ReadBackward() argument
209 RINOK(Xz_ReadIndex(p, stream, indexSize, alloc)); in Xz_ReadBackward()
241 void Xzs_Free(CXzs *p, ISzAlloc *alloc) in Xzs_Free() argument
[all …]
/external/openssh/
Dsshbuf.c41 buf->alloc > buf->max_size || in sshbuf_check_sanity()
42 buf->size > buf->alloc || in sshbuf_check_sanity()
76 ret->alloc = SSHBUF_SIZE_INIT; in sshbuf_new()
81 if ((ret->cd = ret->d = calloc(1, ret->alloc)) == NULL) { in sshbuf_new()
96 ret->alloc = ret->size = ret->max_size = len; in sshbuf_from()
138 ret->alloc = SSHBUF_SIZE_INIT; in sshbuf_init()
143 if ((ret->cd = ret->d = calloc(1, ret->alloc)) == NULL) in sshbuf_init()
144 ret->alloc = 0; in sshbuf_init()
178 explicit_bzero(buf->d, buf->alloc); in sshbuf_free()
197 explicit_bzero(buf->d, buf->alloc); in sshbuf_reset()
[all …]
/external/clang/test/SemaObjC/
Dclass-message-protocol-lookup.m7 + (id)alloc; class
15 + (id)alloc; class
21 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return …
23 Class<Test2Protocol> c2 = [c2 alloc]; // ok
25 + (id)alloc { return 0; } class
30 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return …
32 Class<Test2Protocol> c2 = [c2 alloc]; // ok

12345678910>>...44