Lines Matching refs:refs_
603 RefCounter *refs_ = nullptr; // Pointer to the corresponding reference
700 return refs_;
728 return refs_;
738 return refs_ != nullptr;
750 return *refs_;
761 return refs_;
872 T *refs_ = nullptr; // Raw pointer to the specific managed object
889 refs_ = other;
895 refs_ = nullptr;
901 refs_ = other;
902 if (refs_ != nullptr) {
903 refs_->IncStrongRef(this);
910 refs_ = other.GetRefPtr();
911 if (refs_ != nullptr) {
912 refs_->IncStrongRef(this);
919 refs_ = other.GetRefPtr();
926 if (refs_ != nullptr) {
927 refs_->DecStrongRef(this);
929 refs_ = other.GetRefPtr();
936 sptr<T>::sptr(const sptr<O> &other) : refs_(other.GetRefPtr())
938 if (refs_ != nullptr) {
939 refs_->IncStrongRef(this);
950 if (refs_ != nullptr) {
951 refs_->DecStrongRef(this);
954 refs_ = other;
966 if (refs_ != nullptr) {
967 refs_->DecStrongRef(this);
970 refs_ = otherRef;
977 if (refs_ != nullptr) {
978 refs_->DecStrongRef(this);
981 refs_ = other.GetRefPtr();
983 refs_ = nullptr;
998 if (refs_ != nullptr) {
999 refs_->DecStrongRef(this);
1002 refs_ = otherRef;
1009 return other == refs_;
1015 return refs_ == other.GetRefPtr();
1021 return refs_ == other.GetRefPtr();
1027 if (refs_) {
1028 refs_->DecStrongRef(this);
1029 refs_ = 0;
1036 if (refs_ != nullptr) {
1037 refs_->DecStrongRef(this);
1045 refs_ = reinterpret_cast<T *>(p->GetRefPtr());
1047 refs_ = nullptr;
1220 return reinterpret_cast<T *>(refs_->GetRefPtr());
1299 return refs_->GetWeakRefCount();
1311 return refs_->AttemptIncStrongRef(objectId);
1328 WeakRefCounter *refs_ = nullptr; // Pointer to the corresponding WeakRefCounter object
1334 return (refs_ != nullptr) ? reinterpret_cast<T *>(refs_->GetRefPtr()) : nullptr;
1340 refs_ = nullptr;
1347 refs_ = other->CreateWeakRef(other);
1348 if (refs_ != nullptr) {
1349 refs_->IncWeakRefCount(this);
1352 refs_ = nullptr;
1359 refs_ = other.refs_;
1360 if (refs_ != nullptr) {
1361 refs_->IncWeakRefCount(this);
1369 refs_ = other->CreateWeakRef(other.GetRefPtr());
1370 if (refs_ != nullptr) {
1371 refs_->IncWeakRefCount(this);
1380 refs_ = other.refs_;
1381 if (refs_ != nullptr) {
1382 refs_->IncWeakRefCount(this);
1391 refs_ = other->CreateWeakRef(other.GetRefPtr());
1392 if (refs_ != nullptr) {
1393 refs_->IncWeakRefCount(this);
1409 if (refs_ != nullptr) {
1410 refs_->DecWeakRefCount(this);
1413 refs_ = newWeakRef;
1430 if (refs_ != nullptr) {
1431 refs_->DecWeakRefCount(this);
1434 refs_ = newWeakRef;
1441 if (other.refs_ != nullptr) {
1442 other.refs_->IncWeakRefCount(this);
1445 if (refs_ != nullptr) {
1446 refs_->DecWeakRefCount(this);
1449 refs_ = other.refs_;
1464 if (refs_ != nullptr) {
1465 refs_->DecWeakRefCount(this);
1468 refs_ = newWeakRef;
1476 if (other.refs_ != nullptr) {
1477 other.refs_->IncWeakRefCount(this);
1480 if (refs_ != nullptr) {
1481 refs_->DecWeakRefCount(this);
1484 refs_ = other.refs_;
1500 if (refs_ != nullptr) {
1501 refs_->DecWeakRefCount(this);
1504 refs_ = newWeakRef;
1529 return sptr<T>(refs_, true);
1535 if (refs_ != nullptr) {
1536 refs_->DecWeakRefCount(this);