Home
last modified time | relevance | path

Searched refs:CurrentOffset (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DProfile.cpp54 uint64_t CurrentOffset = Offset; in readBlockHeader() local
56 if (Offset == CurrentOffset) in readBlockHeader()
59 Twine(CurrentOffset) + "'", in readBlockHeader()
61 CurrentOffset = Offset; in readBlockHeader()
63 if (Offset == CurrentOffset) in readBlockHeader()
66 Twine(CurrentOffset) + "'", in readBlockHeader()
68 CurrentOffset = Offset; in readBlockHeader()
70 if (Offset == CurrentOffset) in readBlockHeader()
73 Twine(CurrentOffset) + "'", in readBlockHeader()
82 auto CurrentOffset = Offset; in readPath() local
[all …]
/external/llvm-project/llvm/lib/XRay/
DProfile.cpp54 uint64_t CurrentOffset = Offset; in readBlockHeader() local
56 if (Offset == CurrentOffset) in readBlockHeader()
59 Twine(CurrentOffset) + "'", in readBlockHeader()
61 CurrentOffset = Offset; in readBlockHeader()
63 if (Offset == CurrentOffset) in readBlockHeader()
66 Twine(CurrentOffset) + "'", in readBlockHeader()
68 CurrentOffset = Offset; in readBlockHeader()
70 if (Offset == CurrentOffset) in readBlockHeader()
73 Twine(CurrentOffset) + "'", in readBlockHeader()
82 auto CurrentOffset = Offset; in readPath() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsResource.cpp623 uint64_t CurrentOffset = 0; member in llvm::object::WindowsResourceCOFFWriter
744 CurrentOffset += sizeof(coff_file_header); in writeFirstSectionHeader()
746 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
762 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader()
764 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
780 CurrentOffset += sizeof(coff_section); in writeFirstSection()
786 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeFirstSection()
792 llvm::copy(RawDataEntry, BufferStart + CurrentOffset); in writeSecondSection()
793 CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t)); in writeSecondSection()
796 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeSecondSection()
[all …]
/external/llvm-project/llvm/lib/Object/
DWindowsResource.cpp623 uint64_t CurrentOffset = 0; member in llvm::object::WindowsResourceCOFFWriter
746 CurrentOffset += sizeof(coff_file_header); in writeFirstSectionHeader()
748 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
764 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader()
766 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
782 CurrentOffset += sizeof(coff_section); in writeFirstSection()
788 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeFirstSection()
794 llvm::copy(RawDataEntry, BufferStart + CurrentOffset); in writeSecondSection()
795 CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t)); in writeSecondSection()
798 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeSecondSection()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DBinaryItemStream.h77 uint32_t CurrentOffset = 0; in computeItemOffsets() local
81 CurrentOffset += Len; in computeItemOffsets()
82 ItemEndOffsets.push_back(CurrentOffset); in computeItemOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryItemStream.h77 uint32_t CurrentOffset = 0; in computeItemOffsets() local
81 CurrentOffset += Len; in computeItemOffsets()
82 ItemEndOffsets.push_back(CurrentOffset); in computeItemOffsets()
/external/llvm-project/llvm/lib/MC/
DMCCodeView.cpp206 unsigned CurrentOffset = 0; in emitFileChecksums() local
213 MCConstantExpr::create(CurrentOffset, Ctx)); in emitFileChecksums()
214 CurrentOffset += 4; // String table offset. in emitFileChecksums()
216 CurrentOffset += in emitFileChecksums()
219 CurrentOffset += 2; // One byte each for checksum size and kind. in emitFileChecksums()
220 CurrentOffset += File.Checksum.size(); in emitFileChecksums()
221 CurrentOffset = alignTo(CurrentOffset, 4); in emitFileChecksums()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCCodeView.cpp206 unsigned CurrentOffset = 0; in emitFileChecksums() local
213 MCConstantExpr::create(CurrentOffset, Ctx)); in emitFileChecksums()
214 CurrentOffset += 4; // String table offset. in emitFileChecksums()
216 CurrentOffset += in emitFileChecksums()
219 CurrentOffset += 2; // One byte each for checksum size and kind. in emitFileChecksums()
220 CurrentOffset += File.Checksum.size(); in emitFileChecksums()
221 CurrentOffset = alignTo(CurrentOffset, 4); in emitFileChecksums()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h247 Optional<uint32_t> bytesRemaining(uint32_t CurrentOffset) const { in bytesRemaining()
250 assert(CurrentOffset >= BeginOffset); in bytesRemaining()
252 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h248 Optional<uint32_t> bytesRemaining(uint32_t CurrentOffset) const { in bytesRemaining()
251 assert(CurrentOffset >= BeginOffset); in bytesRemaining()
253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp53 Lowering getLowering(int64_t CurrentOffset, int64_t AllocaAmount);
100 X86WinAllocaExpander::getLowering(int64_t CurrentOffset, in getLowering() argument
107 if (CurrentOffset + AllocaAmount <= StackProbeSize) in getLowering()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp53 Lowering getLowering(int64_t CurrentOffset, int64_t AllocaAmount);
97 X86WinAllocaExpander::getLowering(int64_t CurrentOffset, in getLowering() argument
104 if (CurrentOffset + AllocaAmount <= StackProbeSize) in getLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp52 Lowering getLowering(int64_t CurrentOffset, int64_t AllocaAmount);
96 X86WinAllocaExpander::getLowering(int64_t CurrentOffset, in getLowering() argument
103 if (CurrentOffset + AllocaAmount <= StackProbeSize) in getLowering()
/external/webrtc/rtc_base/
Dmessage_buffer_reader.h32 size_t CurrentOffset() const { return start_; } in CurrentOffset() function
/external/pdfium/core/fpdfapi/edit/
Dcpdf_stringarchivestream.h18 FX_FILESIZE CurrentOffset() const override;
Dcpdf_stringarchivestream.cpp22 FX_FILESIZE CPDF_StringArchiveStream::CurrentOffset() const { in CurrentOffset() function in CPDF_StringArchiveStream
Dcpdf_creator.cpp45 FX_FILESIZE CurrentOffset() const override { return offset_; } in CurrentOffset() function in __anon0d49f9ff0111::CFX_FileBufferArchive
172 m_ObjectOffsets[objnum] = m_Archive->CurrentOffset(); in WriteOldIndirectObject()
206 m_ObjectOffsets[objnum] = m_Archive->CurrentOffset(); in WriteNewObjs()
322 FX_FILESIZE saveOffset = m_Archive->CurrentOffset(); in WriteDoc_Stage2()
341 m_XrefStart = m_Archive->CurrentOffset(); in WriteDoc_Stage3()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp40 uint64_t CurrentOffset = InitialOffset + OS.tell(); in padToAlignment() local
41 uint64_t AlignedOffset = alignTo(CurrentOffset, Align); in padToAlignment()
42 for (; CurrentOffset != AlignedOffset; ++CurrentOffset) in padToAlignment()
/external/pdfium/core/fxcrt/
Dfx_stream.h44 virtual FX_FILESIZE CurrentOffset() const = 0;
/external/webrtc/p2p/base/
Dmdns_message.cc32 size_t name_start_pos = buf->CurrentOffset(); in ReadDomainName()
318 RTC_DCHECK_EQ(0u, buf->CurrentOffset()); in Read()
/external/llvm-project/llvm/utils/TableGen/
DInstrInfoEmitter.cpp378 int CurrentOffset = 0; in emitOperandTypeMappings() local
380 OperandOffsets.push_back(CurrentOffset); in emitOperandTypeMappings()
386 ++CurrentOffset; in emitOperandTypeMappings()
390 ++CurrentOffset; in emitOperandTypeMappings()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp77 uint64_t CurrentOffset = getOffset(); in padToAlignment() local
79 return CurrentOffset; in padToAlignment()
81 uint64_t AlignedOffset = alignTo(CurrentOffset, Align == 0 ? 1 : Align); in padToAlignment()
82 uint64_t PaddingSize = AlignedOffset - CurrentOffset; in padToAlignment()
84 return CurrentOffset; in padToAlignment()
1393 uint64_t CurrentOffset = CBA.getOffset(); in alignToOffset() local
1397 if ((uint64_t)*Offset < CurrentOffset) { in alignToOffset()
1400 return CurrentOffset; in alignToOffset()
1406 AlignedOffset = alignTo(CurrentOffset, std::max(Align, (uint64_t)1)); in alignToOffset()
1409 CBA.writeZeros(AlignedOffset - CurrentOffset); in alignToOffset()
/external/llvm-project/llvm/lib/InterfaceStub/
DELFObjHandler.cpp236 uint64_t CurrentOffset = sizeof(Elf_Ehdr); in ELFStubBuilder() local
238 Sec->Offset = alignTo(CurrentOffset, Sec->Align); in ELFStubBuilder()
240 CurrentOffset = Sec->Offset + Sec->Size; in ELFStubBuilder()
/external/swiftshader/third_party/subzero/src/
DIceTargetLowering.h258 virtual uint32_t getFramePointerOffset(uint32_t CurrentOffset, in getFramePointerOffset() argument
260 return -(CurrentOffset + Size); in getFramePointerOffset()
DIceCfg.cpp831 uint32_t CurrentOffset = 0; in sortAndCombineAllocas() local
845 Offsets.push_back(Target->getFramePointerOffset(CurrentOffset, Size)); in sortAndCombineAllocas()
856 Offsets.push_back(CurrentOffset + OutArgsOffsetOrZero); in sortAndCombineAllocas()
859 CurrentOffset += Size; in sortAndCombineAllocas()
862 uint32_t TotalSize = Utils::applyAlignment(CurrentOffset, CombinedAlignment); in sortAndCombineAllocas()

12