| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | RawStringLiteral.cpp | 81 needsRaw(Str->getBytes()) && canBeRaw(Str->getBytes()); in prepare() 87 tooling::Replacement(SM, Str, ("R\"(" + Str->getBytes() + ")\"").str(), in apply()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | DataExtractorTest.cpp | 378 Str = DE.getBytes(&Offset, sizeof(Data)); in TEST() 382 Str = DE.getBytes(&Offset, 4); in TEST() 388 EXPECT_EQ(StringRef("\x01\x02"), DE.getBytes(C, 2)); in TEST() 389 EXPECT_EQ(StringRef("\x00\x04", 2), DE.getBytes(C, 2)); in TEST() 390 EXPECT_EQ(StringRef(), DE.getBytes(C, 2)); in TEST() 391 EXPECT_EQ(StringRef(), DE.getBytes(C, 2)); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | GCOV.h | 108 std::string str(de.getBytes(cursor, 4)); in readGCOVVersion() 148 return de.getBytes(cursor, len * 4).split('\0').first; in getString() 174 str = de.getBytes(cursor, len).drop_back(); in readString() 176 str = de.getBytes(cursor, len * 4).split('\0').first; in readString()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | DataExtractor.h | 233 StringRef getBytes(uint64_t *OffsetPtr, uint64_t Length, 239 StringRef getBytes(Cursor &C, uint64_t Length) { in getBytes() function 240 return getBytes(&C.Offset, Length, &C.Err); in getBytes()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | RawStringLiteralCheck.cpp | 50 for (const unsigned char C : Literal->getBytes()) in containsEscapedCharacters() 73 const StringRef Bytes = Literal->getBytes(); in asRawStringLiteral()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | DataExtractor.cpp | 176 StringRef Bytes(getBytes(OffsetPtr, Length)); in getFixedLengthString() 180 StringRef DataExtractor::getBytes(uint64_t *OffsetPtr, uint64_t Length, in getBytes() function in DataExtractor
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | MisleadingBidirectional.cpp | 129 StringRef Literal = SL->getBytes(); in check()
|
| H A D | RedundantExpressionCheck.cpp | 102 return cast<StringLiteral>(Left)->getBytes() == in areEquivalentExpr() 103 cast<StringLiteral>(Right)->getBytes(); in areEquivalentExpr()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | ObjectFileTransformer.cpp | 59 StringRef UUIDBytes(Decoder.getBytes(&Offset, PayloadSize)); in getUUID()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 484 return StringLit1->getBytes() == StringLit2->getBytes(); in isIdenticalStmt()
|
| H A D | ExprInspectionChecker.cpp | 478 return std::string(SL->getBytes()); in lookup()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 116 ArrayRef<char> getBytes(const Entry &E) const { in getBytes() function
|
| H A D | DwarfDebug.cpp | 2523 DWARFDataExtractor Data(StringRef(DebugLocs.getBytes(Entry).data(), in emitDebugLocEntry() 2524 DebugLocs.getBytes(Entry).size()), in emitDebugLocEntry() 2685 Asm->emitULEB128(DebugLocs.getBytes(Entry).size()); in emitDebugLocEntryLocation() 2686 else if (DebugLocs.getBytes(Entry).size() <= std::numeric_limits<uint16_t>::max()) in emitDebugLocEntryLocation() 2687 Asm->emitInt16(DebugLocs.getBytes(Entry).size()); in emitDebugLocEntryLocation()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 358 StringRef Expression = Data.getBytes(C, ExprLength); in parse() 375 StringRef Expression = Data.getBytes(C, BlockLength); in parse()
|
| H A D | DWARFFormValue.cpp | 374 Value.data = Data.getBytes(OffsetPtr, Value.uval, &Err).bytes_begin(); in extractValue()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 1356 FunctionName = DE.getBytes(Cur, FunctionNameLen); in XCOFFTracebackTable() 1364 StringRef VectorExtRef = DE.getBytes(Cur, 6); in XCOFFTracebackTable()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.cpp | 1959 ReservedBytes = DE.getBytes(Cursor, 4); in decodeKernelDescriptorDirective() 1976 ReservedBytes = DE.getBytes(Cursor, 20); in decodeKernelDescriptorDirective() 2053 ReservedBytes = DE.getBytes(Cursor, 6); in decodeKernelDescriptorDirective()
|
| /llvm-project-15.0.7/llvm/lib/DWP/ |
| H A D | DWP.cpp | 390 Out.emitBytes(Data.getBytes(&Offset, HeaderSize)); in writeStringsAndOffsets()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 287 return E1->getBytes() == E2->getBytes(); in IsStmtEquivalent()
|
| H A D | StmtProfile.cpp | 1321 ID.AddString(S->getBytes()); in VisitStringLiteral()
|
| H A D | ASTImporter.cpp | 7069 Importer.getToContext(), E->getBytes(), E->getKind(), E->isPascal(), in VisitStringLiteral()
|
| H A D | ExprConstant.cpp | 16001 StringRef Str = S->getBytes(); in EvaluateBuiltinStrLen()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 929 StringRef Bytes = StrLit->getString()->getBytes(); in CheckObjCDictionaryLiteralDuplicateKeys() 940 checkOneKey(StringKeys, Str->getBytes(), Loc); in CheckObjCDictionaryLiteralDuplicateKeys()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 694 StringRef StrData = E->getBytes(); in VisitStringLiteral()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 1858 StringRef getBytes() const { in getBytes() function
|