Home
last modified time | relevance | path

Searched refs:ToText (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/lib/Tooling/
DRefactoringCallbacks.cpp85 ReplaceStmtWithText::ReplaceStmtWithText(StringRef FromId, StringRef ToText) in ReplaceStmtWithText() argument
86 : FromId(std::string(FromId)), ToText(std::string(ToText)) {} in ReplaceStmtWithText()
93 CharSourceRange::getTokenRange(FromMatch->getSourceRange()), ToText)); in run()
202 std::string ToText; in run() local
206 ToText += Element.Value; in run()
217 ToText += Lexer::getSourceText(Source, *Result.SourceManager, in run()
229 tooling::Replacement(*Result.SourceManager, &NodeMap.at(FromId), ToText, in run()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp37 ReplaceStmtWithText::ReplaceStmtWithText(StringRef FromId, StringRef ToText) in ReplaceStmtWithText() argument
38 : FromId(FromId), ToText(ToText) {} in ReplaceStmtWithText()
46 ToText)); in run()
/external/deqp-deps/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp90 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::analysis::__anonfacf81ae0111::DecorationManagerTest
335 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
376 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
417 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
420 EXPECT_THAT(ToText(decorations), ""); in TEST_F()
458 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
498 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
504 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
551 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
557 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
[all …]
Dpass_remove_duplicates_test.cpp93 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::__anon88403b5d0111::RemoveDuplicatesTest
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddecoration_manager_test.cpp90 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::analysis::__anon541752680111::DecorationManagerTest
335 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
376 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
417 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
420 EXPECT_THAT(ToText(decorations), ""); in TEST_F()
458 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
498 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
504 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
551 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
557 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
[all …]
Dpass_remove_duplicates_test.cpp93 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::__anonee15d9170111::RemoveDuplicatesTest
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Ddecoration_manager_test.cpp90 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::analysis::__anonfe947afb0111::DecorationManagerTest
335 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
376 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
417 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
420 EXPECT_THAT(ToText(decorations), ""); in TEST_F()
458 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
498 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
504 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
551 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
557 EXPECT_THAT(ToText(decorations), expected_decorations); in TEST_F()
[all …]
Dpass_remove_duplicates_test.cpp93 std::string ToText(const std::vector<Instruction*>& inst) { in ToText() function in spvtools::opt::__anon6d4b132a0111::RemoveDuplicatesTest
/external/clang/include/clang/Tooling/
DRefactoringCallbacks.h54 ReplaceStmtWithText(StringRef FromId, StringRef ToText);
59 std::string ToText; variable
/external/llvm-project/clang/include/clang/Tooling/
DRefactoringCallbacks.h80 ReplaceStmtWithText(StringRef FromId, StringRef ToText);
85 std::string ToText; variable
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h701 …virtual const TiXmlText* ToText() const { return 0; } ///< Cast to a more defined ty… in ToText() function
708 …virtual TiXmlText* ToText() { return 0; } ///< Cast to a more defined type. Wil… in ToText() function
1249 …virtual const TiXmlText* ToText() const { return this; } ///< Cast to a more defined type. Will re… in ToText() function
1250 …virtual TiXmlText* ToText() { return this; } ///< Cast to a more defined type. Will re… in ToText() function
1691 TiXmlText* ToText() const { return ( ( node && node->ToText() ) ? node->ToText() : 0 ); } in ToText() function
1707 TiXmlText* Text() const { return ToText(); } in Text()
Dtinyxml.cpp826 else if ( firstChild == lastChild && firstChild->ToText() ) in Print()
838 if ( !node->ToText() ) in Print()
904 const TiXmlText* childText = child->ToText(); in GetText()
1786 if ( element.FirstChild()->ToText() in VisitEnter()
1788 && element.FirstChild()->ToText()->CDATA() == false ) in VisitEnter()
/external/tinyxml2/
Dtinyxml2.h690 virtual XMLText* ToText() { in ToText() function
713 virtual const XMLText* ToText() const { in ToText() function
991 virtual XMLText* ToText() { in ToText() function
994 virtual const XMLText* ToText() const { in ToText() function
2103 XMLText* ToText() { in ToText() function
2104 return ( _node ? _node->ToText() : 0 ); in ToText()
2171 const XMLText* ToText() const { in ToText() function
2172 return ( _node ? _node->ToText() : 0 ); in ToText()
Dtinyxml2.cpp1210 const XMLText* text = compare->ToText(); in ShallowEqual()
1626 if ( FirstChild() && FirstChild()->ToText() ) { in GetText()
1635 if ( FirstChild() && FirstChild()->ToText() ) in SetText()
1700 if ( FirstChild() && FirstChild()->ToText() ) { in QueryIntText()
1713 if ( FirstChild() && FirstChild()->ToText() ) { in QueryUnsignedText()
1726 if (FirstChild() && FirstChild()->ToText()) { in QueryInt64Text()
1739 if(FirstChild() && FirstChild()->ToText()) { in QueryUnsigned64Text()
1752 if ( FirstChild() && FirstChild()->ToText() ) { in QueryBoolText()
1765 if ( FirstChild() && FirstChild()->ToText() ) { in QueryDoubleText()
1778 if ( FirstChild() && FirstChild()->ToText() ) { in QueryFloatText()
Dxmltest.cpp168 XMLText* textNode = titleElement->FirstChild()->ToText(); in example_3()
491 doc->FirstChildElement()->LastChildElement( "sub" )->FirstChild()->ToText()->Value() ); in main()
682 …ement( "document" )->FirstChildElement( (const char*) russianElementName )->FirstChild()->ToText(); in main()
1237 XMLText* text = doc.FirstChildElement()->FirstChildElement()->FirstChild()->ToText(); in main()
Dreadme.md250 …* textNode = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" )->FirstChild()->ToText();
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc89 bool ToText(int argc, const char** argv, const CliCredentials& cred,
234 {"totext", BindWith5Args(&GrpcTool::ToText), 2, 3},
870 bool GrpcTool::ToText(int argc, const char** argv, const CliCredentials& cred, in ToText() function in grpc::testing::GrpcTool