/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 == 0 && "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...] |
PreprocessingRecord.cpp | 214 // The end locations of entities may be unordered (when a macro expansion 215 // is inside another macro argument), but for this case it is not important 216 // whether we get the first macro expansion or its containing macro. 255 "a macro definition was encountered out-of-order"); 270 // "#include MACRO(STUFF)" 271 // or with macro expansions inside macro arguments where the arguments are 282 // Usually there are few macro expansions when defining the filename, do a 322 void PreprocessingRecord::RegisterMacroDefinition(MacroInfo *Macro, [all...] |
PPExpressions.cpp | 77 /// indicates the macro that was checked. 115 MacroDirective *Macro = 0; 116 // If there is a macro, mark it used. 118 Macro = PP.getMacroDirective(II); 119 PP.markMacroAsUsed(Macro->getInfo()); 124 MacroDirective *MD = Macro; 125 // Pass the MacroInfo for the macro name even if the value is dead. 177 // 'defined' or if it is a macro. Note that we check here because many 185 // preprocessor keywords and it wasn't macro expanded, it turns 736 // 'DisableMacroExpansion' is true, then we must be in a macro argument lis [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/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 * <?cs def:someMacro(x,y) > ... <?cs /def > 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 * <?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 | 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). 336 /// declarator or macro. 356 /// 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 | 316 enum Kind { ControlFlow, Event, Macro, Call }; 417 return P->getKind() == Event || P->getKind() == Macro; 640 : PathDiagnosticSpotPiece(pos, "", Macro) {} 655 return P->getKind() == Macro;
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 84 case PathDiagnosticPiece::Macro: { 85 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); 87 Macro->subPieces.flattenTo(Primary, Primary, ShouldFlattenMacros); 91 Macro->subPieces.flattenTo(Primary, NewPath, ShouldFlattenMacros); 93 Macro->subPieces = NewPath; 182 else if (const PathDiagnosticMacroPiece *macro = 184 WorkList.push_back(¯o->subPieces); 287 case clang::ento::PathDiagnosticPiece::Macro: [all...] |
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 467 OS << Results[I].Macro->getName(); 556 llvm_unreachable("Macro and keyword kinds are handled by the constructors"); 577 return R.Macro->getName();
|
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 32 // Append a #define line to Buf for Macro. Macro should be of the form XXX, 35 static void DefineBuiltinMacro(MacroBuilder &Builder, StringRef Macro, 37 std::pair<StringRef, StringRef> MacroPair = Macro.split('='); 40 if (MacroName.size() != Macro.size()) { 41 // Per GCC -D semantics, the macro ends at \n if it exists. 49 Builder.defineMacro(Macro); 167 /// DefineTypeSize - Emit a macro to the predefines buffer that declares a macro 219 /// Get the value the ATOMIC_*_LOCK_FREE macro should have for a type wit [all...] |
/ndk/build/core/ |
definitions-utils.mk | 23 # Macro : empty 24 # Returns : an empty macro 30 # Macro : space
|
definitions.mk | 27 # Macro : this-makefile 34 # Macro : local-makefile [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | 215 /// \brief Collect the macro definitions provided by the given preprocessor 221 StringRef Macro = PPOpts.Macros[I].first; 224 std::pair<StringRef, StringRef> MacroPair = Macro.split('='); 228 // For an #undef'd macro, we only care about the name. 237 // For a #define'd macro, figure out the actual definition. 238 if (MacroName.size() == Macro.size()) 261 // Check macro definitions. 269 // Dig out the macro definition in the existing preprocessor options. 273 // Check whether we know anything about this macro name or not. 295 // If the macro was defined in one but undef'd in the other, we have [all...] |
/external/chromium/testing/gmock/scripts/ |
gmock_doctor.py | 513 return _GenericDiagnoser('WMM', 'Wrong MOCK_METHODn Macro',
|