Home
last modified time | relevance | path

Searched refs:reinterpret_span_cast (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.81.4/tests/cxx_safe_buffers_src/
H A Dreinterpret_span_cast.cpp53 std::span<std::byte> writable_sp = os::reinterpret_span_cast<std::byte>(sp); in tests()
54 std::span<const std::byte> nonwritable_sp = os::reinterpret_span_cast<const std::byte>(sp); in tests()
63 std::span<A> span_a = os::reinterpret_span_cast<A>(sp); in tests()
71 std::span<B> span_b = os::reinterpret_span_cast<B>(span_a); in tests()
79 std::span<C> span_c = os::reinterpret_span_cast<C>(span_b); in tests()
87 std::span<B> span_b = os::reinterpret_span_cast<B>(span_c); in tests()
93 std::span<D> span_d = os::reinterpret_span_cast<D>(sp); in tests()
109 std::span<B> span_b = os::reinterpret_span_cast<B>(span_a); in trapping_test()
123 T_DECL(reinterpret_span_cast, "cxx_safe_buffers.reinterpret_span_cast")
/xnu-12377.81.4/libkern/os/
H A Dcxx_safe_buffers.h87 reinterpret_span_cast( std::span<Src, Count> src ) in reinterpret_span_cast() function