Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dbasic.cpp42 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 Dwrappers_c_test.cpp71 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 Dcxx11.cpp24 #ifndef SIZE_MAX
25 #error SIZE_MAX should be defined in C++
H A Dstdint-typeof-MINMAX.cpp27 static_assert(__is_same(__typeof__(SIZE_MAX), size_t));
/llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/
H A Dio.c64 …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 Dfd.c44 …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 Dstdint_h.std_types_t.compile.pass.cpp205 #ifndef SIZE_MAX
206 #error SIZE_MAX not defined
H A Dstdint_h.xopen_source.compile.pass.cpp202 #ifndef SIZE_MAX
203 #error SIZE_MAX not defined
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStreamTee.h116 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 DCRCTest.cpp47 #if (SIZE_MAX > UINT32_MAX) && defined(EXPENSIVE_CHECKS)
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DCommandHistory.h44 size_t stop_idx = SIZE_MAX) const;
/llvm-project-15.0.7/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp304 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 Dstdint.c1583 SIZE_MAX_ SIZE_MAX
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp168 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 DProcessStructReader.h95 size_t GetOffsetOf(ConstString name, size_t fail_value = SIZE_MAX) {
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.h139 static constexpr size_t kInvalidSlotID = SIZE_MAX;
/llvm-project-15.0.7/llvm/lib/Support/
H A DSmallVector.cpp145 #if SIZE_MAX > UINT32_MAX
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueProperties.cpp83 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 Dcstdint78 SIZE_MAX
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dinttypes_h.pass.cpp200 #ifndef SIZE_MAX
201 #error SIZE_MAX not defined
H A Dstdint_h.pass.cpp242 assert(SIZE_MAX == std::numeric_limits<size_t>::max()); in main()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmemchr-8.ll3 ; Verify that a constant with size in excess of 32-bit SIZE_MAX doesn't
H A Dmemrchr-2.ll71 ; 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 Dcinttypes.pass.cpp200 #ifndef SIZE_MAX
201 #error SIZE_MAX not defined
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DHashingTest.cpp222 #if SIZE_MAX == UINT64_MAX || SIZE_MAX == UINT32_MAX in TEST()

12