Searched defs:map_size (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/base/files/
H A Dmemory_mapped_file_posix.cc24 size_t map_size = 0; local
33 map_size = static_cast<size_t>(file_len);
34 length_ = map_size;
59 map_size = static_cast<size_t>(aligned_size);
64 map_size,
H A Dmemory_mapped_file_win.cc36 SIZE_T map_size = 0; local
48 // Also, conversely to POSIX's mmap, the |map_size| doesn't have to be
65 map_size = static_cast<SIZE_T>(size);
73 map_size));
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_ashmem.cpp50 const size_t map_size = PAGE_SIZE; local
55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) {
69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) {
/external/fio/t/
H A Daxmap.c74 unsigned int map_size = size; local
82 map = axmap_new(map_size);
83 while (val + 128 <= map_size) {
/external/eigen/bench/
H A Dproduct_threshold.cpp11 template<int S> struct map_size { enum { ret = S }; }; struct
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 }; }; struct
15 template<> struct map_size<13> { enum { ret = 300 }; }; struct
131 std::cout << map_size<N>::ret << "\t";
/external/chromium_org/gpu/command_buffer/service/
H A Dprogram_cache.cc108 const size_t map_size = CalculateMapSize(bind_attrib_location_map); local
109 const size_t total_size = shader0_size + shader1_size + map_size;
114 if (map_size != 0) {
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dlinemap.c66 unsigned long map_size; member in struct:yasm_linemap
95 for (i = linemap->map_size; i > 0; i--) {
97 if (i < linemap->map_size) {
99 linemap->map_size = i + 1;
107 if (linemap->map_size >= linemap->map_allocated) {
113 mapping = &linemap->map_vector[linemap->map_size];
114 linemap->map_size++;
120 if (linemap->map_size >= 2)
122 linemap->map_vector[linemap->map_size-2].filename;
150 mapping = &linemap->map_vector[linemap->map_size
[all...]
/external/qemu/android/utils/
H A Dmapfile.c159 size_t map_size; local
177 map_size = (size_t)(offset - map_offset + size);
180 if (map_size < size) {
207 converter.QuadPart = map_offset + map_size;
213 converter.LowPart, map_size);
224 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)(ptrdiff_t)handle, map_offset);
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dcomponent_extension_ime_manager_impl.cc352 size_t map_size = arraysize(kInputMethodNameMap); local
356 std::lower_bound(map, map + map_size, map_key);
357 if (p != map + map_size && name == p->message_name)
/external/chromium_org/net/tools/disk_cache_memory_test/
H A Ddisk_cache_memory_test.cc186 uint64 map_size = 0; local
187 if (!base::StringToUint64(size_str, &map_size))
190 *size = map_size;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_prim_vbuf.c91 size_t map_size; member in struct:i915_vbuf_render
203 if (i915_render->vbo_size > i915_render->map_size) {
204 i915_render->map_size = i915_render->vbo_size;
206 i915_render->vbo_ptr = MALLOC(i915_render->map_size);
725 i915_render->map_size = 0;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_program.h48 uint8_t map_size; member in struct:nv50_stream_output_state
/external/fio/lib/
H A Daxmap.c43 unsigned long map_size; member in struct:axmap_level
69 memset(al->map, 0, al->map_size * sizeof(unsigned long));
113 al->map_size = (nr_bits + BLOCKS_PER_UNIT - 1) >> UNIT_SHIFT;
114 al->map = smalloc(al->map_size * sizeof(unsigned long));
348 if (index >= al->map_size) {
353 for (j = index; j < al->map_size; j++) {
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_prim_vbuf.c91 size_t map_size; member in struct:i915_vbuf_render
203 if (i915_render->vbo_size > i915_render->map_size) {
204 i915_render->map_size = i915_render->vbo_size;
206 i915_render->vbo_ptr = MALLOC(i915_render->map_size);
725 i915_render->map_size = 0;
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_program.h48 uint8_t map_size; member in struct:nv50_stream_output_state
/external/webrtc/src/system_wrappers/source/
H A Dmap_unittest.cc139 const int map_size = lhs.Size(); local
140 if (map_size != rhs.Size()) {
156 return item_count == map_size;
211 const int map_size = compare_map.Size(); local
212 ASSERT_EQ(ascending_map_.Size(), map_size);
230 EXPECT_EQ(map_size, copy_count);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cc134 uptr map_size = size + alignment; local
135 uptr map_res = (uptr)MmapOrDie(map_size, mem_type);
136 uptr map_end = map_res + map_size;
H A Dsanitizer_allocator.h526 uptr map_size = kUserMapSize; local
527 while (end_idx + size > region->mapped_user + map_size)
528 map_size += kUserMapSize;
529 CHECK_GE(region->mapped_user + map_size, end_idx);
530 MapWithCallback(region_beg + region->mapped_user, map_size);
531 stat->Add(AllocatorStatMapped, map_size);
532 region->mapped_user += map_size;
538 uptr map_size = kMetaMapSize; local
539 while (region->allocated_meta > region->mapped_meta + map_size)
540 map_size
1012 uptr map_size = RoundUpMapSize(size); local
1196 uptr map_size; member in struct:__sanitizer::LargeMmapAllocator::Header
[all...]
/external/llvm/lib/LTO/
H A DLTOModule.cpp88 size_t map_size, off_t offset,
92 MemoryBuffer::getOpenFileSlice(fd, path, map_size, offset);
87 createFromOpenFileSlice(int fd, const char *path, size_t map_size, off_t offset, TargetOptions options, std::string &errMsg) argument
/external/llvm/tools/lto/
H A Dlto.cpp126 size_t map_size,
130 return wrap(LTOModule::createFromOpenFileSlice(fd, path, map_size, offset,
124 lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size, size_t map_size, off_t offset) argument
/external/qemu/android/
H A Dcharmap.c558 int map_size = 52; local
576 AARRAY_NEW0(char_map->entries, map_size);
590 if (map_size == char_map->num_entries) {
592 map_size += 10;
593 AARRAY_RENEW(entries, map_size);
/external/chromium_org/v8/test/cctest/
H A Dtest-serialize.cc248 int new_size, pointer_size, data_size, code_size, map_size, cell_size, local
259 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size));
270 deserializer->set_reservation(MAP_SPACE, map_size);
/external/e2fsprogs/lib/ext2fs/
H A Dtdb.c226 tdb_len_t map_size; /* how much space has been mapped */ member in struct:tdb_context
838 if (len <= tdb->map_size)
845 (int)len, (int)tdb->map_size));
867 tdb->map_size = st.st_size;
926 "len=%d ret=%d (%s) map_size=%d\n",
928 (int)tdb->map_size));
972 int ret = munmap(tdb->map_ptr, tdb->map_size);
988 tdb->map_ptr = mmap(NULL, tdb->map_size,
999 tdb->map_size, strerror(errno)));
1061 tdb->methods->tdb_oob(tdb, tdb->map_size
[all...]

Completed in 3280 milliseconds