/external/ltp/testcases/kernel/fs/mongo/ |
test.sh | 62 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DIR/reiserlog > /dev/null 2>&1 80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DIR/jfslog
|
/bootable/recovery/tests/unit/ |
sysutil_test.cpp | 54 constexpr size_t file_size = 4096 * 10; local 55 content.reserve(file_size); 67 ASSERT_EQ(file_size, mapping.length); 75 ASSERT_EQ(file_size, mapping.length); 83 ASSERT_EQ(file_size, mapping.length); 91 ASSERT_EQ(file_size, mapping.length);
|
/external/google-breakpad/src/processor/ |
source_line_resolver_base.cc | 106 off_t file_size = buf.st_size; local 110 *symbol_data_size = file_size + 1; 111 *symbol_data = new char[file_size + 1]; 135 items_read = fread(*symbol_data, 1, file_size, f); 137 if (items_read != file_size) { 147 (*symbol_data)[file_size] = '\0';
|
/bootable/recovery/ |
fuse_sideload.cpp | 80 uint64_t file_size; // bytes member in struct:fuse_data 182 fill_attr(&(out.attr), fd, PACKAGE_FILE_ID, fd->file_size, S_IFREG | 0444); 204 fill_attr(&(out.attr), fd, PACKAGE_FILE_ID, fd->file_size, S_IFREG | 0444); 251 if (block * fd->block_size + fetch_size > fd->file_size) { 255 fetch_size = fd->file_size - (block * fd->block_size); 366 uint64_t file_size, uint32_t block_size) 387 fd.file_size = file_size; 389 fd.file_blocks = (file_size == 0) ? 0 : (((file_size-1) / block_size) + 1) [all...] |
/external/compiler-rt/lib/profile/ |
GCDAProfiling.c | 84 static uint64_t file_size = 0; variable 217 file_size = ftell(output_file); 221 if (file_size == 0) 224 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE, 236 if (msync(write_buffer, file_size, MS_SYNC) == -1) { 245 (void)munmap(write_buffer, file_size); 247 file_size = 0;
|
/external/netperf/src/ |
netcpu_looper.c | 279 unsigned int i, file_size; 287 file_size = ((netlib_get_page_size() * PAGES_PER_CHILD) * 317 if (truncate("/tmp/netperf_cpu",file_size) == -1) { 334 file_size, 346 fprintf(where,"num CPUs %d, file_size %d, lib_base_pointer %p\n", 348 file_size, 385 if ((lib_base_pointer = malloc(file_size)) == NULL) { 388 file_size); 278 unsigned int i, file_size; local
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy_file/ |
copy_file.pass.cpp | 98 TEST_CHECK(file_size(dest) == 42); 106 TEST_CHECK(file_size(dest) == 42); 121 TEST_CHECK(file_size(older) == 55); 125 TEST_CHECK(file_size(newer) == 2); 132 TEST_CHECK(file_size(file2) == 55);
|
/external/selinux/secilc/ |
secilc.c | 85 uint32_t file_size; local 255 file_size = filedata.st_size; 257 buffer = malloc(file_size); 258 rc = fread(buffer, file_size, 1, file); 266 rc = cil_add_file(db, argv[i], buffer, file_size);
|
/external/vboot_reference/host/lib/ |
host_key.c | 200 int PublicKeyLooksOkay(VbPublicKey *key, uint64_t file_size) 205 if (0 != VerifyPublicKeyInside(key, file_size, key)) { 231 uint64_t file_size; local 233 key = (VbPublicKey*)ReadFile(filename, &file_size); 237 if (PublicKeyLooksOkay(key, file_size))
|
host_keyblock.c | 139 uint64_t file_size; local 141 block = (VbKeyBlockHeader*)ReadFile(filename, &file_size); 149 if (0 != KeyBlockVerify(block, file_size, NULL, 1)) {
|
/system/update_engine/scripts/ |
update_device.py | 84 self.size = payload_info.file_size 96 def _ParseRange(range_str, file_size): 101 file_size: total size of the serving file. 107 end_range = file_size 117 if int(e) < file_size: 118 start_range = file_size - int(e)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
zipfile.py | 283 'file_size',
327 # file_size Size of the uncompressed file
336 CRC = compress_size = file_size = 0
340 file_size = self.file_size
345 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT
349 1, struct.calcsize(fmt)-4, file_size, compress_size)
350 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT:
355 file_size = 0xffffffff
364 compress_size, file_size,
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
zipfile.py | 283 'file_size', 327 # file_size Size of the uncompressed file 336 CRC = compress_size = file_size = 0 340 file_size = self.file_size 345 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT 349 1, struct.calcsize(fmt)-4, file_size, compress_size) 350 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT: 355 file_size = 0xffffffff 364 compress_size, file_size, [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
zipfile.py | 283 'file_size', 327 # file_size Size of the uncompressed file 336 CRC = compress_size = file_size = 0 340 file_size = self.file_size 345 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT 349 1, struct.calcsize(fmt)-4, file_size, compress_size) 350 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT: 355 file_size = 0xffffffff 364 compress_size, file_size, [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | 283 'file_size', 327 # file_size Size of the uncompressed file 336 CRC = compress_size = file_size = 0 340 file_size = self.file_size 345 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT 349 1, struct.calcsize(fmt)-4, file_size, compress_size) 350 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT: 355 file_size = 0xffffffff 364 compress_size, file_size, [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
zipfile.py | 283 'file_size', 327 # file_size Size of the uncompressed file 336 CRC = compress_size = file_size = 0 340 file_size = self.file_size 345 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT 349 1, struct.calcsize(fmt)-4, file_size, compress_size) 350 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT: 355 file_size = 0xffffffff 364 compress_size, file_size, [all...] |
/art/compiler/debug/dwarf/ |
debug_line_opcode_writer.h | 144 int file_size) { 149 UnsignedLeb128Size(file_size); 157 this->PushUleb128(file_size);
|
/external/avb/test/ |
avb_unittest_util.h | 93 int64_t file_size; local 94 ASSERT_TRUE(base::GetFileSize(vbmeta_image_path_, &file_size)); 95 vbmeta_image_.resize(file_size);
|
fake_avb_ops.cc | 55 int64_t file_size; local 56 if (!base::GetFileSize(path, &file_size)) { 61 offset = file_size - (-offset); 113 int64_t file_size; local 114 if (!base::GetFileSize(path, &file_size)) { 119 offset = file_size - (-offset);
|
/external/bsdiff/ |
test_utils.cc | 107 file_size = contents.size(); 120 TEST_AND_RETURN_FALSE(file_size >= 122 extra_len = file_size - kHeaderSize - ctrl_len - diff_len;
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.rename/ |
rename.pass.cpp | 92 TEST_CHECK(file_size(file) == 42); 101 TEST_CHECK(file_size(sym) == 42); 111 TEST_CHECK(file_size(file3) == 42);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
zipfile.py | 275 'file_size',
315 # file_size Size of the uncompressed file
324 CRC = compress_size = file_size = 0
328 file_size = self.file_size
332 if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT:
337 1, struct.calcsize(fmt)-4, file_size, compress_size)
338 file_size = 0xffffffff
347 compress_size, file_size,
387 if self.file_size in (0xffffffffffffffffL, 0xffffffffL): [all...] |
/external/libvpx/libvpx/test/ |
cq_test.cc | 91 size_t file_size() const { return file_size_; } function in class:__anon24352::CQTest 117 static_cast<unsigned int>(file_size()) * 8 * 30 / (n_frames() * 1000);
|
/external/llvm/unittests/Support/ |
FileOutputBufferTest.cpp | 56 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); 94 ASSERT_NO_ERROR(fs::file_size(Twine(File3), File3Size));
|
/external/squashfs-tools/kernel-2.4/include/linux/ |
squashfs_fs.h | 287 unsigned int file_size; member in struct:squashfs_reg_inode_header 297 long long file_size; member in struct:squashfs_lreg_inode_header 304 unsigned int file_size:19; member in struct:squashfs_dir_inode_header 313 unsigned int file_size:27; member in struct:squashfs_ldir_inode_header 445 SQUASHFS_SWAP((s)->file_size, d, 224, 32);\ 456 SQUASHFS_SWAP((s)->file_size, d, 256, 64);\ 464 SQUASHFS_SWAP((s)->file_size, d, 128, 19);\ 475 SQUASHFS_SWAP((s)->file_size, d, 128, 27);\ 598 unsigned int file_size:32; member in struct:squashfs_reg_inode_header_1 607 unsigned int file_size:19 member in struct:squashfs_dir_inode_header_1 717 unsigned int file_size:32; member in struct:squashfs_reg_inode_header_2 726 unsigned int file_size:19; member in struct:squashfs_dir_inode_header_2 737 unsigned int file_size:27; member in struct:squashfs_ldir_inode_header_2 [all...] |