Home
last modified time | relevance | path

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

123456789

/freebsd-14.2/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-14.2/contrib/llvm-project/lld/MachO/
H A DConcatOutputSection.cpp186 log("thunks = " + std::to_string(thunkMap.size()) + in estimateStubsInRangeVA()
187 ", potential = " + std::to_string(maxPotentialThunks) + in estimateStubsInRangeVA()
188 ", stubs = " + std::to_string(in.stubs->getSize()) + ", isecVA = " + in estimateStubsInRangeVA()
333 std::to_string(thunkInfo.sequence++)); in finalize()
356 ": funcs = " + std::to_string(thunkMap.size()) + in finalize()
357 ", relocs = " + std::to_string(relocCount) + in finalize()
358 ", all calls = " + std::to_string(callSiteCount) + in finalize()
359 ", thunk calls = " + std::to_string(thunkCallCount) + in finalize()
360 ", thunks = " + std::to_string(thunkCount)); in finalize()
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/src/
H A Dstring.cpp321 string to_string(int val) { return i_to_string< string>(val); } in to_string() function
322 string to_string(long val) { return i_to_string< string>(val); } in to_string() function
323 string to_string(long long val) { return i_to_string< string>(val); } in to_string() function
324 string to_string(unsigned val) { return i_to_string< string>(val); } in to_string() function
325 string to_string(unsigned long val) { return i_to_string< string>(val); } in to_string() function
326 string to_string(unsigned long long val) { return i_to_string< string>(val); } in to_string() function
337 string to_string(float val) { return as_string(snprintf, initial_string< string>()(), "%f", val); } in to_string() function
338 string to_string(double val) { return as_string(snprintf, initial_string< string>()(), "%f", val); } in to_string() function
339 string to_string(long double val) { return as_string(snprintf, initial_string< string>()(), "%Lf", … in to_string() function
/freebsd-14.2/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.cpp175 passwd::find_user_by_name(state.to_string(-1))); in set_lua()
216 engine::user_node::to_string(void) const in to_string() function in engine::user_node
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCount.cpp85 std::to_string(Remark.Loc->SourceLine) + +":" + in tryInstructionCount()
86 std::to_string(Remark.Loc->SourceColumn); in tryInstructionCount()
140 std::to_string(Remark.Loc->SourceLine) + +":" + in tryAnnotationCount()
141 std::to_string(Remark.Loc->SourceColumn); in tryAnnotationCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp336 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
353 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
356 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
358 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
360 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
363 OS << std::to_string(*V->getAsSignedConstant()); in appendTemplateParameters()
366 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
369 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
372 OS << std::to_string(*V->getAsUnsignedConstant()); in appendTemplateParameters()
/freebsd-14.2/crypto/openssl/util/perl/OpenSSL/
H A DOrdinals.pm236 print F $_->to_string(),"\n";
471 @items ? map { "\t".$_->to_string()."\n" } @items : "No previous items\n",
490 print STDERR "DEBUG[",__PACKAGE__,"::add] $verbsig\n", map { "\t".$_->to_string()."\n" } @items
583 map { "\t".$_->to_string()."\n" } @items
588 return ( $alias_item->to_string() );
700 map { $_->to_string() } @{$self->{loaded_contents}->[$i] // []};
702 map { $_->to_string() } @{$self->{contents}->[$i] // []};
942 sub to_string { subroutine
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSmallVector.cpp64 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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.cpp203 DimName += std::to_string(SampleCount); in printKind()
219 ResID += std::to_string(ID); in print()
223 Bind += std::to_string(LowerBound); in print()
225 Bind += ",space" + std::to_string(Space); in print()
229 OS << right_justify(std::to_string(RangeSize), 6) << "\n"; in print()
/freebsd-14.2/bin/expr/
H A Dexpr.y72 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-14.2/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp488 return std::string("inst: ") + std::to_string(FS->instCount()) + in getSummaryAttributes()
493 return std::string("@") + std::to_string(Id); in getNodeVisualName()
519 auto StrId = std::to_string(Id); in defineExternalNode()
571 return ModId == (uint64_t)-1 ? std::to_string(Id) in exportToDot()
572 : std::string("M") + std::to_string(ModId) + in exportToDot()
573 "_" + std::to_string(Id); in exportToDot()
608 OS << " subgraph cluster_" << std::to_string(ModId) << " {\n"; in exportToDot()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DGOFFObjectFile.cpp45 std::to_string(Object.getBufferSize()) + " bytes"); in GOFFObjectFile()
81 "record " + std::to_string(RecordNum) + in GOFFObjectFile()
91 "record " + std::to_string(RecordNum) + in GOFFObjectFile()
98 "record " + std::to_string(RecordNum) + in GOFFObjectFile()
362 "symbol with ESD id " + std::to_string(Symb.d.a) + in getSymbolSection()
364 std::to_string(SymEdId)); in getSymbolSection()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DPatterns.cpp173 std::string Str = "imm " + std::to_string(getImmValue()); in describe()
666 std::to_string(Idx)); in buildOperandsTables()
749 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) + in checkSemantics()
755 PrintError(DiagLoc, "operand " + std::to_string(Idx) + " of '" + in checkSemantics()
764 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) + in checkSemantics()
800 PatFragCEs.declare(ParamName, std::to_string(Op.getImmValue())); in mapInputCodeExpansions()
832 PrintError(Loc, "expected operand " + std::to_string(Idx) + " of '" + in checkSemantics()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp112 BaseName + std::to_string(Count) + "$" + std::to_string(Reloc); in BPFPreserveDITypeImpl()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp130 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-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp2362 return std::to_string(Value); in getDynamicEntry()
2391 return std::to_string(Value); in getDynamicEntry()
2405 return std::to_string(Value); in getDynamicEntry()
2488 return std::to_string(Value); in getDynamicEntry()
3530 return to_string(ElfHeader.e_shnum); in getSectionHeadersNumString()
3550 return to_string(ElfHeader.e_shstrndx); in getSectionHeaderTableIndexString()
3688 Str = to_string(e.e_ehsize) + " (bytes)"; in printFileHeaders()
3692 Str = to_string(e.e_phnum); in printFileHeaders()
4066 Fields[8].Str = to_string(Sec.sh_link); in printSectionHeaders()
4067 Fields[9].Str = to_string(Sec.sh_info); in printSectionHeaders()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DSyntheticTypeNameBuilder.cpp49 SyntheticName += std::to_string(*ConstVal); in addArrayDimension()
52 SyntheticName += std::to_string(*ConstVal); in addArrayDimension()
143 SyntheticName += std::to_string(*ConstVal); in addTemplateParamNames()
145 SyntheticName += std::to_string(*ConstVal); in addTemplateParamNames()
269 SyntheticName += std::to_string(*ConstVal); in addValueName()
272 SyntheticName += std::to_string(*ConstVal); in addValueName()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dbitset690 to_string(_CharT __zero = _CharT('0'), _CharT __one = _CharT('1')) const;
693 to_string(_CharT __zero = _CharT('0'), _CharT __one = _CharT('1')) const;
696 to_string(_CharT __zero = _CharT('0'), _CharT __one = _CharT('1')) const;
698 to_string(char __zero = '0', char __one = '1') const;
837 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const {
849 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const {
850 return to_string<_CharT, _Traits, allocator<_CharT> >(__zero, __one);
856 bitset<_Size>::to_string(_CharT __zero, _CharT __one) const {
857 return to_string<_CharT, char_traits<_CharT>, allocator<_CharT> >(__zero, __one);
862 bitset<_Size>::to_string(char __zero, char __one) const {
[all …]

123456789