Lines Matching refs:refPtr
105 Reference *refPtr;
113 for (i = 0, refPtr = refArray; i < inUse; i++, refPtr++) {
114 if (refPtr->clientData == clientData) {
115 refPtr->refCount++;
149 refPtr = &refArray[inUse];
150 refPtr->clientData = clientData;
151 refPtr->refCount = 1;
152 refPtr->mustFree = 0;
153 refPtr->freeProc = TCL_STATIC;
182 Reference *refPtr;
187 for (i = 0, refPtr = refArray; i < inUse; i++, refPtr++) {
188 if (refPtr->clientData != clientData) {
191 refPtr->refCount--;
192 if (refPtr->refCount == 0) {
201 freeProc = refPtr->freeProc;
202 mustFree = refPtr->mustFree;
251 Reference *refPtr;
259 for (i = 0, refPtr = refArray; i < inUse; i++, refPtr++) {
260 if (refPtr->clientData != clientData) {
263 if (refPtr->mustFree) {
266 refPtr->mustFree = 1;
267 refPtr->freeProc = freeProc;