/external/libchrome/base/files/ |
D | memory_mapped_file_posix.cc | 28 size_t map_size = 0; in MapFileRegionToMemory() local 37 map_size = static_cast<size_t>(file_len); in MapFileRegionToMemory() 38 length_ = map_size; in MapFileRegionToMemory() 64 map_size = static_cast<size_t>(aligned_size); in MapFileRegionToMemory() 68 data_ = static_cast<uint8_t*>(mmap(NULL, map_size, PROT_READ, MAP_SHARED, in MapFileRegionToMemory()
|
/external/autotest/client/tests/fsx/ |
D | 0001-Minor-fixes-to-PAGE_SIZE-handling.patch | 45 - map_size = pg_offset + size; 46 + map_size = (pg_offset + size + PAGE_MASK) & ~PAGE_MASK; 49 if ((p = (char *)mmap(0, map_size, PROT_READ, MAP_SHARED, fd, 54 - map_size = pg_offset + size; 55 + map_size = (pg_offset + size + PAGE_MASK) & ~PAGE_MASK; 57 if ((p = (char *)mmap(0, map_size, PROT_READ | PROT_WRITE,
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 530 uptr map_size = kUserMapSize; in PopulateFreeList() local 531 while (end_idx + size > region->mapped_user + map_size) in PopulateFreeList() 532 map_size += kUserMapSize; in PopulateFreeList() 533 CHECK_GE(region->mapped_user + map_size, end_idx); in PopulateFreeList() 534 MapWithCallback(region_beg + region->mapped_user, map_size); in PopulateFreeList() 535 stat->Add(AllocatorStatMapped, map_size); in PopulateFreeList() 536 region->mapped_user += map_size; in PopulateFreeList() 542 uptr map_size = kMetaMapSize; in PopulateFreeList() local 543 while (region->allocated_meta > region->mapped_meta + map_size) in PopulateFreeList() 544 map_size += kMetaMapSize; in PopulateFreeList() [all …]
|
D | sanitizer_common.cc | 240 uptr map_size = size + alignment; in MmapAlignedOrDie() local 241 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie() 242 uptr map_end = map_res + map_size; in MmapAlignedOrDie()
|
/external/eigen/bench/ |
D | product_threshold.cpp | 11 template<int S> struct map_size { enum { ret = S }; }; argument 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 }; }; argument 15 template<> struct map_size<13> { enum { ret = 300 }; }; struct 131 std::cout << map_size<N>::ret << "\t"; in run()
|
/external/fio/t/ |
D | axmap.c | 74 unsigned int map_size = size; in test_multi() local 82 map = axmap_new(map_size); in test_multi() 83 while (val + 128 <= map_size) { in test_multi()
|
/external/fio/lib/ |
D | axmap.c | 42 unsigned long map_size; member 68 memset(al->map, 0, al->map_size * sizeof(unsigned long)); in axmap_reset() 112 al->map_size = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new() 113 al->map = malloc(al->map_size * sizeof(unsigned long)); in axmap_new() 348 if (index >= al->map_size) { in axmap_find_first_free() 353 for (j = index; j < al->map_size; j++) { in axmap_find_first_free()
|
/external/libchrome/base/trace_event/ |
D | heap_profiler_type_name_deduplicator.cc | 69 size_t map_size = type_ids_.size() * sizeof(std::pair<const char*, int>); in EstimateTraceMemoryOverhead() local 72 sizeof(TypeNameDeduplicator) + map_size); in EstimateTraceMemoryOverhead()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 226 tdb_len_t map_size; /* how much space has been mapped */ member 838 if (len <= tdb->map_size) in tdb_oob() 845 (int)len, (int)tdb->map_size)); in tdb_oob() 867 tdb->map_size = st.st_size; in tdb_oob() 928 (int)tdb->map_size)); in tdb_read() 972 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap() 988 tdb->map_ptr = mmap(NULL, tdb->map_size, in tdb_mmap() 999 tdb->map_size, strerror(errno))); in tdb_mmap() 1061 tdb->methods->tdb_oob(tdb, tdb->map_size + 1, 1); in tdb_expand() 1065 size = TDB_ALIGN(tdb->map_size + size*10, tdb->page_size) - tdb->map_size; in tdb_expand() [all …]
|
/external/elfutils/src/ |
D | strings.c | 483 size_t map_size = MIN ((off_t) mmap_max, fdlen); in map_file() local 492 mem = mmap (NULL, map_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, in map_file() 497 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); in map_file() 505 map_size /= 2; in map_file() 506 if (map_size < map_size_min) in map_file() 511 *map_sizep = map_size; in map_file()
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info.h | 243 SimpleCFIWalker(const RegisterSet *register_map, size_t map_size) in SimpleCFIWalker() argument 244 : register_map_(register_map), map_size_(map_size) { } in SimpleCFIWalker()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_prim_vbuf.c | 91 size_t map_size; member 203 if (i915_render->vbo_size > i915_render->map_size) { in i915_vbuf_render_new_buf() 204 i915_render->map_size = i915_render->vbo_size; in i915_vbuf_render_new_buf() 206 i915_render->vbo_ptr = MALLOC(i915_render->map_size); in i915_vbuf_render_new_buf() 725 i915_render->map_size = 0; in i915_vbuf_render_create()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_program.h | 48 uint8_t map_size; member
|
D | nv50_program.c | 287 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()
|
D | nv50_shader_state.c | 427 for (i = 0; i < vp->so->map_size; ++i) { in nv50_fp_linkage_validate()
|
/external/llvm/include/llvm-c/ |
D | lto.h | 228 size_t map_size, off_t offset);
|
/external/llvm/tools/lto/ |
D | lto.cpp | 215 size_t map_size, in lto_module_create_from_fd_at_offset() argument 220 *LTOContext, fd, path, map_size, offset, Options); in lto_module_create_from_fd_at_offset()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 41 unw_word_t map_size = ei->u.memory.end - ei->u.memory.start; in get_dyn_gp() local 42 while (dyn_offset + sizeof(dyn) < map_size) { in get_dyn_gp()
|
/external/llvm/include/llvm/LTO/ |
D | LTOModule.h | 101 size_t map_size, off_t offset, TargetOptions options);
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 122 const char *path, size_t map_size, in createFromOpenFileSlice() argument 125 MemoryBuffer::getOpenFileSlice(fd, path, map_size, offset); in createFromOpenFileSlice()
|
/external/kernel-headers/original/uapi/drm/ |
D | amdgpu_drm.h | 340 uint64_t map_size; member
|
/external/libdrm/include/drm/ |
D | amdgpu_drm.h | 340 uint64_t map_size; member
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 708 va.map_size = ALIGN(size, getpagesize()); in amdgpu_bo_va_op()
|