reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/FormattedStream.h
   51     return TheStream->tell();
include/llvm/Support/OnDiskHashTable.h
  178       B.Off = Out.tell();
  196         uint64_t KeyStart = Out.tell();
  198         uint64_t DataStart = Out.tell();
  200         uint64_t End = Out.tell();
  210     offset_type TableOff = Out.tell();
include/llvm/Support/circular_raw_ostream.h
   90       return TheStream->tell() - TheStream->GetNumBytesInBuffer();
include/llvm/Support/raw_ostream.h
  368     uint64_t Pos = tell();
lib/DebugInfo/GSYM/FileWriter.cpp
   68   return OS.tell();
   72   off_t Offset = OS.tell();
lib/MC/ELFObjectWriter.cpp
  340   uint64_t Padding = offsetToAlignment(W.OS.tell(), Align(Alignment));
  645   uint64_t SecStart = W.OS.tell();
  781   uint64_t SecEnd = W.OS.tell();
  791   SecStart = W.OS.tell();
  796   SecEnd = W.OS.tell();
 1093   uint64_t StartOffset = W.OS.tell();
 1122     uint64_t SecStart = W.OS.tell();
 1127     uint64_t SecEnd = W.OS.tell();
 1169     uint64_t SecStart = W.OS.tell();
 1179     uint64_t SecEnd = W.OS.tell();
 1203       uint64_t SecStart = W.OS.tell();
 1208       uint64_t SecEnd = W.OS.tell();
 1213       uint64_t SecStart = W.OS.tell();
 1215       uint64_t SecEnd = W.OS.tell();
 1221     uint64_t SecStart = W.OS.tell();
 1227     uint64_t SecEnd = W.OS.tell();
 1232     uint64_t SecStart = W.OS.tell();
 1234     uint64_t SecEnd = W.OS.tell();
 1241   const uint64_t SectionHeaderOffset = W.OS.tell();
 1269   return W.OS.tell() - StartOffset;
