/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | malloc_hook_mmap_freebsd.h | 30 // Override mmap/munmap/mremap/sbrk to provide support for calling the 43 // Make sure mmap doesn't get #define'd away by <sys/mman.h> 44 #undef mmap macro 59 void* mmap(void *start, size_t length,int prot, int flags, 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags,
|
H A D | malloc_hook_mmap_linux.h | 33 // We define mmap() and mmap64(), which somewhat reimplements libc's mmap 35 // (which we're overriding with our mmap64() and mmap() wrappers) so we can't 74 // 64b and 32b have different calling conventions for mmap(). 122 // have 64-bit mmap() support. 130 // Fall back to old 32-bit offset mmap() call 137 // Some Linux ports like ARM EABI Linux has no mmap, just mmap2. 153 // calls right into mmap and mmap64, so that the stack frames in the caller's 161 // Make sure mmap doesn't get #define'd away by <sys/mman.h> 162 # undef mmap macro [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | malloc_hook_mmap_freebsd.h | 30 // Override mmap/munmap/mremap/sbrk to provide support for calling the 43 // Make sure mmap doesn't get #define'd away by <sys/mman.h> 44 #undef mmap macro 59 void* mmap(void *start, size_t length,int prot, int flags, 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags,
|
H A D | malloc_hook_mmap_linux.h | 33 // We define mmap() and mmap64(), which somewhat reimplements libc's mmap 35 // (which we're overriding with our mmap64() and mmap() wrappers) so we can't 50 // 64b and 32b have different calling conventions for mmap(). 96 // have 64-bit mmap() support. 104 // Fall back to old 32-bit offset mmap() call 111 // Some Linux ports like ARM EABI Linux has no mmap, just mmap2. 127 // calls right into mmap and mmap64, so that the stack frames in the caller's 135 // Make sure mmap doesn't get #define'd away by <sys/mman.h> 136 # undef mmap macro [all...] |
H A D | system-alloc.cc | 45 #include <sys/mman.h> // for munmap, mmap, MADV_DONTNEED, etc 118 // Page size is initialized on demand (only needed for mmap-based allocators) 139 "Whether mmap can be used to obtain memory."); 273 // Check if we should use mmap allocation. 278 // sbrk is used until the heap is exhausted (before mmap is used). 308 void* result = mmap(NULL, size + extra, 398 void *result = mmap(0, size + extra, PROT_WRITE|PROT_READ, 447 MmapSysAllocator *mmap = new (mmap_space) MmapSysAllocator(); local 450 // In 64-bit debug mode, place the mmap allocator first since it 459 sdef->SetChildAllocator(mmap, [all...] |
/external/openfst/src/include/fst/ |
H A D | mapped-file.h | 33 // mmap'ed files. If mmap equals NULL, then data represents an owned region of 34 // size bytes. Otherwise, mmap and size refer to the mapping and data is a 35 // casted pointer to a region contained within [mmap, mmap + size). 36 // If size is 0, then mmap refers and data refer to a block of memory managed 40 void *mmap; member in struct:fst::MemoryRegion
|
/external/linux-tools-perf/util/ |
H A D | evlist.h | 30 struct perf_mmap *mmap; member in struct:perf_evlist
|
H A D | session.h | 80 event_op mmap, member in struct:perf_event_ops
|
/external/libvpx/libvpx/ |
H A D | example_xma.c | 69 void my_mem_dtor(vpx_codec_mmap_t *mmap) { argument 71 printf("freeing segment %d\n", mmap->id); 73 free(mmap->priv); 155 vpx_codec_mmap_t mmap; local 158 res = vpx_codec_get_mem_map(&decoder, &mmap, &iter); 159 align = mmap.align ? mmap.align - 1 : 0; 164 mmap.id, mmap.sz, mmap [all...] |
/external/libvpx/libvpx/vpx/src/ |
H A D | vpx_decoder.c | 188 vpx_codec_mmap_t *mmap, 192 if (!ctx || !mmap || !iter || !ctx->iface) 197 res = ctx->iface->get_mmap(ctx, mmap, iter); 204 vpx_codec_mmap_t *mmap, 208 if (!ctx || !mmap || !ctx->iface) 215 for (i = 0; i < num_maps; i++, mmap++) { 216 if (!mmap->base) 219 /* Everything look ok, set the mmap in the decoder */ 220 res = ctx->iface->set_mmap(ctx, mmap); 187 vpx_codec_get_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, vpx_codec_iter_t *iter) argument 203 vpx_codec_set_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, unsigned int num_maps) argument
|
H A D | vpx_codec.c | 139 // mmap interface 141 vpx_codec_err_t vpx_mmap_alloc(vpx_codec_mmap_t *mmap) { argument 142 unsigned int align = mmap->align ? mmap->align - 1 : 0; 144 if (mmap->flags & VPX_CODEC_MEM_ZERO) 145 mmap->priv = calloc(1, mmap->sz + align); 147 mmap->priv = malloc(mmap->sz + align); 149 if (mmap 155 vpx_mmap_dtor(vpx_codec_mmap_t *mmap) argument [all...] |
/external/grub/docs/ |
H A D | kernel.c | 136 memory_map_t *mmap; local 140 for (mmap = (memory_map_t *) mbi->mmap_addr; 141 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length; 142 mmap = (memory_map_t *) ((unsigned long) mmap 143 + mmap->size + sizeof (mmap->size))) 146 (unsigned) mmap->size, 147 (unsigned) mmap->base_addr_high, 148 (unsigned) mmap [all...] |
/external/marisa-trie/lib/marisa/ |
H A D | intvector.cc | 43 void IntVector::mmap(Mapper *mapper, const char *filename, function in class:marisa::IntVector
|
H A D | trie.cc | 12 void Trie::mmap(Mapper *mapper, const char *filename, function in class:marisa::Trie
|
H A D | bitvector.cc | 256 void BitVector::mmap(Mapper *mapper, const char *filename, function in class:marisa::BitVector
|
H A D | tail.cc | 30 void Tail::mmap(Mapper *mapper, const char *filename, function in class:marisa::Tail
|
H A D | vector-inline.h | 21 void Vector<T>::mmap(Mapper *mapper, const char *filename, function in class:marisa::Vector
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
H A D | intvector.cc | 43 void IntVector::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::IntVector
|
H A D | trie.cc | 12 void Trie::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Trie
|
H A D | bitvector.cc | 256 void BitVector::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::BitVector
|
H A D | tail.cc | 30 void Tail::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Tail
|
H A D | vector-inline.h | 21 void Vector<T>::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Vector
|
/external/chromium_org/tools/deep_memory_profiler/lib/ |
H A D | sorter.py | 56 def __init__(self, unit_id, committed, reserved, mmap, region, 60 self._mmap = mmap 74 def mmap(self): member in class:VMUnit 91 """Represents a Unit for a mmap'ed region.""" 107 """Represents a Unit for a non-mmap'ed memory region on virtual memory.""" 193 self._mmap = dct.get('mmap', None) 206 attributes.append('mmap: %s' % self._mmap) 221 if unit.mmap: 225 assert bucket.allocator_type == 'mmap'
|
/external/chromium_org/v8/tools/ |
H A D | stats-viewer.py | 37 import mmap namespace 73 # The handle created by mmap.mmap to the counters file. We need 120 self.shared_mmap = mmap.mmap(fileno, size, access=mmap.ACCESS_READ) 308 data: A handle to the memory-mapped file, as returned by mmap.mmap.
|
/external/kernel-headers/original/linux/ |
H A D | sysfs.h | 59 int (*mmap)(struct kobject *, struct bin_attribute *attr, member in struct:bin_attribute
|