Home
last modified time | relevance | path

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

/external/libtextclassifier/util/utf8/
Dunicodetext.h158 class Repr { // A byte-string.
165 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true) {} in Repr() function
166 ~Repr() { in ~Repr()
180 Repr& operator=(const Repr&);
181 Repr(const Repr& other);
184 Repr repr_;
Dunicodetext.cc27 void UnicodeText::Repr::PointTo(const char* data, int size) { in PointTo()
35 void UnicodeText::Repr::Copy(const char* data, int size) { in Copy()
40 void UnicodeText::Repr::resize(int new_size) { in resize()
52 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()
70 void UnicodeText::Repr::append(const char* bytes, int byte_length) { in append()
76 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/swiftshader/third_party/LLVM/utils/TableGen/
DFastISelEmitter.cpp74 char Repr; member in __anon3428833e0111::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/llvm/utils/TableGen/
DFastISelEmitter.cpp80 char Repr; member in __anone694a1120311::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 …]