/aosp_15_r20/external/pytorch/functorch/csrc/dim/ |
H A D | arena.h | 31 struct Slice { struct 32 Slice() in Slice() argument 38 T* begin() const { in begin() 41 T* end() const { in end() 44 int size() const { in size() 70 void insert(Arena& arena, Slice where, Slice to_insert); argument 71 void insert(Arena& arena, Slice where, T v) { in insert() argument 78 void extend(Arena& arena, Slice to_insert); argument 80 return extend(arena, Slice<T>((T*)begin, (T*)end)); in extend() argument 86 insert(A, slice(*idx, *idx + 1), Slice()); in remove() argument [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/asm/internal/lex/ |
D | slice.go | 14 type Slice struct { struct 15 tokens []Token 16 base *src.PosBase 17 line int 18 pos int 30 func (s *Slice) Next() ScanToken { 38 func (s *Slice) Text() string { 42 func (s *Slice) File() string { 46 func (s *Slice) Base() *src.PosBase { 50 func (s *Slice) SetBase(base *src.PosBase) { [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/os_str/ |
H A D | wtf8.rs | 49 pub struct Slice { struct 53 impl fmt::Debug for Slice { argument 59 impl fmt::Display for Slice { implementation 92 pub fn as_slice(&self) -> &Slice { in as_slice() 99 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 112 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 142 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 147 pub fn into_box(self) -> Box<Slice> { in into_box() 158 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 163 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
H A D | bytes.rs | 24 pub struct Slice { struct 28 impl fmt::Debug for Slice { implementation 34 impl fmt::Display for Slice { implementation 156 pub fn as_slice(&self) -> &Slice { in as_slice() 164 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 175 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 180 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 185 pub fn into_box(self) -> Box<Slice> { in into_box() 196 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 201 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/os_str/ |
H A D | wtf8.rs | 49 pub struct Slice { struct 53 impl fmt::Debug for Slice { argument 59 impl fmt::Display for Slice { implementation 92 pub fn as_slice(&self) -> &Slice { in as_slice() 99 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 112 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 142 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 147 pub fn into_box(self) -> Box<Slice> { in into_box() 158 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 163 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
H A D | bytes.rs | 24 pub struct Slice { struct 28 impl fmt::Debug for Slice { implementation 34 impl fmt::Display for Slice { implementation 156 pub fn as_slice(&self) -> &Slice { in as_slice() 164 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 175 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 180 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 185 pub fn into_box(self) -> Box<Slice> { in into_box() 196 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 201 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/os_str/ |
H A D | wtf8.rs | 49 pub struct Slice { struct 53 impl fmt::Debug for Slice { argument 59 impl fmt::Display for Slice { implementation 92 pub fn as_slice(&self) -> &Slice { in as_slice() 99 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 112 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 142 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 147 pub fn into_box(self) -> Box<Slice> { in into_box() 158 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 163 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
H A D | bytes.rs | 24 pub struct Slice { struct 28 impl fmt::Debug for Slice { argument 34 impl fmt::Display for Slice { implementation 156 pub fn as_slice(&self) -> &Slice { in as_slice() 164 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 175 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 180 pub fn leak<'a>(self) -> &'a mut Slice { in leak() 185 pub fn into_box(self) -> Box<Slice> { in into_box() 196 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 201 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/os_str/ |
H A D | wtf8.rs | 49 pub struct Slice { struct 53 impl fmt::Debug for Slice { argument 59 impl fmt::Display for Slice { implementation 92 pub fn as_slice(&self) -> &Slice { in as_slice() 99 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 112 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 142 pub fn into_box(self) -> Box<Slice> { in into_box() 153 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 158 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() 169 impl Slice { impl [all …]
|
H A D | bytes.rs | 24 pub struct Slice { struct 28 impl fmt::Debug for Slice { implementation 34 impl fmt::Display for Slice { implementation 156 pub fn as_slice(&self) -> &Slice { in as_slice() 164 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 175 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 180 pub fn into_box(self) -> Box<Slice> { in into_box() 191 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 196 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() 207 impl Slice { implementation [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/os_str/ |
H A D | wtf8.rs | 49 pub struct Slice { struct 53 impl fmt::Debug for Slice { implementation 59 impl fmt::Display for Slice { implementation 92 pub fn as_slice(&self) -> &Slice { in as_slice() 99 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 112 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 142 pub fn into_box(self) -> Box<Slice> { in into_box() 153 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 158 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() 169 impl Slice { impl [all …]
|
H A D | bytes.rs | 24 pub struct Slice { struct 28 impl fmt::Debug for Slice { argument 34 impl fmt::Display for Slice { implementation 156 pub fn as_slice(&self) -> &Slice { in as_slice() 164 pub fn as_mut_slice(&mut self) -> &mut Slice { in as_mut_slice() 175 pub fn push_slice(&mut self, s: &Slice) { in push_slice() 180 pub fn into_box(self) -> Box<Slice> { in into_box() 191 pub fn into_arc(&self) -> Arc<Slice> { in into_arc() 196 pub fn into_rc(&self) -> Rc<Slice> { in into_rc() 207 impl Slice { implementation [all …]
|
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/ext/tracing/core/ |
H A D | slice.h | 33 struct Slice { struct 34 Slice() : start(nullptr), size(0) {} in Slice() argument 35 Slice(const void* st, size_t sz) : start(st), size(sz) {} in Slice() function 39 static Slice Allocate(size_t size) { in Allocate() argument 47 static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) { in TakeOwnership() argument 64 Slice(const Slice&) = delete; argument 65 void operator=(const Slice&) = delete; argument 73 using Slices = std::vector<Slice>; argument
|
/aosp_15_r20/external/perfetto/include/perfetto/ext/tracing/core/ |
H A D | slice.h | 33 struct Slice { struct 34 Slice() : start(nullptr), size(0) {} in Slice() argument 35 Slice(const void* st, size_t sz) : start(st), size(sz) {} in Slice() function 39 static Slice Allocate(size_t size) { in Allocate() argument 47 static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) { in TakeOwnership() argument 64 Slice(const Slice&) = delete; argument 65 void operator=(const Slice&) = delete; argument 73 using Slices = std::vector<Slice>; argument
|
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/token/ |
D | mod.rs | 138 pub fn tag<T, I, Error: ParserError<I>>(tag: T) -> impl Parser<I, <I as Stream>::Slice, Error> in tag() 157 ) -> PResult<<I as Stream>::Slice, Error> in tag_() 224 ) -> impl Parser<I, <I as Stream>::Slice, Error> in tag_no_case() 244 ) -> PResult<<I as Stream>::Slice, Error> in tag_no_case_() 505 ) -> impl Parser<I, <I as Stream>::Slice, Error> in take_while() 546 ) -> PResult<<I as Stream>::Slice, Error> in take_while0_() 562 ) -> PResult<<I as Stream>::Slice, Error> in take_while1_() 580 ) -> PResult<<I as Stream>::Slice, Error> in take_while_m_n_() 596 ) -> PResult<<I as Stream>::Slice, E> in take_till0_partial() 615 ) -> PResult<<I as Stream>::Slice, E> in take_till1_partial() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/include/grpcpp/support/ |
D | slice.h | 36 Slice() : slice_(grpc_empty_slice()) {} in Slice() function 42 Slice(grpc_slice slice, AddRef) : slice_(grpc_slice_ref(slice)) {} in Slice() function 46 Slice(grpc_slice slice, StealRef) : slice_(slice) {} in Slice() function 49 explicit Slice(size_t len) : slice_(grpc_slice_malloc(len)) {} in Slice() function 52 Slice(const void* buf, size_t len) in Slice() function 58 Slice(const std::string& str) in Slice() function 64 Slice(const void* buf, size_t len, StaticSlice) in Slice() function 69 Slice(const Slice& other) : slice_(grpc_slice_ref(other.slice_)) {} in Slice() function 72 Slice(Slice&& other) noexcept : slice_(other.slice_) { in Slice() function 87 Slice(void* buf, size_t len, void (*destroy)(void*), void* user_data) in Slice() function [all …]
|
/aosp_15_r20/external/grpc-grpc/include/grpcpp/support/ |
H A D | slice.h | 36 Slice() : slice_(grpc_empty_slice()) {} in Slice() function 42 Slice(grpc_slice slice, AddRef) : slice_(grpc_slice_ref(slice)) {} in Slice() function 46 Slice(grpc_slice slice, StealRef) : slice_(slice) {} in Slice() function 49 explicit Slice(size_t len) : slice_(grpc_slice_malloc(len)) {} in Slice() function 52 Slice(const void* buf, size_t len) in Slice() function 58 Slice(const std::string& str) in Slice() function 64 Slice(const void* buf, size_t len, StaticSlice) in Slice() function 69 Slice(const Slice& other) : slice_(grpc_slice_ref(other.slice_)) {} in Slice() function 72 Slice(Slice&& other) noexcept : slice_(other.slice_) { in Slice() function 87 Slice(void* buf, size_t len, void (*destroy)(void*), void* user_data) in Slice() function [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/support/ |
D | slice.h | 36 Slice() : slice_(grpc_empty_slice()) {} in Slice() function 42 Slice(grpc_slice slice, AddRef) : slice_(grpc_slice_ref(slice)) {} in Slice() function 46 Slice(grpc_slice slice, StealRef) : slice_(slice) {} in Slice() function 49 explicit Slice(size_t len) : slice_(grpc_slice_malloc(len)) {} in Slice() function 52 Slice(const void* buf, size_t len) in Slice() function 58 Slice(const std::string& str) in Slice() function 64 Slice(const void* buf, size_t len, StaticSlice) in Slice() function 69 Slice(const Slice& other) : slice_(grpc_slice_ref(other.slice_)) {} in Slice() function 72 Slice(Slice&& other) noexcept : slice_(other.slice_) { in Slice() function 87 Slice(void* buf, size_t len, void (*destroy)(void*), void* user_data) in Slice() function [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/ascii/ |
D | mod.rs | 84 pub fn crlf<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in crlf() 129 pub fn till_line_ending<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in till_line_ending() 149 pub fn not_line_ending<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in not_line_ending() 161 ) -> PResult<<I as Stream>::Slice, E> in till_line_ending_() 217 pub fn line_ending<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in line_ending() 339 pub fn alpha0<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in alpha0() 381 pub fn alpha1<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in alpha1() 424 pub fn digit0<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in digit0() 483 pub fn digit1<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in digit1() 525 pub fn hex_digit0<I, E: ParserError<I>>(input: &mut I) -> PResult<<I as Stream>::Slice, E> in hex_digit0() [all …]
|
/aosp_15_r20/external/skia/src/gpu/ganesh/ |
H A D | GrStagingBufferManager.h | 24 struct Slice { struct 25 Slice() {} in Slice() function 26 Slice(GrGpuBuffer* buffer, size_t offset, void* offsetMapPtr) in Slice() argument 33 Slice allocateStagingBufferSlice(size_t size, size_t requiredAlignment = 1); argument
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/rand-0.8.5/src/distributions/ |
H A D | slice.rs | 65 pub struct Slice<'a, T> { struct 70 impl<'a, T> Slice<'a, T> { argument 84 impl<'a, T> Distribution<&'a T> for Slice<'a, T> { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/rand/src/distributions/ |
D | slice.rs | 65 pub struct Slice<'a, T> { struct 70 impl<'a, T> Slice<'a, T> { implementation 84 impl<'a, T> Distribution<&'a T> for Slice<'a, T> { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/annotate-snippets/src/ |
D | snippet.rs | 51 pub struct Slice<'a> { struct 73 /// An annotation for a `Slice`. argument
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/ |
D | slice.go | 8 type Slice struct { struct 9 elem Type 16 func (s *Slice) Elem() Type { return s.elem } 18 func (s *Slice) Underlying() Type { return s } 19 func (s *Slice) String() string { return TypeString(s, nil) }
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/types/ |
D | slice.go | 11 type Slice struct { struct 12 elem Type 19 func (s *Slice) Elem() Type { return s.elem } 21 func (s *Slice) Underlying() Type { return s } 22 func (s *Slice) String() string { return TypeString(s, nil) }
|