HomeSort by relevance Sort by last modified time
    Searched refs:Macro (Results 1 - 25 of 35) sorted by null

1 2

  /external/clang/include/clang/Lex/
CodeCompletionHandler.h 43 /// where the name of a macro is expected.
45 /// \param IsDefinition Whether this is the definition of a macro, e.g.,
54 /// function-like macro argument.
56 /// There will be another callback invocation after the macro arguments are
58 /// callback is invoked inside a macro argument.
59 virtual void CodeCompleteMacroArgument(IdentifierInfo *Macro,
TokenLexer.h 25 /// TokenLexer - This implements a lexer that returns token from a macro body
27 /// macro expansion and _Pragma handling, for example.
30 /// Macro - The macro we are expanding from. This is null if expanding a
33 MacroInfo *Macro;
35 /// ActualArgs - The actual arguments specified for a function-like macro, or
43 /// Tokens - This is the pointer to an array of tokens that the macro is
46 /// the macro definition we are lexing from, a cache buffer that is owned by
62 /// ExpandLocStart/End - The source location range where this macro was
67 /// was reserved for the current macro expansion
    [all...]
PreprocessingRecord.h 45 /// preprocessor directive or macro expansion.
53 /// \brief A macro expansion.
59 /// \brief A macro definition.
139 /// \brief Record the location of a macro definition.
141 /// \brief The name of the macro being defined.
148 /// \brief Retrieve the name of the macro being defined.
151 /// \brief Retrieve the location of the macro name in the definition.
161 /// \brief Records the location of a macro expansion.
163 /// \brief The definition of this macro or the name of the macro if it i
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/template/
Macro.java 22 * An executable macro. This exhibits all the same characteristics of a Template.
24 public interface Macro extends Template {
27 * Name of macro (e.g. showTable). Used to generate error messages.
32 * Get the name of the nth argument defined in the macro. Throws exception if the argument is not
38 * Return the number of arguments this macro expects. Must be equal to the number of arguments
RenderingContext.java 94 * Register a macro in the current rendering context. This macro will be available to all other
97 void registerMacro(String name, Macro macro);
100 * Lookup a macro that's already been registered. Throws JSilverInterpreterException if macro not
103 Macro findMacro(String name) throws JSilverInterpreterException;
DefaultRenderingContext.java 57 private Map<String, Macro> macros = new HashMap<String, Macro>();
185 public void registerMacro(String name, Macro macro) {
186 macros.put(name, macro);
190 public Macro findMacro(String name) {
191 Macro macro = macros.get(name); local
192 if (macro == null) {
193 throw new JSilverInterpreterException("No such macro: " + name)
    [all...]
  /external/clang/tools/libclang/
CIndexHigh.cpp 129 /// \brief For a macro \arg Loc, returns the file spelling location and sets
130 /// to \arg isMacroArg whether the spelling resides inside a macro definition or
131 /// a macro argument.
200 // FIXME: For a macro definition make sure that all expansions
248 const IdentifierInfo *Macro;
252 const IdentifierInfo *Macro,
254 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { }
266 const IdentifierInfo *Macro = 0;
268 Macro = getCursorMacroDefinition(cursor)->getName()
    [all...]
  /external/clang/lib/Lex/
TokenLexer.cpp 24 /// Create a TokenLexer for the specified macro with the specified actual
31 Macro = PP.getMacroInfo(Tok.getIdentifierInfo());
39 Tokens = &*Macro->tokens_begin();
42 NumTokens = Macro->tokens_end()-Macro->tokens_begin();
51 "Macro defined in macro?");
54 // Reserve a source location entry chunk for the length of the macro
59 MacroDefLength = Macro->getDefinitionLength(SM);
66 // If this is a function-like macro, expand the arguments and chang
    [all...]
PreprocessingRecord.cpp 215 // The end locations of entities may be unordered (when a macro expansion
216 // is inside another macro argument), but for this case it is not important
217 // whether we get the first macro expansion or its containing macro.
256 "a macro directive was encountered out-of-order");
271 // "#include MACRO(STUFF)".
275 // Usually there are few macro expansions when defining the filename, do a
315 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro,
317 MacroDefinitions[Macro] = PPID;
362 // We don't record nested macro expansions
    [all...]
PPExpressions.cpp 76 /// indicates the macro that was checked.
114 // If there is a macro, mark it used.
116 MacroInfo *Macro = PP.getMacroInfo(II);
117 PP.markMacroAsUsed(Macro);
170 // 'defined' or if it is a macro. Note that we check here because many
178 // preprocessor keywords and it wasn't macro expanded, it turns
722 // 'DisableMacroExpansion' is true, then we must be in a macro argument list
740 // Parse error, skip the rest of the macro line.
753 // If the expression we parsed was of the form !defined(macro), return the
754 // macro in IfNDefMacro
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
InterpretedMacro.java 24 import com.google.clearsilver.jsilver.template.Macro;
31 * User defined macro that will be executed by the interpreter.
36 public class InterpretedMacro implements Macro {
58 assert context == owningContext : "Cannot render macro defined in another context";
106 // arguments are passed to a macro is consistent with JNI / interpreter.
107 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName);
TemplateInterpreter.java 56 import com.google.clearsilver.jsilver.template.Macro;
430 * &lt;?cs def:someMacro(x,y) &gt; ... &lt;?cs /def &gt; command. Define a macro (available for
441 throw new JSilverInterpreterException("Invalid name for macro '" + macroName
446 // TODO: Should we enforce that macro args can't repeat the same
467 * &lt;?cs call:someMacro(x,y) command. Call a macro. Need to create a new variable scope to hold
468 * the local variables defined by the parameters of the macro definition
473 Macro macro = context.findMacro(macroName); local
475 // Make sure that the number of arguments passed to the macro match the
477 if (node.getArguments().size() != macro.getArgumentCount())
    [all...]
  /external/clang/include/clang/Sema/
CodeCompleteConsumer.h 55 /// \brief Priority for a preprocessor macro.
125 /// \brief Determine the priority to be given to a macro code completion result
128 /// \param MacroName The name of the macro.
133 /// of this macro is a pointer type.
158 /// macro completions.
224 /// \brief Code completion occurred where an macro is being defined.
226 /// \brief Code completion occurred where a macro name is expected
227 /// (without any arguments, in the case of a function-like macro).
334 /// declarator or macro.
354 /// macro invocation, etc
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
BaseCompiledTemplate.java 30 import com.google.clearsilver.jsilver.template.Macro;
244 public abstract class CompiledMacro implements Macro {
279 // arguments are passed to a macro is consistent with JNI / interpreter.
280 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName);
TemplateTranslator.java 31 import static com.google.clearsilver.jsilver.compiler.JavaExpression.macro;
69 import com.google.clearsilver.jsilver.template.Macro;
124 * Holds Macro information used while generating code.
128 * JavaExpression used for outputting the static Macro variable name.
139 * Map of macro names to definition nodes and java expressions used to refer to them.
152 * register the macro.
154 * @param name name of the macro as defined in the template.
155 * @param symbol static variable name of the macro definition.
156 * @param defNode parser node holding the macro definition to be evaluated later.
160 // TODO: This macro is already defined. Should throw an error
    [all...]
  /gdk/build/core/
definitions.mk 5 # Macro : empty
6 # Returns : an empty macro
12 # Macro : space
54 # Macro : this-makefile
61 # Macro : local-makefile
643 # Macro : my-dir
658 # Macro : all-subdir-makefiles
704 # Macro : clear-all-src-tags
720 # Macro : tag-src-files
734 # Macro : get-src-files-with-ta
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
PathDiagnostic.h 273 enum Kind { ControlFlow, Event, Macro, Call };
585 : PathDiagnosticSpotPiece(pos, "", Macro) {}
600 return P->getKind() == Macro;
  /external/clang/lib/Sema/
CodeCompleteConsumer.cpp 489 OS << Results[I].Macro->getName();
604 return R.Macro->getName();
  /ndk/build/core/
definitions.mk 35 # Macro : empty
36 # Returns : an empty macro
42 # Macro : space
86 # Macro : this-makefile
93 # Macro : local-makefile
    [all...]
  /external/llvm/lib/MC/MCParser/
AsmParser.cpp 47 /// \brief Helper class for tracking macro definitions.
48 struct Macro {
54 Macro(StringRef N, StringRef B, const std::vector<StringRef> &P) :
58 /// \brief Helper class for storing information about an active macro
61 /// The macro being instantiated.
62 const Macro *TheMacro;
64 /// The macro instantiation with substitutions.
74 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL,
109 StringMap<Macro*> MacroMap;
111 /// ActiveMacros - Stack of active macro instantiations
    [all...]
  /external/clang/lib/Frontend/
InitPreprocessor.cpp 31 // Append a #define line to Buf for Macro. Macro should be of the form XXX,
34 static void DefineBuiltinMacro(MacroBuilder &Builder, StringRef Macro,
36 std::pair<StringRef, StringRef> MacroPair = Macro.split('=');
39 if (MacroName.size() != Macro.size()) {
40 // Per GCC -D semantics, the macro ends at \n if it exists.
48 Builder.defineMacro(Macro);
153 /// DefineTypeSize - Emit a macro to the predefines buffer that declares a macro
205 /// Get the value the ATOMIC_*_LOCK_FREE macro should have for a type wit
    [all...]
  /external/chromium/testing/gmock/scripts/
gmock_doctor.py 513 return _GenericDiagnoser('WMM', 'Wrong MOCK_METHODn Macro',
  /external/zlib/contrib/masmx64/
inffasx64.asm 10 ; with Microsoft Macro Assembler (x64) for AMD64
13 ; This file compile with Microsoft Macro Assembler (x64) for AMD64
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Core/
HTMLDiagnostics.cpp 116 if (PathDiagnosticMacroPiece *macro =
120 flattenPath(primaryPath, newPath, macro->subPieces);
121 macro->subPieces = newPath;
356 case PathDiagnosticPiece::Macro: Kind = "Control"; break;
437 os << "Within the expansion of the macro '";
439 // Get the name of the macro by relexing it.
459 // Within a macro piece. Write out each event.

Completed in 914 milliseconds

1 2