Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 25 of 876) sorted by relevance

12345678910>>...36

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DHeapDiskTest.java48 HeapDisk disk = new HeapDisk(8192, 100, 100); in testInitialSettings_basic() local
50 assertThat(disk.blockSize()).isEqualTo(8192); in testInitialSettings_basic()
51 assertThat(disk.getTotalSpace()).isEqualTo(819200); in testInitialSettings_basic()
52 assertThat(disk.getUnallocatedSpace()).isEqualTo(819200); in testInitialSettings_basic()
53 assertThat(disk.blockCache.blockCount()).isEqualTo(0); in testInitialSettings_basic()
65 HeapDisk disk = new HeapDisk(config); in testInitialSettings_fromConfiguration() local
67 assertThat(disk.blockSize()).isEqualTo(4); in testInitialSettings_fromConfiguration()
68 assertThat(disk.getTotalSpace()).isEqualTo(96); in testInitialSettings_fromConfiguration()
69 assertThat(disk.getUnallocatedSpace()).isEqualTo(96); in testInitialSettings_fromConfiguration()
70 assertThat(disk.blockCache.blockCount()).isEqualTo(0); in testInitialSettings_fromConfiguration()
[all …]
/external/crosvm/disk/src/
Dcomposite.rs139 .map(|disk| { in from_file()
141 disk.get_read_write_capability() == cdisk_spec::ReadWriteCapability::READ_WRITE, in from_file()
144 .open(disk.get_file_path()) in from_file()
145 .map_err(|e| Error::OpenFile(e, disk.get_file_path().to_string()))?; in from_file()
148 offset: disk.get_offset(), in from_file()
160 if let Some(disk) = disks.get_mut(i) { in from_file()
161 disk.length = length; in from_file()
190 if let Some(disk) = self.component_disks.last() { in length()
191 disk.offset + disk.length in length()
200 .find(|disk| disk.range().contains(&offset)) in disk_at_offset()
[all …]
/external/curl/packages/vms/
Dbuild_gnv_curl_release_notes.com40 $ curl_readme = f$search("sys$disk:[--]readme.")
43 $ curl_readme = f$search("sys$disk:[--]$README.")
51 $ curl_copying = f$search("sys$disk:[--]copying.")
54 $ curl_copying = f$search("sys$disk:[--]$COPYING.")
62 $ vms_readme = f$search("sys$disk:[]readme.")
65 $ vms_readme = f$search("sys$disk:[]$README.")
73 $ curl_release_notes = f$search("sys$disk:[--]release-notes.")
76 $ curl_release_notes = f$search("sys$disk:[--]$RELEASE-NOTES.")
84 $ if f$search("sys$disk:[]hp_ssl_release_info.txt") .eqs. ""
92 sys$disk:[]curl_release_note_start.txt, -
[all …]
/external/ltp/testscripts/
Dautofs1.sh221 echo "disk -fstype=auto,rw,sync :$disk_partition " > /etc/auto.disk
228 mkdir /AUTOFS/DISK/disk/test
229 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
235 if [ -e /AUTOFS/DISK/disk/test ]; then
236 cd /AUTOFS/DISK/disk/test
237 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1
241 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
246 umount /AUTOFS/DISK/disk/
250 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
260 ls -l /AUTOFS/DISK/disk
[all …]
Dautofs4.sh210 echo "disk -fstype=ext2 :$disk_partition " > /etc/auto.disk
215 mkdir /AUTOFS/DISK/disk/test
216 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
221 cd /AUTOFS/DISK/disk/test
222 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1
226 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
232 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1
236 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
246 ls -l /AUTOFS/DISK/disk
257 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
/external/cros/system_api/dbus/vm_concierge/
Dservice.proto17 // Path to the disk image that should be used as the root file system for
22 // The type of disk image.
27 // A qcow2-compatible disk image.
31 // Describes any additional disk images that should be mounted inside the VM.
33 // Path to the disk image on the host.
36 // Path where this disk image will be mounted inside the VM.
39 // The file system type for this disk image.
49 // If true, the disk image will be mounted writable.
52 // If true, the disk image will be mounted.
55 // Image type of the disk.
[all …]
/external/autotest/client/tests/disktest/
Ddisktest.py37 def test_one_disk_chunk(self, disk, chunk): argument
45 self.chunk_mb, disk, self.memory_mb, chunk)
47 (self.srcdir, self.chunk_mb, disk, chunk))
70 for disk in disks:
71 free = min(utils.freespace(disk) / 1024**3, free)
87 for disk in disks:
88 pid = self.test_one_disk_chunk(disk, i)
Dcontrol3 PURPOSE = 'Verify the integrity of the disk and disk controller.'
10 different patterns will be tested. Designed to check both the disk and disk
Dcontrol.export4 Pattern test of the disk, using unique signatures for each block and each
6 disk and disk controller.
/external/vboot_reference/tests/
Dload_kernel_tests.sh62 dd if=/dev/zero of=disk.test bs=1024 count=1024
63 ${CGPT} create disk.test
64 ${CGPT} add -i 1 -S 1 -P 1 -b 64 -s 960 -t kernel -l kernelA disk.test
65 ${CGPT} show disk.test
68 dd if=kernel.test of=disk.test bs=512 seek=64 conv=notrunc
72 ${BUILD_RUN}/tests/verify_kernel disk.test \
/external/e2fsprogs/misc/
Dbase_device.c45 const char **hier, *disk; in base_device() local
126 disk = 0; in base_device()
128 disk = "disc"; in base_device()
130 disk = "disk"; in base_device()
131 if (disk) { in base_device()
133 if (strncmp(cp, disk, 4) != 0) in base_device()
/external/gptfdisk/fuzzer/
Dlibgptf_fuzzer.cc32 DiskIO disk; in LLVMFuzzerTestOneInput() local
33 disk.OpenForRead(static_cast<const unsigned char*>(data), size); in LLVMFuzzerTestOneInput()
36 mbrData.ReadMBRData(&disk); in LLVMFuzzerTestOneInput()
39 gptData.SetDisk(disk); in LLVMFuzzerTestOneInput()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DRegularFile.java46 private final HeapDisk disk; field in RegularFile
56 public static RegularFile create(int id, HeapDisk disk) { in create() argument
57 return new RegularFile(id, disk, new byte[32][], 0, 0); in create()
60 RegularFile(int id, HeapDisk disk, byte[][] blocks, int blockCount, long size) { in RegularFile() argument
62 this.disk = checkNotNull(disk); in RegularFile()
155 return new RegularFile(id, disk, copyBlocks, 0, size); in copyWithoutContent()
161 disk.allocate(copy, blockCount); in copyContentTo()
209 disk.free(this); in deleteContents()
231 disk.free(this, blocksToRemove); in truncate()
247 disk.allocate(this, additionalBlocksNeeded); in prepareForWrite()
[all …]
DFileFactory.java35 private final HeapDisk disk; field in FileFactory
38 public FileFactory(HeapDisk disk) { in FileFactory() argument
39 this.disk = checkNotNull(disk); in FileFactory()
59 return RegularFile.create(nextFileId(), disk); in createRegularFile()
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/
DContainers_and_folders.py18 class disk(aetools.ComponentItem): class
64 disks = disk
150 disk._superclassnames = ['container']
153 disk._privpropdict = {
163 disk._privelemdict = {
184 'disk' : disk,
251 'cdis' : disk,
/external/e2fsprogs/lib/support/
Dquotaio_tree.h38 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
40 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
42 int (*is_id)(void *disk, struct dquot *dquot);
58 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
/external/f2fs-tools/fsck/
Dquotaio_tree.h44 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot);
46 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk);
48 int (*is_id)(void *disk, struct dquot *dquot);
64 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
/external/autotest/client/site_tests/hardware_DiskSize/
Dcontrol7 PURPOSE = 'Ensure the hard disk is large enough.'
8 CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.'
15 This test will find the disk where /dev is located by searching /proc/cmdline,
16 and will then determine the size of the main disk by reading /proc/partitions.
Dcontrol.hwqual7 PURPOSE = 'Ensure the hard disk is large enough.'
8 CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.'
16 This test will find the disk where /dev is located by searching /proc/cmdline,
17 and will then determine the size of the main disk by reading /proc/partitions.
/external/autotest/server/site_tests/firmware_DevBootUSB/
Dcontrol9 PURPOSE = "Press Ctrl-U on developer screen to boot USB disk"
10 CRITERIA = "This test will fail if firmware does not boot USB disk"
20 This test requires a USB disk plugged-in, which contains a Chrome OS test
23 screen should not boot the USB disk. When dev_boot_usb=1, pressing Ctrl-U
24 should boot the USB disk.
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
DDisk_Folder_File_Suite.py74 class disk(aetools.ComponentItem): class
125 disks = disk
225 'disk' : disk,
235 disk._superclassnames = ['item']
236 disk._privpropdict = {
251 disk._privelemdict = {
339 'cdis' : disk,
/external/gptfdisk/
DREADME.Windows6 Most versions of Windows cannot boot from a GPT disk on BIOS-based
12 GPT fdisk on a BIOS-mode boot disk, or perhaps even on a data disk, you may
58 won't be able to edit hard disk partition tables, although you will be able
59 to edit raw disk image files.
61 The program requires a hard disk identifier as an option. You can specify
68 on the first disk. The second way to specify a disk device is via a
74 table on the first physical disk. Change the number at the end of the
75 device name to change the disk edited.
77 If you pass the "-l" option to gdisk.exe in addition to the disk
80 never writes data back to the disk when used in this way.
[all …]
/external/bcc/tools/
Dbiolatency_example.txt4 biolatency traces block device I/O (disk I/O), and records the distribution
30 The latency of the disk I/O is measured from the issue to the device to its
139 The -D option will print a histogram per disk. Eg:
145 Bucket disk = 'xvdb'
162 Bucket disk = 'xvdc'
178 Bucket disk = 'xvda1'
217 -D, --disks print a histogram per disk device
224 ./biolatency -D # show each disk device separately
/external/crosvm/disk/
DCargo.toml2 name = "disk"
8 path = "src/disk.rs"
11 composite-disk = ["protos", "protobuf"]
/external/crosvm/
DCargo.toml58 composite-disk = ["protos/composite-disk", "protobuf", "disk/composite-disk"]
72 disk = { path = "disk" }

12345678910>>...36