/external/eigen/unsupported/test/mpreal/ |
dlmalloc.h | 22 * If MSPACES is defined, declarations for mspace versions are included.
416 mspace is an opaque type representing an independent
419 typedef void* mspace;
typedef 432 mspace create_mspace(size_t capacity, int locked);
440 size_t destroy_mspace(mspace msp);
444 of a new mspace. Part (less than 128*sizeof(size_t) bytes) of this
451 mspace create_mspace_with_base(void* base, size_t capacity, int locked);
456 others in this mspace. By default large chunks are not tracked,
464 int mspace_track_large_chunks(mspace msp, int enable);
470 void* mspace_malloc(mspace msp, size_t bytes); [all...] |
dlmalloc.c | 180 are versions of malloc routines that take an "mspace" argument
186 static mspace mymspace = create_mspace(0,0); // for example
189 (Note: If you only need one instance of an mspace, you can instead
194 static __thread mspace tlms = 0;
201 Unless FOOTERS is defined, each mspace is completely independent.
205 indicating its originating mspace, and frees are directed to their
241 If true, only compile in mspace versions, not regular versions.
246 overridden on a per-mspace basis for mspace versions.) If set to a
1123 typedef void* mspace; typedef [all...] |
/bionic/libc/upstream-dlmalloc/ |
malloc.h | 20 * If MSPACES is defined, declarations for mspace versions are included. 526 mspace is an opaque type representing an independent 529 typedef void* mspace; typedef 542 mspace create_mspace(size_t capacity, int locked); 550 size_t destroy_mspace(mspace msp); 554 of a new mspace. Part (less than 128*sizeof(size_t) bytes) of this 561 mspace create_mspace_with_base(void* base, size_t capacity, int locked); 566 others in this mspace. By default large chunks are not tracked, 574 int mspace_track_large_chunks(mspace msp, int enable); 581 struct mallinfo mspace_mallinfo(mspace msp) [all...] |
malloc.c | 190 are versions of malloc routines that take an "mspace" argument 196 static mspace mymspace = create_mspace(0,0); // for example 199 (Note: If you only need one instance of an mspace, you can instead 204 static __thread mspace tlms = 0; 211 Unless FOOTERS is defined, each mspace is completely independent. 215 indicating its originating mspace, and frees are directed to their 260 If true, only compile in mspace versions, not regular versions. 265 overridden on a per-mspace basis for mspace versions.) If set to a 1272 typedef void* mspace; typedef [all...] |
/dalvik/vm/alloc/ |
DlMalloc.cpp | 24 extern void* dvmHeapSourceMorecore(void* mspace, intptr_t increment);
|
HeapSource.cpp | 63 /* The mspace to allocate from. 65 mspace msp; 71 /* Number of bytes allocated from this mspace for objects, 77 /* Number of bytes allocated from this mspace at which a 82 /* Number of objects currently allocated from this mspace. 97 * If the heap has an mspace, the current high water mark in 208 * active mspace. idealSize can be greater than softLimit 310 static mspace createMspace(void* begin, size_t morecoreStart, size_t startingSize) 314 // Allow access to inital pages that will hold mspace. 316 // Create mspace using our backing storage starting at begin and with a footprint o [all...] |
/art/runtime/gc/space/ |
dlmalloc_space.cc | 104 ValgrindDlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, 106 DlMallocSpace(name, mem_map, mspace, begin, end, growth_limit) { 119 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, 124 lock_("allocation space lock", kAllocSpaceLock), mspace_(mspace), 126 CHECK(mspace != NULL); 195 void* mspace = CreateMallocSpace(mem_map->Begin(), starting_size, initial_size); local 196 if (mspace == NULL) { 197 LOG(ERROR) << "Failed to initialize mspace for alloc space (" << name << ")"; 211 space = new ValgrindDlMallocSpace(name, mem_map_ptr, mspace, mem_map_ptr->Begin(), end, 214 space = new DlMallocSpace(name, mem_map_ptr, mspace, mem_map_ptr->Begin(), end, growth_limit) 312 void* mspace = CreateMallocSpace(end_, starting_size, initial_size); local [all...] |
space_test.cc | 313 // Mspace for raw dlmalloc operations 314 void* mspace = space->GetMspace(); local 316 // mspace's footprint equals amount of resources requested from system 317 size_t footprint = mspace_footprint(mspace); 319 // mspace must at least have its book keeping allocated 322 // mspace but it shouldn't exceed the initial size 328 // this invariant should always hold or else the mspace has grown to be larger than what the 359 footprint = mspace_footprint(mspace); 398 footprint = mspace_footprint(mspace); 424 footprint = mspace_footprint(mspace); [all...] |
dlmalloc_space.h | 52 // Allocate num_bytes without allowing the underlying mspace to grow. 56 // Allocate num_bytes allowing the underlying mspace to grow. 92 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When 93 // allocations fail we GC before increasing the footprint limit and allowing the mspace to grow. 150 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end,
|
/system/core/libpixelflinger/codeflinger/ |
CodeCache.cpp | 50 // A dlmalloc mspace is used to manage the code cache over a mmaped region. 78 static mspace gMspace = NULL; 81 static mspace getMspace()
|
/external/libffi/src/ |
dlmalloc.c | 174 are versions of malloc routines that take an "mspace" argument 180 static mspace mymspace = create_mspace(0,0); // for example 183 (Note: If you only need one instance of an mspace, you can instead 188 static __thread mspace tlms = 0; 195 Unless FOOTERS is defined, each mspace is completely independent. 199 indicating its originating mspace, and frees are directed to their 224 If true, only compile in mspace versions, not regular versions. 229 overridden on a per-mspace basis for mspace versions.) 1000 typedef void* mspace; typedef [all...] |
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_malloc.c | 210 are versions of malloc routines that take an "mspace" argument 216 static mspace mymspace = create_mspace(0,0); // for example 219 (Note: If you only need one instance of an mspace, you can instead 224 static __thread mspace tlms = 0; 231 Unless FOOTERS is defined, each mspace is completely independent. 235 indicating its originating mspace, and frees are directed to their 260 If true, only compile in mspace versions, not regular versions. 265 overridden on a per-mspace basis for mspace versions.) 1044 typedef void* mspace; typedef [all...] |