Home
last modified time | relevance | path

Searched refs:rep_ (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dflatset.h58 : rep_(N, hf, eq) {} in rep_() function
60 FlatSet(const FlatSet& src) : rep_(src.rep_) {} in FlatSet()
64 FlatSet(FlatSet&& src) : rep_(std::move(src.rep_)) {} in FlatSet()
78 rep_.CopyFrom(src.rep_);
85 rep_.MoveFrom(std::move(src.rep_));
91 void swap(FlatSet& x) { rep_.swap(x.rep_); } in swap()
92 void clear_no_resize() { rep_.clear_no_resize(); } in clear_no_resize()
93 void clear() { rep_.clear(); } in clear()
94 void reserve(size_t N) { rep_.Resize(std::max(N, size())); } in reserve()
95 void rehash(size_t N) { rep_.Resize(std::max(N, size())); } in rehash()
[all …]
Dflatmap.h75 : rep_(N, hf, eq) {} in rep_() function
77 FlatMap(const FlatMap& src) : rep_(src.rep_) {} in FlatMap()
81 FlatMap(FlatMap&& src) : rep_(std::move(src.rep_)) {} in FlatMap()
95 rep_.CopyFrom(src.rep_);
102 rep_.MoveFrom(std::move(src.rep_));
108 void swap(FlatMap& x) { rep_.swap(x.rep_); } in swap()
109 void clear_no_resize() { rep_.clear_no_resize(); } in clear_no_resize()
110 void clear() { rep_.clear(); } in clear()
111 void reserve(size_t N) { rep_.Resize(std::max(N, size())); } in reserve()
112 void rehash(size_t N) { rep_.Resize(std::max(N, size())); } in rehash()
[all …]
Dcompactptrset.h35 CompactPointerSet() : rep_(0) {} in CompactPointerSet()
44 CompactPointerSet(const CompactPointerSet& other) : rep_(0) { *this = other; } in CompactPointerSet()
55 if (other.rep_ != 0) {
56 big()->insert(reinterpret_cast<T>(other.rep_));
60 rep_ = other.rep_;
115 bool empty() const { return isbig() ? big()->empty() : (rep_ == 0); } in empty()
116 size_t size() const { return isbig() ? big()->size() : (rep_ == 0 ? 0 : 1); } in size()
122 rep_ = 0; in clear()
127 if (rep_ == 0) { in insert()
132 rep_ = v; in insert()
[all …]
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.h66 TiXmlString () : rep_(&nullrep_) in TiXmlString()
71 TiXmlString ( const TiXmlString & copy) : rep_(0) in TiXmlString()
78 TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(0) in TiXmlString()
85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) in TiXmlString()
128 const char * c_str () const { return rep_->str; } in c_str()
131 const char * data () const { return rep_->str; } in data()
134 size_type length () const { return rep_->size; } in length()
137 size_type size () const { return rep_->size; } in size()
140 bool empty () const { return rep_->size == 0; } in empty()
143 size_type capacity () const { return rep_->capacity; } in capacity()
[all …]
/external/tinyxml/
Dtinystr.h63 TiXmlString () : rep_(&nullrep_) in TiXmlString()
127 const char * c_str () const { return rep_->str; } in c_str()
130 const char * data () const { return rep_->str; } in data()
133 size_type length () const { return rep_->size; } in length()
136 size_type size () const { return rep_->size; } in size()
139 bool empty () const { return rep_->size == 0; } in empty()
142 size_type capacity () const { return rep_->capacity; } in capacity()
149 return rep_->str[ index ]; in at()
156 return rep_->str[ index ];
198 Rep* r = rep_; in swap()
[all …]
/external/protobuf/src/google/protobuf/
Drepeated_field.cc51 return &rep_->elements[current_size_]; in InternalExtend()
53 Rep* old_rep = rep_; in InternalExtend()
62 rep_ = reinterpret_cast<Rep*>( in InternalExtend()
65 rep_ = reinterpret_cast<Rep*>( in InternalExtend()
71 memcpy(rep_->elements, old_rep->elements, in InternalExtend()
72 old_rep->allocated_size * sizeof(rep_->elements[0])); in InternalExtend()
73 rep_->allocated_size = old_rep->allocated_size; in InternalExtend()
75 rep_->allocated_size = 0; in InternalExtend()
80 return &rep_->elements[current_size_]; in InternalExtend()
90 if (rep_ == NULL) return; in CloseGap()
[all …]
Drepeated_field.h256 Rep* rep_; variable
273 return (rep_ == NULL) ? NULL : rep_->arena; in GetArenaNoVirtual()
529 Rep* rep_;
980 rep_(NULL) {
987 rep_(NULL) {
991 rep_ = reinterpret_cast<Rep*>(
993 rep_->arena = arena;
1001 rep_(NULL) {
1010 rep_(NULL) {
1028 InternalDeallocate(rep_, total_size_);
[all …]
/external/tensorflow/tensorflow/compiler/jit/graphcycles/
Dgraphcycles.cc76 GraphCycles::GraphCycles() : rep_(new Rep) {} in GraphCycles()
79 for (Vec<Node*>::size_type i = 0; i < rep_->nodes_.size(); i++) { in ~GraphCycles()
80 delete rep_->nodes_[i]; in ~GraphCycles()
82 delete rep_; in ~GraphCycles()
86 Rep* r = rep_; in CheckInvariants()
108 if (rep_->free_nodes_.empty()) { in NewNode()
112 n->rank = rep_->nodes_.size(); in NewNode()
113 rep_->nodes_.push_back(n); in NewNode()
118 int32 r = rep_->free_nodes_.back(); in NewNode()
119 rep_->nodes_[r]->data = nullptr; in NewNode()
[all …]
Dgraphcycles.h127 Rep *rep_; // opaque representation
/external/tensorflow/tensorflow/core/lib/io/
Dtable_builder.cc111 : rep_(new Rep(options, file)) {} in TableBuilder()
114 assert(rep_->closed); // Catch errors where caller forgot to call Finish() in ~TableBuilder()
115 delete rep_; in ~TableBuilder()
119 Rep* r = rep_; in Add()
153 Rep* r = rep_; in Flush()
171 Rep* r = rep_; in WriteBlock()
203 Rep* r = rep_; in WriteRawBlock()
220 Status TableBuilder::status() const { return rep_->status; } in status()
223 Rep* r = rep_; in Finish()
265 Rep* r = rep_; in Abandon()
[all …]
Dtable.cc86 Table::~Table() { delete rep_; } in ~Table()
108 s = ReadBlock(table->rep_->file, handle, &contents); in BlockReader()
125 return NewTwoLevelIterator(rep_->index_block->NewIterator(), in NewIterator()
133 Iterator* iiter = rep_->index_block->NewIterator(); in InternalGet()
152 Iterator* index_iter = rep_->index_block->NewIterator(); in ApproximateOffsetOf()
165 result = rep_->metaindex_handle.offset(); in ApproximateOffsetOf()
171 result = rep_->metaindex_handle.offset(); in ApproximateOffsetOf()
Dtable.h67 Rep* rep_; variable
69 explicit Table(Rep* rep) { rep_ = rep; } in Table()
Dtable_builder.h89 Rep* rep_; variable
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_report.cc145 rep_ = new(mem) ReportDesc; in ScopedReport()
146 rep_->typ = typ; in ScopedReport()
154 DestroyAndFree(rep_); in ~ScopedReport()
158 ReportStack **rs = rep_->stacks.PushBack(); in AddStack()
167 rep_->mops.PushBack(mop); in AddMemoryAccess()
185 rep_->unique_tids.PushBack(unique_tid); in AddUniqueTid()
189 for (uptr i = 0; i < rep_->threads.Size(); i++) { in AddThread()
190 if ((u32)rep_->threads[i]->id == tctx->tid) in AddThread()
195 rep_->threads.PushBack(rt); in AddThread()
259 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { in AddMutex()
[all …]
Dtsan_rtl.h576 ReportDesc *rep_;
/external/ImageMagick/Magick++/lib/Magick++/
DColor.h151 Color(PixelInfo *rep_,PixelType pixelType_);
158 void pixel(PixelInfo *rep_,PixelType pixelType_);
236 ColorCMYK(PixelInfo *rep_,PixelType pixelType_);
270 ColorGray(PixelInfo *rep_,PixelType pixelType_);
312 ColorHSL(PixelInfo *rep_,PixelType pixelType_);
346 ColorMono(PixelInfo* rep_,PixelType pixelType_);
391 ColorRGB(PixelInfo *rep_,PixelType pixelType_);
435 ColorYUV(PixelInfo *rep_,PixelType pixelType_);
/external/ImageMagick/Magick++/lib/
DColor.cpp381 Magick::Color::Color(PixelInfo* rep_,PixelType pixelType_) in Color() argument
382 : _pixel(rep_), in Color()
389 void Magick::Color::pixel(PixelInfo *rep_,PixelType pixelType_) in pixel() argument
394 _pixel=rep_; in pixel()
543 Magick::ColorCMYK::ColorCMYK(PixelInfo *rep_,PixelType pixelType_) in ColorCMYK() argument
544 : Color(rep_,pixelType_) in ColorCMYK()
587 Magick::ColorGray::ColorGray(PixelInfo *rep_,PixelType pixelType_) in ColorGray() argument
588 : Color(rep_,pixelType_) in ColorGray()
777 Magick::ColorMono::ColorMono(PixelInfo *rep_,PixelType pixelType_) in ColorMono() argument
778 : Color(rep_,pixelType_) in ColorMono()
[all …]
/external/v8/src/compiler/
Dcode-assembler.cc1484 rep_(rep) { in Impl()
1496 MachineRepresentation rep_; member in v8::internal::compiler::CodeAssemblerVariable::Impl
1556 MachineRepresentation CodeAssemblerVariable::rep() const { return impl_->rep_; } in rep()
1715 var.first->rep_, static_cast<int>(merge_count_), &(i->second[0])); in UpdateVariablesAfterBind()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc3310 std::vector<NodeDef*>& candidates = rep_[sig]; in FindOrAddRepresentative()
3324 absl::flat_hash_map<uint64, std::vector<NodeDef*>> rep_; member in tensorflow::grappler::UniqueNodes