| /freebsd/contrib/kyua/utils/config/ |
| H A D | lua_module.cpp | 86 const std::string field = state.to_string(field_index); in get_tree_key() 94 tree_key = state.to_string(-1) + "." + state.to_string(field_index - 1); in get_tree_key() 97 tree_key = state.to_string(field_index); in get_tree_key() 173 state.push_string("_" + state.to_string(-2)); in redirect_newindex() 203 state.push_string("_" + state.to_string(-1)); in redirect_index() 227 state.push_string("_" + state.to_string(-1)); in redirect_index()
|
| H A D | nodes.hpp | 109 virtual std::string to_string(void) const = 0; 157 std::string to_string(void) const; 235 std::string to_string(void) const;
|
| H A D | nodes_test.cpp | 183 ATF_REQUIRE_EQ("false", node.to_string()); in ATF_TEST_CASE_BODY() 185 ATF_REQUIRE_EQ("true", node.to_string()); in ATF_TEST_CASE_BODY() 293 ATF_REQUIRE_EQ("89", node.to_string()); in ATF_TEST_CASE_BODY() 295 ATF_REQUIRE_EQ("-57", node.to_string()); in ATF_TEST_CASE_BODY() 412 ATF_REQUIRE_EQ("89", node.to_string()); in ATF_TEST_CASE_BODY() 461 ATF_REQUIRE_EQ("some message", state.to_string(-1)); in ATF_TEST_CASE_BODY() 511 ATF_REQUIRE_EQ("", node.to_string()); in ATF_TEST_CASE_BODY() 513 ATF_REQUIRE_EQ("aaa", node.to_string()); in ATF_TEST_CASE_BODY() 595 ATF_REQUIRE_EQ("first second", node.to_string()); in ATF_TEST_CASE_BODY()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ConcatOutputSection.cpp | 243 log("thunks = " + std::to_string(thunkMap.size()) + in estimateBranchTargetThresholdVA() 244 ", potential = " + std::to_string(maxPotentialThunks) + in estimateBranchTargetThresholdVA() 245 ", stubs = " + std::to_string(in.stubs->getSize()) + in estimateBranchTargetThresholdVA() 247 ? ", objc_stubs = " + std::to_string(in.objcStubs->getSize()) in estimateBranchTargetThresholdVA() 395 std::to_string(thunkInfo.sequence++)); in finalize() 418 ": funcs = " + std::to_string(thunkMap.size()) + in finalize() 419 ", relocs = " + std::to_string(relocCount) + in finalize() 420 ", all calls = " + std::to_string(callSiteCount) + in finalize() 421 ", thunk calls = " + std::to_string(thunkCallCount) + in finalize() 422 ", thunks = " + std::to_string(thunkCount)); in finalize()
|
| /freebsd/contrib/atf/atf-c++/detail/ |
| H A D | text_test.cpp | 332 ATF_TEST_CASE(to_string); 333 ATF_TEST_CASE_HEAD(to_string) in ATF_TEST_CASE_HEAD() argument 337 ATF_TEST_CASE_BODY(to_string) in ATF_TEST_CASE_BODY() argument 339 using atf::text::to_string; in ATF_TEST_CASE_BODY() 341 ATF_REQUIRE_EQ(to_string('a'), "a"); in ATF_TEST_CASE_BODY() 342 ATF_REQUIRE_EQ(to_string("a"), "a"); in ATF_TEST_CASE_BODY() 343 ATF_REQUIRE_EQ(to_string(5), "5"); in ATF_TEST_CASE_BODY() 384 ATF_ADD_TEST_CASE(tcs, to_string); in ATF_INIT_TEST_CASES()
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | string.h | 207 LIBC_INLINE string to_string(int value) { in to_string() function 210 LIBC_INLINE string to_string(long value) { in to_string() function 213 LIBC_INLINE string to_string(long long value) { in to_string() function 216 LIBC_INLINE string to_string(unsigned value) { in to_string() function 219 LIBC_INLINE string to_string(unsigned long value) { in to_string() function 222 LIBC_INLINE string to_string(unsigned long long value) { in to_string() function
|
| /freebsd/contrib/kyua/engine/ |
| H A D | kyuafile.cpp | 425 const std::string interface = state.to_string(state.upvalue_index(1)); in lua_generic_test_program() 454 const fs::path path(state.to_string(-1)); in lua_generic_test_program() 463 test_suite = state.to_string(-1); in lua_generic_test_program() 477 const std::string property = state.to_string(-2); in lua_generic_test_program() 486 value = state.to_string(-1); in lua_generic_test_program() 545 fs::path(state.to_string(-1)), *user_config, *scheduler_handle); in lua_include() 569 if (!state.is_string(-2) || state.to_string(-2) != "kyuafile") in lua_syntax() 590 parser::get_from_state(state)->callback_test_suite(state.to_string(-1)); in lua_test_suite()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DXILEmitter.cpp | 248 .append(std::to_string(Major)) in getOverloadMaskString() 250 .append(std::to_string(Minor).append("}, ")); in getOverloadMaskString() 292 .append(std::to_string(Major)) in getStageMaskString() 294 .append(std::to_string(Minor).append("}, ")); in getStageMaskString() 320 OS << std::to_string(Major) << ", " << std::to_string(Minor); in emitDXILVersions() 394 OS << std::to_string(Major) << ", " << std::to_string(Minor); in emitDXILOpAttributes() 582 OS << " " << Name << " = 1 << " << std::to_string(ShiftVal++) << ",\n"; in emitDXILOperationTableDataStructs()
|
| H A D | GICombinerEmitter.cpp | |
| H A D | GlobalISelCombinerMatchTableEmitter.cpp | |
| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | string.cpp | 359 string to_string(int val) { return i_to_string< string>(val); } in to_string() function 360 string to_string(long val) { return i_to_string< string>(val); } in to_string() function 361 string to_string(long long val) { return i_to_string< string>(val); } in to_string() function 362 string to_string(unsigned val) { return i_to_string< string>(val); } in to_string() function 363 string to_string(unsigned long val) { return i_to_string< string>(val); } in to_string() function 364 string to_string(unsigned long long val) { return i_to_string< string>(val); } in to_string() function 375 string to_string(float val) { return as_string(snprintf, initial_string< string>()(), "%f", val); } in to_string() function 376 string to_string(double val) { return as_string(snprintf, initial_string< string>()(), "%f", val); } in to_string() function 377 string to_string(long double val) { return as_string(snprintf, initial_string< string>()(), "%Lf", … in to_string() function
|
| /freebsd/contrib/kyua/utils/fs/ |
| H A D | lua_module_test.cpp | 67 ATF_REQUIRE_EQ("file_foobar", state.to_string(-1)); in ATF_TEST_CASE_BODY() 95 ATF_REQUIRE_EQ("/my/test", state.to_string(-1)); in ATF_TEST_CASE_BODY() 204 ATF_REQUIRE_EQ(". ..", state.to_string(-1)); in ATF_TEST_CASE_BODY() 228 ATF_REQUIRE_EQ(". .. file1 file2", state.to_string(-1)); in ATF_TEST_CASE_BODY() 253 ATF_REQUIRE_EQ(". .. file1 file2", state.to_string(-1)); in ATF_TEST_CASE_BODY() 320 ATF_REQUIRE_EQ("/a/b/c/d", state.to_string(-1)); in ATF_TEST_CASE_BODY()
|
| /freebsd/crypto/openssl/util/perl/OpenSSL/ |
| H A D | Ordinals.pm | 236 print F $_->to_string(),"\n"; 473 @items ? map { "\t".$_->to_string()."\n" } @items : "No previous items\n", 492 print STDERR "DEBUG[",__PACKAGE__,"::add] $verbsig\n", map { "\t".$_->to_string()."\n" } @items 585 map { "\t".$_->to_string()."\n" } @items 590 return ( $alias_item->to_string() ); 702 map { $_->to_string() } @{$self->{loaded_contents}->[$i] // []}; 704 map { $_->to_string() } @{$self->{contents}->[$i] // []}; 944 sub to_string { subroutine
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SmallVector.cpp | 64 std::to_string(MinSize) + in report_size_overflow() 66 std::to_string(MaxSize) + ")"; in report_size_overflow() 80 std::to_string(MaxSize); in report_at_maximum_capacity()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.h | 445 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 463 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 466 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 468 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 470 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 473 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters() 476 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters() 479 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters() 482 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangBuiltinTemplatesEmitter.cpp | 46 std::string ParmName = "Parm" + std::to_string(PS.UniqueCounter++); in ParseTemplateParameterList() 70 auto TSIName = "TSI" + std::to_string(PS.UniqueCounter++); in ParseTemplateParameterList() 114 auto TPLName = "TPL" + std::to_string(PS.UniqueCounter++); in ParseTemplateParameterList()
|
| /freebsd/bin/expr/ |
| H A D | expr.y | 72 void to_string(struct val *); 184 to_string(struct val *vp) in to_string() function 338 to_string(a); in compare_vals() 339 to_string(b); in compare_vals() 533 to_string(a); in op_colon() 534 to_string(b); in op_colon()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 499 return std::string("inst: ") + std::to_string(FS->instCount()) + in getSummaryAttributes() 504 return std::string("@") + std::to_string(Id); in getNodeVisualName() 530 auto StrId = std::to_string(Id); in defineExternalNode() 582 return ModId == (uint64_t)-1 ? std::to_string(Id) in exportToDot() 583 : std::string("M") + std::to_string(ModId) + in exportToDot() 584 "_" + std::to_string(Id); in exportToDot() 619 OS << " subgraph cluster_" << std::to_string(ModId) << " {\n"; in exportToDot()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | CompletionRequest.cpp | 53 result.append(std::to_string(m_completion.size())); in GetUniqueKey() 55 result.append(std::to_string(static_cast<int>(m_mode))); in GetUniqueKey()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerFork.cpp | 130 Cmd.addFlag("max_total_time", std::to_string(std::min((size_t)300, JobId))); in CreateNewJob() 168 DirPlusFile(TempDir, std::to_string(JobId) + ".seeds"); in CreateNewJob() 172 Job->LogPath = DirPlusFile(TempDir, std::to_string(JobId) + ".log"); in CreateNewJob() 173 Job->CorpusDir = DirPlusFile(TempDir, "C" + std::to_string(JobId)); in CreateNewJob() 174 Job->FeaturesDir = DirPlusFile(TempDir, "F" + std::to_string(JobId)); in CreateNewJob() 175 Job->CFPath = DirPlusFile(TempDir, std::to_string(JobId) + ".merge"); in CreateNewJob()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveDIType.cpp | 111 BaseName + std::to_string(Count) + "$" + std::to_string(Reloc); in BPFPreserveDITypeImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 156 S += llvm::to_string(Offset.getQuantity()); in getVolatileOffsetStr() 198 appendStr("_AB" + llvm::to_string(FieldOffset.getQuantity()) + "s" + in visitArray() 199 llvm::to_string(EltSize.getQuantity()) + "n" + in visitArray() 200 llvm::to_string(NumElts)); in visitArray() 224 this->appendStr(llvm::to_string(DstAlignment.getQuantity())); in GenUnaryFuncName() 242 this->appendStr(llvm::to_string(DstAlignment.getQuantity())); in GenBinaryFuncName() 243 this->appendStr("_" + llvm::to_string(SrcAlignment.getQuantity())); in GenBinaryFuncName() 250 this->appendStr("_t" + llvm::to_string(this->Start.getQuantity()) + "w" + in flushTrivialFields() 251 llvm::to_string((this->End - this->Start).getQuantity())); in flushTrivialFields() 266 this->appendStr("_tv" + llvm::to_string(OffsetInBits) + "w" + in visitVolatileTrivial() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | Patterns.cpp | 212 std::string Str = "imm " + std::to_string(getImmValue()); in describe() 715 std::to_string(Idx)); in buildOperandsTables() 798 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) + in checkSemantics() 804 PrintError(DiagLoc, "operand " + std::to_string(Idx) + " of '" + in checkSemantics() 813 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) + in checkSemantics() 850 PatFragCEs.declare(ParamName, std::to_string(Op.getImmValue())); in mapInputCodeExpansions() 882 PrintError(Loc, "expected operand " + std::to_string(Idx) + " of '" + in checkSemantics()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 31 size_t NumWidth = std::to_string(It.second).size(); in getSizeColumnWidth() 63 std::string NumBytes = std::to_string(It.second); in prettyPrintSectionSizes()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 1508 return std::string("<unknown>: ") + to_string(format_hex(Type, 1)); in getGNUPtType() 2391 return std::to_string(Value); in getDynamicEntry() 2420 return std::to_string(Value); in getDynamicEntry() 2434 return std::to_string(Value); in getDynamicEntry() 2520 return std::to_string(Value); in getDynamicEntry() 2537 return std::to_string(Value) + " (bytes)"; in getDynamicEntry() 3562 return to_string(ElfHeader.e_shnum); in getSectionHeadersNumString() 3574 return "0 (" + to_string((*ArrOrErr)[0].sh_size) + ")"; in getSectionHeadersNumString() 3582 return to_string(ElfHeader.e_shstrndx); in getSectionHeaderTableIndexString() 3594 return to_string(ElfHeader.e_shstrndx) + " (" + in getSectionHeaderTableIndexString() [all …]
|