/external/libtextclassifier/util/utf8/ |
unicodetext.h | 158 class Repr { // A byte-string. 165 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true) {} 166 ~Repr() { 180 Repr& operator=(const Repr&); 181 Repr(const Repr& other); 184 Repr repr_;
|
unicodetext.cc | 27 void UnicodeText::Repr::PointTo(const char* data, int size) { 35 void UnicodeText::Repr::Copy(const char* data, int size) { 40 void UnicodeText::Repr::resize(int new_size) { 52 void UnicodeText::Repr::reserve(int new_capacity) { 70 void UnicodeText::Repr::append(const char* bytes, int byte_length) { 76 void UnicodeText::Repr::clear() {
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
module.py | 21 def Repr(obj, as_ref=True): 36 if hasattr(obj, 'Repr'): 37 return obj.Repr(as_ref=as_ref) 38 # Since we cannot implement Repr for existing container types, we 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 ')) 55 return repr(obj) 59 """Compute generic Repr for |obj| based on the attributes in |names|. 62 obj: The object to compute a Repr for [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCVSXSwapRemoval.cpp | 638 int Repr = EC->getLeaderValue(SwapVector[EntryIdx].VSEId); 641 if (SwapVector[Repr].WebRejected) 651 SwapVector[Repr].WebRejected = 1; 655 "swap[pable]\n", Repr)); 677 SwapVector[Repr].WebRejected = 1; 680 format("Web %d rejected for load not feeding swap\n", Repr)); 701 SwapVector[Repr].WebRejected = 1; 704 format("Web %d rejected for store not fed by swap\n", Repr)); 718 SwapVector[Repr].WebRejected = 1; 722 Repr)); [all...] |
/external/llvm/utils/TableGen/ |
FastISelEmitter.cpp | 80 char Repr; 83 OpKind() : Repr(OK_Invalid) {} 85 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } 86 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } 88 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } 89 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } 92 "Too many integer predicates for the 'Repr' char"); 93 OpKind K; K.Repr = OK_Imm+V; return K [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
FastISelEmitter.cpp | 74 char Repr; 77 OpKind() : Repr(OK_Invalid) {} 79 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } 80 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } 82 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } 83 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } 86 "Too many integer predicates for the 'Repr' char"); 87 OpKind K; K.Repr = OK_Imm+V; return K [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x):
member in class:Repr 34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x) 132 repr = aRepr.repr variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x):
member in class:Repr 34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x) 132 repr = aRepr.repr variable [all...] |
/external/python/cpython2/Lib/idlelib/ |
ObjectBrowser.py | 16 from repr import Repr 18 myrepr = Repr() 30 return myrepr.repr(self.object)
|
/external/python/cpython2/Lib/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes.""" 3 __all__ = ["Repr","repr"] 8 class Repr: 23 def repr(self, x): member in class:Repr 34 s = __builtin__.repr(x) 92 s = __builtin__.repr(x[:self.maxstring]) 96 s = __builtin__.repr(x[:i] + x[len(x)-j:]) 101 s = __builtin__.repr(x) # XXX Hope this isn't too slow... 110 s = __builtin__.repr(x 132 repr = aRepr.repr variable [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
ObjectBrowser.py | 14 from repr import Repr 16 myrepr = Repr() 28 return myrepr.repr(self.object)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes.""" 3 __all__ = ["Repr","repr"] 8 class Repr: 23 def repr(self, x): member in class:Repr 34 s = __builtin__.repr(x) 92 s = __builtin__.repr(x[:self.maxstring]) 96 s = __builtin__.repr(x[:i] + x[len(x)-j:]) 101 s = __builtin__.repr(x) # XXX Hope this isn't too slow... 110 s = __builtin__.repr(x 132 repr = aRepr.repr variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
ObjectBrowser.py | 14 from repr import Repr 16 myrepr = Repr() 28 return myrepr.repr(self.object)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes.""" 3 __all__ = ["Repr","repr"] 8 class Repr: 23 def repr(self, x): member in class:Repr 34 s = __builtin__.repr(x) 92 s = __builtin__.repr(x[:self.maxstring]) 96 s = __builtin__.repr(x[:i] + x[len(x)-j:]) 101 s = __builtin__.repr(x) # XXX Hope this isn't too slow... 110 s = __builtin__.repr(x 132 repr = aRepr.repr variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 14 from repr import Repr 16 myrepr = Repr() 28 return myrepr.repr(self.object)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes.""" 3 __all__ = ["Repr","repr"] 8 class Repr: 23 def repr(self, x): member in class:Repr 34 s = __builtin__.repr(x) 92 s = __builtin__.repr(x[:self.maxstring]) 96 s = __builtin__.repr(x[:i] + x[len(x)-j:]) 101 s = __builtin__.repr(x) # XXX Hope this isn't too slow... 110 s = __builtin__.repr(x 132 repr = aRepr.repr variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ObjectBrowser.py | 14 from repr import Repr 16 myrepr = Repr() 28 return myrepr.repr(self.object)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
repr.py | 1 """Redo the builtin repr() (representation) but with limits on most sizes.""" 3 __all__ = ["Repr","repr"] 8 class Repr: 23 def repr(self, x): member in class:Repr 34 s = __builtin__.repr(x) 92 s = __builtin__.repr(x[:self.maxstring]) 96 s = __builtin__.repr(x[:i] + x[len(x)-j:]) 101 s = __builtin__.repr(x) # XXX Hope this isn't too slow... 110 s = __builtin__.repr(x 132 repr = aRepr.repr variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_repr.py | 2 Test cases for the repr module
12 from repr import repr as r # Don't shadow builtin repr
13 from repr import Repr
30 expected = repr(s)[:13] + "..." + repr(s)[-14:]
33 eq(r("\"'"), repr("\"'"))
35 expected = repr(s)[:13] + "..." + repr(s)[-14:] [all...] |
/external/python/cpython2/Lib/test/ |
test_repr.py | 2 Test cases for the repr module 12 from repr import repr as r # Don't shadow builtin repr 13 from repr import Repr 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14: [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_repr.py | 2 Test cases for the repr module 12 from repr import repr as r # Don't shadow builtin repr 13 from repr import Repr 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14: [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_repr.py | 2 Test cases for the repr module 12 from repr import repr as r # Don't shadow builtin repr 13 from repr import Repr 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14: [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_repr.py | 2 Test cases for the repr module 12 from repr import repr as r # Don't shadow builtin repr 13 from repr import Repr 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14: [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_repr.py | 2 Test cases for the repr module 12 from repr import repr as r # Don't shadow builtin repr 13 from repr import Repr 30 expected = repr(s)[:13] + "..." + repr(s)[-14:] 33 eq(r("\"'"), repr("\"'")) 35 expected = repr(s)[:13] + "..." + repr(s)[-14: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
Python-ast.h | 273 } Repr;
490 #define Repr(a0, a1, a2, a3) _Py_Repr(a0, a1, a2, a3)
|