Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 16 of 16) sorted by relevance

/aosp12/bionic/libc/bionic/
H A Dmalloc_common.cpp84 Malloc(free)(mem); in free()
344 Malloc(calloc),
345 Malloc(free),
346 Malloc(mallinfo),
347 Malloc(malloc),
349 Malloc(memalign),
352 Malloc(pvalloc),
354 Malloc(realloc),
356 Malloc(valloc),
361 Malloc(mallopt),
[all …]
H A Dmalloc_limit.cpp134 return Malloc(free)(mem); in LimitFree()
146 return IncrementLimit(Malloc(malloc)(bytes)); in LimitMalloc()
211 new_ptr = Malloc(realloc)(old_mem, bytes); in LimitRealloc()
240 return IncrementLimit(Malloc(pvalloc)(bytes)); in LimitPvalloc()
252 return IncrementLimit(Malloc(valloc)(bytes)); in LimitValloc()
341 return Malloc(malloc_usable_size)(mem); in LimitUsableSize()
349 return Malloc(mallinfo)(); in LimitMallinfo()
365 Malloc(malloc_disable)(); in LimitMallocDisable()
374 Malloc(malloc_enable)(); in LimitMallocEnable()
383 return Malloc(malloc_info)(options, fp); in LimitMallocInfo()
[all …]
H A Dgwp_asan_wrappers.cpp181 Malloc(mallinfo),
184 Malloc(memalign),
185 Malloc(posix_memalign),
187 Malloc(pvalloc),
191 Malloc(valloc),
196 Malloc(mallopt),
197 Malloc(aligned_alloc),
198 Malloc(malloc_info),
H A Dmalloc_common.h54 #define Malloc(function) __sanitizer_ ## function macro
61 #define Malloc(function) scudo_ ## function
66 #define Malloc(function) scudo_svelte_ ## function
71 #define Malloc(function) je_ ## function
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dallocatorstest.cpp23 EXPECT_TRUE(a.Malloc(0) == 0); in TestAllocator()
25 uint8_t* p = (uint8_t*)a.Malloc(100); in TestAllocator()
47 EXPECT_TRUE(a.Realloc(a.Malloc(1), 1, 0) == 0); in TestAllocator()
60 EXPECT_TRUE(a.Malloc(i) != 0); in TEST()
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dallocators.h65 void* Malloc(size_t size) { in Malloc() function
176 void* Malloc(size_t size) { in Malloc() function
192 return Malloc(newSize); in Realloc()
212 void* newBuffer = Malloc(newSize); in Realloc()
234 …ChunkHeader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof(… in AddChunk()
H A Ddocument.h1001 … o.members = reinterpret_cast<Member*>(allocator.Malloc(o.capacity * sizeof(Member)));
1686 data_.a.elements = (GenericValue*)allocator.Malloc(count * sizeof(GenericValue));
1698 data_.o.members = (Member*)allocator.Malloc(count * sizeof(Member));
1723 str = (Ch *)allocator.Malloc((s.length + 1) * sizeof(Ch));
H A Dpointer.h739 …tokens_ = static_cast<Token *>(allocator_->Malloc(tokenCount_ * sizeof(Token) + (nameBufferSize + …
782 …Token* token = tokens_ = static_cast<Token *>(allocator_->Malloc(tokenCount_ * sizeof(Token) + len… in Parse()
/aosp12/bionic/libc/malloc_debug/
H A DREADME_marshmallow_and_earlier.md1 Malloc Debug
4 Malloc debug is a method of debugging native memory problems. It can help
37 Controlling Malloc Debug Behavior
39 Malloc debug is controlled by a system property that takes a numeric value
H A DREADME_api.md3 Malloc debug can be used to get information on all of the live allocations
H A DREADME.md1 Malloc Debug
4 Malloc debug is a method of debugging native memory problems. It can help
39 Controlling Malloc Debug Behavior
41 Malloc debug is controlled by individual options. Each option can be enabled
/aosp12/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_system_tests.cpp274 static void Malloc() { in Malloc() function
281 Malloc(); in TEST()
286 Malloc(); in TEST()
/aosp12/bionic/libc/malloc_hooks/
H A DREADME.md1 Malloc Hooks
4 Malloc hooks allows a program to intercept all allocation/free calls that
/aosp12/frameworks/native/libs/binder/ndk/
H A DAndroid.bp134 "-clang-analyzer-unix.Malloc",
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
H A Dinternals.md139 void* Malloc(size_t size);
153 Note that `Malloc()` and `Realloc()` are member functions but `Free()` is static member function.
/aosp12/bionic/docs/
H A Dnative_allocator.md326 To generate these traces, see the [Malloc Debug documentation](https://android.googlesource.com/pla…