lib/MC/MCAssembler.cpp
  509   uint64_t Start = OS.tell();
  662   assert(OS.tell() - Start == FragmentSize &&
  712   uint64_t Start = OS.tell();
  718   assert(OS.tell() - Start == Layout.getSectionAddressSize(Sec));
lib/MC/MCDwarf.cpp
  766     *Offset = OS.tell();
  773     *Offset = OS.tell();
 1919       *Offset = OS.tell();
 1927       *Offset = OS.tell();
 1935       *Offset = OS.tell();
 1944       *Offset = OS.tell();
lib/MC/MCLinkerOptimizationHint.cpp
   58   return OutStream.tell();
lib/MC/MachObjectWriter.cpp
  145   uint64_t Start = W.OS.tell();
  160   assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64)
  181   uint64_t Start = W.OS.tell();
  211   assert(W.OS.tell() - Start == SegmentLoadCommandSize);
  231   uint64_t Start = W.OS.tell();
  255   assert(W.OS.tell() - Start ==
  265   uint64_t Start = W.OS.tell();
  275   assert(W.OS.tell() - Start == sizeof(MachO::symtab_command));
  288   uint64_t Start = W.OS.tell();
  312   assert(W.OS.tell() - Start == sizeof(MachO::dysymtab_command));
  410   uint64_t Start = W.OS.tell();
  418   assert(W.OS.tell() - Start == sizeof(MachO::linkedit_data_command));
  434   uint64_t Start = W.OS.tell();
  451   assert(W.OS.tell() - Start == Size);
  756   uint64_t StartOffset = W.OS.tell();
  999     unsigned Start = W.OS.tell();
 1005     assert(W.OS.tell() - Start == LOHSize);
 1044   return W.OS.tell() - StartOffset;
lib/MC/WasmObjectWriter.cpp
  355   Section.SizeOffset = W.OS.tell();
  362   Section.ContentsOffset = W.OS.tell();
  363   Section.PayloadOffset = W.OS.tell();
  373   Section.PayloadOffset = W.OS.tell();
  379   Section.ContentsOffset = W.OS.tell();
  385   uint64_t Size = W.OS.tell();
  842     FuncSection.setSectionOffset(W.OS.tell() - Section.ContentsOffset);
  872     Segment.Section->setSectionOffset(W.OS.tell() - Section.ContentsOffset);
 1020   Sec->setSectionOffset(W.OS.tell() - Section.ContentsOffset);
 1107   uint64_t StartOffset = W.OS.tell();
 1592   return W.OS.tell() - StartOffset;
lib/MC/WinCOFFObjectWriter.cpp
  621     assert(W.OS.tell() == Sec.Header.PointerToRawData &&
  641   assert(W.OS.tell() == Sec.Header.PointerToRelocations &&
  894   unsigned Offset = W.OS.tell();
  954   uint64_t StartOffset = W.OS.tell();
 1076   assert(W.OS.tell() == Header.PointerToSymbolTable &&
 1087   return W.OS.tell() - StartOffset;
lib/MC/XCOFFObjectWriter.cpp
  363   uint64_t StartOffset = W.OS.tell();
  374   return W.OS.tell() - StartOffset;
lib/Object/ArchiveWriter.cpp
  117   uint64_t OldPos = OS.tell();
  119   unsigned SizeSoFar = OS.tell() - OldPos;
  222     NamePos = StringTable.tell();
  227       Insertion.first->second = StringTable.tell();
  317     printBSDMemberHeader(Out, Out.tell(), Name, now(Deterministic), 0, 0, 0,
  324   uint64_t Pos = Out.tell() + Size;
  380     Ret.push_back(SymNames.tell());
  503   if (HasObject && SymNames.tell() == 0)
lib/ObjectYAML/COFFEmitter.cpp
  473   assert(OS.tell() == CP.SectionTableStart);
  489   assert(OS.tell() == CP.SectionTableStart + CP.SectionTableSize);
  504     assert(S.Header.PointerToRawData >= OS.tell());
  505     OS.write_zeros(S.Header.PointerToRawData - OS.tell());
lib/ObjectYAML/DWARFEmitter.cpp
   96     auto HeaderStart = OS.tell();
  103     auto HeaderSize = OS.tell() - HeaderStart;
lib/ObjectYAML/ELFEmitter.cpp
   53     uint64_t CurrentOffset = InitialOffset + OS.tell();
 1051   uint64_t Offset = OS.tell();
 1091   SHeader.sh_size = OS.tell() - Offset;
lib/ObjectYAML/MachOEmitter.cpp
   66   fileStart = OS.tell();
  203   auto currOffset = OS.tell() - fileStart;
  274         assert((OS.tell() - fileStart <= Sec.offset ||
  486   fileStart = OS.tell();
  563   auto currOffset = OS.tell() - fileStart;
lib/ObjectYAML/MinidumpEmitter.cpp
  108   size_t BeginOffset = OS.tell();
  111   assert(OS.tell() == BeginOffset + NextOffset &&
lib/ProfileData/InstrProfWriter.cpp
   55   uint64_t tell() { return OS.tell(); }
lib/ProfileData/SampleProfWriter.cpp
   87   uint64_t SectionStart = OutputStream->tell();
  126                          OutputStream->tell() - SectionStart});
  148   uint64_t Offset = OutputStream->tell();
  189   SecLBRProfileStart = OutputStream->tell();
  332   uint64_t FuncOffsetTableStart = OS.tell();
  412   SecHdrTableOffset = OutputStream->tell();
  423   uint64_t Saved = OutputStream->tell();
  460   FileStart = OS.tell();
  475   TableOffset = OutputStream->tell();
  551   uint64_t Offset = OutputStream->tell();
lib/Support/TarWriter.cpp
   83   uint64_t Pos = OS.tell();
  196   uint64_t Pos = OS.tell();
lib/Support/raw_ostream.cpp
  769   uint64_t Pos = tell();
lib/TableGen/TableGenBackend.cpp
   23   size_t Pos = (size_t)OS.tell();
   27   for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size();
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
   62   uint64_t Start = OS.tell();
  164       Fixups.push_back(MCFixup::create(OS.tell() - Start, MO.getExpr(),
tools/clang/lib/AST/MicrosoftMangle.cpp
 1776     size_t OutSizeBefore = Out.tell();
 1783     bool LongerThanOneChar = (Out.tell() - OutSizeBefore > 1);
 2693   size_t OutSizeBefore = Out.tell();
 2711   bool IsBuiltin = Out.tell() != OutSizeBefore;
tools/clang/lib/Frontend/TextDiagnostic.cpp
  677   uint64_t StartOfLocationInfo = OS.tell();
  691                          Message, OS.tell() - StartOfLocationInfo,
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
  126   uint64_t StartOfLocationInfo = OS.tell();
  139                                            OS.tell() - StartOfLocationInfo,
tools/clang/lib/Serialization/ASTWriter.cpp
 2047       uint64_t Start = Out.tell(); (void)Start;
 2093       assert(Out.tell() - Start == DataLen && "Wrong data length");
 3377     uint64_t Start = Out.tell();
 3394     uint64_t Start = Out.tell(); (void)Start;
 3433     assert(Out.tell() - Start == DataLen && "Data length is wrong");
 3702     Writer.SetIdentifierOffset(II, Out.tell());
 3707       InterestingIdentifierOffsets->push_back(Out.tell() - 4);
 3991     uint64_t Start = Out.tell(); (void)Start;
 3994     assert(Out.tell() - Start == DataLen && "Data length is wrong");
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 3839     if (SS.tell()) {
 3866     if (SS.tell()) {
tools/dsymutil/MachOUtils.cpp
  463   assert(OutFile.tell() == HeaderSize);
  468     assert(OutFile.tell() == HeaderSize + sizeof(UUIDCmd));
  521   assert(OutFile.tell() == LoadCommandSize + HeaderSize);
  523   assert(OutFile.tell() == SymtabStart);
  528     assert(OutFile.tell() == StringStart);
  544   assert(OutFile.tell() == StringStart + NewStringsSize);
  548   assert(OutFile.tell() == DwarfSegmentStart);
  555     uint64_t Pos = OutFile.tell();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
   52     while ( (_ostream.tell() % alignment) != 0 )
   56     return _ostream.tell();
tools/lld/wasm/OutputSections.cpp
   75   debugWrite(os.tell(), "section type [" + getSectionName() + "]");
tools/lld/wasm/WriterUtils.cpp
   71   debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]");
   76   debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]");
   82   debugWrite(os.tell(), msg + " [data[" + Twine(count) + "]]");
   87   debugWrite(os.tell(),
   94   debugWrite(os.tell(), msg + " [0x" + utohexstr(byte) + "]");
   99   debugWrite(os.tell(), msg + "[0x" + utohexstr(number) + "]");
tools/llvm-cov/TestingSupport.cpp
  103   for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad)
tools/llvm-objdump/llvm-objdump.cpp
  696     size_t Start = OS.tell();
  707     unsigned Column = OS.tell() - Start;
tools/llvm-rc/ResourceFileWriter.h
  175   uint64_t tell() const { return FS->tell(); }
unittests/Support/formatted_raw_ostream_test.cpp
   28     EXPECT_EQ(100*(i+1), (unsigned) C.tell());