/external/qemu/android/utils/ |
mapfile.c | 161 size_t map_size; local 179 map_size = (size_t)(offset - map_offset + size); 182 if (map_size < size) { 209 converter.QuadPart = map_offset + map_size; 215 converter.LowPart, map_size); 226 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)handle, map_offset);
|
/external/ppp/pppd/ |
tdb.c | 115 int ret = munmap(tdb->map_ptr, tdb->map_size); 131 tdb->map_ptr = mmap(NULL, tdb->map_size, 142 tdb->map_size, strerror(errno))); 332 if (len <= tdb->map_size) 339 (int)len, (int)tdb->map_size)); 360 tdb->map_size = st.st_size; 640 if (right + sizeof(*rec) <= tdb->map_size) { 780 tdb_oob(tdb, tdb->map_size + 1, 1); 784 size = TDB_ALIGN(tdb->map_size + size*10, TDB_PAGE_SIZE) - tdb->map_size; [all...] |
tdb.h | 104 tdb_len map_size; /* how much space has been mapped */ member in struct:tdb_context
|
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 228 tdb_len_t map_size; /* how much space has been mapped */ member in struct:tdb_context 840 if (len <= tdb->map_size) 847 (int)len, (int)tdb->map_size)); 869 tdb->map_size = st.st_size; 928 "len=%d ret=%d (%s) map_size=%d\n", 930 (int)tdb->map_size)); 974 int ret = munmap(tdb->map_ptr, tdb->map_size); 990 tdb->map_ptr = mmap(NULL, tdb->map_size, 1001 tdb->map_size, strerror(errno))); 1063 tdb->methods->tdb_oob(tdb, tdb->map_size + 1, 1) [all...] |
/external/v8/test/cctest/ |
test-serialize.cc | 412 int new_size, pointer_size, data_size, code_size, map_size, cell_size; local 423 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size)); 434 map_size,
|