Home
last modified time | relevance | path

Searched refs:new_file_size (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/resize/
Dmain.c181 __s64 new_file_size; in main() local
420 new_file_size = ((__u64) new_size) * fs->blocksize; in main()
421 if ((__u64) new_file_size > in main()
424 if ((new_file_size > st_buf.st_size) && in main()
426 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) && in main()
476 if ((st_buf.st_size > new_file_size) && in main()
479 retval = ftruncate64(fd, new_file_size); in main()
483 if (((off_t) new_file_size) == new_file_size) in main()
484 retval = ftruncate(fd, (off_t) new_file_size); in main()
/external/oprofile/libdb/
Ddb_manage.c70 unsigned int new_file_size; in odb_grow_hashtable() local
75 new_file_size = tables_size(data, data->descr->size * 2); in odb_grow_hashtable()
77 if (ftruncate(data->fd, new_file_size)) in odb_grow_hashtable()
81 new_map = mmap(0, new_file_size, PROT_READ | PROT_WRITE, in odb_grow_hashtable()
85 old_file_size, new_file_size, MREMAP_MAYMOVE); in odb_grow_hashtable()
/external/chromium_org/content/browser/renderer_host/pepper/
Dquota_reservation_unittest.cc179 int64 new_file_size = 30; in TEST_F() local
180 SetFileSize(file1_name, new_file_size); in TEST_F()
183 test->CloseFile(kFile1ID, ppapi::FileGrowth(new_file_size, 0)); in TEST_F()
184 EXPECT_EQ(amount - (new_file_size - file_size), in TEST_F()
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp1177 …const lldb::addr_t new_file_size = std::max (section_max_file_offset, segment_max_file_offset) - n… in CreateSections() local
1179 segment->SetFileSize (new_file_size); in CreateSections()