/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field.cc | 53 // N.B.: rep_ is non-NULL because extend_amount is always > 0, hence in InternalExtend() 55 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_ in InternalExtend() [all...] |
H A D | repeated_field.h | 747 Rep* rep_; member in google::protobuf::internal::RepeatedPtrFieldBase 1653 : arena_(NULL), current_size_(0), total_size_(0), rep_(NULL) {} in RepeatedPtrFieldBase() 1656 : arena_(arena), current_size_(0), total_size_(0), rep_(NULL) {} in RepeatedPtrFieldBase() 1660 if (rep_ != NULL && arena_ == NULL) { in Destroy() 1661 int n = rep_->allocated_size; in Destroy() 1662 void* const* elements = rep_->elements; in Destroy() 1668 ::operator delete(static_cast<void*>(rep_), size); in Destroy() 1670 ::operator delete(static_cast<void*>(rep_)); in Destroy() 1673 rep_ = NULL; in Destroy() 1697 temp.Destroy<TypeHandler>(); // Frees rep_ i in SwapFallback() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
H A D | tinystr.h | 66 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_ [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
H A D | status.h | 608 // Ensures rep_ is not shared with any other Status. 628 // See rep_ for details. 631 // Indicates whether this Status was the rhs of a move operation. See rep_ 637 // by rep_. See rep_ for details. 642 // by rep_. See rep_ for details. 651 // The error code is (rep_ >> 2). 652 // The (rep_ & 2) bit is the "moved from" indicator, used in IsMovedFrom(). 655 // (rep_ 656 uintptr_t rep_; global() member in absl::StatusCode::final 763 inline Status::Status(Status&& x) noexcept : rep_(x.rep_) { rep_() function in absl::StatusCode [all...] |
H A D | status.cc | 130 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_ in PrepareToModify() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | graphcycles.cc | 367 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_ in GetId() [all...] |
H A D | graphcycles.h | 132 Rep *rep_; // opaque representation member in absl::synchronization_internal::GraphCycles
|
/third_party/node/deps/v8/src/wasm/ |
H A D | struct-types.h | 130 : rep_(rep), mutability_(mutability) {} in ArrayType() 132 ValueType element_type() const { return rep_; } in element_type() 136 return rep_ == other.rep_ && mutability_ == other.mutability_; in operator ==() 139 return rep_ != other.rep_ || mutability_ != other.mutability_; in operator !=() 143 const ValueType rep_; member in v8::internal::wasm::ArrayType
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cordz_info.h | 156 // Returns the current value of `rep_` for testing purposes only. 158 return rep_; 161 // Sets the current value of `rep_` for testing purposes only. 163 rep_ = rep; 205 // Sets `rep_` without holding a lock. 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_) in ABSL_LOCKS_EXCLUDED() [all...] |
H A D | cordz_info.cc | 334 : rep_(rep), in CordzInfo() 349 // `rep_` is potentially kept alive if CordzInfo is included 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 ABSL_EXCLUSIVE_LOCK_FUNCTION() 414 bool tracked = rep_ != nullptr; in ABSL_UNLOCK_FUNCTION()
|
H A D | cord_rep_ring.cc | 114 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/ |
H A D | time.h | 662 rep_ += d; in operator +=() 666 rep_ -= d; in operator -=() 710 return H::combine(std::move(h), t.rep_); in AbslHashValue() 722 constexpr explicit Time(Duration rep) : rep_(rep) {} in Time() 723 Duration rep_; member in absl::Time 727 constexpr bool operator<(Time lhs, Time rhs) { return lhs.rep_ < rhs.rep_; } in operator <() 731 constexpr bool operator==(Time lhs, Time rhs) { return lhs.rep_ == rhs.rep_; } in operator ==() 738 inline Duration operator-(Time lhs, Time rhs) { return lhs.rep_ in operator -() [all...] |
H A D | time.cc | 210 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/node/deps/v8/src/compiler/ |
H A D | code-assembler.cc | 1379 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/ |
H A D | mid-tier-register-allocator.cc | 377 MachineRepresentation rep() const { return rep_; } in rep() 509 MachineRepresentation rep_; member in v8::internal::compiler::final 532 rep_ = rep; in Initialize()
|