HomeSort by relevance Sort by last modified time
    Searched defs:macro (Results 1 - 25 of 43) sorted by null

1 2

  /external/clang/test/Misc/
include-stack-for-note-flag.cpp 12 bool macro(int x, int y) { function
21 // STACK: note: expanded from macro
28 // STACKLESS: note: expanded from macro
  /build/kati/testcase/
nested_call.mk 5 define macro macro
9 $(call inner,test4,macro) \
16 @echo "$(call macro,test1)"
17 @echo "$(call macro)"
  /external/swiftshader/src/OpenGL/compiler/preprocessor/
Macro.cpp 15 #include "Macro.h"
22 Macro::Macro() : predefined(false), disabled(false), expansionCount(0), type(kTypeObj)
26 Macro::~Macro()
30 bool Macro::equals(const Macro &other) const
42 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); local
    [all...]
MacroExpander.h 22 #include "Macro.h"
46 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 member in struct:pp::MacroExpander::MacroContext
    [all...]
MacroExpander.cpp 86 for (auto macro : mExpander->mMacrosToReenable)
90 assert(macro->name.substr() != "");
91 macro->disabled = false;
129 // Defined operator is parsed here since it may be generated by macro expansion.
130 // Defined operator produced by macro expansion has undefined behavior according to C++
177 std::shared_ptr<Macro> macro = iter->second; local
178 if (macro->disabled)
186 // otherwise there could be a #undef of the macro before the next token.
187 macro->expansionCount++
    [all...]
DirectiveParser.cpp 375 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); local
376 macro->type = Macro::kTypeObj;
377 macro->name = token->text;
382 // Function-like macro. Collect arguments.
383 macro->type = Macro::kTypeFunc;
389 if (std::find(macro->parameters.begin(), macro->parameters.end(), token->text) != macro->parameters.end()
    [all...]
  /external/clang/test/Preprocessor/
microsoft-ext.c 38 #define macro(a, b) (a - b) macro
41 macro(x, __VA_ARGS__); \
  /external/mesa3d/src/gallium/drivers/nouveau/nvc0/
nvc0_compute.c 470 unsigned macro = NVC0_CP_MACRO_LAUNCH_GRID_INDIRECT; local
474 PUSH_DATA(push, NVC0_FIFO_PKHDR_1I(1, macro, 3));
nvc0_vbo.c 804 unsigned size, macro, count = info->indirect->draw_count, drawid = info->drawid; local
830 macro = NVC0_3D_MACRO_DRAW_ELEMENTS_INDIRECT_COUNT;
832 macro = NVC0_3D_MACRO_DRAW_ELEMENTS_INDIRECT;
842 macro = NVC0_3D_MACRO_DRAW_ARRAYS_INDIRECT_COUNT;
844 macro = NVC0_3D_MACRO_DRAW_ARRAYS_INDIRECT;
867 NVC0_FIFO_PKHDR_1I(0, macro, 3 + !!buf_count + draws * size));
    [all...]
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
RuntimeInstrumentTest.java 171 @Macrobenchmark long macro() { method in class:RuntimeInstrumentTest.TestBenchmark
  /external/elfutils/libdw/
dwarf_getmacros.c 1 /* Get macro information.
425 Dwarf_Macro macro = { local
431 int res = callback (&macro, arg);
450 macro unit.
455 callers (which in practice decreases the permissible macro unit
  /external/v8/src/torque/
declarations.cc 134 Macro* Declarations::TryLookupMacro(const std::string& name,
150 Macro* Declarations::LookupMacro(const std::string& name,
152 Macro* result = TryLookupMacro(name, types);
155 stream << "macro " << name << " with parameter types " << types
252 s << "cannot redeclare non-macro " << name << " as a macro";
257 for (auto& macro : macro_list->list()) {
259 macro->signature().parameter_types.types &&
261 macro->signature().parameter_types.var_args) {
264 << " as a macro with identical parameter list
275 Macro* macro = RegisterDeclarable( local
    [all...]
declaration-visitor.cc 144 std::cout << "found declaration of external macro " << decl->name
171 Macro* macro = local
174 CurrentCallableActivator activator(global_context_, macro, decl);
381 // macro conditionals will be able to find them through normal
implementation-visitor.cc 206 Macro* macro = declarations()->LookupMacro(name, list); local
208 CurrentCallableActivator activator(global_context_, macro, decl);
212 GenerateMacroFunctionDeclaration(header_out(), "", macro); local
216 source_out(), GetDSLAssemblerName(CurrentModule()) + "::", macro);
220 if (macro->HasReturnValue()) {
229 if (!macro->signature().return_type->IsNever() && !macro->HasReturns()) {
231 s << "macro " << decl->name
236 if (macro->signature().return_type->IsNever())
    [all...]
torque-parser.cc 275 MacroDeclaration* macro = MakeNode<ExternalMacroDeclaration>( local
279 result = MakeNode<StandardDeclaration>(macro, nullptr);
281 result = MakeNode<GenericDeclaration>(macro, generic_parameters);
295 MacroDeclaration* macro = MakeNode<TorqueMacroDeclaration>( local
300 result = MakeNode<StandardDeclaration>(macro, *body);
302 result = MakeNode<GenericDeclaration>(macro, generic_parameters, body);
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
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/test/SemaCXX/
conversion.cpp 74 // Use FileCheck to ensure we don't get any unnecessary macro-expansion notes
77 // CHECK: note: expanded from macro 'FINIT'
143 // macro boundary
144 void macro() { function in namespace:test8
212 // Test NULL macro inside a macro has same warnings nullptr inside a macro.
236 // The whitespace in macro run1 are important to trigger the macro being split
262 // macro was changed into a function and Clang doesn't warn, then it shouldn'
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/template/
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/mesa3d/src/compiler/glsl/glcpp/
glcpp.h 152 macro_t *macro; member in struct:expansion_node
  /external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
Pp.cpp 100 // get the macro name
103 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
111 // save the macro name
115 // gather parameters to the macro, between (...)
134 parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
152 // record the definition of the macro
168 parseContext.ppError(defineLoc, "Macro redefined; function-like versus object-like:", "#define", atomStrings.getString(defAtom));
170 parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define", atomStrings.getString(defAtom));
173 parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define", atomStrings.getString(defAtom));
184 parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define", atomStrings.getString(defAtom))
209 MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name)); local
426 MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name)); local
586 MacroSymbol* macro = lookupMacroDef(atomStrings.getAtom(ppToken->name)); local
1177 MacroSymbol* macro = macroAtom == 0 ? nullptr : lookupMacroDef(macroAtom); local
    [all...]
  /external/selinux/libsepol/cil/src/
cil_copy_ast.c 2083 struct cil_macro *macro = namespace->data; local
    [all...]
cil_tree.c 88 node = NODE(call->macro);
1658 struct cil_macro *macro = node->data; local
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/draft/
XLocaleDistance.java 1098 String macro = e.getKey(); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
XLocaleDistance.java 1245 String macro = e.getKey(); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
XLocaleDistance.java 1231 String macro = e.getKey(); local
    [all...]

Completed in 3949 milliseconds

1 2