Searched defs:mmap (Results 1 - 25 of 34) sorted by relevance

12

/external/openfst/src/include/fst/
H A Dmapped-file.h33 // 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 Devlist.h30 struct perf_mmap *mmap; member in struct:perf_evlist
H A Dsession.h80 event_op mmap, member in struct:perf_event_ops
H A Devent.h136 struct mmap_event mmap; member in union:perf_event
/external/libvpx/libvpx/
H A Dexample_xma.c73 void my_mem_dtor(vpx_codec_mmap_t *mmap) argument
76 printf("freeing segment %d\n", mmap->id);
78 free(mmap->priv);
173 vpx_codec_mmap_t mmap; local
176 res = vpx_codec_get_mem_map(&decoder, &mmap, &iter);
177 align = mmap.align ? mmap.align - 1 : 0;
183 mmap.id, mmap.sz, mmap
[all...]
/external/libvpx/libvpx/vpx/src/
H A Dvpx_decoder.c203 vpx_codec_mmap_t *mmap,
208 if (!ctx || !mmap || !iter || !ctx->iface)
213 res = ctx->iface->get_mmap(ctx, mmap, iter);
220 vpx_codec_mmap_t *mmap,
225 if (!ctx || !mmap || !ctx->iface)
233 for (i = 0; i < num_maps; i++, mmap++)
235 if (!mmap->base)
238 /* Everything look ok, set the mmap in the decoder */
239 res = ctx->iface->set_mmap(ctx, mmap);
202 vpx_codec_get_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, vpx_codec_iter_t *iter) argument
219 vpx_codec_set_mem_map(vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, unsigned int num_maps) argument
/external/grub/docs/
H A Dkernel.c136 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 Dintvector.cc43 void IntVector::mmap(Mapper *mapper, const char *filename, function in class:marisa::IntVector
H A Dtrie.cc12 void Trie::mmap(Mapper *mapper, const char *filename, function in class:marisa::Trie
H A Dbitvector.cc256 void BitVector::mmap(Mapper *mapper, const char *filename, function in class:marisa::BitVector
H A Dtail.cc30 void Tail::mmap(Mapper *mapper, const char *filename, function in class:marisa::Tail
H A Dvector-inline.h21 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 Dintvector.cc43 void IntVector::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::IntVector
H A Dtrie.cc12 void Trie::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Trie
H A Dbitvector.cc256 void BitVector::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::BitVector
H A Dtail.cc30 void Tail::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Tail
H A Dvector-inline.h21 void Vector<T>::mmap(Mapper *mapper, const char *filename, function in class:marisa_alpha::Vector
/external/kernel-headers/original/linux/
H A Dsysfs.h59 int (*mmap)(struct kobject *, struct bin_attribute *attr, member in struct:bin_attribute
H A Dnet.h163 int (*mmap) (struct file *file, struct socket *sock, member in struct:proto_ops
268 SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_area_struct *vma), \
289 .mmap = __lock_##name##_mmap, \
/external/stlport/test/unit/
H A Dhash_test.cpp116 typedef hash_multimap<char, int, hash<char>,equal_to<char> > mmap; typedef
117 mmap m;
126 mmap::iterator i = m.find('X'); // Find first match.
143 mmap::iterator ite(m.begin());
144 mmap::const_iterator cite(m.begin());
H A Dmap_test.cpp79 typedef multimap<char, int, less<char> > mmap; typedef
80 mmap m;
90 mmap::iterator i = m.find('X'); // Find first match.
121 typedef multimap<int, char, less<int> > mmap; typedef
132 mmap m(array + 0, array + 6);
133 mmap::iterator i;
157 typedef multimap<int, char, less<int> > mmap; typedef
158 typedef mmap::value_type pair_type;
176 mmap m(array+0, array + 6);
179 mmap
[all...]
/external/v8/tools/
H A Dstats-viewer.py37 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.
H A Dll_prof.py34 import mmap namespace
349 self.log = mmap.mmap(self.log_file.fileno(), 0, mmap.MAP_PRIVATE)
607 self.trace = mmap.mmap(self.trace_file.fileno(), 0, mmap.MAP_PRIVATE)
/external/libffi/src/
H A Dclosures.c65 /* We need to use mmap, not sbrk. */
100 /* We don't want sys/mman.h to be included after we redefine mmap and
171 /* Use these for mmap and munmap within dlmalloc.c. */
175 #define mmap dlmmap macro
180 #undef mmap macro
374 ptr = mmap (NULL, length, (prot & ~PROT_WRITE) | PROT_EXEC,
390 start = mmap (start, length, prot, flags, execfd, offset);
425 ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset);
431 /* If MREMAP_DUP is ever introduced and implemented, try mmap
/external/libvpx/libvpx/vp8/
H A Dvp8_dx_iface.c94 static void vp8_mmap_dtor(vpx_codec_mmap_t *mmap) argument
96 free(mmap->priv);
99 static vpx_codec_err_t vp8_mmap_alloc(vpx_codec_mmap_t *mmap) argument
104 align = mmap->align ? mmap->align - 1 : 0;
106 if (mmap->flags & VPX_CODEC_MEM_ZERO)
107 mmap->priv = calloc(1, mmap->sz + align);
109 mmap->priv = malloc(mmap
152 vp8_init_ctx(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) argument
205 vpx_codec_mmap_t mmap; local
607 vp8_xma_get_mmap(const vpx_codec_ctx_t *ctx, vpx_codec_mmap_t *mmap, vpx_codec_iter_t *iter) argument
644 vp8_xma_set_mmap(vpx_codec_ctx_t *ctx, const vpx_codec_mmap_t *mmap) argument
[all...]

Completed in 523 milliseconds

12