Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 169) sorted by relevance

1234567

/freebsd-13.1/contrib/kyua/utils/config/
H A Dlua_module.cpp86 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 Dnodes.hpp109 virtual std::string to_string(void) const = 0;
157 std::string to_string(void) const;
235 std::string to_string(void) const;
H A Dnodes_test.cpp183 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-13.1/contrib/llvm-project/lld/MachO/
H A DConcatOutputSection.cpp179 log("thunks = " + std::to_string(thunkMap.size()) + in estimateStubsInRangeVA()
180 ", potential = " + std::to_string(maxPotentialThunks) + in estimateStubsInRangeVA()
181 ", stubs = " + std::to_string(in.stubs->getSize()) + ", isecVA = " + in estimateStubsInRangeVA()
299 std::to_string(thunkInfo.sequence++)); in finalize()
315 ": funcs = " + std::to_string(thunkMap.size()) + in finalize()
316 ", relocs = " + std::to_string(relocCount) + in finalize()
317 ", all calls = " + std::to_string(callSiteCount) + in finalize()
318 ", thunk calls = " + std::to_string(thunkCallCount) + in finalize()
319 ", thunks = " + std::to_string(thunkCount)); in finalize()
/freebsd-13.1/contrib/atf/atf-c++/detail/
H A Dtext_test.cpp332 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-13.1/contrib/llvm-project/libcxx/src/
H A Dstring.cpp440 string to_string (int val) { return i_to_string< string>(val); } in to_string() function
441 string to_string (long val) { return i_to_string< string>(val); } in to_string() function
442 string to_string (long long val) { return i_to_string< string>(val); } in to_string() function
443 string to_string (unsigned val) { return i_to_string< string>(val); } in to_string() function
444 string to_string (unsigned long val) { return i_to_string< string>(val); } in to_string() function
445 string to_string (unsigned long long val) { return i_to_string< string>(val); } in to_string() function
455 string to_string (float val) { return as_string(snprintf, initial_string< string>()(),… in to_string() function
456 string to_string (double val) { return as_string(snprintf, initial_string< string>()(),… in to_string() function
457 string to_string (long double val) { return as_string(snprintf, initial_string< string>()(),… in to_string() function
/freebsd-13.1/contrib/kyua/engine/
H A Dkyuafile.cpp425 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()
H A Dconfig.cpp164 passwd::find_user_by_name(state.to_string(-1))); in set_lua()
205 engine::user_node::to_string(void) const in to_string() function in engine::user_node
/freebsd-13.1/contrib/kyua/utils/fs/
H A Dlua_module_test.cpp67 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()
H A Dlua_module.cpp76 return fs::path(state.to_string(-1)) / path; in qualify_path()
96 return fs::path(state.to_string(index)); in to_path()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRVRegNamerUtils.cpp46 return Reg.getName() + "__" + std::to_string(Counter); in getVRegRenameMap()
66 return std::to_string(Hash).substr(0, 5); in getInstructionOpcodeHash()
136 return std::to_string(HashMI).substr(0, 5); in getInstructionOpcodeHash()
147 std::string Prefix = "bb" + std::to_string(CurrentBBNumber) + "_"; in renameInstsInMBB()
H A DMIRFSDiscriminator.cpp53 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
57 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSmallVector.cpp54 std::to_string(MinSize) + in report_size_overflow()
56 std::to_string(MaxSize) + ")"; in report_size_overflow()
70 std::to_string(MaxSize); in report_at_maximum_capacity()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DGICombinerEmitter.cpp330 return insertStrTab(to_string( in makeNameForAnonInstr()
339 return insertStrTab(to_string( in makeNameForAnonPredicate()
370 llvm::to_string(llvm::format("MatchData%" PRIu64, ID))); in parseDefs()
539 PrintNote("in " + to_string(*NameAndDefOp.N) + " created from " + in parseMatcher()
540 to_string(*NameAndDefOp.Matcher) + ""); in parseMatcher()
685 PrintNote("Node " + to_string(*E->getFromMI())); in makeCombineRule()
686 PrintNote("Node " + to_string(*E->getToMI())); in makeCombineRule()
687 PrintNote("Edge " + to_string(*E)); in makeCombineRule()
749 "MIs[" + to_string(VarBinding.getInstrID()) + "]"); in generateCodeForTree()
752 "MIs[" + to_string(VarBinding.getInstrID()) + in generateCodeForTree()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp121 Coefficient = std::to_string(Row[I]) + " * "; in dump()
126 << " <= " << std::to_string(Row[0]) << "\n"); in dump()
133 Names.push_back("x" + std::to_string(i)); in dump()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp462 return std::string("inst: ") + std::to_string(FS->instCount()) + in getSummaryAttributes()
467 return std::string("@") + std::to_string(Id); in getNodeVisualName()
493 auto StrId = std::to_string(Id); in defineExternalNode()
534 return ModId == (uint64_t)-1 ? std::to_string(Id) in exportToDot()
535 : std::string("M") + std::to_string(ModId) + in exportToDot()
536 "_" + std::to_string(Id); in exportToDot()
569 OS << " subgraph cluster_" << std::to_string(ModId) << " {\n"; in exportToDot()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DCompletionRequest.cpp53 result.append(std::to_string(m_completion.size())); in GetUniqueKey()
55 result.append(std::to_string(static_cast<int>(m_mode))); in GetUniqueKey()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp127 Cmd.addFlag("max_total_time", std::to_string(std::min((size_t)300, JobId))); in CreateNewJob()
151 DirPlusFile(TempDir, std::to_string(JobId) + ".seeds"); in CreateNewJob()
155 Job->LogPath = DirPlusFile(TempDir, std::to_string(JobId) + ".log"); in CreateNewJob()
156 Job->CorpusDir = DirPlusFile(TempDir, "C" + std::to_string(JobId)); in CreateNewJob()
157 Job->FeaturesDir = DirPlusFile(TempDir, "F" + std::to_string(JobId)); in CreateNewJob()
158 Job->CFPath = DirPlusFile(TempDir, std::to_string(JobId) + ".merge"); in CreateNewJob()
/freebsd-13.1/bin/expr/
H A Dexpr.y74 void to_string(struct val *);
186 to_string(struct val *vp) in to_string() function
340 to_string(a); in compare_vals()
341 to_string(b); in compare_vals()
535 to_string(a); in op_colon()
536 to_string(b); in op_colon()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp2180 return std::to_string(Value); in getDynamicEntry()
2188 return std::to_string(Value); in getDynamicEntry()
2202 return std::to_string(Value); in getDynamicEntry()
2284 return std::to_string(Value); in getDynamicEntry()
3175 return to_string(ElfHeader.e_shnum); in getSectionHeadersNumString()
3195 return to_string(ElfHeader.e_shstrndx); in getSectionHeaderTableIndexString()
3281 Str = to_string(e.e_ehsize) + " (bytes)"; in printFileHeaders()
3285 Str = to_string(e.e_phnum); in printFileHeaders()
3639 Fields[8].Str = to_string(Sec.sh_link); in printSectionHeaders()
3640 Fields[9].Str = to_string(Sec.sh_info); in printSectionHeaders()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DSectionSizes.cpp31 size_t NumWidth = std::to_string(It.second).size(); in getSizeColumnWidth()
63 std::string NumBytes = std::to_string(It.second); in prettyPrintSectionSizes()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dbitset78 …basic_string<char, char_traits<char>, allocator<char> > to_string(char zero = '0', char one = '1')…
723 basic_string<_CharT, _Traits, _Allocator> to_string(_CharT __zero = _CharT('0'),
727 basic_string<_CharT, _Traits, allocator<_CharT> > to_string(_CharT __zero = _CharT('0'),
734 basic_string<char, char_traits<char>, allocator<char> > to_string(char __zero = '0',
945 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
960 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
962 return to_string<_CharT, _Traits, allocator<_CharT> >(__zero, __one);
969 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const
971 return to_string<_CharT, char_traits<_CharT>, allocator<_CharT> >(__zero, __one);
977 bitset<_Size>::to_string(char __zero, char __one) const
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp103 std::string GVName = BaseName + std::to_string(Count) + "$" + in BPFPreserveDITypeImpl()
104 std::to_string(Reloc); in BPFPreserveDITypeImpl()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-converter.cpp87 : llvm::to_string(R.FuncId), in exportAsYAML()
250 : llvm::to_string(FuncId)), in writeTraceViewerRecord()
258 : llvm::to_string(FuncId)), in writeTraceViewerRecord()
348 : llvm::to_string(map_iter.second->FuncId))); in exportAsChromeTraceEventFormat()
/freebsd-13.1/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp44 GroupsArg.push_back("LLDB_OPT_SET_" + std::to_string(Group)); in CommandOption()
51 GroupsArg.push_back("LLDB_OPT_SET_" + std::to_string(i)); in CommandOption()

1234567