/external/chromium_org/base/files/ |
H A D | memory_mapped_file_posix.cc | 24 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 D | memory_mapped_file_win.cc | 36 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/yasm/source/patched-yasm/libyasm/ |
H A D | linemap.c | 66 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/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_ashmem.cpp | 50 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/eigen/bench/ |
H A D | product_threshold.cpp | 11 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/fio/t/ |
H A D | axmap.c | 74 unsigned int map_size = size; local 82 map = axmap_new(map_size); 83 while (val + 128 <= map_size) {
|
/external/qemu/android/utils/ |
H A D | mapfile.c | 159 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/webrtc/src/system_wrappers/source/ |
H A D | map_unittest.cc | 139 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 D | sanitizer_allocator.h | 526 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...] |
H A D | sanitizer_common.cc | 134 uptr map_size = size + alignment; local 135 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); 136 uptr map_end = map_res + map_size;
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | program_cache.cc | 108 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/mesa/src/src/gallium/drivers/nv50/ |
H A D | nv50_program.h | 48 uint8_t map_size; member in struct:nv50_stream_output_state
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_program.h | 48 uint8_t map_size; member in struct:nv50_stream_output_state
|
/external/fio/lib/ |
H A D | axmap.c | 43 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/elfutils/0.153/src/ |
H A D | strings.c | 481 size_t map_size = MIN ((off64_t) mmap_max, fdlen); 490 mem = mmap64 (NULL, map_size, PROT_READ, MAP_PRIVATE | MAP_POPULATE, 495 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); 503 map_size /= 2; 504 if (map_size < map_size_min) 509 *map_sizep = map_size;
|
/external/chromium_org/net/tools/disk_cache_memory_test/ |
H A D | disk_cache_memory_test.cc | 186 uint64 map_size = 0; local 187 if (!base::StringToUint64(size_str, &map_size)) 190 *size = map_size;
|
/external/llvm/include/llvm-c/ |
H A D | lto.h | 197 size_t map_size, off_t offset);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | tdb.c | 226 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...] |
/external/llvm/tools/lto/ |
H A D | lto.cpp | 126 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/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
H A D | i915_prim_vbuf.c | 91 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/i915/ |
H A D | i915_prim_vbuf.c | 91 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/chrome/browser/chromeos/input_method/ |
H A D | component_extension_ime_manager_impl.cc | 352 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/llvm/include/llvm/LTO/ |
H A D | LTOModule.h | 91 size_t map_size, off_t offset,
|
/external/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 88 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/chromium_org/v8/test/cctest/ |
H A D | test-serialize.cc | 248 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);
|