Home
last modified time | relevance | path

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

12345678910>>...33

/external/v8/src/
Dmacros.py102 macro IS_NULL(arg) = (arg === null);
103 macro IS_NULL_OR_UNDEFINED(arg) = (arg == null);
104 macro IS_UNDEFINED(arg) = (arg === (void 0));
105 macro IS_NUMBER(arg) = (typeof(arg) === 'number');
106 macro IS_STRING(arg) = (typeof(arg) === 'string');
107 macro IS_BOOLEAN(arg) = (typeof(arg) === 'boolean');
108 macro IS_SYMBOL(arg) = (typeof(arg) === 'symbol');
109 macro IS_OBJECT(arg) = (%_IsObject(arg));
110 macro IS_ARRAY(arg) = (%_IsArray(arg));
111 macro IS_FUNCTION(arg) = (%_IsFunction(arg));
[all …]
/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/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
Dmacro-def-in-instantiation.s3 .macro .make_macro
9 .make_macro .macro,.mybyte,.byte,$0,.endmacro
16 .macro macro_a
18 .macro macro_b
20 .macro macro_c
Dmacro-exitm.s4 .macro REP
16 .macro A
28 .macro B
42 .macro C
55 .macro D
/external/llvm/test/MC/ELF/
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-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 …]
/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 …]
Dannotate-macro-args.m2 …UN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:9:1:10:1 %s -include %S/annotate-m…
3 …N: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:15:1:16:1 %s -include %S/annotate-m…
6 // RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/annotate-macro-args.h -Xclang -deta…
7 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:9:1:10:1 %s -include-pch %t.pch…
8 // RUN: c-index-test -test-annotate-tokens=%S/annotate-macro-args.h:15:1:16:1 %s -include-pch %t.pc…
10 // CHECK1: Identifier: "MACRO" [9:3 - 9:8] macro expansion=MACRO:6:9
18 // CHECK2: Identifier: "INVOKE" [15:3 - 15:9] macro expansion=INVOKE:12:9
Dcomplete-preprocessor.m17 // CHECK-CC1: NotImplemented:{TypedText define}{HorizontalSpace }{Placeholder macro} (40)
18 // CHECK-CC1-NEXT: NotImplemented:{TypedText define}{HorizontalSpace }{Placeholder macro}{LeftPare…
21 // CHECK-CC1-NEXT: NotImplemented:{TypedText ifdef}{HorizontalSpace }{Placeholder macro} (40)
22 // CHECK-CC1-NEXT: NotImplemented:{TypedText ifndef}{HorizontalSpace }{Placeholder macro} (40)
32 // CHECK-CC1-NEXT: NotImplemented:{TypedText undef}{HorizontalSpace }{Placeholder macro} (40)
35 // CHECK-CC2: NotImplemented:{TypedText define}{HorizontalSpace }{Placeholder macro} (40)
36 // CHECK-CC2-NEXT: NotImplemented:{TypedText define}{HorizontalSpace }{Placeholder macro}{LeftPare…
42 // CHECK-CC2-NEXT: NotImplemented:{TypedText ifdef}{HorizontalSpace }{Placeholder macro} (40)
43 // CHECK-CC2-NEXT: NotImplemented:{TypedText ifndef}{HorizontalSpace }{Placeholder macro} (40)
53 // CHECK-CC2-NEXT: NotImplemented:{TypedText undef}{HorizontalSpace }{Placeholder macro} (40)
[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/llvm/include/llvm-c/
DCore.h1157 #define LLVM_FOR_EACH_VALUE_SUBCLASS(macro) \ argument
1158 macro(Argument) \
1159 macro(BasicBlock) \
1160 macro(InlineAsm) \
1161 macro(User) \
1162 macro(Constant) \
1163 macro(BlockAddress) \
1164 macro(ConstantAggregateZero) \
1165 macro(ConstantArray) \
1166 macro(ConstantDataSequential) \
[all …]
/external/clang/test/Lexer/
Dcxx-features.cpp8 #define check(macro, cxx98, cxx11, cxx1y) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… argument
10 #define check(macro, cxx98, cxx11, cxx1y) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… argument
12 #define check(macro, cxx98, cxx11, cxx1y) cxx1y == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… argument
/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)
Dignored_macros.m20 …es -DIGNORED=1 -fmodules -I %S/Inputs -include-pch %t.pch -fmodules-ignore-macro=IGNORED %s -verify
22 // Fourth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED
24 // macro.
26 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules-ignore-macro=IGNORED -fmod…
27 …%S/Inputs -include-pch %t.pch -fmodules-ignore-macro=IGNORED -DNO_IGNORED_ANYWHERE -fmodules-ignor…
29 // Fifth trial: pass -DIGNORED=1 and -fmodules-ignore-macro=IGNORED=1
31 // macro.
33 // RUN: %clang_cc1 -fmodules-cache-path=%t.modules -DIGNORED=1 -fmodules-ignore-macro=IGNORED=1 -fm…
34 …S/Inputs -include-pch %t.pch -fmodules-ignore-macro=IGNORED=1 -DNO_IGNORED_ANYWHERE -fmodules-igno…
Dmodules-with-same-name.m4 …cc1 -fmodules -fmodules-cache-path=%t -fmodules-ignore-macro=EXPECTED_PATH -fmodules-ignore-macro=…
7 …cc1 -fmodules -fmodules-cache-path=%t -fmodules-ignore-macro=EXPECTED_PATH -fmodules-ignore-macro=…
13 …cc1 -fmodules -fmodules-cache-path=%t -fmodules-ignore-macro=EXPECTED_PATH -fmodules-ignore-macro=…
19 …cc1 -fmodules -fmodules-cache-path=%t -fmodules-ignore-macro=EXPECTED_PATH -fmodules-ignore-macro=…
/external/mesa3d/src/glsl/glcpp/tests/
D089-redefine-macro-error.c.expected1 0:2(9): preprocessor error: Redefinition of macro x
3 0:5(9): preprocessor error: Redefinition of macro abc
5 0:8(9): preprocessor error: Redefinition of macro foo
7 0:11(9): preprocessor error: Redefinition of macro bar
9 0:14(9): preprocessor error: Redefinition of macro biff
11 0:17(9): preprocessor error: Redefinition of macro oper
/external/libvpx/libvpx/third_party/x86inc/
Dx86inc.asm86 %macro SECTION_RODATA 0-1 16
97 %macro SECTION_TEXT 0-1 16
124 %macro GET_GOT 1
142 %macro GET_GOT 1
160 %macro GET_GOT 1
175 %macro GET_GOT 1
232 %macro DECLARE_REG 2-3
251 %macro DECLARE_REG_SIZE 3
277 %macro DECLARE_REG_TMP 1-*
286 %macro DECLARE_REG_TMP_SIZE 0-*
[all …]
/external/mesa3d/src/glsl/glcpp/
Dglcpp-parse.y41 const char *macro,
47 const char *macro,
240 macro_t *macro = hash_table_find (parser->defines, $2); variable
241 if (macro) {
243 ralloc_free (macro);
286 macro_t *macro = hash_table_find (parser->defines, $2); variable
288 _glcpp_parser_skip_stack_push_if (parser, & @1, macro != NULL);
291 macro_t *macro = hash_table_find (parser->defines, $2); variable
293 _glcpp_parser_skip_stack_push_if (parser, & @1, macro == NULL);
337 macro_t *macro = hash_table_find (parser->defines, "__VERSION__"); variable
[all …]
/external/elfutils/src/tests/
Ddwarf-getmacros.c33 mac (Dwarf_Macro *macro, void *dbg) in mac() argument
38 dwarf_macro_opcode (macro, &opcode); in mac()
44 int r = dwarf_macro_param (macro, 0, &at); in mac()
63 if (dwarf_macro_getsrcfiles (dbg, macro, &files, &nfiles) < 0) in mac()
68 dwarf_macro_param2 (macro, &w, NULL); in mac()
87 dwarf_macro_param2 (macro, NULL, &value); in mac()
99 dwarf_macro_getparamcnt (macro, &paramcnt); in mac()
/external/elfutils/src/libdw/
Ddwarf_macro_param.c36 dwarf_macro_param (Dwarf_Macro *macro, size_t idx, Dwarf_Attribute *ret) in dwarf_macro_param() argument
38 if (macro == NULL) in dwarf_macro_param()
41 if (idx >= libdw_macro_nforms (macro)) in dwarf_macro_param()
44 *ret = macro->attributes[idx]; in dwarf_macro_param()

12345678910>>...33