Home
last modified time | relevance | path

Searched refs:allocations (Results 1 – 25 of 68) sorted by relevance

123

/aosp12/system/chre/util/tests/
H A Dmemory_pool_test.cc73 std::vector<AllocationExpectedValuePair> allocations; in TEST() local
84 allocations.push_back(allocation); in TEST()
91 while (!allocations.empty()) { in TEST()
94 std::uniform_int_distribution<> distribution(0, allocations.size() - 1); in TEST()
98 EXPECT_EQ(*allocations[deallocateIndex].allocation, in TEST()
99 allocations[deallocateIndex].expectedValue); in TEST()
100 memoryPool.deallocate(allocations[deallocateIndex].allocation); in TEST()
103 allocations.erase(allocations.begin() + deallocateIndex); in TEST()
/aosp12/system/bt/osi/src/
H A Dallocation_tracker.cc42 static std::unordered_map<void*, allocation_t*> allocations; variable
69 allocations.clear(); in allocation_tracker_uninit()
77 allocations.clear(); in allocation_tracker_reset()
86 for (const auto& entry : allocations) { in allocation_tracker_expect_no_allocations()
112 auto map_entry = allocations.find(return_ptr); in allocation_tracker_notify_alloc()
114 if (map_entry != allocations.end()) { in allocation_tracker_notify_alloc()
119 allocations[return_ptr] = allocation; in allocation_tracker_notify_alloc()
141 auto map_entry = allocations.find(ptr); in allocation_tracker_notify_free()
142 CHECK(map_entry != allocations.end()); in allocation_tracker_notify_free()
166 allocations.erase(ptr); in allocation_tracker_notify_free()
/aosp12/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DIonMemoryUtil.java104 IonAllocations allocations = entries.get(pid); in parseProcessIonHeapSizesFromDebugfs() local
105 if (allocations == null) { in parseProcessIonHeapSizesFromDebugfs()
106 allocations = new IonAllocations(); in parseProcessIonHeapSizesFromDebugfs()
107 entries.put(pid, allocations); in parseProcessIonHeapSizesFromDebugfs()
109 allocations.pid = pid; in parseProcessIonHeapSizesFromDebugfs()
110 allocations.totalSizeInBytes += sizeInBytes; in parseProcessIonHeapSizesFromDebugfs()
111 allocations.count += 1; in parseProcessIonHeapSizesFromDebugfs()
112 allocations.maxSizeInBytes = Math.max(allocations.maxSizeInBytes, sizeInBytes); in parseProcessIonHeapSizesFromDebugfs()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
H A DIonMemoryUtilTest.java151 IonAllocations allocations = new IonAllocations(); in createIonAllocations() local
152 allocations.pid = pid; in createIonAllocations()
153 allocations.totalSizeInBytes = totalSizeInBytes; in createIonAllocations()
154 allocations.count = count; in createIonAllocations()
155 allocations.maxSizeInBytes = maxSizeInBytes; in createIonAllocations()
156 return allocations; in createIonAllocations()
/aosp12/bionic/libc/malloc_debug/
H A DREADME_marshmallow_and_earlier.md45 When enabled, this value creates a special header to all allocations
51 This option will slow down allocations by an order of magnitude, and
55 All of the currently live allocations will be tracked and can be retrieved
58 Note: If multiple allocations have the same exact backtrace, then only one
64 the content of allocations.
72 When enabled, this value creates a special header to all allocations
88 a list of freed allocations. In addition to being added to the list, the
93 When the list of freed allocations reaches 100, the oldest allocation
99 When the program completes, all of the allocations that are still live
118 Enable malloc debug for all allocations for all processes:
H A DREADME.md84 This option adds a special header to all allocations that contains
94 Enables both a front guard and a rear guard on all allocations.
101 This option will slow down allocations by an order of magnitude. If the
103 of frames captured will speed the allocations up.
196 a list of freed allocations. In addition to being added to the list, the
211 in the list. The default is to record 100 freed allocations, the max
212 allocations to record is 16384.
246 Track all live allocations. When the program terminates, all of the live
248 then the log will include the backtrace of the leaked allocations. This
370 file where the recorded allocations will be found.
[all …]
H A DREADME_api.md3 Malloc debug can be used to get information on all of the live allocations
41 *num\_allocations* contains the total number of allocations with the same
58 This helps to distinguish between native allocations created by the application.
/aosp12/art/test/104-growth-limit/src/
H A DMain.java51 int allocations = 0; in allocateTillOOME() local
57 allocations++; in allocateTillOOME()
63 return allocations; in allocateTillOOME()
/aosp12/frameworks/av/media/utils/
H A DMemoryLeakTrackUtil.cpp77 size_t allocations; in dumpMemoryAddresses() member
83 oss << (e->size * e->allocations) in dumpMemoryAddresses()
84 << " bytes ( " << e->size << " bytes * " << e->allocations << " allocations )\n"; in dumpMemoryAddresses()
/aosp12/system/memory/libmemunreachable/
H A DREADME.md6 …all to malloc and free, it queries the allocator (jemalloc) for active allocations when leak detec…
8 …enabled they will be included in the leak information, but backtracing allocations requires signif…
19 To enable malloc\_debug backtraces on allocations for a single app process on a userdebug device, u…
67 …10. *Sweeper process*: A list of all active allocations is produced by examining the memory mappin…
70 13. Unmarked allocations are sent over the pipe back to the original process.
81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
87 …quires a small interface to the allocator in order to collect information about active allocations.
90 - `malloc enable()`: re-enable allocations in all threads.
/aosp12/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/
H A Dstderr.txt.expect1 foreach_unexpected_allocs.rscript:10:3: error: Number of input and output allocations unexpected fo…
2 foreach_unexpected_allocs.rscript:11:3: error: Number of input and output allocations unexpected fo…
/aosp12/bionic/docs/
H A Dnative_allocator.md44 This function enumerates all of the allocations currently live in the
46 prevent further allocations while this call is being executed. To
82 server application that does a lot of native allocations and the
197 allocations of the same size at the same time.
208 related to having multiple allocations alive at the same time.
225 benchmark, only the time it takes to do the allocations is tracked, the
228 allocator, jemalloc, showed a problem at forty allocations.
249 This benchmark is a trace of the allocations performed when running
363 camera.txt trace. The camera application does very large allocations,
400 This is a benchmark that treats the trace data as if all allocations
[all …]
/aosp12/art/tools/ahat/
H A DREADME.txt37 * [low priority] by site allocations won't line up if the stack has been
104 Remove native allocations view.
123 Show registered native allocations for heap dumps that support it.
135 Enable stack allocations code (using custom modified perflib).
139 Enable stack allocations code (using custom modified perflib).
/aosp12/frameworks/rs/script_api/
H A Drs_for_each.spec39 allocations. This is a hint only. Implementations may not follow the suggestion.
50 The kernel context contains common characteristics of the allocations being iterated
105 Runs the kernel over zero or more input allocations. They are passed after the
107 must be specified as the last argument. All input allocations,
111 the work has completed for all cells of the input allocations. If the kernel
202 this API. If allocations are passed in, they must match the number of arguments
241 The kernel context contains common characteristics of the allocations being iterated
H A Drs_allocation_data.spec77 …map_face srcFace, "Cubemap face of the source allocation. Ignored for allocations that aren't cub…
/aosp12/frameworks/rs/script_api/include/
H A Drs_for_each.rsh36 * allocations. This is a hint only. Implementations may not follow the suggestion.
53 * The kernel context contains common characteristics of the allocations being iterated
106 * Runs the kernel over zero or more input allocations. They are passed after the
108 * must be specified as the last argument. All input allocations,
112 * the work has completed for all cells of the input allocations. If the kernel
141 * ...: Input and output allocations
183 * this API. If allocations are passed in, they must match the number of arguments
199 * ...: Input and output allocations
212 * The kernel context contains common characteristics of the allocations being iterated
361 * The kernel context contains common characteristics of the allocations being iterated
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DRequestBuilder.java91 public RequestImpl(CaptureRequestBuilderProxy builder, List<Allocation> allocations, in RequestImpl() argument
94 mAllocations = allocations; in RequestImpl()
/aosp12/art/test/154-gc-loop/
H A Dinfo.txt1 Test that GC doesn't happen too often for a few small allocations.
/aosp12/art/tools/jvmti-agents/ti-alloc-sample/
H A DREADME.md3 tiallocsample is a JVMTI agent designed to track the call stacks of allocations
29 The resulting file is a sequence of object allocations, with a limited form of
/aosp12/bionic/libc/malloc_hooks/
H A DREADME.md62 the caller must guarantee that it does not depend on allocations/frees
70 the original hook function to do allocations. If the app does not do this,
/aosp12/art/test/980-redefine-object/
H A Dinfo.txt21 It is also possible it could fail due to the pattern of allocations caused by
/aosp12/system/bt/
H A DEventLogTags.logtags29 # 4: Number of allocations
/aosp12/frameworks/compile/libbcc/tests/libbcc/
H A Dtbaa.ll2 ; alias with stores to allocations.
/aosp12/system/core/storaged/
H A DEventLogTags.logtags30 # 4: Number of allocations
/aosp12/system/logging/liblog/
H A Devent.logtags29 # 4: Number of allocations

123