Home
last modified time | relevance | path

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

12

/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
67 Repr Objects
70 :class:`Repr` instances provide several attributes which can be used to provide
75 .. attribute:: Repr.maxlevel
80 .. attribute:: Repr.maxdict
81 Repr.maxlist
82 Repr.maxtuple
83 Repr.maxset
[all …]
/external/libtextclassifier/util/utf8/
Dunicodetext.h181 class Repr { // A byte-string.
188 Repr() : data_(nullptr), size_(0), capacity_(0), ours_(true) {} in Repr() function
189 Repr& operator=(Repr&& src);
190 ~Repr() { in ~Repr()
203 Repr& operator=(const Repr&);
204 Repr(const Repr& other);
207 Repr repr_;
Dunicodetext.cc30 UnicodeText::Repr& UnicodeText::Repr::operator=(Repr&& src) { in operator =()
40 void UnicodeText::Repr::PointTo(const char* data, int size) { in PointTo()
48 void UnicodeText::Repr::Copy(const char* data, int size) { in Copy()
53 void UnicodeText::Repr::resize(int new_size) { in resize()
65 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()
83 void UnicodeText::Repr::append(const char* bytes, int byte_length) { in append()
89 void UnicodeText::Repr::clear() { in clear()
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py21 def Repr(obj, as_ref=True): function
37 return obj.Repr(as_ref=as_ref)
44 return ('[\n%s\n]' % (',\n'.join(' %s' % Repr(elem, as_ref).replace(
51 Repr(key, as_ref).replace('\n', '\n '),
52 Repr(val, as_ref).replace('\n', '\n '))
71 return ' %s=%s' % (name, Repr(getattr(obj, name), as_ref).replace(
92 def Repr(self, as_ref=True): member in Kind
97 return self.Repr()
116 def Repr(self, as_ref=True): member in ReferenceKind
279 def Repr(self, as_ref=True): member in Field
[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/llvm/utils/TableGen/
DFastISelEmitter.cpp80 char Repr; member in __anon765c92cf0311::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/swiftshader/third_party/LLVM/utils/TableGen/
DFastISelEmitter.cpp74 char Repr; member in __anon3d08bbfb0111::OperandsSignature::OpKind
77 OpKind() : Repr(OK_Invalid) {} in OpKind()
79 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
80 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
82 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg()
83 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP()
87 OpKind K; K.Repr = OK_Imm+V; return K; in getImm()
90 bool isReg() const { return Repr == OK_Reg; } in isReg()
91 bool isFP() const { return Repr == OK_FP; } in isFP()
92 bool isImm() const { return Repr >= OK_Imm; } in isImm()
[all …]
/external/python/cpython3/Lib/idlelib/
Ddebugobj.py11 from reprlib import Repr
15 myrepr = Repr()
Ddebugger.py468 self.repr = reprlib.Repr()
/external/python/cpython2/Lib/idlelib/
DObjectBrowser.py16 from repr import Repr
18 myrepr = Repr()
DDebugger.py465 self.repr = repr.Repr()
/external/python/cpython2/Lib/
Drepr.py8 class Repr: class
131 aRepr = Repr()
Dpydoc.py57 from repr import Repr
407 class HTMLRepr(Repr):
410 Repr.__init__(self)
419 return Repr.repr(self, object)
996 class TextRepr(Repr):
999 Repr.__init__(self)
Dpdb.py11 from repr import Repr
24 _repr = Repr()
/external/python/cpython3/Lib/
Dreprlib.py39 class Repr: class
163 aRepr = Repr()
Dpydoc.py71 from reprlib import Repr
428 class HTMLRepr(Repr):
431 Repr.__init__(self)
440 return Repr.repr(self, object)
1024 class TextRepr(Repr):
1027 Repr.__init__(self)
/external/python/cpython2/Lib/test/
Dtest_repr.py13 from repr import Repr
45 r2 = Repr()
/external/python/cpython3/Lib/test/
Dtest_reprlib.py15 from reprlib import Repr
48 r2 = Repr()
/external/python/cpython2/Parser/
DPython.asdl71 | Repr(expr value)
/external/python/cpython2/Include/
DPython-ast.h273 } Repr; member
490 #define Repr(a0, a1, a2, a3) _Py_Repr(a0, a1, a2, a3) macro
/external/python/cpython2/PC/os2emx/
Dpython27.def721 "Repr"
/external/python/cpython2/Python/
Dsymtable.c1265 VISIT(st, expr, e->v.Repr.value); in symtable_visit_expr()
DPython-ast.c1796 Repr(expr_ty value, int lineno, int col_offset, PyArena *arena) in Repr() function
1808 p->v.Repr.value = value; in Repr()
2810 value = ast2obj_expr(o->v.Repr.value); in ast2obj_expr()
5623 *out = Repr(value, lineno, col_offset, arena); in obj2ast_expr()
Dast.c1508 return Repr(expression, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()

12