Home
last modified time | relevance | path

Searched refs:macroName (Results 1 – 24 of 24) sorted by relevance

/external/catch2/include/internal/
Dcatch_capture.hpp42 #define INTERNAL_CATCH_TEST( macroName, resultDisposition, ... ) \ argument
46 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
57 #define INTERNAL_CATCH_IF( macroName, resultDisposition, ... ) \ argument
58 INTERNAL_CATCH_TEST( macroName, resultDisposition, __VA_ARGS__ ); \
62 #define INTERNAL_CATCH_ELSE( macroName, resultDisposition, ... ) \ argument
63 INTERNAL_CATCH_TEST( macroName, resultDisposition, __VA_ARGS__ ); \
68 #define INTERNAL_CATCH_NO_THROW( macroName, resultDisposition, ... ) argument
69 #define INTERNAL_CATCH_THROWS( macroName, resultDisposition, ... ) argument
70 #define INTERNAL_CATCH_THROWS_AS( macroName, exceptionType, resultDisposition, expr ) argument
75 #define INTERNAL_CATCH_NO_THROW( macroName, resultDisposition, ... ) \ argument
[all …]
Dcatch_message.cpp22 : macroName( _macroName ), in MessageInfo()
42 Catch::MessageBuilder::MessageBuilder( StringRef const& macroName, in MessageBuilder() argument
45 :m_info(macroName, lineInfo, type) {} in MessageBuilder()
70 …Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultT… in Capturer() argument
115 m_messages.emplace_back(macroName, lineInfo, resultType); in Capturer()
123 m_messages.emplace_back(macroName, lineInfo, resultType); in Capturer()
Dcatch_assertionresult.cpp70 if( m_info.macroName.empty() ) in getExpressionInMacro()
73 expr.reserve( m_info.macroName.size() + m_info.capturedExpression.size() + 4 ); in getExpressionInMacro()
74 expr += m_info.macroName; in getExpressionInMacro()
101 return m_info.macroName; in getTestMacroName()
Dcatch_capture_matchers.h58 #define INTERNAL_CHECK_THAT( macroName, matcher, resultDisposition, arg ) \ argument
60 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
69 #define INTERNAL_CATCH_THROWS_MATCHES( macroName, exceptionType, resultDisposition, matcher, ... ) \ argument
71 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
Dcatch_message.h27 StringRef macroName; member
51 MessageBuilder( StringRef const& macroName,
80 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
Dcatch_assertionhandler.cpp56 ( StringRef const& macroName, in AssertionHandler() argument
60 : m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition }, in AssertionHandler()
Dcatch_assertioninfo.h19 StringRef macroName; member
Dcatch_assertionhandler.h52 ( StringRef const& macroName,
Dcatch_run_context.cpp172 m_lastAssertionInfo.macroName = StringRef(); in resetAssertionInfo()
/external/llvm-project/clang/utils/TableGen/
DClangTypeNodesEmitter.cpp91 void emitFallbackDefine(StringRef macroName, StringRef fallbackMacroName,
98 void addMacroToUndef(StringRef macroName);
126 void TypeNodeEmitter::emitFallbackDefine(StringRef macroName, in emitFallbackDefine() argument
129 Out << "#ifndef " << macroName << "\n"; in emitFallbackDefine()
130 Out << "# define " << macroName << args in emitFallbackDefine()
134 addMacroToUndef(macroName); in emitFallbackDefine()
146 StringRef macroName; in emitNodeInvocations() local
148 if (!macroName.empty()) in emitNodeInvocations()
152 + macroName + "\" and \"" + newName + "\""); in emitNodeInvocations()
153 macroName = newName; in emitNodeInvocations()
[all …]
DClangASTNodesEmitter.cpp44 static std::string macroName(std::string S) { in macroName() function in __anon6694c97c0111::ClangASTNodesEmitter
54 MacroHierarchyName = macroName(std::string(Root.getName())); in macroHierarchyName()
89 std::string BaseName = macroName(std::string(Base.getName())); in EmitNode()
101 std::string NodeName = macroName(std::string(Child.getName())); in EmitNode()
/external/clang/utils/TableGen/
DClangASTNodesEmitter.cpp36 static std::string macroName(std::string S) { in macroName() function in __anond4816a0e0111::ClangASTNodesEmitter
76 std::string BaseName = macroName(Base->getName()); in EmitNode()
89 std::string NodeName = macroName(R->getName()); in EmitNode()
97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" in EmitNode()
125 OS << "LAST_" << macroName(Root.getName()) << "_RANGE("; in EmitNode()
127 OS << macroName(Root.getName()) << "_RANGE("; in EmitNode()
139 OS << "#ifndef ABSTRACT_" << macroName(Root.getName()) << "\n"; in run()
140 OS << "# define ABSTRACT_" << macroName(Root.getName()) << "(Type) Type\n"; in run()
143 OS << "#ifndef " << macroName(Root.getName()) << "_RANGE\n"; in run()
145 << macroName(Root.getName()) << "_RANGE(Base, First, Last)\n"; in run()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DInterpretedMacro.java40 private final String macroName; field in InterpretedMacro
45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName, in InterpretedMacro() argument
50 this.macroName = macroName; in InterpretedMacro()
94 return owningTemplate.getDisplayName() + ":" + macroName; in getDisplayName()
99 return macroName; in getMacroName()
107 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName); in getArgumentName()
DTemplateInterpreter.java435 String macroName = makeWord(node.getMacro()); in caseADefCommand() local
441 throw new JSilverInterpreterException("Invalid name for macro '" + macroName in caseADefCommand()
448 context.registerMacro(macroName, new InterpretedMacro(node.getCommand(), template, macroName, in caseADefCommand()
472 String macroName = makeWord(node.getMacro()); in caseACallCommand() local
473 Macro macro = context.findMacro(macroName); in caseACallCommand()
478 throw new JSilverInterpreterException("Number of arguments to macro " + macroName + " (" in caseACallCommand()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java246 private final String macroName; field in BaseCompiledTemplate.CompiledMacro
249 protected CompiledMacro(String macroName, String... argumentsNames) { in CompiledMacro() argument
250 this.macroName = macroName; in CompiledMacro()
272 return macroName; in getMacroName()
280 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName); in getArgumentName()
300 return BaseCompiledTemplate.this.getDisplayName() + ":" + macroName; in getDisplayName()
DTemplateTranslator.java656 public void parseDefNode(JavaExpression macroName, ADefCommand node) { in parseDefNode() argument
657 java.startField("Macro", macroName); in parseDefNode()
/external/boringssl/src/util/
Dmake_errors.go324 func handleDeclareMacro(line, join, macroName string, m map[string]int) {
325 if i := strings.Index(line, macroName); i >= 0 {
326 contents := line[i+len(macroName):]
/external/catch2/examples/
D210-Evt-EventListeners.cpp52 os << ws(level+1) << "- macroName: '" << info.macroName << "'\n" in print()
219 << ws(level+1) << "- macroName: '" << info.macroName << "'\n"; in print()
/external/bcc/tests/cc/
Dcatch.hpp835 std::string macroName; member
1222 ResultBuilder( char const* macroName,
1905 std::string macroName; member
1922 MessageBuilder( std::string const& macroName, in MessageBuilder()
1925 : m_info( macroName, lineInfo, type ) in MessageBuilder()
2057 #define INTERNAL_CATCH_TEST( expr, resultDisposition, macroName ) \ argument
2059 …Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition )…
2071 #define INTERNAL_CATCH_IF( expr, resultDisposition, macroName ) \ argument
2072 INTERNAL_CATCH_TEST( expr, resultDisposition, macroName ); \
2076 #define INTERNAL_CATCH_ELSE( expr, resultDisposition, macroName ) \ argument
[all …]
/external/catch2/single_include/catch2/
Dcatch.hpp1391 StringRef macroName; member
2530 ( StringRef const& macroName,
2578 StringRef macroName; member
2602 MessageBuilder( StringRef const& macroName,
2631 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
2677 #define INTERNAL_CATCH_TEST( macroName, resultDisposition, ... ) \ argument
2680 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2691 #define INTERNAL_CATCH_IF( macroName, resultDisposition, ... ) \ argument
2692 INTERNAL_CATCH_TEST( macroName, resultDisposition, __VA_ARGS__ ); \
2696 #define INTERNAL_CATCH_ELSE( macroName, resultDisposition, ... ) \ argument
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp1394 StringRef macroName; member
2552 ( StringRef const& macroName,
2600 StringRef macroName; member
2624 MessageBuilder( StringRef const& macroName,
2653 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
2699 #define INTERNAL_CATCH_TEST( macroName, resultDisposition, ... ) \ argument
2702 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2713 #define INTERNAL_CATCH_IF( macroName, resultDisposition, ... ) \ argument
2714 INTERNAL_CATCH_TEST( macroName, resultDisposition, __VA_ARGS__ ); \
2718 #define INTERNAL_CATCH_ELSE( macroName, resultDisposition, ... ) \ argument
[all …]
/external/clang/lib/Sema/
DSemaObjCProperty.cpp2078 StringRef macroName = PP.getLastMacroWithSpelling(noteLoc, tokens); in DiagnoseOwningPropertyGetterSynthesis() local
2079 if (!macroName.empty()) in DiagnoseOwningPropertyGetterSynthesis()
2080 spelling = macroName; in DiagnoseOwningPropertyGetterSynthesis()
/external/llvm-project/clang/lib/Sema/
DSemaObjCProperty.cpp2312 StringRef macroName = PP.getLastMacroWithSpelling(noteLoc, tokens); in DiagnoseOwningPropertyGetterSynthesis() local
2313 if (!macroName.empty()) in DiagnoseOwningPropertyGetterSynthesis()
2314 spelling = macroName; in DiagnoseOwningPropertyGetterSynthesis()
/external/skqp/tools/bookmaker/
DincludeParser.cpp822 string macroName = className + "::" + incName; in checkTokens() local
823 def = root->find(macroName, RootDefinition::AllowParens::kYes); in checkTokens()