Home
last modified time | relevance | path

Searched refs:tell (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/third_party/python/Lib/test/
Dtest_largefile.py67 self.assertEqual(f.tell(), size + 1)
74 self.assertEqual(f.tell(), 0)
76 self.assertEqual(f.tell(), 1)
78 self.assertEqual(f.tell(), 0)
80 self.assertEqual(f.tell(), 0)
82 self.assertEqual(f.tell(), 42)
84 self.assertEqual(f.tell(), 42)
86 self.assertEqual(f.tell(), 84)
88 self.assertEqual(f.tell(), 84)
90 self.assertEqual(f.tell(), size + 1 + 0)
[all …]
Dtest_fileio.py36 self.assertEqual(self.f.tell(), p.tell())
44 self.assertEqual(self.f.tell(), 20)
46 self.assertEqual(self.f.tell(), 0)
48 self.assertEqual(self.f.tell(), 10)
50 self.assertEqual(self.f.tell(), 15)
52 self.assertEqual(self.f.tell(), 10)
54 self.assertEqual(self.f.tell(), 15)
293 f.tell()
492 self.assertEqual(f.tell(), 10)
494 self.assertEqual(f.tell(), 10)
[all …]
Dtest_memoryio.py59 self.assertEqual(0, bytesIo.tell())
61 self.assertEqual(5, bytesIo.tell())
63 self.assertEqual(10000, bytesIo.tell())
76 self.assertEqual(f.tell(), 6)
78 self.assertEqual(f.tell(), 5)
83 self.assertEqual(f.tell(), 1)
134 self.assertEqual(memio.tell(), 6)
138 pos = memio.tell()
140 self.assertEqual(memio.tell(), pos)
175 self.assertEqual(memio.tell(), 10)
[all …]
Dtest_file.py31 self.assertEqual(self.f.tell(), p.tell())
233 if f.tell() != 5:
234 self.fail("File pos after read wrong %d" % f.tell())
237 if f.tell() != 5:
238 self.fail("File pos after ftruncate wrong %d" % f.tell())
Dtest_io.py120 def tell(self): member in MockRawIOWithoutRead
181 def tell(self): member in MisbehavedRawIO
256 def tell(self, *args): member in MockUnseekableIO
335 self.assertEqual(f.tell(), 5)
341 self.assertEqual(f.tell(), 6)
343 self.assertEqual(f.tell(), 5)
350 self.assertEqual(f.tell(), 13)
353 self.assertEqual(f.tell(), 13)
376 self.assertEqual(f.tell(), 10)
398 self.assertEqual(f.tell(), self.LARGE)
[all …]
Dtest_mmap.py83 self.assertEqual(m.tell(), 0)
85 self.assertEqual(m.tell(), 42)
87 self.assertEqual(m.tell(), len(m))
117 self.assertEqual(f.tell(), 512)
533 self.assertEqual(f.tell(), halfsize + 512)
572 self.assertEqual(m.tell(), i)
574 self.assertEqual(m.tell(), i+1)
580 self.assertEqual(m.tell(), i)
582 self.assertEqual(m.tell(), i+1)
587 self.assertEqual(m.tell(), 6)
[all …]
Dtest_imghdr.py28 def tell(self): member in UnseekableIO
72 pos = stream.tell()
77 self.assertEqual(stream.tell(), pos)
/third_party/python/Lib/test/test_asyncio/
Dtest_sendfile.py205 self.assertEqual(self.file.tell(), len(self.DATA))
215 self.assertEqual(self.file.tell(), 3000)
227 self.assertEqual(self.file.tell(), 0)
241 self.assertEqual(self.file.tell(), len(self.DATA))
301 self.assertEqual(0, self.file.tell())
315 self.assertEqual(self.file.tell(), len(self.DATA))
334 self.assertEqual(self.file.tell(), len(self.DATA))
358 self.assertEqual(self.file.tell(), 0)
369 self.assertEqual(self.file.tell(), len(self.DATA))
378 self.assertEqual(self.file.tell(), 0)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp31 size_t tell() const { return NextOffset; } in tell() function in __anona935242f0111::BlobAllocator
108 size_t BeginOffset = OS.tell(); in writeTo()
111 assert(OS.tell() == BeginOffset + NextOffset && in writeTo()
124 size_t DataEnd = File.tell(); in layout()
162 size_t DataEnd = File.tell(); in layout()
165 DataEnd = File.tell(); in layout()
175 Result.Location.RVA = File.tell(); in layout()
208 DataEnd = File.tell(); in layout()
222 DataEnd.getValueOr(File.tell()) - Result.Location.RVA; in layout()
/third_party/cef/include/capi/
Dcef_stream_capi.h78 int64(CEF_CALLBACK* tell)(struct _cef_read_handler_t* self);
122 int64(CEF_CALLBACK* tell)(struct _cef_stream_reader_t* self);
184 int64(CEF_CALLBACK* tell)(struct _cef_write_handler_t* self);
228 int64(CEF_CALLBACK* tell)(struct _cef_stream_writer_t* self);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMachObjectWriter.cpp145 uint64_t Start = W.OS.tell(); in writeHeader()
160 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
181 uint64_t Start = W.OS.tell(); in writeSegmentLoadCommand()
211 assert(W.OS.tell() - Start == SegmentLoadCommandSize); in writeSegmentLoadCommand()
231 uint64_t Start = W.OS.tell(); in writeSection()
255 assert(W.OS.tell() - Start == in writeSection()
265 uint64_t Start = W.OS.tell(); in writeSymtabLoadCommand()
275 assert(W.OS.tell() - Start == sizeof(MachO::symtab_command)); in writeSymtabLoadCommand()
288 uint64_t Start = W.OS.tell(); in writeDysymtabLoadCommand()
312 assert(W.OS.tell() - Start == sizeof(MachO::dysymtab_command)); in writeDysymtabLoadCommand()
[all …]
DELFObjectWriter.cpp340 uint64_t Padding = offsetToAlignment(W.OS.tell(), Align(Alignment)); in align()
622 uint64_t SecStart = W.OS.tell(); in computeSymbolTable()
758 uint64_t SecEnd = W.OS.tell(); in computeSymbolTable()
768 SecStart = W.OS.tell(); in computeSymbolTable()
773 SecEnd = W.OS.tell(); in computeSymbolTable()
1070 uint64_t StartOffset = W.OS.tell(); in writeObject()
1099 uint64_t SecStart = W.OS.tell(); in writeObject()
1104 uint64_t SecEnd = W.OS.tell(); in writeObject()
1146 uint64_t SecStart = W.OS.tell(); in writeObject()
1156 uint64_t SecEnd = W.OS.tell(); in writeObject()
[all …]
/third_party/musl/libc-test/src/regression/
Dpthread_cond-smasher.c56 #define tell(...) trace(__VA_ARGS__) macro
99 tell("thread %u in phase %u (%u), waiting\n", *number, i, phase); in client()
120 tell("start up of main, using %s, library %s\n", VERSION, LIBRARY); in main()
138 tell("main seeing %u threads in phase %u, %s\n", inside[phase], phase, errorstring(ret)); in main()
182 tell("shut down of main, using %s, library %s\n", VERSION, LIBRARY); in main()
/third_party/python/Lib/
Dsre_parse.py286 def tell(self): member in Tokenizer
293 return error(msg, self.string, self.tell() - offset)
441 start = source.tell()
532 here = source.tell() - 1
541 'Possible nested set at position %d' % source.tell(),
550 source.tell() - here)
564 source.tell() - 1),
573 source.tell() - here)
587 source.tell() - 2),
622 here = source.tell()
[all …]
Dmailbox.py670 cur_len = self._file.tell()
684 new_start = new_file.tell()
687 stop - self._file.tell()))
691 new_toc[key] = (new_start, new_file.tell())
693 self._file_length = new_file.tell()
752 before = self._file.tell()
767 self._file_length = self._file.tell() # Record current length of mailbox
782 string = self._file.read(stop - self._file.tell())
798 string = self._file.read(stop - self._file.tell())
807 return _PartialFile(self._file, self._file.tell(), stop)
[all …]
D_pyio.py397 def tell(self): member in IOBase
824 def tell(self): member in _BufferedIOMixin
825 pos = self.raw.tell()
840 pos = self.tell()
1016 def tell(self): member in BytesIO
1235 def tell(self): member in BufferedReader
1236 return _BufferedIOMixin.tell(self) - len(self._read_buf) + self._read_pos
1303 pos = self.raw.tell()
1327 def tell(self): member in BufferedWriter
1328 return _BufferedIOMixin.tell(self) + len(self._write_buf)
[all …]
Dwave.py195 def tell(self): member in Wave_read
420 def tell(self): member in Wave_write
476 self._form_length_pos = self._file.tell()
486 self._data_length_pos = self._file.tell()
494 curpos = self._file.tell()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfWriter.cpp87 uint64_t SectionStart = OutputStream->tell(); in markSectionStart()
126 OutputStream->tell() - SectionStart}); in addNewSection()
148 uint64_t Offset = OutputStream->tell(); in writeSample()
189 SecLBRProfileStart = OutputStream->tell(); in writeSections()
332 uint64_t FuncOffsetTableStart = OS.tell(); in writeFuncOffsetTable()
412 SecHdrTableOffset = OutputStream->tell(); in allocSecHdrTable()
423 uint64_t Saved = OutputStream->tell(); in writeSecHdrTable()
460 FileStart = OS.tell(); in writeHeader()
475 TableOffset = OutputStream->tell(); in writeHeader()
551 uint64_t Offset = OutputStream->tell(); in writeSample()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp67 uint64_t FileWriter::tell() { in tell() function in FileWriter
68 return OS.tell(); in tell()
72 off_t Offset = OS.tell(); in alignTo()
DFunctionInfo.cpp102 const uint64_t FuncInfoOffset = O.tell(); in encode()
114 const auto StartOffset = O.tell(); in encode()
118 const auto Length = O.tell() - StartOffset; in encode()
132 const auto StartOffset = O.tell(); in encode()
136 const auto Length = O.tell() - StartOffset; in encode()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceELFStreamer.h34 virtual uint64_t tell() const = 0;
99 uint64_t tell() const override { return Out.tell(); } in tell() function
/third_party/vk-gl-cts/scripts/src_util/
Dcheck_encoding.py91 start = file.tell()
94 end = file.tell()
101 end = file.tell()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchiveWriter.cpp117 uint64_t OldPos = OS.tell(); in printWithSpacePadding()
119 unsigned SizeSoFar = OS.tell() - OldPos; in printWithSpacePadding()
222 NamePos = StringTable.tell(); in printMemberHeader()
227 Insertion.first->second = StringTable.tell(); in printMemberHeader()
317 printBSDMemberHeader(Out, Out.tell(), Name, now(Deterministic), 0, 0, 0, in writeSymbolTable()
324 uint64_t Pos = Out.tell() + Size; in writeSymbolTable()
380 Ret.push_back(SymNames.tell()); in getSymbols()
503 if (HasObject && SymNames.tell() == 0) in computeMemberData()
/third_party/openssl/.github/ISSUE_TEMPLATE/
Ddocumentation.md10 Please remember to tell us which OpenSSL version you are using and then
13 certain command or API function, please tell us its name.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTableGenBackend.cpp23 size_t Pos = (size_t)OS.tell(); in printLine()
27 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine()

12345678910>>...28