/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 | 191 uptr map_size = size + alignment; in MmapAlignedOrDie() local 192 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie() 193 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 }; }; argument 13 template<> struct map_size<11> { enum { ret = 50 }; }; argument 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"; in run()
|
/external/webrtc/src/system_wrappers/source/ |
D | map_unittest.cc | 139 const int map_size = lhs.Size(); in CompareMaps() local 140 if (map_size != rhs.Size()) { in CompareMaps() 156 return item_count == map_size; in CompareMaps() 211 const int map_size = compare_map.Size(); in TEST_F() local 212 ASSERT_EQ(ascending_map_.Size(), map_size); in TEST_F() 230 EXPECT_EQ(map_size, copy_count); in TEST_F()
|
/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/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/src/ |
D | strings.c | 479 size_t map_size = MIN ((off64_t) mmap_max, fdlen); in map_file() local 488 mem = mmap64 (NULL, map_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, in map_file() 493 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); in map_file() 501 map_size /= 2; in map_file() 502 if (map_size < map_size_min) in map_file() 507 *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/tools/lto/ |
D | lto.cpp | 147 size_t map_size, in lto_module_create_from_fd_at_offset() argument 151 return wrap(LTOModule::createFromOpenFileSlice(fd, path, map_size, offset, in lto_module_create_from_fd_at_offset()
|
/external/llvm/include/llvm-c/ |
D | lto.h | 226 size_t map_size, off_t offset);
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 41 unw_word_t map_size = ei->u.memory.map->end - ei->u.memory.map->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 | 96 size_t map_size, off_t offset,
|
/external/v8/test/cctest/ |
D | test-serialize.cc | 248 int new_size, pointer_size, data_size, code_size, map_size, cell_size, in ReserveSpaceForSnapshot() local 259 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size)); in ReserveSpaceForSnapshot() 270 deserializer->set_reservation(MAP_SPACE, map_size); in ReserveSpaceForSnapshot()
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 113 size_t map_size, off_t offset, in createFromOpenFileSlice() argument 117 MemoryBuffer::getOpenFileSlice(fd, path, map_size, offset); in createFromOpenFileSlice()
|