/external/syslinux/com32/modules/ |
kbdmap.c | 27 size_t map_size; local 40 if (loadfile(argv[1], &kbdmap, &map_size)) { 45 if (map_size != kmap->length) { 50 memcpy(kmap->map, kbdmap, map_size);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
2-1.c | 32 int rc, fd, map_size; local 35 map_size = sysconf(_SC_PAGESIZE); 44 map_addr = mmap(NULL, map_size, PROT_NONE, MAP_PRIVATE, fd, 0); 55 rc = munmap(map_addr, map_size); 64 rc = munmap(map_addr, map_size);
|
/bionic/linker/ |
linker_mapped_file_fragment.cpp | 58 size_t map_size = static_cast<size_t>(end_offset - page_min); local 59 CHECK(map_size >= size); 62 mmap64(nullptr, map_size, PROT_READ, MAP_PRIVATE, fd, page_min)); 69 map_size_ = map_size;
|
/frameworks/compile/mclinker/lib/Target/ |
ELFEmulation.cpp | 75 const unsigned int map_size = (sizeof(map) / sizeof(map[0])); local 76 for (unsigned int i = 0; i < map_size; ++i) {
|
/external/fio/t/ |
axmap.c | 74 unsigned int map_size = size; local 82 map = axmap_new(map_size); 83 while (val + 128 <= map_size) {
|
/external/libchrome/base/files/ |
memory_mapped_file_posix.cc | 29 size_t map_size = 0; local 38 map_size = static_cast<size_t>(file_len); 39 length_ = map_size; 65 map_size = static_cast<size_t>(aligned_size); 90 data_ = static_cast<uint8_t*>(mmap(NULL, map_size, flags, MAP_SHARED,
|
/external/libchrome/base/trace_event/ |
heap_profiler_allocation_register_posix.cc | 33 size_t map_size = size + GetGuardSize(); local 35 void* addr = mmap(nullptr, map_size, PROT_READ | PROT_WRITE,
|
/system/core/libunwindstack/ |
MapInfo.cpp | 51 uint64_t map_size = end - start; local 52 if (!memory->Init(name, offset, map_size)) { 68 if (max_size > map_size) { 72 // Try to reinit using the default map_size. 73 if (memory->Init(name, offset, map_size)) {
|
/external/libunwind/src/dwarf/ |
Gfind_unwind_table.c | 41 unw_word_t map_size = ei->u.memory.end - ei->u.memory.start; local 42 while (dyn_offset + sizeof(dyn) < map_size) {
|
/external/eigen/bench/ |
product_threshold.cpp | 11 template<int S> struct map_size { enum { ret = S }; }; struct 12 template<> struct map_size<10> { enum { ret = 20 }; }; struct 13 template<> struct map_size<11> { enum { ret = 50 }; }; struct 14 template<> struct map_size<12> { enum { ret = 100 }; }; struct 15 template<> struct map_size<13> { enum { ret = 300 }; }; struct 131 std::cout << map_size<N>::ret << "\t";
|
/external/ltp/testcases/kernel/mem/mtest07/ |
shm_test.c | 277 int map_size; /* size of the file mapped. */ local 318 map_size = 322 chld_args[2] = map_size; 324 dprt("main(): thrd_ndx = %d map_address = %#x map_size = %d\n", 325 thrd_ndx, map_address, map_size);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.cc | 154 uptr map_size = size + alignment; local 155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); 156 uptr map_end = map_res + map_size;
|
/external/elfutils/src/ |
strings.c | 483 size_t map_size = MIN ((off_t) mmap_max, fdlen); local 492 mem = mmap (NULL, map_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, 497 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); 505 map_size /= 2; 506 if (map_size < map_size_min) 511 *map_sizep = map_size;
|
/external/fio/lib/ |
axmap.c | 42 unsigned long map_size; member in struct:axmap_level 68 memset(al->map, 0, al->map_size * sizeof(unsigned long)); 112 al->map_size = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; 113 al->map = malloc(al->map_size * sizeof(unsigned long)); 349 if (index >= al->map_size) { 354 for (j = index; j < al->map_size; j++) {
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_lru_map.c | 190 unsigned int map_size; local 205 map_size = tgt_free + batch_size; 206 lru_map_fd = create_map(map_type, map_flags, map_size); 209 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); 267 unsigned int map_size; local 282 map_size = tgt_free + batch_size; 283 lru_map_fd = create_map(map_type, map_flags, map_size); 286 expected_map_fd = create_map(BPF_MAP_TYPE_HASH, 0, map_size); 373 unsigned int map_size; local 388 map_size = tgt_free * 2 560 unsigned int map_size = tgt_free * 2; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_vbuf.c | 91 size_t map_size; member in struct:i915_vbuf_render 203 if (i915_render->vbo_size > i915_render->map_size) { 204 i915_render->map_size = i915_render->vbo_size; 206 i915_render->vbo_ptr = MALLOC(i915_render->map_size); 727 i915_render->map_size = 0;
|
/external/protobuf/src/google/protobuf/ |
map_field.cc | 430 int map_size = map_.size(); local 431 if (map_size) { 433 size += sizeof(it->first) * map_size; 434 size += sizeof(it->second) * map_size; 437 size += sizeof(string) * map_size; 443 size += sizeof(TYPE) * map_size; \
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_program.h | 48 uint8_t map_size; member in struct:nv50_stream_output_state
|
/system/core/libmemunreachable/ |
Allocator.cpp | 126 size_t map_size = size + align - kPageSize; local 127 if (map_size < size) { 131 void* ptr = mmap(NULL, map_size, prot, flags, -1, 0); 136 size_t aligned_size = map_size; 145 map_size -= extra; 150 if (map_size != size) { 151 assert(map_size > size); 153 munmap(reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(ptr) + size), map_size - size);
|
/art/runtime/gc/space/ |
large_object_space.cc | 194 const size_t map_size = mem_map->BaseSize(); local 195 DCHECK_GE(num_bytes_allocated_, map_size); 196 size_t allocation_size = map_size;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state_draw.c | 912 unsigned map_size; local [all...] |
/external/syslinux/gpxe/src/include/ |
pcmcia.h | 81 u_int map_size; member in struct:socket_cap_t
|
/external/ltp/testcases/kernel/fs/fsx-linux/ |
fsx-linux.c | 645 unsigned map_size; local 673 map_size = pg_offset + size; 675 if ((p = mmap(0, map_size, PROT_READ, MAP_FILE | MAP_SHARED, fd, 695 if (munmap(p, map_size) != 0) { 782 unsigned map_size; local 832 map_size = pg_offset + size; 835 mmap(0, map_size, PROT_READ | PROT_WRITE, MAP_FILE | MAP_SHARED, 855 if (msync(p, map_size, 0) != 0) { 866 if (munmap(p, map_size) != 0) {
|
/external/mesa3d/src/intel/vulkan/ |
anv_device.c | 1365 uint64_t map_size = (offset + size) - map_offset; local [all...] |
/external/python/cpython2/Modules/ |
mmapmodule.c | 1103 Py_ssize_t map_size; local 1262 Py_ssize_t map_size; local [all...] |