/external/python/cpython2/Lib/test/ |
D | test_largefile.py | 43 f.seek(0) 44 f.seek(size) 63 f.seek(0) 65 f.seek(0, 0) 67 f.seek(42) 69 f.seek(42, 0) 71 f.seek(42, 1) 73 f.seek(0, 1) 75 f.seek(0, 2) # seek from the end 77 f.seek(-10, 2) [all …]
|
D | test_memoryio.py | 44 bytesIo.seek(0) 47 bytesIo.seek(3) 49 self.assertRaises(TypeError, bytesIo.seek, 0.0) 56 bytesIo.seek(5) 58 bytesIo.seek(10000) 70 self.assertEqual(f.seek(0), 0) 73 self.assertEqual(f.seek(5), 5) 76 self.assertEqual(f.seek(0), 0) 122 memio.seek(6) 131 memio.seek(0, 2) [all …]
|
D | test_StringIO.py | 28 self.assertRaises(TypeError, self._fp.seek) 34 self._fp.seek(0) 39 self.assertRaises(TypeError, f.seek) 41 f.seek(3) 49 f.seek(0) 63 f.seek(10) 121 f.seek(0) 127 f.seek(0) 130 f.seek(0) 162 f.seek(3)
|
/external/python/cpython3/Lib/test/ |
D | test_memoryio.py | 48 bytesIo.seek(0) 51 bytesIo.seek(3) 53 self.assertRaises(TypeError, bytesIo.seek, 0.0) 60 bytesIo.seek(5) 62 bytesIo.seek(10000) 74 self.assertEqual(f.seek(0), 0) 77 self.assertEqual(f.seek(5), 5) 80 self.assertEqual(f.seek(0), 0) 127 memio.seek(6) 135 memio.seek(0, 2) [all …]
|
D | test_largefile.py | 38 f.seek(0) 39 f.seek(size) 76 f.seek(0) 78 f.seek(0, 0) 80 f.seek(42) 82 f.seek(42, 0) 84 f.seek(42, 1) 86 f.seek(0, 1) 88 f.seek(0, 2) # seek from the end 90 f.seek(-10, 2) [all …]
|
/external/vboot_reference/scripts/image_signing/ |
D | firmware_boot.sh | 58 dd if=nor.bin of=${output} conv=notrunc bs=1 seek=${rw_a_offset} 59 dd if=nor.bin of=${output} conv=notrunc bs=1 seek=${rw_b_offset} 64 dd if=dev.bin of=${output} conv=notrunc bs=1 seek=${rw_a_offset} 65 dd if=dev.bin of=${output} conv=notrunc bs=1 seek=${rw_b_offset} 70 dd if=nor.bin of=${output} conv=notrunc bs=1 seek=${rw_a_offset} 71 dd if=dev.bin of=${output} conv=notrunc bs=1 seek=${rw_b_offset} 76 dd if=dev.bin of=${output} conv=notrunc bs=1 seek=${rw_a_offset} 77 dd if=nor.bin of=${output} conv=notrunc bs=1 seek=${rw_b_offset} 82 dd if=nor.bin of=${output} conv=notrunc bs=1 seek=${rw_a_offset} 83 dd if=bad.bin of=${output} conv=notrunc bs=1 seek=${rw_b_offset} [all …]
|
/external/libwebm/webm_parser/tests/ |
D | seek_parser_test.cc | 39 Seek seek; in TEST_F() local 40 seek.position.Set(0, true); in TEST_F() 42 EXPECT_CALL(callback_, OnSeek(metadata_, seek)).Times(1); in TEST_F() 58 Seek seek; in TEST_F() local 59 seek.id.Set(static_cast<Id>(0x01), true); in TEST_F() 60 seek.position.Set(2, true); in TEST_F() 62 EXPECT_CALL(callback_, OnSeek(metadata_, seek)).Times(1); in TEST_F()
|
/external/perfetto/src/trace_processor/metrics/experimental/ |
D | media_metric.sql | 133 seek.*, 139 AND EXTRACT_ARG(s.arg_set_id, 'debug.id') = seek.playback_id 140 AND EXTRACT_ARG(s.arg_set_id, 'debug.target') = seek.seek_target 141 AND s.upid = seek.upid 142 AND s.ts >= seek.seek_start 143 AND (seek.seek_end IS NULL OR s.ts < seek.seek_end) 145 FROM SeekPartitioned seek; 151 seek.*, 157 AND EXTRACT_ARG(s.arg_set_id, 'debug.id') = seek.playback_id 158 AND s.upid = seek.upid [all …]
|
/external/python/cpython2/Tools/iobench/ |
D | iobench.py | 62 f.seek(0) 70 f.seek(0) 78 f.seek(0) 86 f.seek(0) 94 f.seek(0) 102 f.seek(0, 2) 104 f.seek(0, 0) 106 f.seek(i, 0) 112 f.seek(0, 2) 114 f.seek(0, 0) [all …]
|
/external/python/cpython3/Tools/iobench/ |
D | iobench.py | 63 f.seek(0) 71 f.seek(0) 79 f.seek(0) 87 f.seek(0) 95 f.seek(0) 103 f.seek(0, 2) 105 f.seek(0, 0) 107 f.seek(i, 0) 113 f.seek(0, 2) 115 f.seek(0, 0) [all …]
|
/external/rust/crates/tokio/src/io/ |
D | seek.rs | 15 seek: &'a mut S, 23 pub(crate) fn seek<S>(seek: &mut S, pos: SeekFrom) -> Seek<'_, S> in seek() function 28 seek, in seek() 45 ready!(Pin::new(&mut *me.seek).poll_complete(cx))?; in poll() 46 match Pin::new(&mut *me.seek).start_seek(*pos) { in poll() 49 Pin::new(&mut *me.seek).poll_complete(cx) in poll() 54 None => Pin::new(&mut *me.seek).poll_complete(cx), in poll()
|
/external/crosvm/sys_util/src/ |
D | seek_hole.rs | 62 file.seek(SeekFrom::Current(0)).unwrap() in seek_cur() 86 file.seek(SeekFrom::Start(0x10000)).unwrap(); in seek_data() 125 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 133 file.seek(SeekFrom::Start(0x10000)).unwrap(); in seek_hole() 143 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 146 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 149 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 154 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 164 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() 167 file.seek(SeekFrom::Start(0)).unwrap(); in seek_hole() [all …]
|
D | write_zeroes.rs | 112 let offset = self.seek(SeekFrom::Current(0))?; in write_zeroes() 115 self.seek(SeekFrom::Current(nwritten as i64))?; in write_zeroes() 133 f.seek(SeekFrom::Start(1234)).unwrap(); in simple_test() 138 f.seek(SeekFrom::Start(0)).unwrap(); in simple_test() 154 f.seek(SeekFrom::Start(2345)).unwrap(); in simple_test() 157 assert_eq!(f.seek(SeekFrom::Current(0)).unwrap(), 2345 + 4321); in simple_test() 160 f.seek(SeekFrom::Start(0)).unwrap(); in simple_test() 191 f.seek(SeekFrom::Start(0)).unwrap(); in large_write_zeroes() 195 f.seek(SeekFrom::Start(0)).unwrap(); in large_write_zeroes() 198 assert_eq!(f.seek(SeekFrom::Current(0)).unwrap(), 0x10001); in large_write_zeroes() [all …]
|
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/ |
D | MemoryMappedFileTest.java | 129 iterator.seek(0); in checkReadByte() 173 iterator.seek(offset); in seekRead() 179 iterator.seek(offset); in seekReadExpectFailure() 246 iterator.seek(1); in testReadShort_bigEndian() 268 iterator.seek(1); in testReadShort_littleEndian() 278 iterator.seek(-1); in checkShortFailureCases() 282 iterator.seek(-2); in checkShortFailureCases() 286 iterator.seek(9); in checkShortFailureCases() 290 iterator.seek(10); in checkShortFailureCases() 308 iterator.seek(1); in testReadInt_bigEndian() [all …]
|
/external/autotest/server/cros/faft/ |
D | gen_test_images.sh | 46 dd of="${BOARD}.dev" bs=1 seek=$((ro_version_offset)) count=32 conv=notrunc 48 dd of="${BOARD}.dev" bs=1 seek=$((rw_version_offset)) count=32 conv=notrunc 69 dd of="${BOARD}.dev.rb0" bs=1 seek=$((rb_offset)) count=4 conv=notrunc 72 dd of="${BOARD}.dev.rb0" bs=1 seek=$((rw_version_offset)) \ 89 dd of="${BOARD}.dev.rb1" bs=1 seek=$((rb_offset)) count=4 conv=notrunc 92 dd of="${BOARD}.dev.rb1" bs=1 seek=$((rw_version_offset)) \ 108 dd of="${BOARD}.dev.rb9" bs=1 seek=$((rb_offset)) count=4 conv=notrunc 111 dd of="${BOARD}.dev.rb9" bs=1 seek=$((rw_version_offset)) \ 122 seek=$((offset+100)) count=1 conv=notrunc 129 seek=$((offset-100)) count=1 conv=notrunc
|
/external/rust/crates/tokio/src/io/util/ |
D | async_seek_ext.rs | 1 use crate::io::seek::{seek, Seek}; 63 fn seek(&mut self, pos: SeekFrom) -> Seek<'_, Self> 67 seek(self, pos) 78 self.seek(SeekFrom::Current(0))
|
/external/avb/test/ |
D | image_handler_unittest.py | 99 f.seek(0, os.SEEK_END) 101 f.seek(old_pos) 129 ih.seek(0x6000 + 1) 133 ih.seek(0x3000 - 10) 135 ih.seek(0x9000 - 3) 139 ih.seek(0xf000 - 2) 167 unsparse_file.seek(self.TEST_FILE_SIZE) 180 unsparse_file.seek(self.TEST_FILE_SIZE) 193 unsparse_file.seek(self.TEST_FILE_SIZE) 206 unsparse_file.seek(self.TEST_FILE_SIZE)
|
/external/okio/okio/jvm/jmh/src/jmh/java/com/squareup/okio/benchmarks/ |
D | BufferCursorSeekBenchmark.java | 62 cursor.seek(0); in seekBeginning() 72 cursor.seek(buffer.size() - 1); in seekEnd() 82 cursor.seek(0); in seekForward() 83 cursor.seek(1); in seekForward() 93 cursor.seek(buffer.size() - 1); in seekBackward() 94 cursor.seek(buffer.size() - 2); in seekBackward()
|
/external/okio/okio/src/jvmTest/java/okio/ |
D | BufferCursorTest.java | 63 cursor.seek(3); in apiExample() 66 cursor.seek(1); in apiExample() 89 cursor.seek(-1L); in seekToNegativeOneSeeksBeforeFirstSegment() 105 cursor.seek(i); in accessByteByByte() 117 cursor.seek(i); in accessByteByByteReverse() 129 cursor.seek(i); in accessByteByByteAlwaysResettingToZero() 131 cursor.seek(0L); in accessByteByByteAlwaysResettingToZero() 163 assertEquals(2, cursor.seek(5)); // 2 for 2 bytes left in the segment: "fg". in seekWithinSegment() 231 cursor.seek(originalSize); in enlarge() 233 cursor.seek(originalSize + 1); in enlarge() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 36 infile.seek(0) 38 infile.seek(0) 53 self.file.seek(0) 55 self.file.seek(0) 62 self.file.seek(header.offsetTable[fontNumber]) 148 self.file.seek(state.pop("_filepos")) 240 self.file.seek(self.nextTableOffset) 312 self.file.seek(0,2) 320 self.file.seek(0,2) 330 self.file.seek(0,2) [all …]
|
/external/rust/crates/futures-util/src/io/ |
D | seek.rs | 11 seek: &'a mut S, field 18 pub(super) fn new(seek: &'a mut S, pos: SeekFrom) -> Self { in new() 19 Self { seek, pos } in new() 28 Pin::new(&mut this.seek).poll_seek(cx, this.pos) in poll()
|
/external/libwebsockets/win32port/zlib/ |
D | gzwrite.c | 179 if (state->seek) { 180 state->seek = 0; 240 if (state->seek) { 241 state->seek = 0; 303 if (state->seek) { in gzprintf() 304 state->seek = 0; in gzprintf() 378 if (state->seek) { 379 state->seek = 0; 446 if (state->seek) { 447 state->seek = 0; [all …]
|
/external/python/apitools/samples/storage_sample/ |
D | downloads_test.py | 92 self.__buffer.seek(0) 101 self.__buffer.seek(0) 110 self.__buffer.seek(0) 118 self.__buffer.seek(0) 126 self.__buffer.seek(0) 137 self.__buffer.seek(0) 146 self.__buffer.seek(0) 193 self.__buffer.seek(0)
|
/external/crosvm/disk/src/qcow/ |
D | qcow_raw_file.rs | 43 self.file.seek(SeekFrom::Start(offset))?; in read_pointer_table() 69 self.file.seek(SeekFrom::Start(offset))?; in write_pointer_table() 87 self.file.seek(SeekFrom::Start(offset))?; in read_refcount_block() 98 self.file.seek(SeekFrom::Start(offset))?; in write_refcount_block() 110 let file_end: u64 = self.file.seek(SeekFrom::End(0))?; in add_cluster_end() 145 self.file.seek(SeekFrom::Start(address))?; in zero_cluster()
|
/external/e2fsprogs/tests/m_rootdir/ |
D | script | 15 echo "M" | dd of=$MKFS_DIR/sparsefile bs=1 count=1 seek=1024 2> /dev/null 16 echo "M" | dd of=$MKFS_DIR/sparsefile bs=1 count=1 seek=524288 conv=notrunc 2> /dev/null 17 echo "M" | dd of=$MKFS_DIR/sparsefile bs=1 count=1 seek=1048576 conv=notrunc 2> /dev/null 18 echo "M" | dd of=$MKFS_DIR/sparsefile bs=1 count=1 seek=536870912 conv=notrunc 2> /dev/null 19 echo "M" | dd of=$MKFS_DIR/sparsefile bs=1 count=1 seek=1073741824 conv=notrunc 2> /dev/null 20 dd if=/dev/zero of=$MKFS_DIR/bigzerofile bs=1 count=1 seek=1073741824 2> /dev/null
|