Home
last modified time | relevance | path

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

/external/clang/utils/TableGen/
DClangASTNodesEmitter.cpp36 static std::string macroName(std::string S) { in macroName() function in __anon1f45041d0111::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/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/
DRuntimeMacro.java58 private String macroName; field in RuntimeMacro
91 return macroName; in getName()
133 macroName = Validate.notNull(name); in init()
134 macroName = rsvc.useStringInterning() ? macroName.intern() : macroName; in init()
159 + "' in macro #" + macroName + " at " + StringUtils.formatFileString(child); in init()
288 Object o = rsvc.getVelocimacro(macroName, renderingTemplate, getTemplate()); in render()
307 o = rsvc.getVelocimacro(macroName, renderingTemplate, macroLibraries.get(i)); in render()
351 macroName, StringUtils.formatFileString(node)); in render()
361 throw new VelocityException("Macro '#" + macroName + "' is not defined at " in render()
DVelocimacroProxy.java51 private String macroName; field in VelocimacroProxy
70 return macroName; in getName()
90 macroName = name; in setName()
217 context.pushCurrentMacroName(macroName); in render()
226 String msg = "VelocimacroProxy.render() : exception VM = #" + macroName + "()"; in render()
328 .append(" was exceeded in macro '").append(macroName) in checkDepth()
DBlockMacro.java91 … public void init(RuntimeServices rs, String macroName, InternalContextAdapter context, Node node) in init() argument
94 this.name = macroName; in init()
/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/cronet/tot/third_party/boringssl/src/util/
Dmake_errors.go329 func handleDeclareMacro(line, prefix, join, macroName string, m map[string]int) {
330 if i := strings.Index(line, macroName); i >= 0 {
331 contents := line[i+len(macroName):]
/external/cronet/stable/third_party/boringssl/src/util/
Dmake_errors.go329 func handleDeclareMacro(line, prefix, join, macroName string, m map[string]int) {
330 if i := strings.Index(line, macroName); i >= 0 {
331 contents := line[i+len(macroName):]
/external/boringssl/src/util/
Dmake_errors.go329 func handleDeclareMacro(line, prefix, join, macroName string, m map[string]int) {
330 if i := strings.Index(line, macroName); i >= 0 {
331 contents := line[i+len(macroName):]
/external/perfetto/ui/src/base/perfetto_sql_lang/
Dlanguage.ts42 'Macro': t.macroName,
/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/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/apache-velocity-engine/generated-sources/javacc/org/apache/velocity/runtime/parser/
DStandardParser.java1531 String macroName = jjtn000.jjtGetChild(0).getFirstToken().image; in Directive() local
1532 macroNames.put(macroName, macroName); in Directive()
/external/apache-velocity-engine/velocity-engine-core/src/main/parser/
DParser.jjt2053 String macroName = jjtThis.jjtGetChild(0).getFirstToken().image;
2054 macroNames.put(macroName, macroName);