Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/
Drepeated_field.cc55 return &rep_->elements[current_size_]; in InternalExtend()
57 Rep* old_rep = rep_; in InternalExtend()
66 rep_ = reinterpret_cast<Rep*>(::operator new(bytes)); in InternalExtend()
68 rep_ = reinterpret_cast<Rep*>(Arena::CreateArray<char>(arena, bytes)); in InternalExtend()
75 memcpy(rep_->elements, old_rep->elements, in InternalExtend()
76 old_rep->allocated_size * sizeof(rep_->elements[0])); in InternalExtend()
77 rep_->allocated_size = old_rep->allocated_size; in InternalExtend()
79 rep_->allocated_size = 0; in InternalExtend()
84 old_total_size * sizeof(rep_->elements[0]) + kRepHeaderSize; in InternalExtend()
90 return &rep_->elements[current_size_]; in InternalExtend()
[all …]
Drepeated_field.h747 Rep* rep_;
1653 : arena_(NULL), current_size_(0), total_size_(0), rep_(NULL) {}
1656 : arena_(arena), current_size_(0), total_size_(0), rep_(NULL) {}
1660 if (rep_ != NULL && arena_ == NULL) {
1661 int n = rep_->allocated_size;
1662 void* const* elements = rep_->elements;
1668 ::operator delete(static_cast<void*>(rep_), size);
1670 ::operator delete(static_cast<void*>(rep_));
1673 rep_ = NULL;
1709 return *cast<TypeHandler>(rep_->elements[index]);
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatus.h656 uintptr_t rep_; variable
747 inline Status::Status() : rep_(CodeToInlinedRep(absl::StatusCode::kOk)) {} in Status()
749 inline Status::Status(absl::StatusCode code) : rep_(CodeToInlinedRep(code)) {} in Status()
751 inline Status::Status(const Status& x) : rep_(x.rep_) { Ref(rep_); } in Status()
754 uintptr_t old_rep = rep_;
755 if (x.rep_ != old_rep) {
756 Ref(x.rep_);
757 rep_ = x.rep_;
763 inline Status::Status(Status&& x) noexcept : rep_(x.rep_) { in Status()
764 x.rep_ = MovedFromRep(); in Status()
[all …]
Dstatus.cc130 status_internal::StatusRep* rep = RepToPointer(rep_); in SetPayload()
154 Unref(rep_); in ErasePayload()
155 rep_ = CodeToInlinedRep(c); in ErasePayload()
211 : rep_(CodeToInlinedRep(code)) { in Status()
213 rep_ = PointerToRep(new status_internal::StatusRep(code, msg, nullptr)); in Status()
218 if (IsInlined(rep_)) { in raw_code()
219 return static_cast<int>(InlinedRepToCode(rep_)); in raw_code()
221 status_internal::StatusRep* rep = RepToPointer(rep_); in raw_code()
231 if (IsInlined(rep_)) { in PrepareToModify()
232 rep_ = PointerToRep(new status_internal::StatusRep( in PrepareToModify()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dgraphcycles.cc367 rep_ = new (base_internal::LowLevelAlloc::AllocWithArena(sizeof(Rep), arena)) in GraphCycles()
372 for (auto* node : rep_->nodes_) { in ~GraphCycles()
376 rep_->Rep::~Rep(); in ~GraphCycles()
377 base_internal::LowLevelAlloc::Free(rep_); in ~GraphCycles()
381 Rep* r = rep_; in CheckInvariants()
407 int32_t i = rep_->ptrmap_.Find(ptr); in GetId()
409 return MakeId(i, rep_->nodes_[i]->version); in GetId()
410 } else if (rep_->free_nodes_.empty()) { in GetId()
416 n->rank = rep_->nodes_.size(); in GetId()
420 rep_->nodes_.push_back(n); in GetId()
[all …]
Dgraphcycles.h132 Rep *rep_; // opaque representation
/third_party/node/deps/v8/src/wasm/
Dstruct-types.h130 : rep_(rep), mutability_(mutability) {} in ArrayType()
132 ValueType element_type() const { return rep_; } in element_type()
136 return rep_ == other.rep_ && mutability_ == other.mutability_;
139 return rep_ != other.rep_ || mutability_ != other.mutability_;
143 const ValueType rep_;
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_info.h158 return rep_; in GetCordRepForTesting()
163 rep_ = rep; in SetCordRepForTesting()
243 CordRep* rep_ ABSL_GUARDED_BY(mutex_);
284 rep_ = rep; in SetCordRep()
287 inline void CordzInfo::UnsafeSetCordRep(CordRep* rep) { rep_ = rep; } in UnsafeSetCordRep()
291 return rep_ ? CordRep::Ref(rep_) : nullptr; in RefCordRep()
Dcordz_info.cc334 : rep_(rep), in CordzInfo()
351 if (ABSL_PREDICT_FALSE(rep_)) { in ~CordzInfo()
352 CordRep::Unref(rep_); in ~CordzInfo()
401 if (rep_) CordRep::Ref(rep_); in Untrack()
410 assert(rep_); in Lock()
414 bool tracked = rep_ != nullptr; in Unlock()
Dcord_rep_ring.cc114 Filler(CordRepRing* rep, index_type pos) : rep_(rep), head_(pos), pos_(pos) {} in Filler()
120 rep_->entry_end_pos()[pos_] = end_pos; in Add()
121 rep_->entry_child()[pos_] = child; in Add()
122 rep_->entry_data_offset()[pos_] = static_cast<offset_type>(offset); in Add()
123 pos_ = rep_->advance(pos_); in Add()
127 CordRepRing* rep_; member in absl::cord_internal::CordRepRing::Filler
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime.h662 rep_ += d;
666 rep_ -= d;
710 return H::combine(std::move(h), t.rep_); in AbslHashValue()
722 constexpr explicit Time(Duration rep) : rep_(rep) {} in Time()
723 Duration rep_; variable
727 constexpr bool operator<(Time lhs, Time rhs) { return lhs.rep_ < rhs.rep_; }
731 constexpr bool operator==(Time lhs, Time rhs) { return lhs.rep_ == rhs.rep_; }
738 inline Duration operator-(Time lhs, Time rhs) { return lhs.rep_ - rhs.rep_; }
1446 constexpr Duration ToUnixDuration(Time t) { return t.rep_; } in ToUnixDuration()
Dtime.cc210 const auto tp = unix_epoch() + cctz::seconds(time_internal::GetRepHi(rep_)); in In()
222 bd.subsecond = time_internal::MakeDuration(0, time_internal::GetRepLo(rep_)); in In()
/third_party/libabigail/tests/data/test-diff-pkg/
Dlibsigc++-2.0-0c2a_2.4.0-1_amd64--libsigc++-2.0-0v5_2.4.1-1ubuntu2_amd64-report-0.txt24 type of 'sigc::slot_base::rep_type* rep_' changed:
/third_party/node/deps/v8/src/compiler/
Dcode-assembler.cc1379 rep_(rep), in Impl()
1395 MachineRepresentation rep_; member in v8::internal::compiler::CodeAssemblerVariable::Impl
1466 MachineRepresentation CodeAssemblerVariable::rep() const { return impl_->rep_; } in rep()
1629 var.first->rep_, static_cast<int>(merge_count_), &(i->second[0])); in UpdateVariablesAfterBind()
/third_party/node/deps/v8/src/compiler/backend/
Dmid-tier-register-allocator.cc377 MachineRepresentation rep() const { return rep_; } in rep()
509 MachineRepresentation rep_; member in v8::internal::compiler::VirtualRegisterData
532 rep_ = rep; in Initialize()
/third_party/libabigail/tests/data/test-abidiff/
Dtest-PR18791-report0.txt23 type of 'sigc::slot_base::rep_type* rep_' changed:
Dtest-PR18791-v0.so.abi1864 …<var-decl name='rep_' type-id='type-id-177' visibility='default' filepath='../sigc++/functors/slot…
5243 …<var-decl name='rep_' type-id='type-id-177' visibility='default' filepath='../sigc++/functors/slot…
6558 …<var-decl name='rep_' type-id='type-id-177' visibility='default' filepath='../sigc++/functors/slot…
Dtest-PR18791-v1.so.abi1935 …<var-decl name='rep_' type-id='type-id-167' visibility='default' filepath='../sigc++/functors/slot…
5447 …<var-decl name='rep_' type-id='type-id-167' visibility='default' filepath='../sigc++/functors/slot…
6826 …<var-decl name='rep_' type-id='type-id-167' visibility='default' filepath='../sigc++/functors/slot…
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi41372 <!-- __tsan::ReportDesc* __tsan::ScopedReport::rep_ -->
41373 …<var-decl name='rep_' type-id='type-id-1584' visibility='default' filepath='../../.././libsanitize…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi24683 …<var-decl name='rep_' type-id='type-id-1584' visibility='default' filepath='../../.././libsanitize…