Home
last modified time | relevance | path

Searched refs:StrBuf (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp270 raw_string_ostream StrBuf(Buffer); in getTypeByIDForDefining() local
271 StrBuf << "Can't define more than " << NaClBcIndexSize_t_Max in getTypeByIDForDefining()
273 blockError(StrBuf.str()); in getTypeByIDForDefining()
414 raw_string_ostream StrBuf(Buffer); in extractAlignment() local
415 StrBuf << Prefix << " alignment greater than 2**" << AlignPowerLimit in extractAlignment()
417 Parser->Error(StrBuf.str()); in extractAlignment()
535 raw_string_ostream StrBuf(Buffer); in reportLinkageError() local
536 StrBuf << Kind << " " << Decl.getName() in reportLinkageError()
539 StrBuf << "\n Use flag -allow-externally-defined-symbols to override"; in reportLinkageError()
540 Error(StrBuf.str()); in reportLinkageError()
[all …]
DIceGlobalInits.cpp43 llvm::raw_string_ostream StrBuf(Buffer); in dumpLinkage() local
44 StrBuf << "Unknown linkage value: " << Linkage; in dumpLinkage()
45 llvm::report_fatal_error(StrBuf.str()); in dumpLinkage()
54 llvm::raw_string_ostream StrBuf(Buffer); in dumpCallingConv() local
55 StrBuf << "Unknown calling convention: " << CallingConv; in dumpCallingConv()
56 llvm::report_fatal_error(StrBuf.str()); in dumpCallingConv()
74 llvm::raw_string_ostream StrBuf(Buffer); in getTypeSignatureError() local
75 StrBuf << "Invalid type signature for"; in getTypeSignatureError()
76 StrBuf << " " << getName() << ": " << getSignature(); in getTypeSignatureError()
77 return StrBuf.str(); in getTypeSignatureError()
DIceConverter.cpp621 raw_string_ostream StrBuf(Buffer); in validateIntrinsic() local
622 StrBuf << "Intrinsic call expects return type " << I->getReturnType() in validateIntrinsic()
624 report_fatal_error(StrBuf.str()); in validateIntrinsic()
629 raw_string_ostream StrBuf(Buffer); in validateIntrinsic() local
630 StrBuf << "Intrinsic call expects " << I->getNumArgs() in validateIntrinsic()
632 report_fatal_error(StrBuf.str()); in validateIntrinsic()
637 raw_string_ostream StrBuf(Buffer); in validateIntrinsic() local
638 StrBuf << "Intrinsic call argument " << ArgIndex << " expects type " in validateIntrinsic()
641 report_fatal_error(StrBuf.str()); in validateIntrinsic()
699 raw_string_ostream StrBuf(Buffer); in getIntegerLiteralConstant() local
[all …]
DIceBrowserCompileServer.h86 StringStream() : StrBuf(Buffer) {} in StringStream()
87 const std::string &getContents() { return StrBuf.str(); } in getContents()
88 Ostream &getStream() { return StrBuf; } in getStream()
92 llvm::raw_string_ostream StrBuf; variable
DIceBrowserCompileServer.cpp120 llvm::raw_string_ostream StrBuf(Buffer); in onInitCallback() local
121 StrBuf << "Invalid number of FDs for onInitCallback " << ObjFileFDCount in onInitCallback()
123 return strdup(StrBuf.str().c_str()); in onInitCallback()
128 llvm::raw_string_ostream StrBuf(Buffer); in onInitCallback() local
129 StrBuf << "Invalid FD given for onInitCallback " << ObjFileFD << "\n"; in onInitCallback()
130 return strdup(StrBuf.str().c_str()); in onInitCallback()
DIceTranslator.cpp36 llvm::raw_string_ostream StrBuf(Buffer); in createUnnamedName() local
37 StrBuf << Prefix << Index; in createUnnamedName()
38 return StrBuf.str(); in createUnnamedName()
DIceELFSection.cpp138 llvm::raw_string_ostream StrBuf(Buffer); in noteUndefinedSym() local
139 StrBuf << "Symbol external and defined: " << Name; in noteUndefinedSym()
140 llvm::report_fatal_error(StrBuf.str()); in noteUndefinedSym()
DIceTargetLowering.cpp222 llvm::raw_string_ostream StrBuf(Buffer); in filterTypeToRegisterSet() local
223 StrBuf << "Unrecognized use/exclude registers:"; in filterTypeToRegisterSet()
225 StrBuf << " " << RegName; in filterTypeToRegisterSet()
226 llvm::report_fatal_error(StrBuf.str()); in filterTypeToRegisterSet()
DIceAssemblerARM32.cpp2919 llvm::raw_string_ostream StrBuf(Buffer); in emitVMem1Op() local
2920 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()
2921 llvm::report_fatal_error(StrBuf.str()); in emitVMem1Op()
2951 llvm::raw_string_ostream StrBuf(Buffer); in emitVMem1Op() local
2952 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()
2953 llvm::report_fatal_error(StrBuf.str()); in emitVMem1Op()
DIceInstARM32.cpp132 llvm::raw_string_ostream StrBuf(Buffer); in emitUsingTextFixup() local
135 Ctx->setStrEmit(StrBuf); in emitUsingTextFixup()
146 llvm::errs() << "Can't assemble: " << StrBuf.str() << "\n"; in emitUsingTextFixup()
152 Asm->emitTextInst(StrBuf.str(), Asm->getEmitTextSize()); in emitUsingTextFixup()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp47 raw_string_ostream StrBuf(Buffer); in Fatal() local
48 naclbitc::ErrorAt(StrBuf, naclbitc::Fatal, in Fatal()
51 report_fatal_error(StrBuf.str()); in Fatal()
56 raw_string_ostream StrBuf(Buffer); in reportInvalidAbbrevNumber() local
57 StrBuf << "Invalid abbreviation # " << AbbrevNo << " defined for record"; in reportInvalidAbbrevNumber()
58 ErrHandler->Fatal(StrBuf.str()); in reportInvalidAbbrevNumber()
63 raw_string_ostream StrBuf(Buffer); in reportInvalidJumpToBit() local
64 StrBuf << "Invalid jump to bit " << BitNo; in reportInvalidJumpToBit()
65 ErrHandler->Fatal(StrBuf.str()); in reportInvalidJumpToBit()
245 raw_string_ostream StrBuf(Buffer); in getEncoding() local
[all …]
DNaClBitCodes.cpp37 raw_string_ostream StrBuf(Buffer); in NaClBitCodeAbbrevOp() local
38 StrBuf << "Invalid NaClBitCodeAbbrevOp(" << E << ", " << Data << ")"; in NaClBitCodeAbbrevOp()
39 report_fatal_error(StrBuf.str()); in NaClBitCodeAbbrevOp()
/external/swiftshader/third_party/subzero/runtime/
Dwasm-runtime.cpp81 char StrBuf[256]; member
270 strncpy(GlobalData->StrBuf, CTime, sizeof(GlobalData->StrBuf)); in env$$ctime()
271 GlobalData->StrBuf[sizeof(GlobalData->StrBuf) - 1] = '\0'; in env$$ctime()
272 return trace(WasmPtr<char>(GlobalData->StrBuf).asInt()); in env$$ctime()
/external/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp233 SmallString<10> StrBuf; in getOptionAsInteger() local
234 llvm::raw_svector_ostream OS(StrBuf); in getOptionAsInteger()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp1172 SmallString<256> StrBuf; in getEntityInfo() local
1174 llvm::raw_svector_ostream OS(StrBuf); in getEntityInfo()
1177 EntityInfo.name = SA.copyCStr(StrBuf.str()); in getEntityInfo()
1181 SmallString<512> StrBuf; in getEntityInfo() local
1182 bool Ignore = getDeclCursorUSR(D, StrBuf); in getEntityInfo()
1186 EntityInfo.USR = SA.copyCStr(StrBuf.str()); in getEntityInfo()
/external/llvm-project/clang/tools/libclang/
DCXIndexDataConsumer.cpp1168 SmallString<256> StrBuf; in getEntityInfo() local
1170 llvm::raw_svector_ostream OS(StrBuf); in getEntityInfo()
1173 EntityInfo.name = SA.copyCStr(StrBuf.str()); in getEntityInfo()
1177 SmallString<512> StrBuf; in getEntityInfo() local
1178 bool Ignore = getDeclCursorUSR(D, StrBuf); in getEntityInfo()
1182 EntityInfo.USR = SA.copyCStr(StrBuf.str()); in getEntityInfo()
/external/clang/lib/Sema/
DSemaExprObjC.cpp45 SmallString<128> StrBuf; in ParseObjCStringLiteral() local
59 StrBuf += S->getString(); in ParseObjCStringLiteral()
70 CAT->getElementType(), llvm::APInt(32, StrBuf.size() + 1), in ParseObjCStringLiteral()
72 S = StringLiteral::Create(Context, StrBuf, StringLiteral::Ascii, in ParseObjCStringLiteral()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp46 SmallString<128> StrBuf; in ParseObjCStringLiteral() local
60 StrBuf += S->getString(); in ParseObjCStringLiteral()
71 CAT->getElementType(), llvm::APInt(32, StrBuf.size() + 1), nullptr, in ParseObjCStringLiteral()
73 S = StringLiteral::Create(Context, StrBuf, StringLiteral::Ascii, in ParseObjCStringLiteral()