/external/chromium_org/third_party/angle_dx11/src/compiler/preprocessor/ |
Macro.cpp | 7 #include "Macro.h" 14 bool Macro::equals(const Macro& other) const
|
Macro.h | 19 struct Macro 29 Macro() : predefined(false), disabled(false), type(kTypeObj) { } 30 bool equals(const Macro& other) const; 41 typedef std::map<std::string, Macro> MacroSet;
|
MacroExpander.h | 15 #include "Macro.h" 38 bool pushMacro(const Macro& macro, const Token& identifier); 41 bool expandMacro(const Macro& macro, 46 bool collectMacroArgs(const Macro& macro, 49 void replaceMacroParams(const Macro& macro, 55 const Macro* macro member in struct:pp::MacroExpander::MacroContext [all...] |
MacroExpander.cpp | 82 const Macro& macro = iter->second; local 83 if (macro.disabled) 89 if ((macro.type == Macro::kTypeFunc) && !isNextTokenLeftParen()) 91 // If the token immediately after the macro name is not a '(', 92 // this macro should not be expanded. 96 pushMacro(macro, *token); 109 // First pop all empty macro contexts. 151 bool MacroExpander::pushMacro(const Macro& macro, const Token& identifier [all...] |
Preprocessor.cpp | 14 #include "Macro.h" 75 Macro macro; local 76 macro.predefined = true; 77 macro.type = Macro::kTypeObj; 78 macro.name = name; 79 macro.replacements.push_back(token); 81 mImpl->macroSet[name] = macro;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
MacroGroup.java | 32 private List<Macro> macros;
40 macros = new ArrayList<Macro>();
44 public void addMacro(Macro macro) {
45 macros.add(macro);
48 public void removeMacro(Macro macro) {
49 macros.remove(macro);
52 public Macro getMacroByTitle(String title) {
53 Collection<Macro> col = Collections.unmodifiableList(macros); 56 Macro macro = (Macro)iter.next(); local [all...] |
Macro.java | 23 * Macro datamodel.
25 public class Macro {
|
Macros.java | 93 * An IQProvider for Macro packets.
126 public Macro parseMacro(XmlPullParser parser) throws Exception {
127 Macro macro = new Macro();
local 134 macro.setTitle(parser.getText());
137 macro.setDescription(parser.nextText());
140 macro.setResponse(parser.nextText());
143 macro.setType(Integer.valueOf(parser.nextText()).intValue());
147 if (parser.getName().equals("macro")) {
[all...] |
/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 tokens 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...] |
/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/lib/Lex/ |
TokenLexer.cpp | 24 /// Create a TokenLexer for the specified macro with the specified actual 32 Macro = MI; 40 Tokens = &*Macro->tokens_begin(); 43 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); 52 "Macro defined in macro?"); 55 // Reserve a source location entry chunk for the length of the macro 60 MacroDefLength = Macro->getDefinitionLength(SM); 67 // If this is a function-like macro, expand the arguments and chang [all...] |
PPLexerChange.cpp | 34 /// \#include. This looks through macro expansions and active _Pragma lexers. 49 /// that this ignores any potentially active macro expansions and _Pragma 73 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); 157 /// EnterMacro - Add a Macro to the top of the include stack and start lexing 160 MacroInfo *Macro, MacroArgs *Args) { 163 TokLexer = new TokenLexer(Tok, ILEnd, Macro, Args, *this); 166 TokLexer->Init(Tok, ILEnd, Macro, Args); 176 /// EnterTokenStream - Add a "macro" context to the top of the include stack, 180 /// not be subject to further macro expansion. Otherwise, these tokens will 181 /// be re-macro-expanded when/if expansion is enabled [all...] |
/external/clang/tools/libclang/ |
CIndexHigh.cpp | 132 /// \brief For a macro \arg Loc, returns the file spelling location and sets 133 /// to \arg isMacroArg whether the spelling resides inside a macro definition or 134 /// a macro argument. 203 // FIXME: For a macro definition make sure that all expansions 250 const IdentifierInfo *Macro; 254 const IdentifierInfo *Macro, 256 : Unit(Unit), File(File), Macro(Macro), visitor(visitor) { } 268 const IdentifierInfo *Macro = 0; 270 Macro = getCursorMacroDefinition(cursor)->getName() [all...] |
/external/chromium_org/native_client_sdk/src/tools/ |
host_gcc.mk | 55 # Compile Macro 71 # SO Macro 83 # LIB Macro 101 # Link Macro 118 # Link Macro 135 # Strip Macro
|
nacl_llvm.mk | 23 # Compile Macro 58 # SO Macro 70 # LIB Macro 88 # Specific Link Macro 119 # Generalized Link Macro 142 # Strip Macro
|
host_vc.mk | 69 # LIB Macro 87 # Link Macro 104 # Link Macro 119 # Strip Macro
|
nacl_gcc.mk | 63 # Compile Macro 168 # SO Macro 173 # use the LIB_RULE macro as well as the SO_RULE for each shared library. 216 # LIB Macro 272 # Specific Link Macro 303 # Generalized Link Macro 318 # Strip Macro for each arch (e.g., each arch supported by LINKER_RULE). 342 # Top-level Strip Macro 353 # Strip Macro for each arch (e.g., each arch supported by MAP_RULE). 380 # Top-level MAP Generation Macro [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);
|
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 56 /// \brief Priority for a preprocessor macro. 126 /// \brief Determine the priority to be given to a macro code completion result 129 /// \param MacroName The name of the macro. 134 /// of this macro is a pointer type. 159 /// macro completions. 225 /// \brief Code completion occurred where an macro is being defined. 227 /// \brief Code completion occurred where a macro name is expected 228 /// (without any arguments, in the case of a function-like macro). 328 /// declarator or macro. 348 /// 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);
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
PathDiagnostic.h | 329 enum Kind { ControlFlow, Event, Macro, Call }; 446 return P->getKind() == Event || P->getKind() == Macro; 683 : PathDiagnosticSpotPiece(pos, "", Macro) {} 698 return P->getKind() == Macro;
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 85 case PathDiagnosticPiece::Macro: { 86 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); 88 Macro->subPieces.flattenTo(Primary, Primary, ShouldFlattenMacros); 92 Macro->subPieces.flattenTo(Primary, NewPath, ShouldFlattenMacros); 94 Macro->subPieces = NewPath; 128 // If the call is within a macro, don't do anything (for now). 248 else if (const PathDiagnosticMacroPiece *macro = 250 WorkList.push_back(¯o->subPieces); 353 case clang::ento::PathDiagnosticPiece::Macro: [all...] |