/haiku-buildtools/gcc/gcc/lto/ |
H A D | lang-specs.h | 24 /*cpp_spec=*/NULL, /*combinable=*/1, /*needs_preprocessing=*/0},
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/ |
H A D | null4.C | 1 // PR c++/24745 : warnings for NULL constant. 9 if (NULL == 1) return -1; // { dg-warning "NULL used in arithmetic" } 10 if (NULL > NULL) return -1; // { dg-warning "NULL used in arithmetic" } 11 if (NULL < NULL) return -1; // { dg-warning "NULL used in arithmetic" } 12 if (NULL > [all...] |
H A D | Wconversion-null.C | 30 int i = NULL; // converting NULL to non-pointer type 31 float z = NULL; // converting NULL to non-pointer type 34 i != NULL; // NULL used in arithmetic local 35 NULL != z; // NULL used in arithmetic 36 k != NULL; // No warning: decay conversion local 37 NULL ! 48 NULL && NULL; // No warning: converting NULL to bool is OK local [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/conversion/ |
H A D | nullptr2.C | 1 /* Test for enumeration as NULL pointer constant. */ 5 enum { NULL = 0 }; enumerator in enum:__anon721 9 void *q = NULL; // { dg-error "cannot convert" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/ |
H A D | null1.C | 4 const int NULL = 0; variable 6 double* p = NULL;
|
/haiku-buildtools/gcc/fixincludes/tests/base/ |
H A D | locale.h | 13 #ifndef NULL 16 #define NULL __null macro 18 #define NULL 0L macro 21 #define NULL ((void *)0) macro 23 #endif /* !NULL */
|
H A D | curses.h | 13 # define NULL (0L) /* typed NULL */ macro 39 #ifndef NULL 42 #define NULL __null macro 44 #define NULL 0L macro 47 #define NULL ((void *)0) macro 49 #endif /* !NULL */ /* typed NULL */
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | nonnull-3.c | 12 __builtin_bzero (NULL, 0); 13 __builtin_bcopy (NULL, p, 0); 14 __builtin_bcopy (p, NULL, 0); 15 __builtin_bcmp (NULL, p, 0); 16 __builtin_bcmp (p, NULL, 0); 17 __builtin_index (NULL, 16); /* { dg-warning "null" "null pointer check" } */ 18 __builtin_rindex (NULL, 16); /* { dg-warning "null" "null pointer check" } */ 20 __builtin_memcpy (p, NULL, 16); /* { dg-warning "null" "null pointer check" } */ 21 __builtin_memcpy (NULL, p, 16); /* { dg-warning "null" "null pointer check" } */ 22 __builtin_memmove (p, NULL, 1 [all...] |
H A D | pr67730-2.c | 12 int a = NULL; /* { dg-warning "initialization makes integer from pointer" } */ 13 a = NULL; /* { dg-warning "assignment makes integer from pointer" } */ 14 bar (NULL); /* { dg-warning "passing argument 1" } */ 15 return NULL; /* { dg-warning "return makes integer from pointer" } */
|
H A D | pr67730.c | 10 return NULL; /* { dg-warning "10:.return. with a value" } */
|
H A D | pr67730.h | 2 #define NULL (void *) 0 macro 4 #define RETURN return NULL 22 int a = NULL; 23 a = NULL; 24 sysbar2 (NULL); 25 return NULL;
|
/haiku-buildtools/legacy/binutils/opcodes/ |
H A D | ia64-opc-d.c | 24 {"add", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_IMM22, IA64_OPND_R3_2}, 0, 0, NULL}, 25 {"add", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_IMM14, IA64_OPND_R3}, 0, 0, NULL}, 26 {"break", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 27 {"chk.s", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_R2, IA64_OPND_TGT25b}, 0, 0, NULL}, 28 {"hint", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 29 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_AR3}, 0, 0, NULL}, 30 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_AR3, IA64_OPND_IMM8}, 0, 0, NULL}, 31 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_AR3, IA64_OPND_R2}, 0, 0, NULL}, 32 {"nop", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 33 {NULL, [all...] |
/haiku-buildtools/binutils/opcodes/ |
H A D | ia64-opc-d.c | 24 {"add", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_IMM22, IA64_OPND_R3_2}, 0, 0, NULL}, 25 {"add", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_IMM14, IA64_OPND_R3}, 0, 0, NULL}, 26 {"break", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 27 {"chk.s", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_R2, IA64_OPND_TGT25b}, 0, 0, NULL}, 28 {"hint", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 29 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_R1, IA64_OPND_AR3}, 0, 0, NULL}, 30 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_AR3, IA64_OPND_IMM8}, 0, 0, NULL}, 31 {"mov", IA64_TYPE_DYN, 1, 0, 0, {IA64_OPND_AR3, IA64_OPND_R2}, 0, 0, NULL}, 32 {"nop", IA64_TYPE_DYN, 0, 0, 0, {IA64_OPND_IMMU21}, 0, 0, NULL}, 33 {NULL, [all...] |
H A D | nds32-asm.c | 100 {"rt", 20, 5, 0, HW_GPR, NULL}, 101 {"ra", 15, 5, 0, HW_GPR, NULL}, 102 {"rb", 10, 5, 0, HW_GPR, NULL}, 103 {"rd", 5, 5, 0, HW_GPR, NULL}, 105 {"fst", 20, 5, 0, HW_FSR, NULL}, 106 {"fsa", 15, 5, 0, HW_FSR, NULL}, 107 {"fsb", 10, 5, 0, HW_FSR, NULL}, 108 {"fdt", 20, 5, 0, HW_FDR, NULL}, 109 {"fda", 15, 5, 0, HW_FDR, NULL}, 110 {"fdb", 10, 5, 0, HW_FDR, NULL}, [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/headers/cstring/ |
H A D | macros.cc | 24 #ifndef NULL
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/headers/ctime/ |
H A D | macros.cc | 24 #ifndef NULL
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/headers/cstdlib/ |
H A D | macros.cc | 24 #ifndef NULL
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/21_strings/headers/cstring/ |
H A D | macros.cc | 24 #ifndef NULL
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tsan/ |
H A D | default_options.C | 12 return NULL; 17 return NULL; 22 pthread_create(&t[0], NULL, Thread1, NULL); 23 pthread_create(&t[1], NULL, Thread2, NULL); 24 pthread_join(t[0], NULL); 25 pthread_join(t[1], NULL);
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/tsan/ |
H A D | atomic_stack.c | 13 return NULL; 19 return NULL; 25 pthread_create(&t[0], NULL, Thread1, NULL); 26 pthread_create(&t[1], NULL, Thread2, NULL); 27 pthread_join(t[0], NULL); 28 pthread_join(t[1], NULL);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 6 #include <stddef.h> /* For NULL, which must be (ptr)0. */ 31 foo1 (NULL); /* { dg-warning "not enough" "sentinel" } */ 36 foo1 ("a", NULL, 1); /* { dg-warning "missing sentinel" "sentinel" } */ 37 foo1 ("a", NULL); 39 foo5 (NULL); /* { dg-warning "not enough" "sentinel" } */ 40 foo5 (NULL, 1); /* { dg-warning "not enough" "sentinel" } */ 41 foo5 ("a", NULL); /* { dg-warning "not enough" "sentinel" } */ 42 foo5 ("a", NULL, 1); 43 foo5 ("a", 1, 2, 3, NULL); /* { dg-warning "missing sentinel" "sentinel" } */ 44 foo5 ("a", 1, 2, NULL, [all...] |
H A D | ms_null-1.c | 19 my_printf (NULL); 20 my_printf (NULL, i1); /* { dg-warning "too many" "null format with arguments" } */ 22 my_printf (my_format ("", NULL)); 23 my_printf (my_format ("", NULL), i1); /* { dg-warning "too many" "null format_arg with arguments" } */ 27 my_printf (dgettext ("", NULL)); /* { dg-warning "null" "null format with dgettext" } */
|
H A D | null-1.c | 19 my_printf (NULL); 20 my_printf (NULL, i1); /* { dg-warning "too many" "null format with arguments" } */ 22 my_printf (my_format ("", NULL)); 23 my_printf (my_format ("", NULL), i1); /* { dg-warning "too many" "null format_arg with arguments" } */ 27 my_printf (dgettext ("", NULL)); /* { dg-warning "null" "null format with dgettext" } */
|
/haiku-buildtools/gcc/gcc/config/mips/ |
H A D | driver-native.c | 41 const char *cpu = NULL; 47 return NULL; 51 return NULL; 54 if (f == NULL) 55 return NULL; 57 while (fgets (buf, sizeof (buf), f) != NULL) 60 if (strstr (buf, "Godson2 V0.2") != NULL 61 || strstr (buf, "Loongson-2 V0.2") != NULL 62 || strstr (buf, "Loongson-2E") != NULL) 64 else if (strstr (buf, "Godson2 V0.3") != NULL [all...] |
/haiku-buildtools/gcc/gcc/common/config/mcore/ |
H A D | mcore-common.c | 35 { OPT_LEVELS_1_PLUS, OPT_ffunction_cse, NULL, 0 }, 36 { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, 37 { OPT_LEVELS_ALL, OPT_fcaller_saves, NULL, 0 }, 38 { OPT_LEVELS_ALL, OPT_fschedule_insns, NULL, 0 }, 39 { OPT_LEVELS_ALL, OPT_fschedule_insns2, NULL, 0 }, 40 { OPT_LEVELS_SIZE, OPT_mhardlit, NULL, 0 }, 41 { OPT_LEVELS_NONE, 0, NULL, 0 }
|