Home
last modified time | relevance | path

Searched full:macro (Results 1 – 25 of 6037) sorted by relevance

12345678910>>...242

/external/clang/test/SemaObjCXX/
Dreserved-keyword-methods.mm4 #define FOR_EACH_KEYWORD(macro) \
5 macro(asm) \
6 macro(bool) \
7 macro(catch) \
8 macro(class) \
9 macro(const_cast) \
10 macro(delete) \
11 macro(dynamic_cast) \
12 macro(explicit) \
13 macro(export) \
[all …]
/external/clang/test/Headers/
Dfloat.c19 #error "Mandatory macro FLT_RADIX is missing."
21 #error "Mandatory macro FLT_RADIX is invalid."
26 #error "Mandatory macro FLT_MANT_DIG is missing."
28 #error "Mandatory macro FLT_MANT_DIG is invalid."
31 #error "Mandatory macro DBL_MANT_DIG is missing."
33 #error "Mandatory macro DBL_MANT_DIG is invalid."
36 #error "Mandatory macro LDBL_MANT_DIG is missing."
38 #error "Mandatory macro LDBL_MANT_DIG is invalid."
47 #error "Mandatory macro FLT_DECIMAL_DIG is missing."
49 #error "Mandatory macro FLT_DECIMAL_DIG is invalid."
[all …]
/external/clang/test/Modules/
Dmacro-ambiguity.cpp6 // RUN: -iquote Inputs/macro-ambiguity/a/quote \
7 // RUN: -isystem Inputs/macro-ambiguity/a/system \
11 // RUN: Inputs/macro-ambiguity/module.modulemap
15 // RUN: -iquote Inputs/macro-ambiguity/b/quote \
16 // RUN: -isystem Inputs/macro-ambiguity/b/system \
20 // RUN: Inputs/macro-ambiguity/module.modulemap
24 // RUN: -iquote Inputs/macro-ambiguity/c/quote \
25 // RUN: -isystem Inputs/macro-ambiguity/c/system \
29 // RUN: Inputs/macro-ambiguity/module.modulemap
33 // RUN: -iquote Inputs/macro-ambiguity/d/quote \
[all …]
Dmacro-hiding.cpp2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
5 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
6 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
7 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
8 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
9 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
10 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/macro-hidin…
[all …]
Dmacro-reexport.cpp2 // RUN: %clang_cc1 -fsyntax-only -DC1 -I%S/Inputs/macro-reexport %s -fmodules-cache-path=%t -verify
3 // RUN: %clang_cc1 -fsyntax-only -DC1 -I%S/Inputs/macro-reexport -fmodules -fimplicit-module-maps %…
4 // RUN: %clang_cc1 -fsyntax-only -DD1 -I%S/Inputs/macro-reexport %s -fmodules-cache-path=%t -verify
5 // RUN: %clang_cc1 -fsyntax-only -DD1 -I%S/Inputs/macro-reexport -fmodules -fimplicit-module-maps %…
6 // RUN: %clang_cc1 -fsyntax-only -DD2 -I%S/Inputs/macro-reexport %s -fmodules-cache-path=%t -verify
7 // RUN: %clang_cc1 -fsyntax-only -DD2 -I%S/Inputs/macro-reexport -fmodules -fimplicit-module-maps %…
8 // RUN: %clang_cc1 -fsyntax-only -DF1 -I%S/Inputs/macro-reexport %s -fmodules-cache-path=%t -verify
9 // RUN: %clang_cc1 -fsyntax-only -DF1 -I%S/Inputs/macro-reexport -fmodules -fimplicit-module-maps %…
11 // RUN: %clang_cc1 -fmodules-local-submodule-visibility -fsyntax-only -DC1 -I%S/Inputs/macro-reexpo…
12 // RUN: %clang_cc1 -fmodules-local-submodule-visibility -fsyntax-only -DC1 -I%S/Inputs/macro-reexpo…
[all …]
/external/llvm/test/MC/Mips/
Dset-nomacro.s3 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
4 .set macro define
81 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
83 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
85 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
88 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
90 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
92 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
94 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
96 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
[all …]
/external/angle/src/compiler/preprocessor/
DMacroExpander.cpp77 for (const std::shared_ptr<Macro> &macro : mExpander->mMacrosToReenable) in ~ScopedMacroReenabler() local
81 ASSERT(macro->name.substr() != ""); in ~ScopedMacroReenabler()
82 macro->disabled = false; in ~ScopedMacroReenabler()
119 // Defined operator is parsed here since it may be generated by macro expansion. in lex()
120 // Defined operator produced by macro expansion has undefined behavior according to C++ in lex()
126 // Defined inside a macro is forbidden in WebGL. in lex()
171 std::shared_ptr<Macro> macro = iter->second; in lex() local
172 if (macro->disabled) in lex()
180 // otherwise there could be a #undef of the macro before the next token. in lex()
181 macro->expansionCount++; in lex()
[all …]
DMacro.cpp7 #include "compiler/preprocessor/Macro.h"
18 Macro::Macro() : predefined(false), disabled(false), expansionCount(0), type(kTypeObj) {} in Macro() function in angle::pp::Macro
20 Macro::~Macro() {} in ~Macro()
22 bool Macro::equals(const Macro &other) const in equals()
34 std::shared_ptr<Macro> macro = std::make_shared<Macro>(); in PredefineMacro() local
35 macro->predefined = true; in PredefineMacro()
36 macro->type = Macro::kTypeObj; in PredefineMacro()
37 macro->name = name; in PredefineMacro()
38 macro->replacements.push_back(token); in PredefineMacro()
40 (*macroSet)[name] = macro; in PredefineMacro()
/external/selinux/secilc/docs/
Dcil_call_macro_statements.md1 Call / Macro Statements
7macro](#macro) within the current namespace. There may be zero or more parameters passed to the ma…
9 …e [macro](#macro), these can be named or anonymous but must conform to the parameter types defined…
11 Macro rules are resolved by searching in the following order:
13 - The macro namespace (If found this means that the name was declared in the macro and is now dec…
17 - The parent namespaces of the macro being called (if any) with the exception of the global names…
43 <td align="left"><p>The identifier of the <code>macro</code> to be instantiated.</p></td>
47 <td align="left"><p>Zero or more parameters that are passed to the macro.</p></td>
54 See the [`macro`](cil_call_macro_statements.md#macro) statement for an example.
56 macro section in Call / Macro Statements
[all …]
/external/clang/include/clang/Lex/
DMacroInfo.h31 /// \brief Encapsulates the data about a macro definition (e.g. its tokens).
36 // State set when the macro is defined.
38 /// \brief The location the macro is defined.
40 /// \brief The location of the last token in the macro.
43 /// \brief The list of arguments for a function-like macro.
48 /// macro, this includes the \c __VA_ARGS__ identifier on the list.
54 /// \brief This is the list of tokens that the macro is defined to.
57 /// \brief Length in characters of the macro definition.
61 /// \brief True if this macro is function-like, false if it is object-like.
64 /// \brief True if this macro is of the form "#define X(...)" or
[all …]
DTokenLexer.h25 /// 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; variable
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.
70 /// \brief The offset of the macro expansion in the
[all …]
/external/clang/test/Misc/
Dmacro-backtrace.c1 // Tests for macro expansion backtraces. The RUN and CHECK lines are grouped
21 …// CHECK-LIMIT: macro-backtrace.c:18:7: warning: comparison of distinct pointer types ('int *' and… in f()
23 // CHECK-LIMIT: macro-backtrace.c:15:19: note: expanded from macro 'M12' in f()
25 // CHECK-LIMIT: macro-backtrace.c:14:19: note: expanded from macro 'M11' in f()
28 // CHECK-LIMIT: macro-backtrace.c:6:18: note: expanded from macro 'M3' in f()
30 // CHECK-LIMIT: macro-backtrace.c:5:18: note: expanded from macro 'M2' in f()
32 // CHECK-LIMIT: macro-backtrace.c:4:23: note: expanded from macro 'M1' in f()
37 …// CHECK-NO-CARETS: macro-backtrace.c:18:7: warning: comparison of distinct pointer types ('int *'… in f()
38 // CHECK-NO-CARETS-NEXT: macro-backtrace.c:15:19: note: expanded from macro 'M12' in f()
39 // CHECK-NO-CARETS-NEXT: macro-backtrace.c:14:19: note: expanded from macro 'M11' in f()
[all …]
Dcaret-diags-macros.c9 // CHECK: {{.*}}:4:{{[0-9]+}}: note: expanded from macro 'M2' in foo()
10 // CHECK: {{.*}}:3:{{[0-9]+}}: note: expanded from macro 'M1' in foo()
30 // PR9279: comprehensive tests for multi-level macro back traces
52 // CHECK: {{.*}}:37:55: note: expanded from macro 'macro_many_args3' in test()
53 // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args2' in test()
54 // CHECK: {{.*}}:35:35: note: expanded from macro 'macro_many_args1' in test()
61 // CHECK: {{.*}}:4:12: note: expanded from macro 'M2' in test()
62 // CHECK: {{.*}}:37:55: note: expanded from macro 'macro_many_args3' in test()
63 // CHECK: {{.*}}:36:55: note: expanded from macro 'macro_many_args2' in test()
64 // CHECK: {{.*}}:35:35: note: expanded from macro 'macro_many_args1' in test()
[all …]
/external/rust/crates/proc-macro-hack/
DREADME.md4 …b-dtolnay/proc--macro--hack-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">…
5 …elds.io/crates/v/proc-macro-hack.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](htt…
6macro--hack-66c2a5?style=for-the-badge&labelColor=555555&logoColor=white&logo=data:image/svg+xml;b…
7 …/workflow/status/dtolnay/proc-macro-hack/CI/master?style=for-the-badge" height="20">](https://gith…
19 This crate implements an alternative type of procedural macro that can be
26 Two crates are required to define a procedural macro.
36 supported procedural macro, use proc-macro-hack's #\[proc_macro_hack\]
37 attribute to define a procedural macro that works in expression position.
64 procedural macro from the implementation crate. The re-export also carries a
77 Both crates depend on `proc-macro-hack`:
[all …]
/external/rust/crates/pin-project-lite/tests/ui/pin_project/
Dinvalid-bounds.stderr9 | |_^ no rules expected this token in macro call
11 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
21 | |_^ no rules expected this token in macro call
23 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
37 | in this macro invocation
39 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
54 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
68 | in this macro invocation
70 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
85 …= note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, ru…
[all …]
/external/llvm/test/MC/AsmParser/
Dmacro-qualifier-diagnostics.s3 .macro missing_qualifier parameter:
5 # CHECK: error: missing parameter qualifier for 'parameter' in macro 'missing_qualifier'
6 # CHECK: .macro missing_qualifier parameter:
9 .macro non_identifier_qualifier parameter:0
11 # CHECK: error: missing parameter qualifier for 'parameter' in macro 'non_identifier_qualifier'
12 # CHECK: .macro non_identifier_qualifier parameter:0
15 .macro invalid_qualifier parameter:invalid_qualifier
17 # CHECK: error: invalid_qualifier is not a valid parameter qualifier for 'parameter' in macro 'inva…
18 # CHECK: .macro invalid_qualifier parameter:invalid_qualifier
21 .macro pointless_default parameter:req=default
[all …]
/external/clang/test/Index/
Dannotate-tokens-pp.c49 // CHECK: Identifier: "STILL_NOTHING" [2:9 - 2:22] macro definition=STILL_NOTHING
50 // CHECK: Identifier: "NOTHING" [2:23 - 2:30] macro expansion=NOTHING:1:9
51 // CHECK: Punctuation: "(" [2:30 - 2:31] macro definition=STILL_NOTHING
52 // CHECK: Identifier: "honk" [2:31 - 2:35] macro definition=STILL_NOTHING
53 // CHECK: Punctuation: "," [2:35 - 2:36] macro definition=STILL_NOTHING
54 // CHECK: Identifier: "warble" [2:36 - 2:42] macro definition=STILL_NOTHING
55 // CHECK: Punctuation: ")" [2:42 - 2:43] macro definition=STILL_NOTHING
58 // CHECK: Identifier: "BAR" [3:9 - 3:12] macro definition=BAR
59 // CHECK: Identifier: "baz" [3:13 - 3:16] macro definition=BAR
62 // CHECK: Identifier: "WIBBLE" [4:9 - 4:15] macro definition=WIBBLE
[all …]
/external/freetype/include/freetype/config/
Dftheader.h24 /* <Macro> */
28 /* This macro is used in association with @FT_END_HEADER in header */
44 /* <Macro> */
48 /* This macro is used in association with @FT_BEGIN_HEADER in header */
77 * Macro definitions used to `#include` specific header files.
108 * @macro:
112 * A macro used in `#include` statements to name the file containing
123 * @macro:
127 * A macro used in `#include` statements to name the file containing
138 * @macro:
[all …]
/external/arm-trusted-firmware/include/arch/aarch64/
Dasm_macros.S28 .macro func_prologue
33 .macro func_epilogue
38 .macro dcache_line_size reg, tmp
46 .macro icache_line_size reg, tmp
54 .macro smc_check label
68 .macro vector_base label, section_name=.vectors
81 .macro vector_entry label, section_name=.vectors
95 .macro end_vector_entry label
101 * This macro calculates the base address of the current CPU's MP stack
107 .macro get_my_mp_stack _name, _size
[all …]
/external/arm-trusted-firmware/include/arch/aarch32/
Dasm_macros.S32 .macro ldcopr reg, coproc, opc1, CRn, CRm, opc2
36 .macro ldcopr16 reg1, reg2, coproc, opc1, CRm
40 .macro stcopr reg, coproc, opc1, CRn, CRm, opc2
44 .macro stcopr16 reg1, reg2, coproc, opc1, CRm
49 .macro dcache_line_size reg, tmp
56 .macro icache_line_size reg, tmp
67 .macro vector_base label
74 * This macro calculates the base address of the current CPU's multi
80 .macro get_my_mp_stack _name, _size
88 * This macro calculates the base address of a uniprocessor(UP) stack
[all …]
/external/pigweed/pw_preprocessor/
Ddocs.rst21 .. c:macro:: PW_DELEGATE_BY_ARG_COUNT(name, ...)
23 Selects and invokes a macro based on the number of arguments provided. Expands
38 When used, ``ARG_PRINT`` expands to the ``_ARG_PRINT#`` macro corresponding
48 .. c:macro:: PW_COMMA_ARGS(...)
54 provided. ``PW_COMMA_ARGS`` must NOT be used when invoking a macro from
55 another macro.
64 situations when a literal is needed to build the name of a function or macro.
70 .. c:macro:: PW_PACKED(declaration)
74 .. c:macro:: PW_USED
78 .. c:macro:: PW_NO_PROLOGUE
[all …]
/external/pigweed/pw_tokenizer/pw_tokenizer_private/
Dgenerated_hash_test_cases.h43 PW_TOKENIZER_65599_FIXED_LENGTH_80_HASH(""), // macro-calculated hash
49 PW_TOKENIZER_65599_FIXED_LENGTH_96_HASH(""), // macro-calculated hash
55 PW_TOKENIZER_65599_FIXED_LENGTH_128_HASH(""), // macro-calculated hash
61 PW_TOKENIZER_65599_FIXED_LENGTH_80_HASH("\xa1"), // macro-calculated hash
67 PW_TOKENIZER_65599_FIXED_LENGTH_96_HASH("\xa1"), // macro-calculated hash
73 PW_TOKENIZER_65599_FIXED_LENGTH_128_HASH("\xa1"), // macro-calculated hash
79 PW_TOKENIZER_65599_FIXED_LENGTH_80_HASH("\xff"), // macro-calculated hash
85 PW_TOKENIZER_65599_FIXED_LENGTH_96_HASH("\xff"), // macro-calculated hash
91 PW_TOKENIZER_65599_FIXED_LENGTH_128_HASH("\xff"), // macro-calculated hash
97 PW_TOKENIZER_65599_FIXED_LENGTH_80_HASH("\x00"), // macro-calculated hash
[all …]
/external/libcxx/cmake/Modules/
DHandleLibcxxFlags.cmake13 macro(mangle_name str output)
28 macro(remove_flags)
43 macro(check_flag_supported flag)
48 macro(append_flags DEST)
56 macro(append_flags_if condition DEST)
63 macro(append_flags_if_supported DEST)
71 # Add a macro definition if condition is true.
72 macro(define_if condition def)
78 # Add a macro definition if condition is not true.
79 macro(define_if_not condition def)
[all …]
/external/libcxxabi/cmake/Modules/
DHandleLibcxxabiFlags.cmake13 macro(mangle_name str output)
27 macro(remove_flags)
42 macro(check_flag_supported flag)
47 # Add a macro definition if condition is true.
48 macro(define_if condition def)
54 # Add a macro definition if condition is not true.
55 macro(define_if_not condition def)
61 # Add a macro definition to the __config_site file if the specified condition
64 macro(config_define_if condition def)
71 macro(config_define_if_not condition def)
[all …]
/external/llvm/test/DebugInfo/X86/
Ddebug-macro.ll2 … -O0 -filetype=obj < %s | llvm-dwarfdump -debug-dump=macro - | FileCheck --check-prefix=CHECK-MACR…
9 ; CHECK-INFO: DW_AT_name {{.*}}"debug-macro.cpp")
20 ; CHECK-MACRO: .debug_macinfo contents:
21 ; CHECK-MACRO-NEXT: DW_MACINFO_define - lineno: 0 macro: NameCMD ValueCMD
22 ; CHECK-MACRO-NEXT: DW_MACINFO_start_file - lineno: 0 filenum: 1
23 ; CHECK-MACRO-NEXT: DW_MACINFO_start_file - lineno: 9 filenum: 2
24 ; CHECK-MACRO-NEXT: DW_MACINFO_define - lineno: 1 macro: NameDef Value
25 ; CHECK-MACRO-NEXT: DW_MACINFO_undef - lineno: 11 macro: NameUndef
26 ; CHECK-MACRO-NEXT: DW_MACINFO_end_file
27 ; CHECK-MACRO-NEXT: DW_MACINFO_undef - lineno: 10 macro: NameUndef2
[all …]

12345678910>>...242