Home
last modified time | relevance | path

Searched refs:old_rep (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/src/google/protobuf/
Drepeated_field.cc55 Rep* old_rep = rep_; in InternalExtend() local
60 sizeof(old_rep->elements[0])) in InternalExtend()
62 size_t bytes = kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size; in InternalExtend()
72 if (old_rep && old_rep->allocated_size > 0) { in InternalExtend()
73 memcpy(rep_->elements, old_rep->elements, in InternalExtend()
74 old_rep->allocated_size * sizeof(rep_->elements[0])); in InternalExtend()
75 rep_->allocated_size = old_rep->allocated_size; in InternalExtend()
83 ::operator delete(static_cast<void*>(old_rep), old_size); in InternalExtend()
85 ::operator delete(static_cast<void*>(old_rep)); in InternalExtend()
Drepeated_field.h1406 Rep* old_rep = total_size_ > 0 ? rep() : NULL;
1441 MoveArray(&elements()[0], old_rep->elements, current_size_);
1445 InternalDeallocate(old_rep, old_total_size);
/external/llvm-project/libcxx/src/include/
Drefstring.h105 struct _Rep_base *old_rep = rep_from_data(__imp_); variable
111 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)
113 ::operator delete(old_rep);
/external/libcxxabi/src/include/
Drefstring.h97 struct _Rep_base *old_rep = rep_from_data(__imp_); variable
103 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)
105 ::operator delete(old_rep);
/external/libcxx/src/include/
Drefstring.h93 struct _Rep_base *old_rep = rep_from_data(__imp_); variable
99 if (__libcpp_atomic_add(&old_rep->count, count_t(-1)) < 0)
101 ::operator delete(old_rep);
/external/angle/third_party/abseil-cpp/absl/status/
Dstatus.h753 uintptr_t old_rep = rep_; variable
754 if (x.rep_ != old_rep) {
757 Unref(old_rep);
767 uintptr_t old_rep = rep_; variable
768 if (x.rep_ != old_rep) {
771 Unref(old_rep);
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatus.h692 uintptr_t old_rep = rep_; variable
693 if (x.rep_ != old_rep) {
696 Unref(old_rep);
706 uintptr_t old_rep = rep_; variable
709 Unref(old_rep);
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatus.h692 uintptr_t old_rep = rep_; variable
693 if (x.rep_ != old_rep) {
696 Unref(old_rep);
706 uintptr_t old_rep = rep_; variable
709 Unref(old_rep);
/external/openscreen/third_party/abseil/src/absl/status/
Dstatus.h692 uintptr_t old_rep = rep_; variable
693 if (x.rep_ != old_rep) {
696 Unref(old_rep);
706 uintptr_t old_rep = rep_; variable
709 Unref(old_rep);
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatus.h264 uintptr_t old_rep = rep_; variable
265 if (x.rep_ != old_rep) {
268 Unref(old_rep);
278 uintptr_t old_rep = rep_; variable
281 Unref(old_rep);
/external/abseil-cpp/absl/status/
Dstatus.h264 uintptr_t old_rep = rep_; variable
265 if (x.rep_ != old_rep) {
268 Unref(old_rep);
278 uintptr_t old_rep = rep_; variable
281 Unref(old_rep);
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord.h765 void CommitTree(const CordRep* old_rep, CordRep* rep,
1110 inline void Cord::InlineRep::CommitTree(const CordRep* old_rep, CordRep* rep, in CommitTree() argument
1113 if (old_rep) { in CommitTree()