| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/ |
| H A D | basic.cpp | 42 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, 0)); in TEST_F() 43 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, 1)); in TEST_F() 44 EXPECT_EQ(nullptr, GPA.allocate(0, SIZE_MAX / 2)); in TEST_F() 45 EXPECT_EQ(nullptr, GPA.allocate(1, SIZE_MAX / 2)); in TEST_F() 46 EXPECT_EQ(nullptr, GPA.allocate(SIZE_MAX, SIZE_MAX / 2)); in TEST_F() 62 EXPECT_EQ(nullptr, GPA.allocate(0, SIZE_MAX)); in TEST_F() 63 EXPECT_EQ(nullptr, GPA.allocate(1, SIZE_MAX)); in TEST_F()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | wrappers_c_test.cpp | 71 EXPECT_EQ(malloc(SIZE_MAX), nullptr); in TEST() 91 EXPECT_EQ(calloc(SIZE_MAX, 1U), nullptr); in TEST() 98 EXPECT_EQ(calloc(SIZE_MAX, SIZE_MAX), nullptr); in TEST() 133 EXPECT_EQ(memalign(4096U, SIZE_MAX), nullptr); in TEST() 135 EXPECT_EQ(posix_memalign(&P, 4096U, SIZE_MAX), ENOMEM); in TEST() 193 EXPECT_EQ(realloc(nullptr, SIZE_MAX), nullptr); in TEST() 198 EXPECT_EQ(realloc(P, SIZE_MAX), nullptr); in TEST() 252 EXPECT_EQ(pvalloc(SIZE_MAX), nullptr); in TEST() 260 EXPECT_EQ(valloc(SIZE_MAX), nullptr); in TEST()
|
| /llvm-project-15.0.7/clang/test/Headers/ |
| H A D | cxx11.cpp | 24 #ifndef SIZE_MAX 25 #error SIZE_MAX should be defined in C++
|
| H A D | stdint-typeof-MINMAX.cpp | 27 static_assert(__is_same(__typeof__(SIZE_MAX), size_t));
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/ |
| H A D | io.c | 64 …dispatch_io_read(channel, 0, SIZE_MAX, queue, ^(bool done, dispatch_data_t remainingData, int erro… in test_dispatch_io_read() 85 dispatch_read(fd, SIZE_MAX, queue, ^(dispatch_data_t data, int error) { in test_dispatch_read()
|
| H A D | fd.c | 44 …dispatch_io_read(channel, 0, SIZE_MAX, queue, ^(bool done, dispatch_data_t remainingData, int erro… in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.c.headers/ |
| H A D | stdint_h.std_types_t.compile.pass.cpp | 205 #ifndef SIZE_MAX 206 #error SIZE_MAX not defined
|
| H A D | stdint_h.xopen_source.compile.pass.cpp | 202 #ifndef SIZE_MAX 203 #error SIZE_MAX not defined
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | StreamTee.h | 116 size_t min_bytes_written = SIZE_MAX; in WriteImpl() 129 if (min_bytes_written == SIZE_MAX) in WriteImpl()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CRCTest.cpp | 47 #if (SIZE_MAX > UINT32_MAX) && defined(EXPENSIVE_CHECKS)
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | CommandHistory.h | 44 size_t stop_idx = SIZE_MAX) const;
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | NamespaceEndCommentsFixer.cpp | 304 size_t StartLineIndex = SIZE_MAX; in analyze() 322 if (StartLineIndex == SIZE_MAX) in analyze() 369 StartLineIndex = SIZE_MAX; in analyze()
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | stdint.c | 1583 SIZE_MAX_ SIZE_MAX
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.cpp | 168 size_t FocusFuncIdx = SIZE_MAX; in Init() 213 if (!NumFunctions || FocusFuncIdx == SIZE_MAX || Files.size() <= 1) in Init()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | ProcessStructReader.h | 95 size_t GetOffsetOf(ConstString name, size_t fail_value = SIZE_MAX) {
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/ |
| H A D | guarded_pool_allocator.h | 139 static constexpr size_t kInvalidSlotID = SIZE_MAX;
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | SmallVector.cpp | 145 #if SIZE_MAX > UINT32_MAX
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValueProperties.cpp | 83 size_t idx = m_name_to_index.Find(key, SIZE_MAX); in GetValueForKey() 169 return m_name_to_index.Find(name, SIZE_MAX); in GetPropertyIndex() 178 m_name_to_index.Find(name, SIZE_MAX)); in GetProperty()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | cstdint | 78 SIZE_MAX
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | inttypes_h.pass.cpp | 200 #ifndef SIZE_MAX 201 #error SIZE_MAX not defined
|
| H A D | stdint_h.pass.cpp | 242 assert(SIZE_MAX == std::numeric_limits<size_t>::max()); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | memchr-8.ll | 3 ; Verify that a constant with size in excess of 32-bit SIZE_MAX doesn't
|
| H A D | memrchr-2.ll | 71 ; Do not fold memrchr(a12345, C, SIZE_MAX) to null.
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/ |
| H A D | cinttypes.pass.cpp | 200 #ifndef SIZE_MAX 201 #error SIZE_MAX not defined
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | HashingTest.cpp | 222 #if SIZE_MAX == UINT64_MAX || SIZE_MAX == UINT32_MAX in TEST()
|