Home
last modified time | relevance | path

Searched refs:Repr (Results 1 – 25 of 51) sorted by relevance

123

/external/rust/crates/zerocopy-derive/src/
Drepr.rs13 pub struct Config<Repr: KindRepr> {
26 pub allowed_combinations: &'static [&'static [Repr]],
34 pub disallowed_but_legal_combinations: &'static [&'static [Repr]],
128 match Repr::from_nested_meta(meta)? {
129 $(Repr::$repr_variant => Ok($repr_name::$repr_variant),)*
130 Repr::Align(u) => Ok($repr_name::Align(u)),
153 $($repr_name::$repr_variant => Repr::$repr_variant,)*
154 $repr_name::Align(u) => Repr::Align(*u),
168 pub enum Repr { enum
185 impl Repr { implementation
[all …]
/external/rust/crates/tokio/src/runtime/task/
Derror.rs10 repr: Repr,
15 enum Repr { enum
23 repr: Repr::Cancelled, in cancelled()
30 repr: Repr::Panic(SyncWrapper::new(err)), in panic()
37 matches!(&self.repr, Repr::Cancelled) in is_cancelled()
57 matches!(&self.repr, Repr::Panic(_)) in is_panic()
114 Repr::Panic(p) => Ok(p.into_inner()), in try_into_panic()
138 Repr::Cancelled => write!(fmt, "task {} was cancelled", self.id), in fmt()
139 Repr::Panic(_) => write!(fmt, "task {} panicked", self.id), in fmt()
147 Repr::Cancelled => write!(fmt, "JoinError::Cancelled({:?})", self.id), in fmt()
[all …]
/external/python/cpython2/Doc/library/
Drepr.rst25 .. class:: Repr()
35 This is an instance of :class:`Repr` which is used to provide the :func:`.repr`
42 This is the :meth:`~Repr.repr` method of ``aRepr``. It returns a string
49 Repr Objects
52 :class:`Repr` instances provide several attributes which can be used to provide
57 .. attribute:: Repr.maxlevel
62 .. attribute:: Repr.maxdict
63 Repr.maxlist
64 Repr.maxtuple
65 Repr.maxset
[all …]
/external/python/cpython3/Doc/library/
Dreprlib.rst20 .. class:: Repr()
29 This is an instance of :class:`Repr` which is used to provide the
37 This is the :meth:`~Repr.repr` method of ``aRepr``. It returns a string
71 Repr Objects
74 :class:`Repr` instances provide several attributes which can be used to provide
79 .. attribute:: Repr.maxlevel
84 .. attribute:: Repr.maxdict
85 Repr.maxlist
86 Repr.maxtuple
87 Repr.maxset
[all …]
/external/libtextclassifier/native/utils/utf8/
Dunicodetext.h199 class Repr { // A byte-string.
206 Repr() : data_(nullptr), size_(0), capacity_(0), ours_(true) {} in Repr() function
207 Repr& operator=(Repr&& src);
208 ~Repr() { in ~Repr()
221 Repr& operator=(const Repr&);
222 Repr(const Repr& other);
225 Repr repr_;
Dunicodetext.cc32 UnicodeText::Repr& UnicodeText::Repr::operator=(Repr&& src) { in operator =()
42 void UnicodeText::Repr::PointTo(const char* data, int size) { in PointTo()
50 void UnicodeText::Repr::Copy(const char* data, int size) { in Copy()
55 void UnicodeText::Repr::resize(int new_size) { in resize()
67 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()
85 void UnicodeText::Repr::append(const char* bytes, int byte_length) { in append()
91 void UnicodeText::Repr::clear() { in clear()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py20 def Repr(obj, as_ref=True): function
36 return obj.Repr(as_ref=as_ref)
43 return ('[\n%s\n]' % (',\n'.join(' %s' % Repr(elem, as_ref).replace(
50 Repr(key, as_ref).replace('\n', '\n '),
51 Repr(val, as_ref).replace('\n', '\n '))
70 return ' %s=%s' % (name, Repr(getattr(obj, name), as_ref).replace(
93 def Repr(self, as_ref=True): member in Kind
98 return self.Repr()
116 def Repr(self, as_ref=True): member in ReferenceKind
294 def Repr(self, as_ref=True): member in Field
[all …]
/external/fmtlib/test/fuzzing/
Done-arg.cc10 template <typename T, typename Repr>
11 const T* from_repr(const Repr& r) { return &r; } in from_repr()
18 template <typename T, typename Repr = T>
20 static_assert(sizeof(Repr) <= fixed_size, "Nfixed is too small"); in invoke_fmt()
22 auto repr = assign_from_buf<Repr>(data); in invoke_fmt()
/external/rust/crates/regex-automata/src/
Dsparse.rs188 dfa: &dense::Repr<T, S>, in from_dense_sized()
190 Repr::from_dense_sized(dfa).map(|r| r.into_sparse_dfa()) in from_dense_sized()
241 fn repr(&self) -> &Repr<T, S> { in repr()
411 Repr::from_bytes(buf).into_sparse_dfa() in from_bytes()
510 pub struct Standard<T: AsRef<[u8]>, S: StateID = usize>(Repr<T, S>);
571 pub struct ByteClass<T: AsRef<[u8]>, S: StateID = usize>(Repr<T, S>);
617 struct Repr<T: AsRef<[u8]>, S: StateID = usize> { struct
626 impl<T: AsRef<[u8]>, S: StateID> Repr<T, S> { argument
635 fn as_ref<'a>(&'a self) -> Repr<&'a [u8], S> { in as_ref()
636 Repr { in as_ref()
[all …]
Ddense.rs178 fn repr(&self) -> &Repr<T, S> { in repr()
236 Repr::empty().into_dense_dfa() in empty()
519 Repr::from_bytes(buf).into_dense_dfa() in from_bytes()
535 fn repr_mut(&mut self) -> &mut Repr<Vec<S>, S> { in repr_mut()
673 pub struct Standard<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
733 pub struct ByteClass<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
794 pub struct Premultiplied<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
847 pub struct PremultipliedByteClass<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
897 pub(crate) struct Repr<T, S> { struct
978 impl<S: StateID> Repr<Vec<S>, S> { argument
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp638 int Repr = EC->getLeaderValue(SwapVector[EntryIdx].VSEId); in recordUnoptimizableWebs() local
641 if (SwapVector[Repr].WebRejected) in recordUnoptimizableWebs()
651 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
655 "swap[pable]\n", Repr)); in recordUnoptimizableWebs()
677 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
680 format("Web %d rejected for load not feeding swap\n", Repr)); in recordUnoptimizableWebs()
701 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
704 format("Web %d rejected for store not fed by swap\n", Repr)); in recordUnoptimizableWebs()
718 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
722 Repr)); in recordUnoptimizableWebs()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp642 int Repr = EC->getLeaderValue(SwapVector[EntryIdx].VSEId); in recordUnoptimizableWebs() local
645 if (SwapVector[Repr].WebRejected) in recordUnoptimizableWebs()
655 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
660 Repr)); in recordUnoptimizableWebs()
682 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
685 "Web %d rejected for load not feeding swap\n", Repr)); in recordUnoptimizableWebs()
706 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
709 "Web %d rejected for store not fed by swap\n", Repr)); in recordUnoptimizableWebs()
723 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
727 "Web %d rejected for swap not feeding only stores\n", Repr)); in recordUnoptimizableWebs()
[all …]
/external/rust/crates/aho-corasick/src/
Ddfa.rs21 fn repr(&self) -> &Repr<S> { in repr()
144 pub struct Standard<S>(Repr<S>);
147 fn repr(&self) -> &Repr<S> { in repr()
203 pub struct ByteClass<S>(Repr<S>);
206 fn repr(&self) -> &Repr<S> { in repr()
264 pub struct Premultiplied<S>(Repr<S>);
267 fn repr(&self) -> &Repr<S> { in repr()
331 pub struct PremultipliedByteClass<S>(Repr<S>);
334 fn repr(&self) -> &Repr<S> { in repr()
399 pub struct Repr<S> { struct
[all …]
/external/llvm/utils/TableGen/
DFastISelEmitter.cpp80 char Repr; member in __anon70ed31970311::OperandsSignature::OpKind
83 OpKind() : Repr(OK_Invalid) {} in OpKind()
85 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
86 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
88 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg()
89 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP()
93 OpKind K; K.Repr = OK_Imm+V; return K; in getImm()
96 bool isReg() const { return Repr == OK_Reg; } in isReg()
97 bool isFP() const { return Repr == OK_FP; } in isFP()
98 bool isImm() const { return Repr >= OK_Imm; } in isImm()
[all …]
/external/rust/crates/der-parser/src/
Doid.rs261 trait Repr: Num + Shl<usize, Output = Self> + From<u8> {} interface
262 impl<N> Repr for N where N: Num + Shl<usize, Output = N> + From<u8> {}
264 struct SubIdentifierIterator<'a, N: Repr> {
271 impl<'a, N: Repr> Iterator for SubIdentifierIterator<'a, N> {
307 impl<'a, N: Repr> FusedIterator for SubIdentifierIterator<'a, N> {}
309 impl<'a, N: Repr> ExactSizeIterator for SubIdentifierIterator<'a, N> {
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
Dfield.cc43 static PyObject* Repr(PyMessageFieldProperty* self) { in Repr() function
98 (reprfunc)field::Repr, // tp_repr
/external/protobuf/python/google/protobuf/pyext/
Dfield.cc43 static PyObject* Repr(PyMessageFieldProperty* self) { in Repr() function
98 (reprfunc)field::Repr, // tp_repr
/external/python/cpython2/Lib/idlelib/
DObjectBrowser.py16 from repr import Repr
18 myrepr = Repr()
/external/python/cpython3/Lib/idlelib/
Ddebugobj.py11 from reprlib import Repr
15 myrepr = Repr()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_conv_runner.h148 using Repr = variable
152 Repr repr_;
/external/python/cpython2/Lib/
Drepr.py8 class Repr: class
131 aRepr = Repr()
/external/rust/crates/enumn/
DREADME.md16 pub fn n(value: Repr) -> Option<Self>;
20 where `Repr` is an integer type of the right size as described in more
/external/python/cpython3/Lib/
Dreprlib.py36 class Repr: class
160 aRepr = Repr()
/external/python/cpython2/Lib/test/
Dtest_repr.py13 from repr import Repr
45 r2 = Repr()
/external/python/cpython3/Lib/test/
Dtest_reprlib.py16 from reprlib import Repr
49 r2 = Repr()

123