Home
last modified time | relevance | path

Searched refs:Sized (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython2/Lib/
D_abcoll.py91 class Sized: class
100 if cls is Sized:
139 class Set(Sized, Iterable, Container):
365 class Mapping(Sized, Iterable, Container):
431 class MappingView(Sized):
590 class Sequence(Sized, Iterable, Container):
/external/python/cpython3/Doc/library/
Dcollections.abc.rst46 :class:`Sized` ``__len__``
48 :class:`Collection` :class:`Sized`, ``__contains__``,
85 :class:`MappingView` :class:`Sized` ``__len__``
102 Sized
244 if isinstance(myvar, collections.abc.Sized):
Dtyping.rst268 from typing import TypeVar, Generic, Sized
272 class LinkedList(Sized, Generic[T]):
550 .. class:: Sized
552 An alias to :class:`collections.abc.Sized`
554 .. class:: Collection(Sized, Iterable[T_co], Container[T_co])
560 .. class:: AbstractSet(Sized, Collection[T_co])
568 .. class:: Mapping(Sized, Collection[KT], Generic[VT_co])
631 .. class:: MappingView(Sized, Iterable[T_co])
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/
Dinvalid-datalayout5.ll3 ; CHECK: Sized aggregate specification in datalayout string
/external/llvm/test/Assembler/
Dinvalid-datalayout5.ll3 ; CHECK: Sized aggregate specification in datalayout string
/external/python/cpython3/Lib/test/
Dtest_functools.py1739 c.Collection, c.Sized, c.Iterable,
1745 c.Collection, c.Sized, c.Iterable,
1752 bases = [c.Container, c.Sized, str]
1754 m = mro(collections.defaultdict, [c.Sized, c.Container, str])
1755 self.assertEqual(m, [collections.defaultdict, dict, c.Sized,
1769 c.Collection, c.Sized, c.Iterable, c.Container,
1778 bases = [c.Sized, c.Callable, c.Container, c.Mapping]
1782 c.Collection, c.Sized, c.Iterable,
1800 g.register(c.Sized, lambda obj: "sized")
1895 expected = [X, c.Callable, D, C, c.Container, B, c.Sized, A, object]
[all …]
Dtest_dictviews.py270 self.assertIsInstance(d.keys(), collections.abc.Sized)
276 self.assertIsInstance(d.values(), collections.abc.Sized)
281 self.assertIsInstance(d.items(), collections.abc.Sized)
Dtest_collections.py24 from collections.abc import Sized, Container, Callable, Collection
1140 self.assertNotIsInstance(x, Sized)
1141 self.assertFalse(issubclass(type(x), Sized), repr(type(x)))
1147 self.assertIsInstance(x, Sized)
1148 self.assertTrue(issubclass(type(x), Sized), repr(type(x)))
1149 self.validate_abstract_methods(Sized, '__len__')
1150 self.validate_isinstance(Sized, '__len__')
1191 for B in Hashable, Iterable, Iterator, Reversible, Sized, Container, Callable:
1198 for B in Hashable, Iterable, Iterator, Reversible, Sized, Container, Callable:
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h216 class Sized : public Object {
218 Sized(const uint8_t *data, uint8_t byte_width) : Object(data, byte_width) {} in Sized() function
224 class String : public Sized {
226 String(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in String()
239 class Blob : public Sized {
242 : Sized(data_buf, byte_width) {} in Blob()
252 class Vector : public Sized {
254 Vector(const uint8_t *data, uint8_t byte_width) : Sized(data, byte_width) {} in Vector()
265 class TypedVector : public Sized {
268 : Sized(data, byte_width), type_(element_type) {} in TypedVector()
/external/python/cpython2/Lib/test/
Dtest_collections.py17 from collections import Sized, Container, Callable
426 self.assertNotIsInstance(x, Sized)
427 self.assertFalse(issubclass(type(x), Sized), repr(type(x)))
433 self.assertIsInstance(x, Sized)
434 self.assertTrue(issubclass(type(x), Sized), repr(type(x)))
435 self.validate_abstract_methods(Sized, '__len__')
436 self.validate_isinstance(Sized, '__len__')
477 for B in Hashable, Iterable, Iterator, Sized, Container, Callable:
484 for B in Hashable, Iterable, Iterator, Sized, Container, Callable:
Dtest_dictviews.py195 self.assertIsInstance(d.viewkeys(), collections.Sized)
201 self.assertIsInstance(d.viewvalues(), collections.Sized)
206 self.assertIsInstance(d.viewitems(), collections.Sized)
/external/python/cpython3/Lib/
D_collections_abc.py359 class Sized(metaclass=ABCMeta): class
369 if cls is Sized:
388 class Collection(Sized, Iterable, Container):
694 class MappingView(Sized):
Dtyping.py1201 Sized = _alias(collections.abc.Sized, ()) # Not generic. variable
/external/flatbuffers/rust/flatbuffers/src/
Dpush.rs25 pub trait Push: Sized {
Dendian_scalar.rs29 pub trait EndianScalar: Sized + PartialEq + Copy + Clone {
Dvector.rs90 pub fn follow_cast_ref<'a, T: Sized + 'a>(buf: &'a [u8], loc: usize) -> &'a T { in follow_cast_ref()
Dbuilder.rs251 …pub fn create_vector_direct<'a: 'b, 'b, T: SafeSliceAccess + Push + Sized + 'b>(&'a mut self, item… in create_vector_direct()
/external/grpc-grpc/test/cpp/util/
Dslice_test.cc51 TEST_F(SliceTest, Sized) { in TEST_F() argument
/external/mesa3d/docs/specs/
DMESA_texture_signed_rgba.spec201 Add to Table 3.16 (page 154): Sized internal formats
203 Sized Base R G B A L I D
/external/scapy/scapy/contrib/
Dhttp2.py43 from typing import Optional, List, Union, Callable, Any, Tuple, Sized
45 class Sized(object): pass class
635 class HPackStringsInterface(six.with_metaclass(abc.ABCMeta, Sized)):
2096 class HPackHdrEntry(Sized):
2146 class HPackHdrTable(Sized):
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DR.java589 public static final int Sized=0x7f12000e; field in R.style
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
D_typecheck.py135 and isinstance(instance, collections.Sized)
/external/python/cpython2/Doc/library/
Dcollections.rst904 :class:`Sized` ``__len__``
907 :class:`Sequence` :class:`Sized`, ``__getitem__``, ``__contains__``, ``__ite…
917 :class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, `…
927 :class:`Mapping` :class:`Sized`, ``__getitem__``, ``__contains__``, ``keys`…
938 :class:`MappingView` :class:`Sized` ``__len__``
949 Sized
992 if isinstance(myvar, collections.Sized):
/external/llvm/docs/
DSegmentedStacks.rst63 Variable Sized Allocas
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DSegmentedStacks.rst63 Variable Sized Allocas

12