Home
last modified time | relevance | path

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

12345678910>>...35

/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/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/crosvm/disk/patches/
DAndroid.bp.patch1 diff --git a/disk/Android.bp b/disk/Android.bp
3 --- a/disk/Android.bp
4 +++ b/disk/Android.bp
6 crate_name: "disk",
7 srcs: ["src/disk.rs"],
10 + "composite-disk", // Added manually
/external/crosvm/disk/src/
Dcomposite.rs181 .map(|disk| { in from_file()
183 PathBuf::from(disk.get_file_path()) in from_file()
185 image_path.parent().unwrap().join(disk.get_file_path()) in from_file()
190 disk.get_read_write_capability() in from_file()
194 .map_err(|e| Error::OpenFile(e.into(), disk.get_file_path().to_string()))?; in from_file()
198 offset: disk.get_offset(), in from_file()
210 if let Some(disk) = disks.get_mut(i) { in from_file()
211 disk.length = length; in from_file()
240 if let Some(disk) = self.component_disks.last() { in length()
241 disk.offset + disk.length in length()
[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/bcc/libbpf-tools/
Dbiolatency.bpf.c56 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in trace_rq_start() local
59 dev = disk ? MKDEV(BPF_CORE_READ(disk, major), in trace_rq_start()
60 BPF_CORE_READ(disk, first_minor)) : 0; in trace_rq_start()
122 struct gendisk *disk = BPF_CORE_READ(rq, rq_disk); in BPF_PROG() local
124 hkey.dev = disk ? MKDEV(BPF_CORE_READ(disk, major), in BPF_PROG()
125 BPF_CORE_READ(disk, first_minor)) : 0; in BPF_PROG()
/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
/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/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/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/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/crosvm/disk/
DAndroid.bp17 crate_name: "disk",
20 srcs: ["src/disk.rs"],
47 crate_name: "disk",
50 srcs: ["src/disk.rs"],
53 "composite-disk", // Added manually
DCargo.toml2 name = "disk"
8 path = "src/disk.rs"
11 composite-disk = ["crc32fast", "protos", "protobuf", "uuid"]
25 protos = { path = "../protos", features = ["composite-disk"], optional = true }
/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/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/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/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/crosvm/
DCargo.toml59 "disk",
113 "composite-disk",
125 composite-disk = ["protos/composite-disk", "protobuf", "disk/composite-disk"]
134 "composite-disk",
165 disk = { path = "disk" }

12345678910>>...35