Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 25 of 1338) sorted by relevance

12345678910>>...54

/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/v8/src/js/
Dmacros.py47 macro IS_ARRAY(arg) = (%_IsArray(arg));
48 macro IS_ARRAYBUFFER(arg) = (%_ClassOf(arg) === 'ArrayBuffer');
49 macro IS_BOOLEAN(arg) = (typeof(arg) === 'boolean');
50 macro IS_DATAVIEW(arg) = (%_ClassOf(arg) === 'DataView');
51 macro IS_DATE(arg) = (%IsDate(arg));
52 macro IS_ERROR(arg) = (%_ClassOf(arg) === 'Error');
53 macro IS_FUNCTION(arg) = (%IsFunction(arg));
54 macro IS_GENERATOR(arg) = (%_ClassOf(arg) === 'Generator');
55 macro IS_GLOBAL(arg) = (%_ClassOf(arg) === 'global');
56 macro IS_MAP(arg) = (%_ClassOf(arg) === 'Map');
[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 …]
Dset-nomacro-micromips.s7 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
8 .set macro define
21 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
23 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
25 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
28 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
30 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
33 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
/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 …]
Dmacros-gas.s4 .macro .test0
7 .macro .test1
22 .macro test2 _a
28 .macro test3 _a _b _c
38 .macro test3_prime _a _b _c
51 .macro test5 _a
58 .macro test6 $a
65 .macro test7 .a
72 .macro test8 _a, _b, _c
76 .macro test9 _a _b _c
[all …]
Dmacros-darwin.s4 .macro .test0
7 .macro .test1
22 .macro test2
28 .macro test3
41 .macro test4
51 .macro test5 _a
58 .macro test6 $a
65 .macro test7 .a
72 .macro test8 _a, _b, _c
76 .macro test9 _a _b _c
Dmacros-darwin-vararg.s3 .macro abc a b:vararg
12 .macro ifcc arg:vararg
18 .macro ifcc2 arg0 arg1:vararg
24 .macro ifcc3 arg0, arg1:vararg
30 .macro ifcc4 arg0, arg1:vararg
63 .macro abc arg:vararg=nop
67 .macro abcd arg0=%eax, arg1:vararg=%ebx
78 .macro .make_macro start, end, name, body:vararg
84 .make_macro .macro,.endmacro,.mybyte,.byte $0, $2, $1
Dmacro-args.s3 .macro GET var,re2g
7 .macro GET_DEFAULT var, re2g=%ebx, re3g=%ecx
20 .macro bar
31 .macro top
34 .macro middle
40 .macro bottom
55 .macro foo
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DMacroExpander.cpp133 const Macro& macro = iter->second; in lex() local
134 if (macro.disabled) in lex()
140 if ((macro.type == Macro::kTypeFunc) && !isNextTokenLeftParen()) in lex()
147 pushMacro(macro, *token); in lex()
203 bool MacroExpander::pushMacro(const Macro& macro, const Token& identifier) in pushMacro() argument
205 assert(!macro.disabled); in pushMacro()
208 assert(identifier.text == macro.name); in pushMacro()
211 if (!expandMacro(macro, identifier, &replacements)) in pushMacro()
215 macro.disabled = true; in pushMacro()
218 context->macro = &macro; in pushMacro()
[all …]
/external/selinux/secilc/docs/
Dcil_call_macro_statements.md7macro](#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…
29 <td align="left"><p>The identifier of the <code>macro</code> to be instantiated.</p></td>
33 <td align="left"><p>Zero or more parameters that are passed to the macro.</p></td>
40 See the [`macro`](cil_call_macro_statements.md#macro) statement for an example.
42 macro section in Call / Macro Statements
45macro in the current namespace with its associated parameters. The macro identifier is used by the…
49 - Items defined inside the macro
51 - Items passed into the macro as arguments
53 - Items defined in the same namespace of the macro
[all …]
/external/llvm/test/MC/ELF/
Dmany-sections-2.s45 .macro gen_sections4 x
52 .macro gen_sections8 x
57 .macro gen_sections16 x
62 .macro gen_sections32 x
67 .macro gen_sections64 x
72 .macro gen_sections128 x
77 .macro gen_sections256 x
82 .macro gen_sections512 x
87 .macro gen_sections1024 x
92 .macro gen_sections2048 x
[all …]
Dmany-sections.s22 .macro gen_sections4 x
29 .macro gen_sections8 x
34 .macro gen_sections16 x
39 .macro gen_sections32 x
44 .macro gen_sections64 x
49 .macro gen_sections128 x
54 .macro gen_sections256 x
59 .macro gen_sections512 x
64 .macro gen_sections1024 x
69 .macro gen_sections2048 x
[all …]
Dmany-sections-3.s18 .macro gen_sections4 x
25 .macro gen_sections8 x
30 .macro gen_sections16 x
35 .macro gen_sections32 x
40 .macro gen_sections64 x
45 .macro gen_sections128 x
50 .macro gen_sections256 x
55 .macro gen_sections512 x
60 .macro gen_sections1024 x
65 .macro gen_sections2048 x
[all …]
/external/clang/test/Index/
Dget-cursor-macro-args.m2 // RUN: c-index-test -cursor-at=%S/get-cursor-macro-args.h:9:12 \
3 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:21 \
4 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:9 \
5 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:22 \
6 // RUN: -cursor-at=%S/get-cursor-macro-args.h:15:12 \
7 // RUN: -cursor-at=%S/get-cursor-macro-args.h:15:20 \
8 // RUN: %s -include %S/get-cursor-macro-args.h | FileCheck %s
11 // RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/get-cursor-macro-args.h
12 // RUN: c-index-test -cursor-at=%S/get-cursor-macro-args.h:9:12 \
13 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:21 \
[all …]
/external/clang/test/Lexer/
Dcxx-features.cpp13 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macr… argument
15 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macr… argument
17 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx14 == 0 ? defined(__cpp_##macro) : __cpp_##macr… argument
19 #define check(macro, cxx98, cxx11, cxx14, cxx1z) cxx1z == 0 ? defined(__cpp_##macro) : __cpp_##macr… argument
/external/llvm/test/DebugInfo/
Ddebugmacinfo.test1 RUN: llvm-dwarfdump -debug-dump=macro %p/Inputs/dwarfdump-macro.o \
3 RUN: llvm-dwarfdump -debug-dump=line %p/Inputs/dwarfdump-macro.o \
11 TEST_MACINFO: DW_MACINFO_define - lineno: 0 macro: M3 Value3
14 TEST_MACINFO: DW_MACINFO_define - lineno: 1 macro: M4 Value4
16 TEST_MACINFO: DW_MACINFO_define - lineno: 1 macro: M1 Value1
18 TEST_MACINFO: DW_MACINFO_undef - lineno: 4 macro: M1
19 TEST_MACINFO: DW_MACINFO_define - lineno: 5 macro: M1 NewValue1
21 TEST_MACINFO: DW_MACINFO_define - lineno: 3 macro: M2(x,y) ((x)+(y)* Value2)
25 TEST_LINE: file_names[ 1] 0 0x00000000 0x00000000 dwarfdump-macro.cc
26 TEST_LINE: file_names[ 2] 1 0x00000000 0x00000000 dwarfdump-macro-cmd.h
[all …]
/external/clang/test/Modules/Inputs/macro-ambiguity/
Dmodule.modulemap2 header "Inputs/macro-ambiguity/a/quote/a_quote.h"
3 header "Inputs/macro-ambiguity/a/system/a_system.h"
7 header "Inputs/macro-ambiguity/b/quote/b_quote.h"
8 header "Inputs/macro-ambiguity/b/system/b_system.h"
12 header "Inputs/macro-ambiguity/c/quote/c_quote.h"
13 header "Inputs/macro-ambiguity/c/system/c_system.h"
17 header "Inputs/macro-ambiguity/d/quote/d_quote.h"
18 header "Inputs/macro-ambiguity/d/system/d_system.h"
22 textual header "Inputs/macro-ambiguity/e/quote/e_quote.h"
23 textual header "Inputs/macro-ambiguity/e/system/e_system.h"
/external/protobuf/objectivec/DevTools/
Dpddm_tests.py53 macro = result._macros.get('foo')
54 self.assertIsNotNone(macro)
55 self.assertEquals(macro.name, 'foo')
56 self.assertEquals(macro.args, tuple())
57 self.assertEquals(macro.body, 'body')
75 macro = result._macros.get('noArgs')
76 self.assertIsNotNone(macro)
77 self.assertEquals(macro.name, 'noArgs')
78 self.assertEquals(macro.args, tuple())
79 self.assertEquals(macro.body, 'body1\nbody2\n')
[all …]
/external/libcxx/cmake/Modules/
DHandleLibcxxFlags.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/webrtc/webrtc/system_wrappers/include/
Dasm_defines.h21 .macro GLOBAL_FUNCTION name
25 .macro DEFINE_FUNCTION name
28 .macro CALL_FUNCTION name
31 .macro GLOBAL_LABEL name
36 .macro GLOBAL_FUNCTION name
40 .macro DEFINE_FUNCTION name
46 .macro CALL_FUNCTION name
49 .macro GLOBAL_LABEL name
59 .macro streqh reg1, reg2, num
/external/llvm/include/llvm-c/
DCore.h1207 #define LLVM_FOR_EACH_VALUE_SUBCLASS(macro) \ argument
1208 macro(Argument) \
1209 macro(BasicBlock) \
1210 macro(InlineAsm) \
1211 macro(User) \
1212 macro(Constant) \
1213 macro(BlockAddress) \
1214 macro(ConstantAggregateZero) \
1215 macro(ConstantArray) \
1216 macro(ConstantDataSequential) \
[all …]
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h448 #define LLVM_FOR_EACH_VALUE_SUBCLASS(macro) \ argument
449 macro(Argument) \
450 macro(BasicBlock) \
451 macro(InlineAsm) \
452 macro(MDNode) \
453 macro(MDString) \
454 macro(User) \
455 macro(Constant) \
456 macro(BlockAddress) \
457 macro(ConstantAggregateZero) \
[all …]
/external/clang/test/Modules/
Dsubmodules-preprocess.cpp8 # error HAVE_VECTOR macro is not available (but should be)
12 # error HAVE_TYPE_TRAITS_MAP macro is available (but shouldn't be)
22 # error HAVE_VECTOR macro is not available (but should be)
26 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
30 # error HAVE_HASH_MAP macro is available (but shouldn't be)
52 # error HAVE_VECTOR macro is not available (but should be)
56 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
60 # error HAVE_HASH_MAP macro is not available (but should be)
/external/v8/tools/clang/plugins/tests/
Dipc.txt22 ipc.cpp:190:3: note: expanded from macro 'IPC_TEST_MESSAGE'
25 ipc.cpp:186:5: note: expanded from macro 'IPC_MESSAGE_DECL'
29 ipc.cpp:190:3: note: expanded from macro 'IPC_TEST_MESSAGE'
32 ipc.cpp:186:5: note: expanded from macro 'IPC_MESSAGE_DECL'
38 ipc.cpp:190:3: note: expanded from macro 'IPC_TEST_MESSAGE'
41 ipc.cpp:186:5: note: expanded from macro 'IPC_MESSAGE_DECL'
53 ipc.cpp:190:3: note: expanded from macro 'IPC_TEST_MESSAGE'
56 ipc.cpp:186:5: note: expanded from macro 'IPC_MESSAGE_DECL'
62 ipc.cpp:190:3: note: expanded from macro 'IPC_TEST_MESSAGE'
65 ipc.cpp:186:5: note: expanded from macro 'IPC_MESSAGE_DECL'
[all …]

12345678910>>...54