Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h530 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 …]
Dsanitizer_common.cc191 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/
Dproduct_threshold.cpp11 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/
Dmap_unittest.cc139 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/
Daxmap.c74 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/
Daxmap.c42 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/
Dtdb.c226 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/
Dstrings.c479 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/
Dcfi_frame_info.h243 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/
Di915_prim_vbuf.c91 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/
Dnv50_program.h48 uint8_t map_size; member
Dnv50_program.c287 so->map_size = base[3] + so->num_attribs[3]; in nv50_program_create_strmout_state()
Dnv50_shader_state.c427 for (i = 0; i < vp->so->map_size; ++i) { in nv50_fp_linkage_validate()
/external/llvm/tools/lto/
Dlto.cpp147 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/
Dlto.h226 size_t map_size, off_t offset);
/external/libunwind/src/dwarf/
DGfind_unwind_table.c41 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/
DLTOModule.h96 size_t map_size, off_t offset,
/external/v8/test/cctest/
Dtest-serialize.cc248 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/
DLTOModule.cpp113 size_t map_size, off_t offset, in createFromOpenFileSlice() argument
117 MemoryBuffer::getOpenFileSlice(fd, path, map_size, offset); in createFromOpenFileSlice()