Home
last modified time | relevance | path

Searched refs:span (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.1.10/tests/cxx_safe_buffers_src/
H A Dunsafe_forge_span.cpp23 std::span<T> span = os::span::__unsafe_forge_span(p, 10); in tests() local
25 CHECK(span.data() == p && span.size() == 10); in tests()
30 std::span<T> span = os::span::__unsafe_forge_span(v.begin(), v.end()); in tests() local
32 CHECK(span.data() == v.data() && span.size() == 0); in tests()
/xnu-11215.1.10/libkern/os/
H A Dcxx_safe_buffers.h31 #if (defined(__has_include) && __has_include(<span>))
35 namespace span {
50 std::span<std::remove_reference_t<std::iter_reference_t<It> > >
51 __unsafe_forge_span(It data, typename std::span<std::remove_reference_t<std::iter_reference_t<It> >… in __unsafe_forge_span()
53 return std::span<std::remove_reference_t<std::iter_reference_t<It> > > in __unsafe_forge_span()
58 std::span<std::remove_reference_t<std::iter_reference_t<It> > >
61 return std::span<std::remove_reference_t<std::iter_reference_t<It> > >{begin, end}; in __unsafe_forge_span()
/xnu-11215.1.10/tools/kt-dump/
H A Dkt-dump.cpp105 std::span<const T> contents;
107 macho_section(const section_64 &sec, std::span<uint8_t> data) in macho_section()
174 const std::span<uint8_t> slice_contents;
342 image(std::span<uint8_t> contents, size_t mh_offs = 0) in image()
346 std::span<uint8_t> commands = contents.subspan(mh_offs + sizeof(*hdr));
366 const std::span<section_64> sections((section_64 *)(seg_cmd + 1), seg_cmd->nsects);
483 do_simple_macho(const std::string filename, std::span<uint8_t> contents) in do_simple_macho()
491 do_fat_macho(const std::string filename, std::span<uint8_t> contents) in do_fat_macho()
494 std::span<fat_arch> fat_archs( in do_fat_macho()
523 do_fileset(std::span<uint8_t> contents) in do_fileset()
[all …]
/xnu-11215.1.10/tools/lldbmacros/
H A Dnet.py2129 span = rxseg.rx_end - rxseg.rx_start
2131 …_format.format(cnt, rxseg, rxseg.rx_start, rxseg.rx_end, rxseg.rx_count, rxseg.rx_flags, abs(span))