| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.container/ |
| H A D | ssize.pass.cpp | 39 assert ( std::ssize(c) == static_cast<decltype(std::ssize(c))>(c.size())); in test_container() 47 assert ( std::ssize(c) == static_cast<decltype(std::ssize(c))>(c.size())); in test_const_container() 55 assert ( std::ssize(c) == static_cast<decltype(std::ssize(c))>(c.size())); in test_const_container() 63 assert ( std::ssize(c) == static_cast<decltype(std::ssize(c))>(c.size())); in test_container() 69 ASSERT_NOEXCEPT(std::ssize(array)); in test_const_array() 71 assert ( std::ssize(array) == Sz ); in test_const_array() 82 ASSERT_SAME_TYPE(SSize, decltype(std::ssize(v))); in main() 84 ASSERT_SAME_TYPE(SSize, decltype(std::ssize(l))); in main() 86 ASSERT_SAME_TYPE(SSize, decltype(std::ssize(a))); in main() 118 assert (std::ssize(sc) == 60000); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.access/ |
| H A D | ssize.pass.cpp | 20 using RangeSSizeT = decltype(std::ranges::ssize); 56 assert(std::ranges::ssize(a) == 4); in test() 57 ASSERT_SAME_TYPE(decltype(std::ranges::ssize(a)), SignedSizeT); in test() 59 assert(std::ranges::ssize(SizeMember()) == 42); in test() 60 ASSERT_SAME_TYPE(decltype(std::ranges::ssize(SizeMember())), SignedSizeT); in test() 62 assert(std::ranges::ssize(SizeFunction()) == 42); in test() 65 assert(std::ranges::ssize(SizeFunctionSigned()) == 42); in test() 69 assert(std::ranges::ssize(b) == 2); in test() 70 ASSERT_SAME_TYPE(decltype(std::ranges::ssize(b)), std::ptrdiff_t); in test() 74 assert(std::ranges::ssize(c) == 42); in test() [all …]
|
| H A D | ssize.verify.cpp | 20 std::ranges::ssize(arr); in test()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/netbsd-core/ |
| H A D | 2lwp_t2_SIGSEGV.c | 23 static const size_t ssize = 16 * 1024; in main() local 26 stack = malloc(ssize); in main() 27 _lwp_makecontext(&uc, lwp_main, NULL, NULL, stack, ssize); in main()
|
| H A D | 2lwp_process_SIGSEGV.c | 28 static const size_t ssize = 16 * 1024; in main() local 31 stack = malloc(ssize); in main() 32 _lwp_makecontext(&uc, lwp_main, NULL, NULL, stack, ssize); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_interceptors.cpp | 245 static void ClearShadowMemoryForContextStack(uptr stack, uptr ssize) { in ClearShadowMemoryForContextStack() argument 248 if (!ssize) in ClearShadowMemoryForContextStack() 255 ssize += stack - bottom; in ClearShadowMemoryForContextStack() 256 ssize = RoundUpTo(ssize, PageSize); in ClearShadowMemoryForContextStack() 257 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack() 278 uptr stack, ssize; in INTERCEPTOR() local 279 ReadContextStack(ucp, &stack, &ssize); in INTERCEPTOR() 280 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR() 297 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR()
|
| H A D | asan_linux.cpp | 212 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument 215 *ssize = ucp->uc_stack.ss_size; in ReadContextStack() 224 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
|
| H A D | asan_internal.h | 108 void ReadContextStack(void *context, uptr *stack, uptr *ssize);
|
| H A D | asan_mac.cpp | 98 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
|
| H A D | asan_win.cpp | 266 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | size.h | 39 constexpr auto ssize(const _Cont& __c) 50 constexpr ptrdiff_t ssize(const _Tp (&)[_Sz]) noexcept { return _Sz; } in ssize() function
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | regcomp.c | 197 sopno ssize; /* malloced strip size (allocated) */ member 322 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp() 323 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp() 1461 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl() 1462 assert(p->ssize >= p->slen + len); in dupl() 1487 if (p->slen >= p->ssize) in doemit() 1488 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit() 1489 assert(p->slen < p->ssize); in doemit() 1552 if (p->ssize >= size) in enlarge() 1566 p->ssize = size; in enlarge()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextLinux_i386.cpp | 66 uint32_t ssize; // Stack segment size. member
|
| H A D | RegisterContextLinux_x86_64.cpp | 59 uint64_t ssize; // Stack segment size. member
|
| /llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/ |
| H A D | cpo.compile.pass.cpp | 76 static_assert(test(std::ranges::ssize, a));
|
| /llvm-project-15.0.7/libcxx/include/__ranges/ |
| H A D | size.h | 135 inline constexpr auto ssize = __ssize::__fn{};
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | RangesIssues.csv | 20 `P1970R2 <https://wg21.link/P1970R2>`__,Consistency for size() functions: Add ranges::ssize,|Comple…
|
| H A D | Cxx20Papers.csv | 91 "`P1227R2 <https://wg21.link/P1227R2>`__","LWG","Signed ssize() functions, unsigned size() function… 180 …21.link/P1970R2>`__","LWG","Consistency for size() functions: Add ranges::ssize","Prague","|Comple…
|
| H A D | RangesPaper.csv | 108 | `ranges::ssize <https://llvm.org/D101189>`_
|
| H A D | Cxx2bIssues.csv | 22 "`3403 <https://wg21.link/LWG3403>`__","Domain of ``ranges::ssize(E)`` doesn't ``match ranges::size…
|
| H A D | Cxx20Issues.csv | 231 "`3300 <https://wg21.link/LWG3300>`__","Non-array ``ssize``\ overload is underconstrained","Prague…
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | ranges | 28 inline constexpr unspecified ssize = unspecified;
|
| H A D | iterator | 661 template <class C> constexpr auto ssize(const C& c) 663 template <class T, ptrdiff_t> constexpr ptrdiff_t ssize(const T (&array)[N]) noexcept; // C++20
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | ReleaseNotes.rst | 72 - P1970R2 - Consistency for ``size()`` functions: Add ``ranges::ssize``
|