Lines Matching refs:fData
35 : fData(new(std::nothrow) Data)
41 : fData(new(std::nothrow) Data(semaphore))
43 if (!fData)
49 : fData(NULL)
64 if (!fData)
66 return (fData->semaphore < 0 ? fData->semaphore : B_OK);
74 if (!fData || fData->semaphore < 0)
78 status_t error = get_sem_count(fData->semaphore, &count);
83 error = acquire_sem_etc(fData->semaphore, count, B_RELATIVE_TIMEOUT, 0);
85 error = release_sem_etc(fData->semaphore, -count, 0);
93 if (!fData || fData->semaphore < 0)
96 status_t error = acquire_sem(fData->semaphore);
99 *userData = fData->userData;
108 if (!fData || fData->semaphore < 0)
111 fData->userData = userData;
113 return release_sem(fData->semaphore);
121 fData = other.fData;
122 if (fData)
123 fData->references++;
131 return (fData == other.fData);
138 return (fData != other.fData);
145 if (fData) {
146 if (--fData->references == 0)
147 delete fData;
148 fData = NULL;