Lines Matching defs:P
19 void Block::addPointer(Pointer *P) {
20 assert(P);
27 assert(!hasPointer(P));
30 Pointers->Prev = P;
31 P->Next = Pointers;
32 P->Prev = nullptr;
33 Pointers = P;
36 void Block::removePointer(Pointer *P) {
37 assert(P);
44 assert(hasPointer(P));
47 if (Pointers == P)
48 Pointers = P->Next;
50 if (P->Prev)
51 P->Prev->Next = P->Next;
52 if (P->Next)
53 P->Next->Prev = P->Prev;
85 bool Block::hasPointer(const Pointer *P) const {
87 if (C == P)
107 for (Pointer *P = Blk->Pointers; P; P = P->Next)
108 P->PointeeStorage.BS.Pointee = &B;