/system/core/include/cutils/ |
mspace.h | 65 size_t mspace_usable_size(mspace, const void*); 71 bytes is ever allocated to the mspace. 73 mspace create_contiguous_mspace(size_t starting_capacity, size_t max_capacity, 77 Identical to create_contiguous_mspace, but labels the mapping 'mspace/name' 78 instead of 'mspace' 80 mspace create_contiguous_mspace_with_name(size_t starting_capacity, 86 mspace create_contiguous_mspace_with_base(size_t starting_capacity, 89 size_t destroy_contiguous_mspace(mspace msp); 92 Returns the position of the "break" within the given mspace. 94 void *contiguous_mspace_sbrk0(mspace msp) [all...] |
/bionic/libc/bionic/ |
dlmalloc.h | 22 * If MSPACES is defined, declarations for mspace versions are included. 485 mspace is an opaque type representing an independent 488 typedef void* mspace; typedef 501 mspace create_mspace(size_t capacity, int locked); 509 size_t destroy_mspace(mspace msp); 513 of a new mspace. Part (less than 128*sizeof(size_t) bytes) of this 520 mspace create_mspace_with_base(void* base, size_t capacity, int locked); 526 void* mspace_malloc(mspace msp, size_t bytes); 536 void mspace_free(mspace msp, void* mem); 547 void* mspace_realloc(mspace msp, void* mem, size_t newsize) [all...] |
dlmalloc.c | 201 are versions of malloc routines that take an "mspace" argument 207 static mspace mymspace = create_mspace(0,0); // for example 210 (Note: If you only need one instance of an mspace, you can instead 215 static __thread mspace tlms = 0; 222 Unless FOOTERS is defined, each mspace is completely independent. 226 indicating its originating mspace, and frees are directed to their 251 If true, only compile in mspace versions, not regular versions. 256 overridden on a per-mspace basis for mspace versions.) 1112 typedef void* mspace; typedef [all...] |
/system/core/libcutils/ |
mspace.c | 33 * that an mspace is contiguous. 70 * The mspace parameter isn't actually necessary, 74 size_t mspace_usable_size(mspace _unused, const void* mem) { 92 mspace m; 137 mspace create_contiguous_mspace_with_base(size_t starting_capacity, 156 /* Create the mspace, pointing to the memory given. 160 if (m == (mspace)0) { 170 /* Find out exactly how much of the memory the mspace 194 return (mspace)m; 197 return (mspace)0 [all...] |
Android.mk | 78 mspace.c \
|
/system/core/libpixelflinger/codeflinger/ |
CodeCache.h | 25 #include <cutils/mspace.h> 71 static mspace getMspace();
|
CodeCache.cpp | 85 mspace Assembly::getMspace() 87 static mspace msp = create_contiguous_mspace(2 * 1024, 1024 * 1024, /*locked=*/ false);
|
/dalvik/vm/alloc/ |
HeapSource.cpp | 17 #include <cutils/mspace.h> 68 /* The mspace to allocate from. 70 mspace msp; 76 /* Number of bytes allocated from this mspace for objects, 82 /* Number of bytes allocated from this mspace at which a 87 /* Number of objects currently allocated from this mspace. 187 * active mspace. idealSize can be greater than softLimit 289 static mspace createMspace(void *base, size_t startSize, size_t maximumSize) 291 /* Create an unlocked dlmalloc mspace to use as 302 mspace msp = create_contiguous_mspace_with_base(startSize/2 [all...] |
/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.12/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...] |