Home
last modified time | relevance | path

Searched full:tostring (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/freebsd/crypto/openssh/regress/unittests/sshsig/
H A Dwebauthn.html144 throw new Error("Unsupported int type 0x" + len.toString(16))
170 …// console.log("decodeArray level " + level.toString() + " index " + i.toString() + " value " + JS…
181 …// console.log("decodeMap level " + level.toString() + " key " + k.toString() + " value " + JSON.s…
194 throw new Error("Unsupported primitive 0x" + t.toString(2))
204 …// console.log("decode level " + level.toString() + " type " + t.toString() + " len " + l.toString
225 console.log("XXX ignored semantic tag " + this.decodeInteger(l).toString())
231 throw new Error("Unsupported type 0x" + t.toString(2) + " len " + l.toString())
233 // console.log("decode level " + level.toString() + " value " + JSON.stringify(r))
337 b => b.toString(16).padStart(2, "0"))
342 fmt.push(i.toString(16).padStart(4, "0"))
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBTrace.cpp39 error.SetErrorString(toString(trace_or_err.takeError()).c_str()); in LoadTraceFromFile()
62 error.SetErrorString(llvm::toString(trace_cursor_sp.takeError()).c_str()); in CreateNewCursor()
80 error.SetErrorString(llvm::toString(desc_file.takeError()).c_str()); in SaveToDisk()
100 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start()
115 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start()
127 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop()
137 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DStencil.cpp66 std::string toString() const override { in toString() function in __anona430d0b90111::RawTextStencil
90 std::string toString() const override { in toString() function in __anona430d0b90111::DebugPrintNodeStencil
119 std::string toString() const override { in toString() function in __anona430d0b90111::UnaryOperationStencil
219 std::string toString() const override { return "selection(...)"; } in toString() function in __anona430d0b90111::SelectorStencil
269 std::string toString() const override { in toString() function in __anona430d0b90111::AccessStencil
270 return (llvm::Twine("access(\"") + BaseId + "\", " + Member->toString() + in toString()
301 std::string toString() const override { in toString() function in __anona430d0b90111::IfBoundStencil
302 return (llvm::Twine("ifBound(\"") + Id + "\", " + TrueStencil->toString() + in toString()
303 ", " + FalseStencil->toString() + ")") in toString()
357 std::string toString() const override { in toString() function in __anona430d0b90111::SelectBoundStencil
[all …]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAMDGPU.cpp59 error("incompatible e_flags: " + toString(f)); in calcEFlagsV3()
76 error("incompatible mach: " + toString(f)); in calcEFlagsV4()
85 error("incompatible xnack: " + toString(f)); in calcEFlagsV4()
98 error("incompatible sramecc: " + toString(f)); in calcEFlagsV4()
119 error("incompatible generic version: " + toString(f)); in calcEFlagsV6()
197 ") against symbol " + toString(s)); in getRelExpr()
217 "cannot read addend for relocation " + toString(type)); in getImplicitAddend()
H A DMipsArchTree.cpp74 error(toString(f.file) + ": microMIPS 64-bit is not supported"); in checkFlags()
78 error(toString(f.file) + ": ABI '" + getAbiName(abi2) + in checkFlags()
83 error(toString(f.file) + ": -mnan=" + getNanName(nan2) + in checkFlags()
88 error(toString(f.file) + ": -mfp" + getFpName(fp2) + in checkFlags()
108 warn(toString(f.file) + in getPicFlags()
110 toString(files[0].file)); in getPicFlags()
112 warn(toString(f.file) + in getPicFlags()
114 toString(files[0].file)); in getPicFlags()
286 error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " + in getArchFlags()
287 getFullArchName(ret) + "\n>>> " + toString(f.file) + ": " + in getArchFlags()
H A DRISCV.cpp161 toString(f) + in calcEFlags()
163 toString(ctx.objectFiles[0])); in calcEFlags()
166 error(toString(f) + in calcEFlags()
177 "cannot read addend for relocation " + toString(type)); in getImplicitAddend()
330 ") against symbol " + toString(s)); in getRelExpr()
666 lld::toString(*rel.sym) + "'"); in relocateAlloc()
837 "insufficient padding bytes for " + lld::toString(r.type) + in relax()
1065 errorOrWarn(toString(sec) + ": " + s + ": " + in mergeArch()
1066 llvm::toString(maybeInfo.takeError())); in mergeArch()
1099 toString(oldSection) + in mergeAtomic()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp58 std::string lld::toString(const InputFile *f) { in toString() function in lld
137 error(toString(f) + ": unknown Tag_ABI_VFP_args value: " + Twine(vfpArgs)); in updateARMVFPArgs()
142 error(toString(f) + ": incompatible Tag_ABI_VFP_args"); in updateARMVFPArgs()
284 error(toString(file) + " is incompatible with " + target); in isCompatible()
297 with = " with " + toString(existing); in isCompatible()
298 error(toString(file) + " is incompatible" + with); in isCompatible()
318 message(toString(file)); in doParseFile()
434 error(toString(f) + in addDependentLibrary()
481 [&](Error err) { warn(getName() + ": " + toString(std::move(err))); }, in getDwarf()
483 warn(getName() + ": " + toString(std::move(warning))); in getDwarf()
[all …]
H A DMapFile.cpp90 // Demangling symbols (which is what toString() does) is slow, so
101 os << indent16 << toString(*syms[i]); in getSymbolStrings()
144 os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x" in printEhFrame()
186 os << indent8 << toString(isec) << '\n'; in writeMapFile()
250 print(toString(*sym), toString(sym->file)); in writeCref()
253 print("", toString(file)); in writeCref()
H A DInputSection.cpp40 std::string lld::toString(const InputSectionBase *sec) { in toString() function in lld
41 return (toString(sec->file) + ":(" + sec->name + ")").str(); in toString()
64 error(toString(this) + ": section too large"); in InputSectionBase()
70 fatal(toString(this) + ": sh_addralign is not a power of 2"); in InputSectionBase()
101 fatal(toString(&file) + ": section sh_addralign is too large"); in InputSectionBase()
119 fatal(toString(&sec) + in decompressAux()
120 ": decompress failed: " + llvm::toString(std::move(e))); in decompressAux()
249 error(toString(this) + ": corrupted compressed section"); in parseCompressedHeader()
256 error(toString(this) + " is compressed with ELFCOMPRESS_ZLIB, but lld is " in parseCompressedHeader()
260 error(toString(this) + " is compressed with ELFCOMPRESS_ZSTD, but lld is " in parseCompressedHeader()
[all …]
H A DSymbols.cpp51 std::string lld::toString(const elf::Symbol &sym) { in toString() function in lld
140 fatal(toString(d.file) + in getSymVA()
260 error(toString(file) + ": symbol " + s + " has undefined version " + in parseSymbolVersion()
307 message(toString(sym.file) + s + name); in printTraceSymbol()
312 ctx.whyExtractRecords.emplace_back(toString(reference), &extracted, sym); in recordWhyExtract()
332 auto report = [&](StringRef s) { warn(toString(file) + s + sym->getName()); }; in maybeWarnUnorderableSymbol()
542 errorOrWarn("duplicate symbol: " + toString(sym) + "\n>>> defined in " + in reportDuplicate()
543 toString(sym.file) + "\n>>> defined in " + toString(newFile)); in reportDuplicate()
560 std::string msg = "duplicate symbol: " + toString(sym) + "\n>>> defined at "; in reportDuplicate()
/freebsd/contrib/opencsd/decoder/include/common/
H A Dtrc_printable_elem.h60 virtual void toString(std::string &str) const;
68 inline void trcPrintableElem::toString(std::string &str) const in toString() function
75 toString(str); in toStringFmt()
84 pktClass.toString(str); in trcPrintElemToString()
/freebsd/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp53 log("Reading " + toString(file)); in addFile()
65 error("LTO object file " + toString(file) + " linked in after " in addFile()
79 error(toString(file) + ": machine type " + machineToStr(mt) + in addFile()
143 res += toString(file); in getSymbolLocations()
211 std::vector<std::string>{"\n>>> referenced by " + toString(file)}, 1); in getSymbolLocations()
221 os << toString(file); in getSymbolLocations()
223 os << ":(" << toString(file->ctx, *loc.sym) << ')'; in getSymbolLocations()
262 os << "undefined symbol: " << toString(ctx, *undefDiag.sym); in reportUndefinedSymbol()
363 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
367 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOptionalDiagnostic.h43 I.toString(Buffer);
54 // APFloat::toString would automatically print the shortest
60 F.toString(Buffer, precision);
69 FX.toString(Buffer);
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp56 llvm::errs() << "Skipping replacement " << Replacement.toString() in HandleTranslationUnit()
58 << toString(std::move(Err)) << "\n"; in HandleTranslationUnit()
97 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run()
116 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run()
136 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run()
147 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run()
234 << "! " << llvm::toString(std::move(Err)) << "\n"; in run()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.cpp37 errs() << "Failed to keep temp file " << toString(std::move(E)) << '\n'; in ~DiscardTemp()
41 errs() << "Failed to delete temp file " << toString(std::move(E)) << '\n'; in ~DiscardTemp()
189 outs() << toString(std::move(E)); in run()
202 errs() << toString(std::move(E)); in run()
219 errs() << toString(std::move(E)); in run()
225 errs() << toString(std::move(E)); in run()
234 errs() << toString(std::move(E)); in run()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp27 /// returns something else if the result of toString would be ambiguous, e.g.
35 std::string DocNode::toString() const { in toString() function in DocNode
108 /// returns something else if the result of toString would be ambiguous, e.g.
116 N.fromString(toString(), ""); in getYAMLTag()
177 OS << S.toString(); in output()
217 IO.mapRequired(I.first.toString().c_str(), I.second); in output()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_base.lua48 assert(tostring(a) == "NAME")
438 -- testing 'tostring'
439 assert(tostring("alo") == "alo")
440 assert(tostring(12) == "12")
441 assert(tostring(1234567890123) == '1234567890123')
442 assert(type(tostring("hello")) == "string")
443 assert(tostring(true) == "true")
444 assert(tostring(false) == "false")
445 assert(string.find(tostring{}, 'table:'))
446 assert(string.find(tostring(select), 'function:'))
[all …]
/freebsd/contrib/bearssl/T0/
H A DTValue.cs86 throw new Exception("not an integer: " + ToString());
104 public override string ToString() in ToString() method
109 return ptr.ToString(this); in ToString()
130 "value is not an xt: " + ToString()); in ToXT()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp96 std::string error_str = toString(std::move(E)); in IOHandlerIsInputComplete()
134 *io_handler.GetErrorStreamFileSP() << toString(std::move(error)); in IOHandlerInputComplete()
186 llvm::toString(std::move(e))); in ExecuteOneLine()
193 llvm::toString(std::move(e))); in ExecuteOneLine()
223 filename, llvm::toString(std::move(e))); in LoadScriptingModule()
291 debugger.GetErrorStream() << toString(std::move(E)); in BreakpointCallbackFunction()
318 debugger.GetErrorStream() << toString(std::move(E)); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp309 llvm::toString(HeaderReplacements.takeError())); in applyAtomicChanges()
315 llvm::toString(Replaces.takeError())); in applyAtomicChanges()
323 llvm::toString(std::move(Err))); in applyAtomicChanges()
331 llvm::toString(CleanReplaces.takeError())); in applyAtomicChanges()
340 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges()
351 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges()
364 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges()
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DErrorHandler.h170 fatal(llvm::toString(e.takeError())); in check()
177 fatal(llvm::toString(e.takeError())); in check()
191 fatal(prefix() + ": " + toString(e.takeError())); in check2()
195 inline std::string toString(const Twine &s) { return s.str(); } in toString() function
198 #define CHECK(E, S) check2((E), [&] { return toString(S); })
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputSection.cpp118 return (toString(getFile()) + ":(symbol " + toString(*sym) + "+0x" + in getLocation()
130 return (toString(getFile()) + ":(" + getName() + "+0x" + in getLocation()
306 fatal(toString(this) + ": offset is outside the section"); in getStringPiece()
319 fatal(toString(this) + ": offset is outside the section"); in getStringPieceIndex()
410 std::string lld::toString(const InputSection *isec) { in toString() function in lld
411 return (toString(isec->getFile()) + ":(" + isec->getName() + ")").str(); in toString()
H A DInputFiles.cpp87 std::string lld::toString(const InputFile *f) { in toString() function in lld
101 std::string lld::toString(const Section &sec) { in toString() function in lld
102 return (toString(sec.file) + ":(" + sec.name + ")").str(); in toString()
173 error(toString(input) + " has platform " + platformNames + in checkCompatibility()
180 warn(toString(input) + " has version " + in checkCompatibility()
200 msg(toString(file) + " has architecture " + getArchitectureName(arch) + in compatWithTargetArch()
377 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections()
388 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections()
509 sec.sectname + " in " + toString(file)) in validateRelocationInfo()
849 error(toString(*sections[i]) + ": symbol " + name + in parseSymbols()
[all …]
H A DSymbolTable.cpp142 std::string srcFile1 = toString(defined->getFile()); in addDefined()
143 std::string srcFile2 = toString(file); in addDefined()
170 ") in the bitcode file(" + toString(undef->getFile()) + in addDefined()
172 toString(file); in addDefined()
184 toString(undef->getFile()) + in addDefined()
187 toString(file); in addDefined()
468 "duplicate symbol: " + toString(*duplicate.sym) + "\n>>> defined in "; in reportPendingDuplicateSymbols()
614 message += ": " + toString(sym); in reportUndefinedSymbol()
648 "\n>>> did you mean" + preHint + toString(*corrected) + postHint; in reportUndefinedSymbol()
650 message += "\n>>> defined in: " + toString(corrected->getFile()); in reportUndefinedSymbol()
/freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/
H A DdslDatasetHoldReleMismatch.ql16 ds.getType().toString() = "dsl_dataset_t *" and
34 ds, ds.toString()

12345678910>>...21