Home
last modified time | relevance | path

Searched refs:Macro (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/external/swiftshader/src/OpenGL/compiler/preprocessor/
DMacro.cpp22 Macro::Macro() : predefined(false), disabled(false), expansionCount(0), type(kTypeObj) in Macro() function in pp::Macro
26 Macro::~Macro() in ~Macro()
30 bool Macro::equals(const Macro &other) const in equals()
42 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); in PredefineMacro()
44 macro->type = Macro::kTypeObj; in PredefineMacro()
DMacro.h28 struct Macro struct
38 Macro(); argument
39 ~Macro();
40 bool equals(const Macro &other) const;
52 typedef std::map<std::string, std::shared_ptr<Macro>> MacroSet; argument
DMacroExpander.h46 bool pushMacro(std::shared_ptr<Macro> macro, const Token &identifier);
49 bool expandMacro(const Macro &macro, const Token &identifier, std::vector<Token> *replacements);
52 bool collectMacroArgs(const Macro &macro,
56 void replaceMacroParams(const Macro &macro,
68 std::shared_ptr<Macro> macro;
85 std::vector<std::shared_ptr<Macro>> mMacrosToReenable;
DMacroExpander.cpp177 std::shared_ptr<Macro> macro = iter->second; in lex()
188 if ((macro->type == Macro::kTypeFunc) && !isNextTokenLeftParen()) in lex()
252 bool MacroExpander::pushMacro(std::shared_ptr<Macro> macro, const Token &identifier) in pushMacro()
297 bool MacroExpander::expandMacro(const Macro &macro, in expandMacro()
308 if (macro.type == Macro::kTypeObj) in expandMacro()
331 assert(macro.type == Macro::kTypeFunc); in expandMacro()
355 bool MacroExpander::collectMacroArgs(const Macro &macro, in collectMacroArgs()
419 const Macro::Parameters &params = macro.parameters; in collectMacroArgs()
467 void MacroExpander::replaceMacroParams(const Macro &macro, in replaceMacroParams()
491 Macro::Parameters::const_iterator iter = in replaceMacroParams()
/external/clang/lib/Lex/
DTokenLexer.cpp32 Macro = MI; in Init()
41 Tokens = &*Macro->tokens_begin(); in Init()
44 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init()
61 MacroDefLength = Macro->getDefinitionLength(SM); in Init()
70 if (Macro->isFunctionLike() && Macro->getNumArgs()) in Init()
76 Macro->DisableMacro(); in Init()
87 Macro = nullptr; in Init()
122 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument
125 if (!Macro->isVariadic() || MacroArgNo != Macro->getNumArgs()-1) in MaybeRemoveCommaBeforeVaArgs()
140 && Macro->getNumArgs() < 2) in MaybeRemoveCommaBeforeVaArgs()
[all …]
DPPLexerChange.cpp163 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
166 TokLexer = llvm::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
169 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
654 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
656 if (!Macro.second.getLatest() && in EnterSubmodule()
657 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
660 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
661 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
662 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
719 auto &Macro = MacroIt->second; in LeaveSubmodule() local
[all …]
/external/junit-params/src/main/java/junitparams/naming/
DMacroSubstitutionNamingStrategy.java77 switch (Macro.parse(macroKey)) { in lookupMacroValue()
112 private enum Macro { enum in MacroSubstitutionNamingStrategy
118 public static Macro parse(String value) { in parse()
120 return Macro.valueOf(value); in parse()
122 return Macro.NONE; in parse()
127 Macro.INDEX.toString(), Macro.PARAMS.toString(), Macro.METHOD.toString())
/external/libxml2/os400/libxmlrpg/
Dxinclude.rpgle22 * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
36 * Macro defining "include"
42 * Macro defining "fallback"
49 * Macro defining "href"
55 * Macro defining "parse"
61 * Macro defining "xml"
68 * Macro defining "text"
75 * Macro defining "encoding"
82 * Macro defining "xpointer"
/external/clang/tools/libclang/
DCIndexHigh.cpp250 const IdentifierInfo *Macro; member
254 const IdentifierInfo *Macro, in FindFileMacroRefVisitData()
256 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { } in FindFileMacroRefVisitData()
268 const IdentifierInfo *Macro = nullptr; in findFileMacroRefVisit() local
270 Macro = getCursorMacroDefinition(cursor)->getName(); in findFileMacroRefVisit()
272 Macro = getCursorMacroExpansion(cursor).getName(); in findFileMacroRefVisit()
273 if (!Macro) in findFileMacroRefVisit()
277 if (data->Macro != Macro) in findFileMacroRefVisit()
320 const IdentifierInfo *Macro = nullptr; in findMacroRefsInFile() local
322 Macro = getCursorMacroDefinition(Cursor)->getName(); in findMacroRefsInFile()
[all …]
/external/kmod/m4/
Dfeatures.m416 # As a special exception, the respective Autoconf Macro's copyright owner
18 # scripts that are the output of Autoconf when processing the Macro. You
21 # Macro appear in them. The GNU General Public License (GPL) does govern
22 # all other use of the material that constitutes the Autoconf Macro.
25 # Macro released by the Autoconf Archive. When you make and distribute a
26 # modified version of the Autoconf Macro, you may extend this special
/external/ImageMagick/m4/
Dax_c___attribute__.m433 # As a special exception, the respective Autoconf Macro's copyright owner
35 # scripts that are the output of Autoconf when processing the Macro. You
38 # Macro appear in them. The GNU General Public License (GPL) does govern
39 # all other use of the material that constitutes the Autoconf Macro.
42 # Macro released by the Autoconf Archive. When you make and distribute a
43 # modified version of the Autoconf Macro, you may extend this special
Dax_compiler_vendor.m434 # As a special exception, the respective Autoconf Macro's copyright owner
36 # scripts that are the output of Autoconf when processing the Macro. You
39 # Macro appear in them. The GNU General Public License (GPL) does govern
40 # all other use of the material that constitutes the Autoconf Macro.
43 # Macro released by the Autoconf Archive. When you make and distribute a
44 # modified version of the Autoconf Macro, you may extend this special
/external/mesa3d/m4/
Dax_prog_flex.m432 # As a special exception, the respective Autoconf Macro's copyright owner
34 # scripts that are the output of Autoconf when processing the Macro. You
37 # Macro appear in them. The GNU General Public License (GPL) does govern
38 # all other use of the material that constitutes the Autoconf Macro.
41 # Macro released by the Autoconf Archive. When you make and distribute a
42 # modified version of the Autoconf Macro, you may extend this special
Dax_prog_bison.m432 # As a special exception, the respective Autoconf Macro's copyright owner
34 # scripts that are the output of Autoconf when processing the Macro. You
37 # Macro appear in them. The GNU General Public License (GPL) does govern
38 # all other use of the material that constitutes the Autoconf Macro.
41 # Macro released by the Autoconf Archive. When you make and distribute a
42 # modified version of the Autoconf Macro, you may extend this special
Dax_check_compile_flag.m445 # As a special exception, the respective Autoconf Macro's copyright owner
47 # scripts that are the output of Autoconf when processing the Macro. You
50 # Macro appear in them. The GNU General Public License (GPL) does govern
51 # all other use of the material that constitutes the Autoconf Macro.
54 # Macro released by the Autoconf Archive. When you make and distribute a
55 # modified version of the Autoconf Macro, you may extend this special
/external/python/cpython2/Modules/_ctypes/libffi/m4/
Dax_configure_args.m447 # As a special exception, the respective Autoconf Macro's copyright owner
49 # scripts that are the output of Autoconf when processing the Macro. You
52 # Macro appear in them. The GNU General Public License (GPL) does govern
53 # all other use of the material that constitutes the Autoconf Macro.
56 # Macro released by the Autoconf Archive. When you make and distribute a
57 # modified version of the Autoconf Macro, you may extend this special
Dax_append_flag.m439 # As a special exception, the respective Autoconf Macro's copyright owner
41 # scripts that are the output of Autoconf when processing the Macro. You
44 # Macro appear in them. The GNU General Public License (GPL) does govern
45 # all other use of the material that constitutes the Autoconf Macro.
48 # Macro released by the Autoconf Archive. When you make and distribute a
49 # modified version of the Autoconf Macro, you may extend this special
Dax_compiler_vendor.m434 # As a special exception, the respective Autoconf Macro's copyright owner
36 # scripts that are the output of Autoconf when processing the Macro. You
39 # Macro appear in them. The GNU General Public License (GPL) does govern
40 # all other use of the material that constitutes the Autoconf Macro.
43 # Macro released by the Autoconf Archive. When you make and distribute a
44 # modified version of the Autoconf Macro, you may extend this special
/external/libffi/m4/
Dax_append_flag.m439 # As a special exception, the respective Autoconf Macro's copyright owner
41 # scripts that are the output of Autoconf when processing the Macro. You
44 # Macro appear in them. The GNU General Public License (GPL) does govern
45 # all other use of the material that constitutes the Autoconf Macro.
48 # Macro released by the Autoconf Archive. When you make and distribute a
49 # modified version of the Autoconf Macro, you may extend this special
Dax_configure_args.m447 # As a special exception, the respective Autoconf Macro's copyright owner
49 # scripts that are the output of Autoconf when processing the Macro. You
52 # Macro appear in them. The GNU General Public License (GPL) does govern
53 # all other use of the material that constitutes the Autoconf Macro.
56 # Macro released by the Autoconf Archive. When you make and distribute a
57 # modified version of the Autoconf Macro, you may extend this special
Dax_compiler_vendor.m434 # As a special exception, the respective Autoconf Macro's copyright owner
36 # scripts that are the output of Autoconf when processing the Macro. You
39 # Macro appear in them. The GNU General Public License (GPL) does govern
40 # all other use of the material that constitutes the Autoconf Macro.
43 # Macro released by the Autoconf Archive. When you make and distribute a
44 # modified version of the Autoconf Macro, you may extend this special
/external/mesa3d/src/compiler/glsl/glcpp/tests/
D086-reserved-macro-names.c.expected1 0:1(9): preprocessor warning: Macro names containing "__" are reserved for use by the implementatio…
3 0:2(9): preprocessor error: Macro names starting with "GL_" are reserved.
5 0:3(9): preprocessor warning: Macro names containing "__" are reserved for use by the implementatio…
/external/clang/include/clang/Lex/
DTokenLexer.h33 MacroInfo *Macro; variable
111 : Macro(nullptr), ActualArgs(nullptr), PP(pp), OwnsTokens(false) { in TokenLexer()
127 : Macro(nullptr), ActualArgs(nullptr), PP(pp), OwnsTokens(false) { in TokenLexer()
197 MacroInfo *Macro, unsigned MacroArgNo,
/external/iptables/m4/
Dax_check_linker_flags.m439 # As a special exception, the respective Autoconf Macro's copyright owner
41 # scripts that are the output of Autoconf when processing the Macro. You
44 # Macro appear in them. The GNU General Public License (GPL) does govern
45 # all other use of the material that constitutes the Autoconf Macro.
48 # Macro released by the Autoconf Archive. When you make and distribute a
49 # modified version of the Autoconf Macro, you may extend this special
/external/libnl/m4/
Dax_swig_python.m442 # As a special exception, the respective Autoconf Macro's copyright owner
44 # scripts that are the output of Autoconf when processing the Macro. You
47 # Macro appear in them. The GNU General Public License (GPL) does govern
48 # all other use of the material that constitutes the Autoconf Macro.
51 # Macro released by the Autoconf Archive. When you make and distribute a
52 # modified version of the Autoconf Macro, you may extend this special

12345678910>>...12