Searched refs:map_size (Results 1 – 10 of 10) sorted by relevance
/external/qemu/android/utils/ |
D | mapfile.c | 161 size_t map_size; in mapfile_map() local 179 map_size = (size_t)(offset - map_offset + size); in mapfile_map() 182 if (map_size < size) { in mapfile_map() 209 converter.QuadPart = map_offset + map_size; in mapfile_map() 215 converter.LowPart, map_size); in mapfile_map() 226 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)(ptrdiff_t)handle, map_offset); in mapfile_map()
|
/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/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 228 tdb_len_t map_size; /* how much space has been mapped */ member 840 if (len <= tdb->map_size) in tdb_oob() 847 (int)len, (int)tdb->map_size)); in tdb_oob() 869 tdb->map_size = st.st_size; in tdb_oob() 930 (int)tdb->map_size)); in tdb_read() 974 int ret = munmap(tdb->map_ptr, tdb->map_size); in tdb_munmap() 990 tdb->map_ptr = mmap(NULL, tdb->map_size, in tdb_mmap() 1001 tdb->map_size, strerror(errno))); in tdb_mmap() 1063 tdb->methods->tdb_oob(tdb, tdb->map_size + 1, 1); in tdb_expand() 1067 size = TDB_ALIGN(tdb->map_size + size*10, tdb->page_size) - tdb->map_size; in tdb_expand() [all …]
|
/external/qemu/android/ |
D | charmap.c | 558 int map_size = 52; in parse_kcm_file() local 576 AARRAY_NEW0(char_map->entries, map_size); in parse_kcm_file() 590 if (map_size == char_map->num_entries) { in parse_kcm_file() 592 map_size += 10; in parse_kcm_file() 593 AARRAY_RENEW(entries, map_size); in parse_kcm_file()
|
/external/elfutils/src/ |
D | strings.c | 481 size_t map_size = MIN ((off64_t) mmap_max, fdlen); in map_file() 490 mem = mmap64 (NULL, map_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, in map_file() 495 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); in map_file() 503 map_size /= 2; in map_file() 504 if (map_size < map_size_min) in map_file() 509 *map_sizep = map_size; in map_file()
|
/external/llvm/tools/lto/ |
D | lto.cpp | 80 size_t map_size, in lto_module_create_from_fd_at_offset() argument 82 return LTOModule::makeLTOModule(fd, path, file_size, map_size, in lto_module_create_from_fd_at_offset()
|
D | LTOModule.h | 85 size_t map_size,
|
D | LTOModule.cpp | 100 size_t map_size, in makeLTOModule() argument 105 map_size, offset, false)) { in makeLTOModule()
|
/external/llvm/include/llvm-c/ |
D | lto.h | 145 size_t map_size, off_t offset);
|
/external/v8/test/cctest/ |
D | test-serialize.cc | 406 int new_size, pointer_size, data_size, code_size, map_size, cell_size; in ReserveSpaceForPartialSnapshot() local 417 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size)); in ReserveSpaceForPartialSnapshot() 428 map_size, in ReserveSpaceForPartialSnapshot()
|