/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | linemap.c | 66 unsigned long map_size; member 95 for (i = linemap->map_size; i > 0; i--) { in yasm_linemap_set() 97 if (i < linemap->map_size) { in yasm_linemap_set() 99 linemap->map_size = i + 1; in yasm_linemap_set() 107 if (linemap->map_size >= linemap->map_allocated) { in yasm_linemap_set() 113 mapping = &linemap->map_vector[linemap->map_size]; in yasm_linemap_set() 114 linemap->map_size++; in yasm_linemap_set() 120 if (linemap->map_size >= 2) in yasm_linemap_set() 122 linemap->map_vector[linemap->map_size-2].filename; in yasm_linemap_set() 150 mapping = &linemap->map_vector[linemap->map_size-1]; in yasm_linemap_poke() [all …]
|
/external/chromium_org/base/files/ |
D | memory_mapped_file_posix.cc | 24 size_t map_size = 0; in MapFileRegionToMemory() local 33 map_size = static_cast<size_t>(file_len); in MapFileRegionToMemory() 34 length_ = map_size; in MapFileRegionToMemory() 59 map_size = static_cast<size_t>(aligned_size); in MapFileRegionToMemory() 64 map_size, in MapFileRegionToMemory()
|
D | memory_mapped_file_win.cc | 36 SIZE_T map_size = 0; in MapFileRegionToMemory() local 65 map_size = static_cast<SIZE_T>(size); in MapFileRegionToMemory() 73 map_size)); in MapFileRegionToMemory()
|
/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 }; }; argument 15 template<> struct map_size<13> { enum { ret = 300 }; }; struct 131 std::cout << map_size<N>::ret << "\t"; in run()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 526 uptr map_size = kUserMapSize; in PopulateFreeList() local 527 while (end_idx + size > region->mapped_user + map_size) in PopulateFreeList() 528 map_size += kUserMapSize; in PopulateFreeList() 529 CHECK_GE(region->mapped_user + map_size, end_idx); in PopulateFreeList() 530 MapWithCallback(region_beg + region->mapped_user, map_size); in PopulateFreeList() 531 stat->Add(AllocatorStatMapped, map_size); in PopulateFreeList() 532 region->mapped_user += map_size; in PopulateFreeList() 538 uptr map_size = kMetaMapSize; in PopulateFreeList() local 539 while (region->allocated_meta > region->mapped_meta + map_size) in PopulateFreeList() 540 map_size += kMetaMapSize; in PopulateFreeList() [all …]
|
D | sanitizer_common.cc | 134 uptr map_size = size + alignment; in MmapAlignedOrDie() local 135 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie() 136 uptr map_end = map_res + map_size; in MmapAlignedOrDie()
|
/external/qemu/android/utils/ |
D | mapfile.c | 159 size_t map_size; in mapfile_map() local 177 map_size = (size_t)(offset - map_offset + size); in mapfile_map() 180 if (map_size < size) { in mapfile_map() 207 converter.QuadPart = map_offset + map_size; in mapfile_map() 213 converter.LowPart, map_size); in mapfile_map() 224 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/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_ashmem.cpp | 50 const size_t map_size = PAGE_SIZE; in CheckFileDescriptorIsReadOnly() local 55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) { in CheckFileDescriptorIsReadOnly() 69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) { in CheckFileDescriptorIsReadOnly()
|
/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 | 43 unsigned long map_size; member 69 memset(al->map, 0, al->map_size * sizeof(unsigned long)); in axmap_reset() 113 al->map_size = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT; in axmap_new() 114 al->map = smalloc(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/chromium_org/gpu/command_buffer/service/ |
D | program_cache.cc | 108 const size_t map_size = CalculateMapSize(bind_attrib_location_map); in ComputeProgramHash() local 109 const size_t total_size = shader0_size + shader1_size + map_size; in ComputeProgramHash() 114 if (map_size != 0) { in ComputeProgramHash()
|
/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/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/0.153/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/chromium_org/net/tools/disk_cache_memory_test/ |
D | disk_cache_memory_test.cc | 186 uint64 map_size = 0; in ParseRangeProperty() local 187 if (!base::StringToUint64(size_str, &map_size)) in ParseRangeProperty() 190 *size = map_size; in ParseRangeProperty()
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
D | nv50_program.h | 48 uint8_t map_size; member
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_program.h | 48 uint8_t map_size; member
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | component_extension_ime_manager_impl.cc | 352 size_t map_size = arraysize(kInputMethodNameMap); in ReadEngineComponent() local 356 std::lower_bound(map, map + map_size, map_key); in ReadEngineComponent() 357 if (p != map + map_size && name == p->message_name) in ReadEngineComponent()
|
/external/llvm/tools/lto/ |
D | lto.cpp | 126 size_t map_size, in lto_module_create_from_fd_at_offset() argument 130 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 | 197 size_t map_size, off_t offset);
|
/external/llvm/include/llvm/LTO/ |
D | LTOModule.h | 91 size_t map_size, off_t offset,
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 88 size_t map_size, off_t offset, in createFromOpenFileSlice() argument 92 MemoryBuffer::getOpenFileSlice(fd, path, map_size, offset); in createFromOpenFileSlice()
|