Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 124) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_largefile.py43 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 …]
Dtest_memoryio.py43 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 …]
Dtest_StringIO.py27 self.assertRaises(TypeError, self._fp.seek)
31 self._fp.seek(0)
36 self.assertRaises(TypeError, f.seek)
38 f.seek(3)
46 f.seek(0)
60 f.seek(10)
120 f.seek(3)
Dtest_mmap.py73 m.seek(0,0)
75 m.seek(42,1)
77 m.seek(0,2)
81 self.assertRaises(ValueError, m.seek, -1)
84 self.assertRaises(ValueError, m.seek, 1, 2)
87 self.assertRaises(ValueError, m.seek, -len(m)-1, 2)
101 self.assertRaises(ValueError, m.seek, 513, 0)
106 f.seek(0, 2)
145 m.seek(0,0)
154 m.seek(0,0)
[all …]
Dtest_csv.py126 fileobj.seek(0)
204 fileobj.seek(0)
297 fileobj.seek(0)
356 fileobj.seek(0)
379 fileobj.seek(0)
390 fileobj.seek(0)
401 fileobj.seek(0)
412 fileobj.seek(0)
423 fileobj.seek(0)
446 fileobj.seek(0)
[all …]
Dtest_io.py82 def seek(self, pos, whence): member in MockRawIOWithoutRead
143 def seek(self, pos, whence): member in MisbehavedRawIO
256 f.seek(0)
259 self.assertEqual(f.seek(0), 0)
262 self.assertEqual(f.seek(-1, 1), 5)
265 self.assertEqual(f.seek(0), 0)
267 self.assertEqual(f.seek(-1, 2), 13)
272 self.assertRaises(TypeError, f.seek, 0.0)
283 self.assertEqual(f.seek(0), 0)
287 self.assertEqual(f.seek(-6, 2), 6)
[all …]
Dtest_fileio.py42 self.f.seek(0)
44 self.f.seek(10)
46 self.f.seek(5, 1)
48 self.f.seek(-5, 1)
50 self.f.seek(-5, 2)
79 self.f.seek(0)
179 f.seek(0)
340 self.assertEqual(f.seek(0, os.SEEK_END), 5)
343 self.assertEqual(f.seek(0, os.SEEK_END), 15)
Dtest_gzip.py67 f.seek(0)
152 f.seek(oldpos) # negative seek
159 f.seek(newpos) # positive seek
167 f.seek(10, whence=1)
175 f.seek(pos)
236 fRead.seek(os.stat(self.filename).st_size - 8)
Dtest_bz2.py199 self.assertRaises(TypeError, bz2f.seek)
200 bz2f.seek(150)
208 bz2f.seek(-150, 1)
215 bz2f.seek(-150, 2)
222 bz2f.seek(150000)
230 bz2f.seek(150000)
231 bz2f.seek(150000)
239 bz2f.seek(-150)
260 f.seek(0, 2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
Diobench.py62 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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dgzwrite.c200 if (state->seek) {
201 state->seek = 0;
265 if (state->seek) {
266 state->seek = 0;
331 if (state->seek) { in gzvprintf()
332 state->seek = 0; in gzvprintf()
416 if (state->seek) {
417 state->seek = 0;
485 if (state->seek) {
486 state->seek = 0;
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DStringIO.py95 def seek(self, pos, mode = 0): member in StringIO
294 f.seek(len(lines[0]))
296 f.seek(0)
301 f.seek(-len(line), 1)
305 f.seek(len(line2), 1)
308 f.seek(f.tell() - len(line))
317 f.seek(0, 2)
Dsocket.py345 buf.seek(0, 2) # seek end
365 buf.seek(0)
408 buf.seek(0, 2) # seek end
411 buf.seek(0)
422 buf.seek(0)
443 buf.seek(0, 2) # seek end
465 buf.seek(0, 2) # seek end
468 buf.seek(0)
Dchunk.py96 def seek(self, pos, whence=0): member in Chunk
112 self.file.seek(self.offset + pos, 0)
158 self.file.seek(n, 1)
Dgzip.py280 self.fileobj.seek(0, 2) # Seek to end of file
284 self.fileobj.seek( pos ) # Return to original position
312 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)
333 self.fileobj.seek(-8, 1)
349 self.fileobj.seek(-1, 1)
390 self.fileobj.seek(0)
406 def seek(self, offset, whence=0): member in GzipFile
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DStringIO.py95 def seek(self, pos, mode = 0): member in StringIO
294 f.seek(len(lines[0]))
296 f.seek(0)
301 f.seek(-len(line), 1)
305 f.seek(len(line2), 1)
308 f.seek(f.tell() - len(line))
317 f.seek(0, 2)
Dsocket.py349 buf.seek(0, 2) # seek end
369 buf.seek(0)
412 buf.seek(0, 2) # seek end
415 buf.seek(0)
426 buf.seek(0)
447 buf.seek(0, 2) # seek end
469 buf.seek(0, 2) # seek end
472 buf.seek(0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
Dexample.py87 def seek(self, position, mode=0): member in cStringIO.InputType
93 seek.pyarg = "i|i"
/device/linaro/hikey/l-loader/
Dgen_loader_hikey.py97 self.fp.seek(self.p_file)
114 self.fp.seek(self.p_entry)
125 self.fp.seek(20)
130 self.fp.seek(24)
Dgen_loader.py121 self.fp.seek(self.p_file)
146 self.fp.seek(self.p_file)
166 self.fp.seek(self.p_entry)
178 self.fp.seek(20)
183 self.fp.seek(24)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Drgrep.py32 f.seek(0, 2)
38 f.seek(pos)
/device/generic/goldfish/tools/
Dmk_qemu_image.sh33 dd if=$srcimg of=$target conv=notrunc,sync ibs=1024k obs=1024k seek=1 > /dev/null 2>&1
44 dd if=/dev/zero of=$target conv=notrunc bs=1 count=1024k seek=$curdisksize > /dev/null 2>&1
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_filelist.py69 stdout.seek(0)
76 stdout.seek(0)
Dtest_ccompiler.py45 stdout.seek(0)
52 stdout.seek(0)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DGuidSection.py202 FileHandleIn.seek(0, 2)
206 FileHandleOut.seek(0, 2)
216 FileHandleIn.seek(0)
218 FileHandleOut.seek(0)

12345