HomeSort by relevance Sort by last modified time
    Searched refs:file_size (Results 26 - 50 of 250) sorted by null

12 3 4 5 6 7 8 910

  /external/ltp/testcases/kernel/syscalls/lseek/
lseek09.c 89 size_t file_size; /* total size of file after data write */ variable
134 if (read(fildes, &read_buf, (file_size - 3)) < 0) {
205 file_size = stat_buf.st_size;
lseek07.c 88 size_t file_size; /* size of temporary file */ variable
110 offset = file_size + (lc * strlen(write_buf2));
234 file_size = stat_buf.st_size;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
1-1.c 48 long file_size; local
69 file_size = 2 * page_size;
85 if (ftruncate(fd, file_size) == -1) {
1-2.c 48 long file_size; local
69 file_size = 2 * page_size;
85 if (ftruncate(fd, file_size) == -1) {
  /external/autotest/client/site_tests/hardware_TrimIntegrity/
hardware_TrimIntegrity.py 35 FILE_SIZE = 1024 * 1024 * 1024
97 def run_once(self, filename=None, file_size=FILE_SIZE,
103 @param file_size: size of data to test. default: 1GB
119 if file_size == 0:
121 file_size = utils.get_disk_size(self._filename)
122 if file_size == 0:
130 file_size -= file_size % (4 * chunk_size)
135 fio_file_size = file_size
    [all...]
  /external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/
resize_file.pass.cpp 84 TEST_CHECK(file_size(file1) == new_s);
91 TEST_CHECK(file_size(file1) == new_s);
98 TEST_CHECK(file_size(file1) == new_s);
106 TEST_CHECK(file_size(file1) == new_s);
  /external/ltp/testcases/kernel/syscalls/llseek/
llseek03.c 60 static size_t file_size; variable
101 file_size = stat_buf.st_size;
158 if (TEST_RETURN != (long)file_size) {
165 nread = SAFE_READ(cleanup, 0, fd, read_buf, file_size);
  /external/sfntly/cpp/src/sample/chromium/
chrome_subsetter.cc 54 size_t file_size = ftell(input_file); local
56 input_buffer->resize(file_size);
57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file);
59 return bytes_read == file_size;
  /external/sfntly/cpp/src/test/
test_font_utils.cc 75 size_t file_size = ftell(input_file); local
77 input_buffer->resize(file_size);
78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file);
79 EXPECT_EQ(bytes_read, file_size);
  /external/squashfs-tools/squashfs-tools/
process_fragments.c 278 long long file_size; local
304 if(file_buffer->file_size != file_buffer->size) {
309 file_size = file_buffer->file_size;
312 dupl_ptr = dupl[DUP_HASH(file_size)];
319 if(file_size != dupl_ptr->file_size ||
320 file_size != dupl_ptr->fragment->size)
351 dupl_ptr->fragment->offset, file_size);
  /external/syslinux/gpxe/src/include/
fs.h 29 unsigned long file_size(void);
  /external/vboot_reference/host/lib/include/
host_key.h 55 int PublicKeyLooksOkay(VbPublicKey *key, uint64_t file_size);
  /system/extras/tests/pagingtest/
pagingtest.h 17 int pageinout_test(int test_runs, bool cache, unsigned long long file_size);
  /external/ltp/testcases/kernel/mem/mtest06/
mmap1.c 286 int file_size; local
298 file_size = 1024;
316 if ((file_size = atoi(optarg)) == 0)
318 else if (file_size < 0)
321 (file_size = 1024));
358 file_size, exec_time, num_iter);
379 if ((fd = mkfile(file_size)) == -1)
387 chld_args[1] = file_size;
  /system/extras/simpleperf/
read_elf.h 45 uint32_t file_size, BuildId* build_id);
66 uint32_t file_size, const BuildId& expected_build_id,
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
9-1.c 76 int file_size = num_aiocbs * buf_size; local
78 bufs = malloc(file_size);
85 ret = write(fd, bufs, file_size);
86 if (ret != file_size) {
92 ret, file_size);
  /external/selinux/secilc/
secil2conf.c 66 uint32_t file_size; local
142 file_size = filedata.st_size;
144 buffer = malloc(file_size);
145 rc = fread(buffer, file_size, 1, file);
153 rc = cil_add_file(db, argv[i], buffer, file_size);
  /system/extras/pagecache/
dumpcache.c 24 size_t file_size; member in struct:file_info
43 static struct file_info *get_file_info(const char* fpath, size_t file_size) {
68 info->file_size = file_size;
163 (100 * info->num_cached_pages * g_page_size) / info->file_size);
  /system/sepolicy/tools/
version_policy.c 34 uint32_t file_size; local
48 file_size = filedata.st_size;
49 buff = malloc(file_size);
55 rc = fread(buff, file_size, 1, file);
65 rc = cil_add_file(*db, path, buff, file_size);
  /system/update_engine/payload_generator/
mapfile_filesystem.cc 48 off_t file_size = utils::FileSize(filename);
49 if (file_size < 0)
52 if (file_size % kMapfileBlockSize) {
53 LOG(ERROR) << "Image file " << filename << " has a size of " << file_size
57 off_t num_blocks = file_size / kMapfileBlockSize;
  /bionic/tests/
unistd_test.cpp 1042 constexpr off64_t file_size = 32*1024LL; local
1065 constexpr off64_t file_size = 32*1024LL; local
1087 constexpr off64_t file_size = 32*1024LL; local
1102 constexpr off64_t file_size = 32*1024LL; local
1129 constexpr off64_t file_size = 32*1024LL; local
    [all...]
  /external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/
hardware_MultiReaderPowerConsumption.py 78 def run_once(self, ramdisk_size=513, file_size=512, drain_limit=1.05,
90 @param file_size: Size of test file (in MiB).
120 self.readwrite_test(self._ramdisk_path.name, file_size)
129 self.readwrite_test(self._storage['mountpoint'], file_size,
140 self.readwrite_test(self._ramdisk_path.name, file_size)
  /external/libchrome/base/files/
file_unittest.cc 208 int64_t file_size = 0; local
209 EXPECT_TRUE(GetFileSize(file_path, &file_size));
210 EXPECT_EQ(kOffsetBeyondEndOfFile + kPartialWriteLength, file_size);
214 bytes_read = file.Read(0, data_read_2, static_cast<int>(file_size));
215 EXPECT_EQ(file_size, bytes_read);
220 for (int i = kOffsetBeyondEndOfFile; i < file_size; i++)
290 int64_t file_size = 0; local
293 EXPECT_TRUE(GetFileSize(file_path, &file_size));
294 EXPECT_EQ(kExtendedFileLength, file_size);
298 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size));
    [all...]
  /external/toolchain-utils/bestflags/examples/omnetpp/
build_omnetpp 59 file_size=$(ls -l $outfile | cut -d " " -f 5)
64 echo $checksum $user_time $output_file $file_size $size
  /system/tools/aidl/
io_delegate.cpp 93 ssize_t file_size = in.tellg(); local
94 contents->resize(file_size + content_suffix.length());
97 in.read(&(*contents)[0], file_size);
99 contents->replace(file_size, content_suffix.length(), content_suffix);

Completed in 1278 milliseconds

12 3 4 5 6 7 8 910