/external/python/cpython2/Tools/iobench/ |
iobench.py | 62 f.seek(0) 70 f.seek(0) 78 f.seek(0) 86 f.seek(0) 94 f.seek(0) 101 """ seek forward one unit at a time """ 102 f.seek(0, 2) 104 f.seek(0, 0) 106 f.seek(i, 0) 111 """ seek forward 1000 units at a time "" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_memoryio.py | 43 bytesIo.seek(0)
46 bytesIo.seek(3)
48 self.assertRaises(TypeError, bytesIo.seek, 0.0)
55 bytesIo.seek(5)
57 bytesIo.seek(10000)
69 self.assertEqual(f.seek(0), 0)
72 self.assertEqual(f.seek(5), 5)
75 self.assertEqual(f.seek(0), 0)
121 memio.seek(6)
130 memio.seek(0, 2) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_memoryio.py | 43 bytesIo.seek(0) 46 bytesIo.seek(3) 48 self.assertRaises(TypeError, bytesIo.seek, 0.0) 55 bytesIo.seek(5) 57 bytesIo.seek(10000) 69 self.assertEqual(f.seek(0), 0) 72 self.assertEqual(f.seek(5), 5) 75 self.assertEqual(f.seek(0), 0) 121 memio.seek(6) 130 memio.seek(0, 2 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_memoryio.py | 43 bytesIo.seek(0) 46 bytesIo.seek(3) 48 self.assertRaises(TypeError, bytesIo.seek, 0.0) 55 bytesIo.seek(5) 57 bytesIo.seek(10000) 69 self.assertEqual(f.seek(0), 0) 72 self.assertEqual(f.seek(5), 5) 75 self.assertEqual(f.seek(0), 0) 121 memio.seek(6) 130 memio.seek(0, 2 [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testfile.c | 141 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET)) 150 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET)) 152 if (20 != rwops->seek(rwops, -7, RW_SEEK_END)) 162 if (0 != rwops->seek(rwops, -27, RW_SEEK_CUR)) 182 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET)) 186 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET)) 188 if (20 != rwops->seek(rwops, -7, RW_SEEK_END)) 198 if (0 != rwops->seek(rwops, -27, RW_SEEK_CUR)) 217 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET)) 221 if (0 != rwops->seek(rwops, 0L, RW_SEEK_SET) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_memoryio.py | 43 bytesIo.seek(0) 46 bytesIo.seek(3) 48 self.assertRaises(TypeError, bytesIo.seek, 0.0) 55 bytesIo.seek(5) 57 bytesIo.seek(10000) 69 self.assertEqual(f.seek(0), 0) 72 self.assertEqual(f.seek(5), 5) 75 self.assertEqual(f.seek(0), 0) 121 memio.seek(6) 130 memio.seek(0, 2 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_memoryio.py | 43 bytesIo.seek(0) 46 bytesIo.seek(3) 48 self.assertRaises(TypeError, bytesIo.seek, 0.0) 55 bytesIo.seek(5) 57 bytesIo.seek(10000) 69 self.assertEqual(f.seek(0), 0) 72 self.assertEqual(f.seek(5), 5) 75 self.assertEqual(f.seek(0), 0) 121 memio.seek(6) 130 memio.seek(0, 2 [all...] |
/art/test/370-dex-v37/ |
build | 26 printf '037' | dd status=none conv=notrunc of=classes.dex bs=1 seek=4 count=3
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
IntStream.as | 60 * essentially calling release() and seek(). If there are markers 74 * the marker off. It's like seek(last marker's input position). 81 * rewind() except it releases resources without the backward seek. 89 * normally used to seek ahead in the input stream. No buffering is 90 * required to do this unless you know your stream will use seek to 104 * The index is 0..n-1. A seek to position i means that LA(1) will 108 function seek(index:int):void;
|
/external/elfutils/tests/ |
run-ranlib-test2.sh | 32 dd of=$original seek=24 bs=1 count=12 conv=notrunc 2>/dev/null
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableFileInputStream.java | 97 * Calls {@link RandomAccessFile#seek(long) randomAccessFile.seek(long)}. 99 public void seek(long pos) throws IOException { method in class:SeekableFileInputStream 100 randomAccessFile.seek(pos);
|
/device/generic/goldfish/tools/ |
mk_qemu_image.sh | 17 dd if=$srcimg of=$target conv=notrunc,sync ibs=1024k obs=1024k seek=1 28 dd if=/dev/zero of=$target conv=notrunc bs=1 count=1024k seek=$curdisksize
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRIntStream.h | 58 // essentially calling -release: and -seek:. If there are markers 69 // rewind() except it releases resources without the backward seek. 74 // normally used to seek ahead in the input stream. No buffering is 75 // required to do this unless you know your stream will use seek to 88 - (void) seek:(NSInteger) anIndex;
|
LookaheadStream.m | 150 seek(marker); // assume marker is top 155 seek(lastMarker); // rewind but do not release marker 158 /** Seek to a 0-indexed position within data buffer. Can't handle 159 * case where you seek beyond end of existing buffer. Normally used 160 * to seek backwards in the buffer. Does not force loading of nodes. 162 public void seek(int index) { p = index; }
|
LookaheadStream.h | 150 seek(marker); // assume marker is top 155 seek(lastMarker); // rewind but do not release marker 158 /** Seek to a 0-indexed position within data buffer. Can't handle 159 * case where you seek beyond end of existing buffer. Normally used 160 * to seek backwards in the buffer. Does not force loading of nodes. 162 public void seek(int index) { p = index; } function in class:FastQueue
|
/external/python/cpython3/Lib/test/ |
memory_watchdog.py | 22 sys.stdin.seek(0)
|
/external/syslinux/memdisk/ |
postprocess.pl | 44 seek(OUT, 0x1f1, SEEK_SET); # setup_sects 48 seek(OUT, $xsize, SEEK_SET);
|
/test/vts/utils/python/coverage/ |
sancov_parser_test.py | 54 stream.seek(8) 57 stream.seek(0) 67 stream.seek(8) 70 stream.seek(0)
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
LookaheadStream.java | 141 seek(marker); // assume marker is top 146 seek(lastMarker); // rewind but do not release marker 149 /** Seek to a 0-indexed position within data buffer. Can't handle 150 * case where you seek beyond end of existing buffer. Normally used 151 * to seek backwards in the buffer. Does not force loading of nodes. 155 public void seek(int index) { p = index; } method in class:LookaheadStream
|
/external/smali/util/src/main/java/org/jf/util/ |
RandomAccessFileInputStream.java | 49 raf.seek(filePosition); 55 raf.seek(filePosition); 62 raf.seek(filePosition);
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
MemoryMappedFileTest.java | 131 iterator.seek(0); 175 iterator.seek(offset); 181 iterator.seek(offset); 248 iterator.seek(1); 270 iterator.seek(1); 280 iterator.seek(-1); 284 iterator.seek(-2); 288 iterator.seek(9); 292 iterator.seek(10); 310 iterator.seek(1) [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
reader_test.go | 21 seek int 28 {seek: io.SeekStart, off: 0, n: 20, want: "0123456789"}, 29 {seek: io.SeekStart, off: 1, n: 1, want: "1"}, 30 {seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"}, 31 {seek: io.SeekStart, off: -1, seekerr: "strings.Reader.Seek: negative position"}, 32 {seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF}, 33 {seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF}, 34 {seek: io.SeekStart, n: 5, want: "01234"}, 35 {seek: io.SeekCurrent, n: 5, want: "56789"} [all...] |
/prebuilts/go/linux-x86/src/strings/ |
reader_test.go | 21 seek int 28 {seek: io.SeekStart, off: 0, n: 20, want: "0123456789"}, 29 {seek: io.SeekStart, off: 1, n: 1, want: "1"}, 30 {seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"}, 31 {seek: io.SeekStart, off: -1, seekerr: "strings.Reader.Seek: negative position"}, 32 {seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF}, 33 {seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF}, 34 {seek: io.SeekStart, n: 5, want: "01234"}, 35 {seek: io.SeekCurrent, n: 5, want: "56789"} [all...] |