| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | null_in_arithmetic_ops.cpp | 30 v = 0 ? NULL + c : c + NULL; // \ in f() 33 v = 0 ? NULL + d : d + NULL; // \ in f() 76 b = &a == NULL || NULL == &a || &a != NULL || NULL != &a; in f() 81 b = NULL < NULL || NULL > NULL; in f() 82 b = NULL <= NULL || NULL >= NULL; in f() 83 b = NULL == NULL || NULL != NULL; in f() 88 b = c == NULL || NULL == c || c != NULL || NULL != c; in f() 89 b = d == NULL || NULL == d || d != NULL || NULL != d; in f() 90 b = e == NULL || NULL == e || e != NULL || NULL != e; in f() 91 b = f == NULL || NULL == f || f != NULL || NULL != f; in f() [all …]
|
| H A D | conversion.cpp | 78 #define FINIT int a3 = NULL; in test3() 83 int *ip = NULL; in test3() 84 int (*fp)() = NULL; in test3() 89 int foo::*datamem = NULL; in test3() 90 int (foo::*funmem)() = NULL; in test3() 104 void tmpl2(T t = NULL) { in tmpl2() 126 return NULL; in func() 237 NULL : NULL) 238 #define run2() (dostuff() ? NULL : NULL) 250 #define x return NULL; [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | posix-return.cpp | 56 if (posix_spawn(NULL, NULL, NULL, NULL, {NULL}, {NULL}) < 0) {} in warningLessThanZero() 59 if (posix_spawnp(NULL, NULL, NULL, NULL, {NULL}, {NULL}) < 0) {} in warningLessThanZero() 62 if (pthread_create(NULL, NULL, NULL, NULL) < 0) {} in warningLessThanZero() 83 if (pthread_create(NULL, NULL, NULL, NULL) >= 0) {} in warningAlwaysTrue() 111 if (posix_spawn(NULL, NULL, NULL, NULL, {NULL}, {NULL}) == -1) {} in warningEqualsNegative() 113 if (posix_spawnp(NULL, NULL, NULL, NULL, {NULL}, {NULL}) == -1) {} in warningEqualsNegative() 115 if (pthread_create(NULL, NULL, NULL, NULL) == -1) {} in warningEqualsNegative() 117 if (pthread_create(NULL, NULL, NULL, NULL) != -1) {} in warningEqualsNegative() 119 if (pthread_create(NULL, NULL, NULL, NULL) <= -1) {} in warningEqualsNegative() 121 if (pthread_create(NULL, NULL, NULL, NULL) < -1) {} in warningEqualsNegative() [all …]
|
| H A D | spuriously-wake-up-functions.c | 2 #define NULL 0 macro 26 if (list_c.next == NULL) { in consume_list_element() 31 if (list_c.next == NULL) in consume_list_element() 42 while (list_c.next == NULL) in consume_list_element() 45 while (list_c.next == NULL) in consume_list_element() 48 if (list_c.next == NULL) { in consume_list_element() 52 if (list_c.next == NULL) in consume_list_element() 58 while (list_c.next == NULL) in consume_list_element() 95 if (list_c.next == NULL) { in consume_list_element() 100 if (list_c.next == NULL) in consume_list_element() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterInfos_ppc64.h | 19 #define GPR_PPC64_SIZE(regname) (sizeof(((GPR_PPC64 *)NULL)->regname)) 34 NULL, NULL, \ 43 NULL, NULL, \ 47 #reg, NULL, 16, VMX_PPC64_OFFSET(reg), lldb::eEncodingVector, \ 52 NULL, NULL, \ 58 DEFINE_GPR_PPC64(r0, NULL, LLDB_INVALID_REGNUM) \ 59 , DEFINE_GPR_PPC64(r1, NULL, LLDB_REGNUM_GENERIC_SP), \ 60 DEFINE_GPR_PPC64(r2, NULL, LLDB_INVALID_REGNUM), \ 61 DEFINE_GPR_PPC64(r3, NULL, LLDB_REGNUM_GENERIC_ARG1), \ 62 DEFINE_GPR_PPC64(r4, NULL, LLDB_REGNUM_GENERIC_ARG2), \ [all …]
|
| H A D | RegisterInfos_powerpc.h | 15 #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname)) 27 NULL, NULL, \ 31 #reg, NULL, 8, FPR_OFFSET(reg), eEncodingIEEE754, eFormatFloat, \ 35 NULL, NULL, \ 39 #reg, NULL, 16, VMX_OFFSET(reg), eEncodingVector, eFormatVectorOfUInt32, \ 43 NULL, NULL, \ 49 DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \ 50 , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \ 51 DEFINE_GPR(r2, NULL, LLDB_INVALID_REGNUM), \ 52 DEFINE_GPR(r3, NULL, LLDB_REGNUM_GENERIC_ARG1), \ [all …]
|
| H A D | RegisterInfos_ppc64le.h | 19 #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname)) 34 NULL, NULL, \ 42 NULL, NULL, \ 46 #reg, NULL, 16, VMX_OFFSET(reg), lldb::eEncodingVector, \ 51 NULL, NULL, \ 55 #reg, NULL, 16, VSX_OFFSET(reg), lldb::eEncodingVector, \ 60 NULL, NULL, \ 66 DEFINE_GPR(r0, NULL, LLDB_INVALID_REGNUM) \ 67 , DEFINE_GPR(r1, NULL, LLDB_REGNUM_GENERIC_SP), \ 68 DEFINE_GPR(r2, NULL, LLDB_INVALID_REGNUM), \ [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/ |
| H A D | cloexec-accept4.cpp | 16 #define NULL 0 macro 21 accept4(0, NULL, NULL, SOCK_NONBLOCK); in a() 24 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, SOCK_NONBLOCK)); in a() 30 accept4(0, NULL, NULL, 3); in f() 33 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, 3)); in f() 38 accept4(0, NULL, NULL, flag); in f() 39 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, flag)); in f() 46 accept4(0, NULL, NULL, SOCK_NONBLOCK); in d() 53 accept4(0, NULL, NULL, SOCK_CLOEXEC); in e() 55 accept4(0, NULL, NULL, SOCK_NONBLOCK | SOCK_CLOEXEC); in e() [all …]
|
| H A D | cloexec-memfd-create.cpp | 13 #define NULL 0 macro 18 memfd_create(NULL, MFD_ALLOW_SEALING); in a() 27 memfd_create(NULL, 3); in f() 30 TEMP_FAILURE_RETRY(memfd_create(NULL, 3)); in f() 35 memfd_create(NULL, flag); in f() 36 TEMP_FAILURE_RETRY(memfd_create(NULL, flag)); in f() 43 memfd_create(NULL, MFD_ALLOW_SEALING); in d() 50 memfd_create(NULL, MFD_CLOEXEC); in e() 51 TEMP_FAILURE_RETRY(memfd_create(NULL, MFD_CLOEXEC)); in e() 52 memfd_create(NULL, MFD_ALLOW_SEALING | MFD_CLOEXEC); in e() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-rc/ |
| H A D | tag-stringtable.test | 95 ; NULL-NEXT: Data size: 52 96 ; NULL-NEXT: Data: ( 101 ; NULL-NEXT: ) 112 ; NULL-NEXT: Data: ( 116 ; NULL-NEXT: ) 127 ; NULL-NEXT: Data: ( 134 ; NULL-NEXT: ) 145 ; NULL-NEXT: Data: ( 149 ; NULL-NEXT: ) 160 ; NULL-NEXT: Data: ( [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/x86_64/ |
| H A D | DNBArchImplX86_64.cpp | 1757 FPU_OFFSET(ip), -1U, -1U, -1U, -1U, NULL, NULL}, 1759 FPU_OFFSET(cs), -1U, -1U, -1U, -1U, NULL, NULL}, 1761 FPU_OFFSET(dp), -1U, -1U, -1U, -1U, NULL, NULL}, 1763 FPU_OFFSET(ds), -1U, -1U, -1U, -1U, NULL, NULL}, 1768 NULL}, 1872 AVX_OFFSET(ip), -1U, -1U, -1U, -1U, NULL, NULL}, 1874 AVX_OFFSET(cs), -1U, -1U, -1U, -1U, NULL, NULL}, 1876 AVX_OFFSET(dp), -1U, -1U, -1U, -1U, NULL, NULL}, 1878 AVX_OFFSET(ds), -1U, -1U, -1U, -1U, NULL, NULL}, 1883 NULL}, [all …]
|
| /llvm-project-15.0.7/openmp/runtime/src/thirdparty/ittnotify/ |
| H A D | ittnotify_static.cpp | 290 {NULL, NULL, NULL, NULL, __itt_group_none}}; 364 __itt_domain *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 402 __itt_domain *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 484 __itt_string_handle *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 521 __itt_string_handle *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 571 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 613 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 766 __itt_histogram *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() 768 if (domain == NULL || name == NULL) { in ITT_VERSIONIZE() 810 __itt_histogram *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() [all …]
|
| H A D | ittnotify_config.h | 479 if (h != NULL) { \ 481 h->nameA = NULL; \ 482 h->nameW = n ? _wcsdup(n) : NULL; \ 485 h->extra2 = NULL; /* reserved */ \ 486 h->next = NULL; \ 487 if (h_tail == NULL) \ 497 if (h != NULL) { \ 499 h->nameA = n ? __itt_fstrdup(n) : NULL; \ 500 h->nameW = NULL; \ 503 h->extra2 = NULL; /* reserved */ \ [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/i386/ |
| H A D | DNBArchImplI386.cpp | 1284 NULL, NULL}, 1287 debugserver_eflags, NULL, NULL}, 1290 debugserver_eip, NULL, NULL}, 1293 NULL, NULL}, 1296 NULL, NULL}, 1299 NULL, NULL}, 1302 NULL, NULL}, 1305 NULL, NULL}, 1342 INVALID_NUB_REGNUM, NULL, NULL}, 1345 INVALID_NUB_REGNUM, NULL, NULL}, [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | fd_tid_recycled.cpp | 8 return NULL; in ThreadCreatePipe() 12 return NULL; in ThreadDummy() 18 return NULL; in ThreadWrite() 25 return NULL; in ThreadClose() 31 pthread_create(&t_create, NULL, ThreadCreatePipe, NULL); in main() 32 pthread_join(t_create, NULL); in main() 36 pthread_create(&t_dummy, NULL, ThreadDummy, NULL); in main() 41 pthread_create(&t[0], NULL, ThreadWrite, NULL); in main() 42 pthread_create(&t[1], NULL, ThreadClose, NULL); in main() 43 pthread_join(t[0], NULL); in main() [all …]
|
| H A D | print_full_thread_history.cpp | 10 return NULL; in Thread2() 16 return NULL; in Thread3() 21 pthread_create(&t[0], NULL, Thread2, NULL); in Thread1() 22 pthread_create(&t[1], NULL, Thread3, NULL); in Thread1() 23 pthread_join(t[0], NULL); in Thread1() 24 pthread_join(t[1], NULL); in Thread1() 25 return NULL; in Thread1() 31 pthread_create(&t, NULL, Thread1, NULL); in main() 32 pthread_join(t, NULL); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-nullptr-basic.cpp | 9 #define NULL 0 macro 19 int *p2 = NULL; in test_assignment() 31 p3 = NULL; in test_assignment() 44 int i2 = NULL; in test_assignment() 49 p5 = p6 = p7 = NULL; in test_assignment() 69 int *Foo::m_p2 = NULL; 92 m_p = NULL; in Bar() 115 f.bar(NULL); in test_cxx_cases() 178 return NULL; in test_function_return2() 194 return NULL; in test_function_return5() [all …]
|
| H A D | use-nullptr.cpp | 4 #define NULL 0 macro 35 dummy(NULL); \ 45 dummy(NULL); \ in test_macro_expansion1() 66 dummy(NULL); \ in test_macro_expansion3() 80 #define MY_NULL NULL in test_macro_expansion4() 132 EQUALS_PTR(NULL); in test_macro_args() 141 EQUALS_PTR_I(NULL); in test_macro_args() 192 assert2(p == NULL); in test_macro_args() 202 ASSERT_NULL(NULL); in test_macro_args() 287 T(h(NULL, NULL)); in test_multiple_nulls() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/tsan/thread_numbers/ |
| H A D | main.c | 9 return NULL; in nothing() 15 return NULL; in f1() 21 return NULL; in f2() 30 pthread_create(&t, NULL, nothing, NULL); in main() 31 pthread_join(t, NULL); in main() 35 pthread_create(&t1, NULL, f1, NULL); in main() 39 pthread_create(&t, NULL, nothing, NULL); in main() 40 pthread_join(t, NULL); in main() 44 pthread_create(&t2, NULL, f2, NULL); in main() 46 pthread_join(t1, NULL); in main() [all …]
|
| /llvm-project-15.0.7/libc/AOR_v20.02/math/test/rtest/ |
| H A D | semi.c | 67 return NULL; in test_ceil() 72 return NULL; in test_floor() 123 return NULL; in test_ceilf() 128 return NULL; in test_floorf() 524 return NULL; in test_modf() 555 return NULL; in test_modff() 567 return NULL; in test_copysign() 578 return NULL; in test_copysignf() 587 return NULL; in test_isfinite() 595 return NULL; in test_isfinitef() [all …]
|
| H A D | dotest.c | 467 {"sin", (funcptr)mpfr_sin, args1, {NULL}, 471 {"cos", (funcptr)mpfr_cos, args1, {NULL}, 821 static uint32 *specifics = NULL; in float32_case() 826 specifics = NULL; in float32_case() 948 static uint32 (*specifics)[2] = NULL; in float64_case() 953 specifics = NULL; in float64_case() 1632 char *errstr = NULL; in docase() 1886 errstr = NULL; in docase() 1993 errstr = NULL; in docase() 2144 float32_case(NULL); in gencases() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/arm64/ |
| H A D | DNBArchImplARM64.cpp | 1567 dwarf_##reg, dwarf_##reg, gen, debugserver_gpr_##reg, NULL, NULL \ 1625 dwarf_fp, dwarf_fp, GENERIC_REGNUM_FP, debugserver_gpr_fp, NULL, NULL 1629 dwarf_lr, dwarf_lr, GENERIC_REGNUM_RA, debugserver_gpr_lr, NULL, NULL 1633 dwarf_sp, dwarf_sp, GENERIC_REGNUM_SP, debugserver_gpr_sp, NULL, NULL 1637 dwarf_pc, dwarf_pc, GENERIC_REGNUM_PC, debugserver_gpr_pc, NULL, NULL 1647 debugserver_gpr_cpsr, NULL, NULL}, 1817 INVALID_NUB_REGNUM, INVALID_NUB_REGNUM, NULL, NULL}, 1820 INVALID_NUB_REGNUM, INVALID_NUB_REGNUM, NULL, NULL}, 1901 INVALID_NUB_REGNUM, NULL, NULL}, 1904 INVALID_NUB_REGNUM, NULL, NULL}, [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | null_objc_pointer.mm | 2 #define NULL __null macro 10 …b = d < NULL || NULL < d || d > NULL || NULL > d; // expected-error 4{{ordered comparison between … 11 …b = d <= NULL || NULL <= d || d >= NULL || NULL >= d; // expected-error 4{{ordered comparison betw… 12 b = d == NULL || NULL == d || d != NULL || NULL != d;
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | print-memory-usage.c | 32 return NULL; in T1() 35 void *T4(void *arg) { return NULL; } in T4() 56 pthread_create(&t1, NULL, T1, NULL); in main() 57 pthread_create(&t2, NULL, T1, NULL); in main() 58 pthread_create(&t3, NULL, T1, NULL); in main() 59 pthread_create(&t4, NULL, T4, NULL); in main() 61 pthread_join(t4, NULL); in main() 67 pthread_join(t1, NULL); in main() 68 pthread_join(t2, NULL); in main() 69 pthread_join(t3, NULL); in main()
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_schedule_read.c | 81 return NULL; in read_context() 86 return NULL; in read_context() 112 return NULL; in read_context() 132 return NULL; in read_domain() 137 return NULL; in read_domain() 163 return NULL; in read_domain() 238 return NULL; in read_expansion() 289 return NULL; in read_extension() 340 return NULL; in read_filter() 391 return NULL; in read_guard() [all …]
|