/external/clang/test/Preprocessor/ |
mi_opt.c | 6 #define MACRO 8 #undef MACRO 9 #define MACRO || 1
|
ifdef-recover.c | 4 /* expected-error@+1 {{macro name missing}} */ 8 /* expected-error@+1 {{macro name must be an identifier}} */ 12 /* expected-error@+1 {{macro name missing}} */ 17 /* expected-error@+2 {{unterminated function-like macro invocation}} expected-error@+2 {{expected value in expression}} expected-note@+1 {{macro 'f' defined here}} */
|
macro_fn.c | 8 #define one_dot(x, ...) 0 /* expected-warning {{variadic macros are a C99 feature}} expected-note 2{{macro 'one_dot' defined here}} */ 11 zero(1); /* expected-error {{too many arguments provided to function-like macro invocation}} */ 12 zero(1, 2, 3); /* expected-error {{too many arguments provided to function-like macro invocation}} */ 16 one(a,) /* expected-error {{too many arguments provided to function-like macro invocation}} \ 17 expected-warning {{empty macro arguments are a C99 feature}}*/ 18 one(a, b) /* expected-error {{too many arguments provided to function-like macro invocation}} */ 20 two() /* expected-error {{too few arguments provided to function-like macro invocation}} */ 21 two(a) /* expected-error {{too few arguments provided to function-like macro invocation}} */ 23 two(a, ) /* expected-warning {{empty macro arguments are a C99 feature}} */ 24 two(a,b,c) /* expected-error {{too many arguments provided to function-like macro invocation}} * [all...] |
macro_paste_bad.c | 10 #define a a ## ## // expected-error {{'##' cannot appear at end of macro expansion}} 11 #define b() b ## ## // expected-error {{'##' cannot appear at end of macro expansion}} 12 #define c c ## // expected-error {{'##' cannot appear at end of macro expansion}} 13 #define d() d ## // expected-error {{'##' cannot appear at end of macro expansion}} 16 #define e ## ## e // expected-error {{'##' cannot appear at start of macro expansion}} 17 #define f() ## ## f // expected-error {{'##' cannot appear at start of macro expansion}} 18 #define g ## g // expected-error {{'##' cannot appear at start of macro expansion}} 19 #define h() ## h // expected-error {{'##' cannot appear at start of macro expansion}} 20 #define i ## // expected-error {{'##' cannot appear at start of macro expansion}} 21 #define j() ## // expected-error {{'##' cannot appear at start of macro expansion} [all...] |
/external/llvm/test/MC/AsmParser/ |
macros-darwin-vararg.s | 3 // CHECK: error: vararg is not a valid parameter qualifier for 'arg' in macro 'abc' 4 // CHECK: .macro abc arg:vararg 6 .macro abc arg:vararg
|
macro-def-in-instantiation.s | 3 .macro .make_macro 9 .make_macro .macro,.mybyte,.byte,$0,.endmacro 16 .macro macro_a 18 .macro macro_b 20 .macro macro_c
|
macros-parsing.s | 4 .macro .test0 14 // CHECK-ERRORS: macro '.test0' is already defined 15 .macro .test0 22 .macro dummy
|
/external/mesa3d/src/glsl/glcpp/tests/ |
085-incorrect-argument-count.c.expected | 1 0:2(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2) 3 0:3(1): preprocessor error: Error: macro MULT invoked with 1 arguments (expected 2) 5 0:4(1): preprocessor error: Error: macro MULT invoked with 3 arguments (expected 2)
|
086-reserved-macro-names.c.expected | 1 0:1(10): preprocessor error: Macro names containing "__" are reserved. 3 0:2(9): preprocessor error: Macro names starting with "GL_" are reserved. 5 0:3(9): preprocessor error: Macro names containing "__" are reserved.
|
/ndk/tests/build/stdint-c++/jni/ |
gen-sources.sh | 37 for MACRO in $LIMITS $CONSTANTS; do 38 echo "#ifdef $MACRO" 39 echo "#error $MACRO defined!" 51 for MACRO in $LIMITS; do 52 echo "#ifndef $MACRO" 53 echo "#error $MACRO is not defined!" 57 for MACRO in $CONSTANTS; do 58 echo "#ifdef $MACRO" 59 echo "#error $MACRO is defined!" 72 for MACRO in $LIMITS; d [all...] |
/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...] |
/external/chromium_org/third_party/freetype/include/freetype/config/ |
ftheader.h | 24 /* <Macro> */ 28 /* This macro is used in association with @FT_END_HEADER in header */ 42 /* <Macro> */ 46 /* This macro is used in association with @FT_BEGIN_HEADER in header */ 73 /* Macro definitions used to #include specific header files. */ 101 * @macro: 105 * A macro used in #include statements to name the file containing 116 * @macro: 120 * A macro used in #include statements to name the file containing 131 * @macro [all...] |
/external/freetype/include/config/ |
ftheader.h | 24 /* <Macro> */ 28 /* This macro is used in association with @FT_END_HEADER in header */ 42 /* <Macro> */ 46 /* This macro is used in association with @FT_BEGIN_HEADER in header */ 73 /* Macro definitions used to #include specific header files. */ 101 * @macro: 105 * A macro used in #include statements to name the file containing 116 * @macro: 120 * A macro used in #include statements to name the file containing 131 * @macro [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/config/ |
ftheader.h | 24 /* <Macro> */ 28 /* This macro is used in association with @FT_END_HEADER in header */ 42 /* <Macro> */ 46 /* This macro is used in association with @FT_BEGIN_HEADER in header */ 73 /* Macro definitions used to #include specific header files. */ 101 * @macro: 105 * A macro used in #include statements to name the file containing 116 * @macro: 120 * A macro used in #include statements to name the file containing 131 * @macro [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ |
ftheader.h | 24 /* <Macro> */ 28 /* This macro is used in association with @FT_END_HEADER in header */ 42 /* <Macro> */ 46 /* This macro is used in association with @FT_BEGIN_HEADER in header */ 73 /* Macro definitions used to #include specific header files. */ 101 * @macro: 105 * A macro used in #include statements to name the file containing 116 * @macro: 120 * A macro used in #include statements to name the file containing 131 * @macro [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
MacroExpander.cpp | 82 const Macro& macro = iter->second; local 83 if (macro.disabled) 89 if ((macro.type == Macro::kTypeFunc) && !isNextTokenLeftParen()) 91 // If the token immediately after the macro name is not a '(', 92 // this macro should not be expanded. 96 pushMacro(macro, *token); 109 // First pop all empty macro contexts. 151 bool MacroExpander::pushMacro(const Macro ¯o, const Token &identifier [all...] |
/external/clang/test/Lexer/ |
warn-date-time.c | 1 // RUN: %clang_cc1 -Wdate-time -Wno-builtin-macro-redefined %s -verify -E 2 // RUN: %clang_cc1 -Wdate-time -Wno-builtin-macro-redefined %s -DIS_SYSHEADER -verify -E 3 // RUN: not %clang_cc1 -Werror=date-time -Wno-builtin-macro-redefined %s -DIS_SYSHEADER -E 2>&1 | grep 'error: expansion' | count 3 12 __TIME__ // expected-warning {{expansion of date or time macro is not reproducible}} 13 __DATE__ // expected-warning {{expansion of date or time macro is not reproducible}} 14 __TIMESTAMP__ // expected-warning {{expansion of date or time macro is not reproducible}}
|
/external/clang/test/Modules/ |
submodules-preprocess.cpp | 8 # error HAVE_VECTOR macro is not available (but should be) 12 # error HAVE_TYPE_TRAITS_MAP macro is available (but shouldn't be) 16 # error HAVE_HASH_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) 38 # error HAVE_VECTOR macro is not available (but should be) 42 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be) 46 # error HAVE_HASH_MAP macro is available (but shouldn't be) 52 # error HAVE_VECTOR macro is not available (but should be [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/list/ |
for_each_i.hpp | 27 # define BOOST_PP_LIST_FOR_EACH_I(macro, data, list) BOOST_PP_FOR((macro, data, list, 0), BOOST_PP_LIST_FOR_EACH_I_P, BOOST_PP_LIST_FOR_EACH_I_O, BOOST_PP_LIST_FOR_EACH_I_M) 29 # define BOOST_PP_LIST_FOR_EACH_I(macro, data, list) BOOST_PP_LIST_FOR_EACH_I_I(macro, data, list) 30 # define BOOST_PP_LIST_FOR_EACH_I_I(macro, data, list) BOOST_PP_FOR((macro, data, list, 0), BOOST_PP_LIST_FOR_EACH_I_P, BOOST_PP_LIST_FOR_EACH_I_O, BOOST_PP_LIST_FOR_EACH_I_M) 59 # define BOOST_PP_LIST_FOR_EACH_I_R(r, macro, data, list) BOOST_PP_FOR_ ## r((macro, data, list, 0), BOOST_PP_LIST_FOR_EACH_I_P, BOOST_PP_LIST_FOR_EACH_I_O, BOOST_PP_LIST_FOR_EACH_I_M) 61 # define BOOST_PP_LIST_FOR_EACH_I_R(r, macro, data, list) BOOST_PP_LIST_FOR_EACH_I_R_I(r, macro, data, list [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
asm_defines.h | 21 .macro GLOBAL_FUNCTION name 24 .macro DEFINE_FUNCTION name 27 .macro CALL_FUNCTION name 30 .macro GLOBAL_LABEL name 34 .macro GLOBAL_FUNCTION name 37 .macro DEFINE_FUNCTION name 40 .macro CALL_FUNCTION name 43 .macro GLOBAL_LABEL name 52 .macro streqh reg1, reg2, num
|
/external/linux-tools-perf/perf-3.12.0/arch/arm/lib/ |
memcpy.S | 19 .macro ldr1w ptr reg abort 23 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort 27 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort 31 .macro ldr1b ptr reg cond=al abort 35 .macro str1w ptr reg abort 39 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort 43 .macro str1b ptr reg cond=al abort 47 .macro enter reg1 reg2 51 .macro exit reg1 reg2
|
/frameworks/compile/slang/tests/P_redefine_RS_VERSION/ |
stderr.txt.expect | 1 redefine_RS_VERSION.rs:4:9: warning: 'RS_VERSION' macro redefined
|
/prebuilts/misc/common/swig/include/2.0.11/php/ |
factory.i | 72 /* for loop for macro with one argument */ 73 %define %_formacro_1(macro, arg1,...)macro(arg1) 75 %_formacro_1(macro, __VA_ARGS__) 79 /* for loop for macro with one argument */ 80 %define %formacro_1(macro,...)%_formacro_1(macro,__VA_ARGS__,__fordone__)%enddef 81 %define %formacro(macro,...)%_formacro_1(macro,__VA_ARGS__,__fordone__)%enddef 83 /* for loop for macro with two arguments * [all...] |
/external/chromium_org/v8/src/ |
macros.py | 102 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/check-for-inappropriate-macros-in-external-headers-tests/ |
fake-data-failing-expected.txt | 1 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:2' included forbidden macro 'PLATFORM' => '#if PLATFORM(MAC)' 2 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:4' included forbidden macro 'CPU' => '#if CPU(X86)' 3 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:6' included forbidden macro 'OS' => '#if OS(MACOSX)' 4 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:8' included forbidden macro 'COMPILER' => '#if COMPILER(CLANG)' 5 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:10' included forbidden macro 'ENABLE' => '#if ENABLE(FEATURE)' 6 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:12' included forbidden macro 'HAVE' => '#if HAVE(FEATURE)' 7 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:14' included forbidden macro 'USE' => '#if USE(FEATURE)' 8 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:16' included forbidden macro 'COMPILER' => '#if COMPILER_SUPPORTS(FEATURE)' 9 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:18' included forbidden macro 'COMPILER' => '#if COMPILER_QUIRK(FEATURE)' 10 ERROR: '--stripped--/Fake.framework/Headers/Fail.h:23' included forbidden macro 'PLATFORM' => ' #if PLATFORM(X) [all...] |