Home
last modified time | relevance | path

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

123

/external/rust/crates/tokio/src/runtime/task/
Derror.rs9 repr: Repr,
13 enum Repr { enum
21 repr: Repr::Cancelled, in cancelled()
27 repr: Repr::Panic(Mutex::new(err)), in panic()
33 matches!(&self.repr, Repr::Cancelled) in is_cancelled()
53 matches!(&self.repr, Repr::Panic(_)) in is_panic()
109 Repr::Panic(p) => Ok(p.into_inner().expect("Extracting panic from mutex")), in try_into_panic()
118 Repr::Cancelled => write!(fmt, "cancelled"), in fmt()
119 Repr::Panic(_) => write!(fmt, "panic"), in fmt()
127 Repr::Cancelled => write!(fmt, "JoinError::Cancelled"), 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.h198 class Repr { // A byte-string.
205 Repr() : data_(nullptr), size_(0), capacity_(0), ours_(true) {} in Repr() function
206 Repr& operator=(Repr&& src);
207 ~Repr() { in ~Repr()
220 Repr& operator=(const Repr&);
221 Repr(const Repr& other);
224 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/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/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
291 def Repr(self, as_ref=True): member in Field
[all …]
/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> { implementation
[all …]
/external/llvm-project/clang/lib/AST/Interp/
DIntegral.h41 template <unsigned Bits, bool Signed> struct Repr;
42 template <> struct Repr<8, false> { using Type = uint8_t; };
43 template <> struct Repr<16, false> { using Type = uint16_t; };
44 template <> struct Repr<32, false> { using Type = uint32_t; };
45 template <> struct Repr<64, false> { using Type = uint64_t; };
46 template <> struct Repr<8, true> { using Type = int8_t; };
47 template <> struct Repr<16, true> { using Type = int16_t; };
48 template <> struct Repr<32, true> { using Type = int32_t; };
49 template <> struct Repr<64, true> { using Type = int64_t; };
61 using T = typename Repr<Bits, Signed>::Type;
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DGISelMITest.cpp14 std::string Repr; in operator <<() local
15 raw_string_ostream SS{Repr}; in operator <<()
23 std::string Repr; in operator <<() local
24 raw_string_ostream SS{Repr}; in operator <<()
/external/llvm-project/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()
703 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
706 "Web %d rejected for load/swap feeding a store\n", Repr)); in recordUnoptimizableWebs()
729 SwapVector[Repr].WebRejected = 1; in recordUnoptimizableWebs()
732 "Web %d rejected for store not fed by swap\n", Repr)); in recordUnoptimizableWebs()
[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 __anonf9359ff90311::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/llvm-project/llvm/utils/TableGen/
DFastISelEmitter.cpp90 char Repr; member in __anonda4984e70311::OperandsSignature::OpKind
93 OpKind() : Repr(OK_Invalid) {} in OpKind()
95 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
96 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
98 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg()
99 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP()
103 OpKind K; K.Repr = OK_Imm+V; return K; in getImm()
106 bool isReg() const { return Repr == OK_Reg; } in isReg()
107 bool isFP() const { return Repr == OK_FP; } in isFP()
108 bool isImm() const { return Repr >= OK_Imm; } in isImm()
[all …]
DSearchableTableEmitter.cpp358 std::string Repr = primaryRepresentation( in emitLookupFunction() local
361 Repr = StringRef(Repr).upper(); in emitLookupFunction()
362 OS << Repr; in emitLookupFunction()
/external/protobuf/python/google/protobuf/pyext/
Dfield.cc47 static PyObject* Repr(PyMessageFieldProperty* self) { in Repr() function
97 (reprfunc)field::Repr, // tp_repr
/external/llvm-project/clang/test/InterfaceStubs/
Dunresolved-using-typename.cpp12 template<typename T> class C2 : public C1<T> { using typename C1<T>::Repr; };
/external/python/cpython3/Lib/idlelib/
Ddebugobj.py11 from reprlib import Repr
15 myrepr = Repr()
/external/python/cpython2/Lib/idlelib/
DObjectBrowser.py16 from repr import Repr
18 myrepr = Repr()
/external/python/cpython2/Lib/
Drepr.py8 class Repr: class
131 aRepr = Repr()
/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()

123