Home
last modified time | relevance | path

Searched refs:StrBuf (Results 1 – 16 of 16) 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()
98 llvm::raw_string_ostream StrBuf(Buffer); in getTypeSignatureError() local
99 StrBuf << "Invalid"; in getTypeSignatureError()
104 StrBuf << " intrinsic name: " << getName(); in getTypeSignatureError()
105 return StrBuf.str(); in getTypeSignatureError()
[all …]
DIceConverter.cpp619 raw_string_ostream StrBuf(Buffer); in validateIntrinsicCall() local
620 StrBuf << "Intrinsic call expects return type " << I->getReturnType() in validateIntrinsicCall()
622 report_fatal_error(StrBuf.str()); in validateIntrinsicCall()
627 raw_string_ostream StrBuf(Buffer); in validateIntrinsicCall() local
628 StrBuf << "Intrinsic call expects " << I->getNumArgs() in validateIntrinsicCall()
630 report_fatal_error(StrBuf.str()); in validateIntrinsicCall()
635 raw_string_ostream StrBuf(Buffer); in validateIntrinsicCall() local
636 StrBuf << "Intrinsic call argument " << ArgIndex << " expects type " in validateIntrinsicCall()
639 report_fatal_error(StrBuf.str()); in validateIntrinsicCall()
697 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.cpp2916 llvm::raw_string_ostream StrBuf(Buffer); in emitVMem1Op() local
2917 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()
2918 llvm::report_fatal_error(StrBuf.str()); in emitVMem1Op()
2948 llvm::raw_string_ostream StrBuf(Buffer); in emitVMem1Op() local
2949 StrBuf << InstName << ": found invalid vector element size " << ElmtSize; in emitVMem1Op()
2950 llvm::report_fatal_error(StrBuf.str()); in emitVMem1Op()
DIceInstARM32.cpp137 llvm::raw_string_ostream StrBuf(Buffer); in emitUsingTextFixup() local
140 Ctx->setStrEmit(StrBuf); in emitUsingTextFixup()
151 llvm::errs() << "Can't assemble: " << StrBuf.str() << "\n"; in emitUsingTextFixup()
157 Asm->emitTextInst(StrBuf.str(), Asm->getEmitTextSize()); in emitUsingTextFixup()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp51 raw_string_ostream StrBuf(Buffer); in Fatal() local
52 naclbitc::ErrorAt(StrBuf, naclbitc::Fatal, in Fatal()
54 report_fatal_error(StrBuf.str()); in Fatal()
59 raw_string_ostream StrBuf(Buffer); in reportInvalidAbbrevNumber() local
60 StrBuf << "Invalid abbreviation # " << AbbrevNo << " defined for record"; in reportInvalidAbbrevNumber()
61 ErrHandler->Fatal(StrBuf.str()); in reportInvalidAbbrevNumber()
66 raw_string_ostream StrBuf(Buffer); in reportInvalidJumpToBit() local
67 StrBuf << "Invalid jump to bit " << BitNo; in reportInvalidJumpToBit()
68 ErrHandler->Fatal(StrBuf.str()); in reportInvalidJumpToBit()
249 raw_string_ostream StrBuf(Buffer); in getEncoding() local
[all …]
DNaClBitCodes.cpp41 raw_string_ostream StrBuf(Buffer); in NaClBitCodeAbbrevOp() local
42 StrBuf << "Invalid NaClBitCodeAbbrevOp(" << E << ", " << Data << ")"; in NaClBitCodeAbbrevOp()
43 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/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()