Home
last modified time | relevance | path

Searched full:slice (Results 1 – 25 of 13681) sorted by relevance

12345678910>>...548

/aosp_15_r20/prebuilts/go/linux-x86/test/fixedbugs/
Dissue30116.out1 slice[-9876543210] runtime error: index out of range [-9876543210]
2 slice[-1] runtime error: index out of range [-1]
3 slice[0] no panic
4 slice[2] no panic
5 slice[3] runtime error: index out of range [3] with length 3
6slice[9876543210] runtime error: index out of range [9876543210] with length 3
19 slice[-9876543210:-9876543210] runtime error: slice bounds out of range [:-9876543210]
20 slice[-9876543210:-1] runtime error: slice bounds out of range [:-1]
21 slice[-9876543210:0] runtime error: slice bounds out of range [-9876543210:]
22 slice[-9876543210:3] runtime error: slice bounds out of range [-9876543210:]
[all …]
Dissue30116u.out1 slice[0] no panic
2 slice[2] no panic
3slice[3] runtime error: index out of range [3] with length 3
4slice[4294967295] runtime error: index out of range [4294967295] with length 3
5slice[18446744073709551615] runtime error: index out of range [18446744073709551615] with length 3
16 slice[0:0] no panic
17 slice[0:3] no panic
18slice[0:4] runtime error: slice bounds out of range [:4] with capacity 3
19slice[0:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
20slice[0:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] wit…
[all …]
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/slice/slice-builders/1.1.0-alpha02/androidx.slice_slice-builders/android_common/aar/
Dclasses.jar ... androidx/ androidx/slice/ androidx/slice/builders/ androidx/slice/builders/impl/ androidx ...
Dandroidx.slice_slice-builders.jar ... androidx/ androidx/slice/ androidx/slice/builders/ androidx/slice/builders/impl/ androidx ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/slice/slice-view/1.1.0-alpha02/androidx.slice_slice-view/android_common/aar/
Dandroidx.slice_slice-view.jar ... androidx.slice.Slice s androidx.slice.Slice$Builder slice androidx.slice.SliceItem ttlItem androidx ...
Dclasses.jar ... androidx.slice.Slice s androidx.slice.Slice$Builder slice androidx.slice.SliceItem ttlItem androidx ...
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/slice/slice-core/1.1.0-alpha02/androidx.slice_slice-core/android_common/aar/
Dandroidx.slice_slice-core.jar ... ) androidx.slice.Slice slice public androidx.slice.Slice$Builder addSubSlice (androidx.slice. ...
Dclasses.jar ... ) androidx.slice.Slice slice public androidx.slice.Slice$Builder addSubSlice (androidx.slice. ...
/aosp_15_r20/prebuilts/go/linux-x86/test/
Dslice3err.go10 var slice []int var
20 …// ERROR "middle index required in 3-index slice|invalid slice indices" "final index required in 3…
21 …// ERROR "middle index required in 3-index slice|invalid slice indices" "final index required in 3…
22 _ = array[:j:] // ERROR "final index required in 3-index slice|invalid slice indices"
23 _ = array[i:j:] // ERROR "final index required in 3-index slice|invalid slice indices"
24 _ = array[::k] // ERROR "middle index required in 3-index slice|invalid slice indices"
25 _ = array[i::k] // ERROR "middle index required in 3-index slice|invalid slice indices"
29 _ = slice[:]
30 _ = slice[i:]
31 _ = slice[:j]
[all …]
/aosp_15_r20/external/grpc-grpc/test/core/slice/
H A Dslice_test.cc19 #include "src/core/lib/slice/slice.h"
34 #include <grpc/slice.h>
40 #include "src/core/lib/slice/slice_internal.h"
41 #include "src/core/lib/slice/slice_refcount.h"
49 grpc_slice slice; in TEST() local
52 slice = grpc_slice_malloc(length); in TEST()
53 // If there is a length, slice.data must be non-NULL. If length is zero in TEST()
56 EXPECT_NE(slice.data.refcounted.bytes, nullptr); in TEST()
58 // Returned slice length must be what was requested. in TEST()
59 EXPECT_EQ(GRPC_SLICE_LENGTH(slice), length); in TEST()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/slice/
H A Dindex.rs44 panic!("range start index {index} out of range for slice of length {len}"); in slice_start_index_len_fail_rt()
50 panic!("slice start index is out of range for slice"); in slice_start_index_len_fail_ct()
65 panic!("range end index {index} out of range for slice of length {len}"); in slice_end_index_len_fail_rt()
71 panic!("slice end index is out of range for slice"); in slice_end_index_len_fail_ct()
86 panic!("slice index starts at {index} but ends at {end}"); in slice_index_order_fail_rt()
92 panic!("slice index start is larger than end"); in slice_index_order_fail_ct()
99 panic!("attempted to index slice from after maximum usize"); in slice_start_index_overflow_fail()
106 panic!("attempted to index slice up to maximum usize"); in slice_end_index_overflow_fail()
198 label = "slice indices are of type `usize` or ranges of `usize`"
208 fn get(self, slice: &T) -> Option<&Self::Output>; in get()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/slice/
H A Dindex.rs44 panic!("range start index {index} out of range for slice of length {len}"); in slice_start_index_len_fail_rt()
50 panic!("slice start index is out of range for slice"); in slice_start_index_len_fail_ct()
65 panic!("range end index {index} out of range for slice of length {len}"); in slice_end_index_len_fail_rt()
71 panic!("slice end index is out of range for slice"); in slice_end_index_len_fail_ct()
86 panic!("slice index starts at {index} but ends at {end}"); in slice_index_order_fail_rt()
92 panic!("slice index start is larger than end"); in slice_index_order_fail_ct()
99 panic!("attempted to index slice from after maximum usize"); in slice_start_index_overflow_fail()
106 panic!("attempted to index slice up to maximum usize"); in slice_end_index_overflow_fail()
198 label = "slice indices are of type `usize` or ranges of `usize`"
208 fn get(self, slice: &T) -> Option<&Self::Output>; in get()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/slice/
H A Dindex.rs44 panic!("range start index {index} out of range for slice of length {len}"); in slice_start_index_len_fail_rt()
50 panic!("slice start index is out of range for slice"); in slice_start_index_len_fail_ct()
65 panic!("range end index {index} out of range for slice of length {len}"); in slice_end_index_len_fail_rt()
71 panic!("slice end index is out of range for slice"); in slice_end_index_len_fail_ct()
86 panic!("slice index starts at {index} but ends at {end}"); in slice_index_order_fail_rt()
92 panic!("slice index start is larger than end"); in slice_index_order_fail_ct()
99 panic!("attempted to index slice from after maximum usize"); in slice_start_index_overflow_fail()
106 panic!("attempted to index slice up to maximum usize"); in slice_end_index_overflow_fail()
198 label = "slice indices are of type `usize` or ranges of `usize`"
208 fn get(self, slice: &T) -> Option<&Self::Output>; in get()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/slice/
H A Dindex.rs44 panic!("range start index {index} out of range for slice of length {len}"); in slice_start_index_len_fail_rt()
50 panic!("slice start index is out of range for slice"); in slice_start_index_len_fail_ct()
65 panic!("range end index {index} out of range for slice of length {len}"); in slice_end_index_len_fail_rt()
71 panic!("slice end index is out of range for slice"); in slice_end_index_len_fail_ct()
86 panic!("slice index starts at {index} but ends at {end}"); in slice_index_order_fail_rt()
92 panic!("slice index start is larger than end"); in slice_index_order_fail_ct()
99 panic!("attempted to index slice from after maximum usize"); in slice_start_index_overflow_fail()
106 panic!("attempted to index slice up to maximum usize"); in slice_end_index_overflow_fail()
149 label = "slice indices are of type `usize` or ranges of `usize`"
159 fn get(self, slice: &T) -> Option<&Self::Output>; in get()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/slice/
H A Dindex.rs44 panic!("range start index {index} out of range for slice of length {len}"); in slice_start_index_len_fail_rt()
50 panic!("slice start index is out of range for slice"); in slice_start_index_len_fail_ct()
65 panic!("range end index {index} out of range for slice of length {len}"); in slice_end_index_len_fail_rt()
71 panic!("slice end index is out of range for slice"); in slice_end_index_len_fail_ct()
86 panic!("slice index starts at {index} but ends at {end}"); in slice_index_order_fail_rt()
92 panic!("slice index start is larger than end"); in slice_index_order_fail_ct()
99 panic!("attempted to index slice from after maximum usize"); in slice_start_index_overflow_fail()
106 panic!("attempted to index slice up to maximum usize"); in slice_end_index_overflow_fail()
149 label = "slice indices are of type `usize` or ranges of `usize`"
159 fn get(self, slice: &T) -> Option<&Self::Output>; in get()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/str/
H A Dtraits.rs8 use crate::slice::SliceIndex;
87 /// Returns a slice of the whole string, i.e., returns `&self` or `&mut
102 fn get(self, slice: &str) -> Option<&Self::Output> { in get()
103 Some(slice) in get()
106 fn get_mut(self, slice: &mut str) -> Option<&mut Self::Output> { in get_mut()
107 Some(slice) in get_mut()
110 unsafe fn get_unchecked(self, slice: *const str) -> *const Self::Output { in get_unchecked()
111 slice in get_unchecked()
114 unsafe fn get_unchecked_mut(self, slice: *mut str) -> *mut Self::Output { in get_unchecked_mut()
115 slice in get_unchecked_mut()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/str/
H A Dtraits.rs8 use crate::slice::SliceIndex;
87 /// Returns a slice of the whole string, i.e., returns `&self` or `&mut
102 fn get(self, slice: &str) -> Option<&Self::Output> { in get()
103 Some(slice) in get()
106 fn get_mut(self, slice: &mut str) -> Option<&mut Self::Output> { in get_mut()
107 Some(slice) in get_mut()
110 unsafe fn get_unchecked(self, slice: *const str) -> *const Self::Output { in get_unchecked()
111 slice in get_unchecked()
114 unsafe fn get_unchecked_mut(self, slice: *mut str) -> *mut Self::Output { in get_unchecked_mut()
115 slice in get_unchecked_mut()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/str/
H A Dtraits.rs8 use crate::slice::SliceIndex;
87 /// Returns a slice of the whole string, i.e., returns `&self` or `&mut
102 fn get(self, slice: &str) -> Option<&Self::Output> { in get()
103 Some(slice) in get()
106 fn get_mut(self, slice: &mut str) -> Option<&mut Self::Output> { in get_mut()
107 Some(slice) in get_mut()
110 unsafe fn get_unchecked(self, slice: *const str) -> *const Self::Output { in get_unchecked()
111 slice in get_unchecked()
114 unsafe fn get_unchecked_mut(self, slice: *mut str) -> *mut Self::Output { in get_unchecked_mut()
115 slice in get_unchecked_mut()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/transport/
Dudp_slice.rs3 /// Slice containing the UDP headers & payload.
6 slice: &'a [u8], field
10 /// Decode length from UDP header and restrict slice to the length
13 /// Note that this method fall backs to the length of the slice
15 pub fn from_slice(slice: &'a [u8]) -> Result<UdpSlice<'a>, LenError> { in from_slice()
16 // slice header in from_slice()
17 let header = UdpHeaderSlice::from_slice(slice)?; in from_slice()
19 // validate the length of the slice in from_slice()
21 if slice.len() < len { in from_slice()
24 len: slice.len(), in from_slice()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/gob/
Ddec_helpers.go53 // Can only slice if it is addressable.
57 return decBoolSlice(state, v.Slice(0, v.Len()), length, ovfl)
61 slice, ok := v.Interface().([]bool)
68 errorf("decoding bool array or slice: length exceeds input size (%d elements)", length)
70 if i >= len(slice) {
71 // This is a slice that we only partially allocated.
72 growSlice(v, &slice, length)
74 slice[i] = state.decodeUint() != 0
80 // Can only slice if it is addressable.
84 return decComplex64Slice(state, v.Slice(0, v.Len()), length, ovfl)
[all …]
/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/slice/slice-view/1.1.0-alpha02/androidx.slice_slice-view/android_common/busybox/
DR.jar ... package androidx.slice.view public final androidx.slice.view.R$attr extends java.lang ...
/aosp_15_r20/external/grpc-grpc/src/core/lib/slice/
H A Dslice.h29 #include <grpc/event_engine/slice.h>
30 #include <grpc/slice.h>
35 #include "src/core/lib/slice/slice_internal.h"
36 #include "src/core/lib/slice/slice_refcount.h"
38 // Herein lies grpc_core::Slice and its team of thin wrappers around grpc_slice.
43 // Slice - provides a wrapper around an unknown type of slice.
46 // StaticSlice - provides a wrapper around a static slice. Not refcounted,
51 // This slice implementation is an extension of the EventEngine Slice
52 // implementation defined in <grpc/event_engine/slice.h>. Changes to this
53 // implementation might warrant changes to the public EventEngine Slice
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv4_header_slice.rs1 use core::slice::from_raw_parts;
7 /// A slice containing an ipv4 header of a network package.
10 slice: &'a [u8], field
14 /// Creates a slice containing an ipv4 header (including header options).
19 /// * [`crate::Ipv4Slice::from_slice`] (just identifies slice ranges)
27 /// for a laxer version which falls back to slice length only when the total_length
29 pub fn from_slice(slice: &'a [u8]) -> Result<Ipv4HeaderSlice<'a>, err::ipv4::HeaderSliceError> { in from_slice()
34 if slice.len() < Ipv4Header::MIN_LEN { in from_slice()
37 len: slice.len(), in from_slice()
38 len_source: LenSource::Slice, in from_slice()
[all …]
/aosp_15_r20/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/
H A DSliceQueries.kt25 import trebuchet.model.base.Slice in <lambda>()
42 fun beginSlice(slice: Slice): TraverseAction = TraverseAction.VISIT_CHILDREN in beginSlice()
43 fun endSlice(slice: Slice) {} in beginSlice()
48 Exception("Unable to find slice. PID = $pid, Type = $type" +
53 Exception("Unable to find slice. PID = $pid, Type = $type" +
60 Exception("Unable to find slice. PID = $pid, Pattern = $pattern")
64 Exception("Unable to find slice. PID = $pid, Pattern = $pattern" +
75 fun Model.selectAll(predicate: (Slice) -> Boolean): List<Slice> { in selectAll()
76 val ret = mutableListOf<Slice>() in selectAll()
90 fun ProcessModel.selectAll(predicate : (Slice) -> Boolean) : List<Slice> { in ProcessModel()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice.h29 #include <grpc/event_engine/slice.h>
30 #include <grpc/slice.h>
35 #include "src/core/lib/slice/slice_internal.h"
36 #include "src/core/lib/slice/slice_refcount.h"
38 // Herein lies grpc_core::Slice and its team of thin wrappers around grpc_slice.
43 // Slice - provides a wrapper around an unknown type of slice.
46 // StaticSlice - provides a wrapper around a static slice. Not refcounted,
51 // This slice implementation is an extension of the EventEngine Slice
52 // implementation defined in <grpc/event_engine/slice.h>. Changes to this
53 // implementation might warrant changes to the public EventEngine Slice
[all …]

12345678910>>...548