| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 82 Start, ReplacementRange.getLength(), ReplacementText); in apply() 91 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString() 102 if (LHS.getLength() != RHS.getLength()) in operator <() 103 return LHS.getLength() < RHS.getLength(); in operator <() 112 LHS.getLength() == RHS.getLength() && in operator ==() 159 unsigned NewEnd = getShiftedCodePosition(R.getOffset() + R.getLength()); in getReplacementInChangedCode() 200 unsigned PrevEnd = Prev.getOffset() + Prev.getLength(); in getCanonicalReplacements() 207 R.getFilePath(), Prev.getOffset(), Prev.getLength() + R.getLength(), in getCanonicalReplacements() 262 Replacement AtEnd(R.getFilePath(), R.getOffset() + R.getLength(), 0, ""); in add() 270 assert(R.getLength() == 0); in add() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 30 Length = BorrowedImpl.getLength(); in BinaryStreamRefBase() 51 uint32_t getLength() const { in getLength() function 55 return BorrowedImpl ? (BorrowedImpl->getLength() - ViewOffset) : 0; in getLength() 65 N = std::min(N, getLength()); in drop_front() 84 N = std::min(N, getLength()); in drop_back() 92 Result.Length = getLength(); in drop_back() 100 assert(N <= getLength()); in keep_front() 101 return drop_back(getLength() - N); in keep_front() 106 assert(N <= getLength()); in keep_back() 107 return drop_front(getLength() - N); in keep_back() [all …]
|
| H A D | BinaryStream.h | 53 virtual uint32_t getLength() = 0; 60 if (Offset > getLength()) in checkOffsetForRead() 62 if (getLength() < DataSize + Offset) in checkOffsetForRead() 93 if (Offset > getLength()) in checkOffsetForWrite()
|
| H A D | BinaryByteStream.h | 57 uint32_t getLength() override { return Data.size(); } in getLength() function 110 uint32_t getLength() override { return ImmutableStream.getLength(); } in getLength() function 170 uint32_t getLength() override { return Data.size(); } in getLength() function 182 if (Offset > getLength()) in writeBytes() 253 uint32_t getLength() override { return Impl.getLength(); } in getLength() function
|
| H A D | BinaryStreamArray.h | 117 bool empty() const { return Stream.getLength() == 0; } in empty() 165 if (IterRef.getLength() == 0) in VarStreamArrayIterator() 211 if (IterRef.getLength() == 0) { 270 assert(Stream.getLength() % sizeof(T) == 0); in FixedStreamArray() 298 uint32_t size() const { return Stream.getLength() / sizeof(T); } in size()
|
| H A D | BinaryStreamWriter.h | 185 uint32_t getLength() const { return Stream.getLength(); } in getLength() function 186 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining()
|
| H A D | BinaryStreamReader.h | 256 uint32_t getLength() const { return Stream.getLength(); } in getLength() function 257 uint32_t bytesRemaining() const { return getLength() - getOffset(); } in bytesRemaining()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSymbolEnumerator.cpp | 83 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); in getValue() 85 switch (BT.getLength()) { in getValue() 99 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue() 101 switch (BT.getLength()) { in getValue() 114 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
|
| H A D | NativeTypeArray.cpp | 38 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 58 return getLength() / Element.getLength(); in getCount() 66 uint64_t NativeTypeArray::getLength() const { return Record.Size; } in getLength() function in NativeTypeArray
|
| /netbsd-src/external/bsd/elftosb/dist/common/ |
| H A D | DataSource.h | 65 virtual unsigned getLength()=0; 114 virtual unsigned getLength(); 223 virtual unsigned getLength() { return m_length; } in getLength() function 262 virtual unsigned getLength(); 280 virtual unsigned getLength();
|
| H A D | DataTarget.cpp | 31 range.m_end = std::min<uint32_t>(m_end, m_begin + segment.getLength()); in getRangeForSegment() 36 range.m_end = m_begin + segment.getLength(); in getRangeForSegment() 56 range.m_end = segment.getBaseAddress() + segment.getLength(); in getRangeForSegment()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | BinaryStreamRef.cpp | 32 uint32_t getLength() override { return BBS.getLength(); } in getLength() function in __anon31eda1550111::ArrayRefImpl 55 uint32_t getLength() override { return BBS.getLength(); } in getLength() function in __anon31eda1550111::MutableArrayRefImpl 97 uint32_t MaxLength = getLength() - Offset; in readLongestContiguousChunk()
|
| H A D | BinaryStreamWriter.cpp | 62 return writeStreamRef(Ref, Ref.getLength()); in writeStreamRef() 84 assert(getLength() >= Off); in split() 97 if (NewOffset > getLength()) in padToAlignment()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | ReductionRules.h | 49 for (unsigned j = 0; j < YCosts.getLength(); ++j) { in applyR1() 51 for (unsigned i = 1; i < XCosts.getLength(); ++i) { in applyR1() 59 for (unsigned i = 0; i < YCosts.getLength(); ++i) { in applyR1() 61 for (unsigned j = 1; j < XCosts.getLength(); ++j) { in applyR1() 104 unsigned XLen = XCosts.getLength(), in applyR2() 152 unsigned VL = V.getLength(); in hasRegisterOptions()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyBuiltinDumper.cpp | 32 if (Symbol.getLength() == 4) in getTypeName() 36 switch (Symbol.getLength()) { in getTypeName() 49 switch (Symbol.getLength()) { in getTypeName()
|
| H A D | PrettyCompilandDumper.cpp | 98 if (Line->getLength() > 0) { in start() 100 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start() 104 Printer << " (" << Line->getLength() << " bytes)"; in start() 164 if (Symbol.getLength() == 0) in dump() 203 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 51 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix() 55 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix() 59 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix() 139 } else if (Tok.getLength() < 256) { in GetFirstChar() 174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionRecord.cpp | 45 return sizeof(DebugSubsectionHeader) + Data.getLength(); in getRecordLength() 62 : Contents.getRecordData().getLength(); in calculateSerializedLength() 78 : Contents.getRecordData().getLength(); in commit()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 188 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() 447 !isa<ConstantInt>(MSI->getLength())) in tryMergingIntoMemset() 848 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet() 1060 if (MDep->getLength() != M->getLength()) { in processMemCpyMemCpyDependence() 1061 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence() 1062 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength()); in processMemCpyMemCpyDependence() 1111 M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1115 M->getLength(), M->isVolatile()); in processMemCpyMemCpyDependence() 1179 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() 1180 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/ |
| H A D | UDTLayout.cpp | 44 return RawType.getLength(); in getTypeLength() 101 ElementSize = VTableType->getLength(); in VTableLayoutItem() 131 : UDTLayoutBase(nullptr, UDT, UDT.getName(), 0, UDT.getLength(), false), in ClassLayout() 154 : UDTLayoutBase(&Parent, *B, B->getName(), OffsetInParent, B->getLength(), in BaseClassLayout() 240 VBPO, VBP->getLength()); in initializeChildren()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerIntrinsics.cpp | 86 if (shouldExpandOperationWithSize(Memcpy->getLength())) { in expandMemIntrinsicUses() 99 if (shouldExpandOperationWithSize(Memmove->getLength())) { in expandMemIntrinsicUses() 109 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Core/ |
| H A D | Replacement.h | 52 unsigned getLength() const { return Length; } in getLength() function 70 return Offset == RHS.getOffset() && Length == RHS.getLength(); 122 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | MacroExpansionContext.cpp | 43 MacroName.getLocation().getLocWithOffset(MacroName.getLength())); in MacroExpands() 53 << "' with length " << MacroName.getLength() << " at "; in MacroExpands() 190 OS << StringRef(Tok.getLiteralData(), Tok.getLength()); in dumpTokenInto() 193 if (Tok.getLength() < sizeof(Tmp)) { in dumpTokenInto()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypeUnit.cpp | 28 << ", length = " << format("0x%0*" PRIx64, OffsetDumpWidth, getLength()) in dump() 34 << " length = " << format("0x%0*" PRIx64, OffsetDumpWidth, getLength()) in dump()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| H A D | Token.h | 129 unsigned getLength() const { in getLength() function 155 : getLocation().getLocWithOffset(getLength()); in getEndLoc() 207 return StringRef(reinterpret_cast<const char *>(PtrData), getLength()); in getRawIdentifier()
|