/prebuilts/go/linux-x86/src/encoding/gob/ |
dec_helpers.go | 53 // 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 slice[i] = state.decodeUint() != 0 76 // Can only slice if it is addressable. 80 return decComplex64Slice(state, v.Slice(0, v.Len()), length, ovfl) 84 slice, ok := v.Interface().([]complex64) 91 errorf("decoding complex64 array or slice: length exceeds input size (%d elements)", length) 95 slice[i] = complex(float32(real), float32(imag) [all...] |
encgen.go | 157 printMaps(&b, "Slice") 196 // Can only slice if it is addressable. 200 return enc%[2]sSlice(state, v.Slice(0, v.Len())) 206 slice, ok := v.Interface().([]%[1]s) 211 for _, x := range slice {
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
inl.go | 76 typecheckslice(fn.Func.Inl.Slice(), Etop) 163 n.Func.Inl.Set(fn.Nbody.Slice()) 164 fn.Nbody.Set(inlcopylist(n.Func.Inl.Slice())) 184 for _, n := range ll.Slice() { 300 m.List.Set(inlcopylist(n.List.Slice())) 301 m.Rlist.Set(inlcopylist(n.Rlist.Slice())) 302 m.Ninit.Set(inlcopylist(n.Ninit.Slice())) 303 m.Nbody.Set(inlcopylist(n.Nbody.Slice())) 325 n.List.Set(n.Nbody.Slice()) 336 return addinit(r, append(n.Ninit.Slice(), n.Nbody.Slice()...) [all...] |
closure.go | 25 n.List.Set(ntype.List.Slice()) 27 n.Rlist.Set(ntype.Rlist.Slice()) 30 for _, n1 := range n.List.Slice() { 42 for _, n2 := range n.Rlist.Slice() { 65 for _, v := range func_.Func.Cvars.Slice() { 105 for _, ln := range func_.Func.Cvars.Slice() { 140 typecheckslice(func_.Nbody.Slice(), Etop) 207 xtype.List.Set(func_.List.Slice()) 208 xtype.Rlist.Set(func_.Rlist.Slice()) 225 xfunc.Nbody.Set(func_.Nbody.Slice()) [all...] |
sinit.go | 39 for _, n1 := range n.List.Slice() { 137 for _, n2 := range defn.Rlist.Slice() { 222 for _, n := range l.Slice() { 235 initreorder(n.Ninit.Slice(), out) 326 // copy slice 425 // Init slice. 625 for _, n1 := range n.List.Slice() { 646 for _, r := range n.List.Slice() { 656 for _, r := range n.List.Slice() { 701 // fixedlit handles struct, array, and slice literals [all...] |
typecheck.go | 79 TSLICE: "slice", 87 return "slice" 225 for _, n := range l.Slice() { 234 // array/slice indexes. It is equivalent to defaultlit 446 n.Type = tostruct(n.List.Slice()) 456 n.Type = tointerface(n.List.Slice()) 464 n.Type = functype(n.Left, n.List.Slice(), n.Rlist.Slice()) 671 // restrict to slice/map/func == nil and nil == slice/map/func [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
inl.go | 76 typecheckslice(fn.Func.Inl.Slice(), Etop) 163 n.Func.Inl.Set(fn.Nbody.Slice()) 164 fn.Nbody.Set(inlcopylist(n.Func.Inl.Slice())) 184 for _, n := range ll.Slice() { 300 m.List.Set(inlcopylist(n.List.Slice())) 301 m.Rlist.Set(inlcopylist(n.Rlist.Slice())) 302 m.Ninit.Set(inlcopylist(n.Ninit.Slice())) 303 m.Nbody.Set(inlcopylist(n.Nbody.Slice())) 325 n.List.Set(n.Nbody.Slice()) 336 return addinit(r, append(n.Ninit.Slice(), n.Nbody.Slice()...) [all...] |
closure.go | 25 n.List.Set(ntype.List.Slice()) 27 n.Rlist.Set(ntype.Rlist.Slice()) 30 for _, n1 := range n.List.Slice() { 42 for _, n2 := range n.Rlist.Slice() { 65 for _, v := range func_.Func.Cvars.Slice() { 105 for _, ln := range func_.Func.Cvars.Slice() { 140 typecheckslice(func_.Nbody.Slice(), Etop) 207 xtype.List.Set(func_.List.Slice()) 208 xtype.Rlist.Set(func_.Rlist.Slice()) 225 xfunc.Nbody.Set(func_.Nbody.Slice()) [all...] |
sinit.go | 39 for _, n1 := range n.List.Slice() { 137 for _, n2 := range defn.Rlist.Slice() { 222 for _, n := range l.Slice() { 235 initreorder(n.Ninit.Slice(), out) 326 // copy slice 425 // Init slice. 625 for _, n1 := range n.List.Slice() { 646 for _, r := range n.List.Slice() { 656 for _, r := range n.List.Slice() { 701 // fixedlit handles struct, array, and slice literals [all...] |
typecheck.go | 79 TSLICE: "slice", 87 return "slice" 225 for _, n := range l.Slice() { 234 // array/slice indexes. It is equivalent to defaultlit 446 n.Type = tostruct(n.List.Slice()) 456 n.Type = tointerface(n.List.Slice()) 464 n.Type = functype(n.Left, n.List.Slice(), n.Rlist.Slice()) 671 // restrict to slice/map/func == nil and nil == slice/map/func [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
index_sub_table_format1.cc | 123 data->Slice(index_sub_table_offset, length))); 147 data->Slice(index_sub_table_offset, length))); 190 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( 192 target.Attach(down_cast<WritableFontData*>(new_data->Slice(
|
index_sub_table_format3.cc | 136 data->Slice(index_sub_table_offset, length))); 159 data->Slice(index_sub_table_offset, length))); 202 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( 204 target.Attach(down_cast<WritableFontData*>(new_data->Slice(
|
eblc_table.cc | 72 data->Slice(Offset::kBitmapSizeTableArrayStart + 167 new_data->Slice(index_sub_table_offset))); 186 new_data->Slice(size_table_offset))); 302 data->Slice(Offset::kBitmapSizeTableArrayStart +
|
ebdt_table.cc | 38 glyph_data.Attach(down_cast<ReadableFontData*>(data_->Slice(offset, length))); 110 WritableFontDataPtr slice; local 111 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); 112 size += glyph_entry->second->SubSerialize(slice); 223 ReadableFontDataPtr slice; local 224 slice.Attach(down_cast<ReadableFontData*>(data->Slice( 228 slice, info->format()));
|
index_sub_table_format4.cc | 170 data->Slice(index_sub_table_offset, length))); 193 data->Slice(index_sub_table_offset, length))); 237 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( 239 target.Attach(down_cast<WritableFontData*>(new_data->Slice(
|
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 260 ReadableFontDataPtr slice; local 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 278 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 287 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 295 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 231 frame.insert( "BY", Slice( m_type, 238 frame.insert( "Y", Slice( m_type, 245 frame.insert( "RY", Slice( m_type, 254 frame.insert( "Y", Slice( m_type, 257 frame.insert( "Y", Slice( m_type, 260 frame.insert( "Y", Slice( m_type, 270 frame.insert( "Y", Slice( m_type, 280 frame.insert( "B", Slice( m_type, 287 frame.insert( "G", Slice( m_type, 294 frame.insert( "R", Slice( m_type [all...] |
/external/llvm/tools/obj2yaml/ |
macho2yaml.cpp | 485 for (auto Slice : Obj.objects()) { 487 arch.cputype = Slice.getCPUType(); 488 arch.cpusubtype = Slice.getCPUSubType(); 489 arch.offset = Slice.getOffset(); 490 arch.size = Slice.getSize(); 491 arch.align = Slice.getAlign(); 492 arch.reserved = Slice.getReserved(); 495 auto SliceObj = Slice.getAsObjectFile();
|
/system/netd/server/ |
InterfaceControllerTest.cpp | 36 using netdutils::Slice; 76 EXPECT_CALL(mSyscalls, read(kDevRandomFd, _)).WillOnce(Invoke([data](Fd, const Slice buf) { 98 .WillOnce(Invoke([val, err](Fd, const Slice buf) -> StatusOr<size_t> {
|
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 114 /// \brief A used slice of an alloca. 116 /// This structure represents a slice of an alloca used by some instruction. It 120 class Slice { 127 /// \brief Storage for both the use of this slice and whether it can be 132 Slice() : BeginOffset(), EndOffset() {} 133 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) 154 bool operator<(const Slice &RHS) const { 167 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS, 172 const Slice &RHS) { 176 bool operator==(const Slice &RHS) const [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encgen.go | 157 printMaps(&b, "Slice") 196 // Can only slice if it is addressable. 200 return enc%[2]sSlice(state, v.Slice(0, v.Len())) 206 slice, ok := v.Interface().([]%[1]s) 211 for _, x := range slice {
|
/prebuilts/go/darwin-x86/src/go/types/ |
type.go | 108 // A Slice represents a slice type. 109 type Slice struct { 113 // NewSlice returns a new slice type for the given element type. 114 func NewSlice(elem Type) *Slice { return &Slice{elem} } 116 // Elem returns the element type of slice s. 117 func (s *Slice) Elem() Type { return s.elem } 209 // must be of unnamed slice type. 216 if _, ok := params.At(n - 1).typ.(*Slice); !ok [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
type.go | 108 // A Slice represents a slice type. 109 type Slice struct { 113 // NewSlice returns a new slice type for the given element type. 114 func NewSlice(elem Type) *Slice { return &Slice{elem} } 116 // Elem returns the element type of slice s. 117 func (s *Slice) Elem() Type { return s.elem } 209 // must be of unnamed slice type. 216 if _, ok := params.At(n - 1).typ.(*Slice); !ok [all...] |
/prebuilts/go/darwin-x86/src/reflect/ |
value.go | 235 // or slice element in order to call a method that requires a 252 // It panics if v's underlying value is not a slice of bytes. 254 v.mustBe(Slice) 256 panic("reflect.Value.Bytes of non-byte slice") 258 // Slice is always bigger than a word; assume flagIndir. 263 // It panics if v's underlying value is not a slice of runes (int32s). 265 v.mustBe(Slice) 267 panic("reflect.Value.Bytes of non-rune slice") 269 // Slice is always bigger than a word; assume flagIndir. 275 // an element of a slice, an element of an addressable array [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
value.go | 235 // or slice element in order to call a method that requires a 252 // It panics if v's underlying value is not a slice of bytes. 254 v.mustBe(Slice) 256 panic("reflect.Value.Bytes of non-byte slice") 258 // Slice is always bigger than a word; assume flagIndir. 263 // It panics if v's underlying value is not a slice of runes (int32s). 265 v.mustBe(Slice) 267 panic("reflect.Value.Bytes of non-rune slice") 269 // Slice is always bigger than a word; assume flagIndir. 275 // an element of a slice, an element of an addressable array [all...] |