Lines Matching refs:looper

39 				team_id team, BLooper *looper = NULL, BHandler *handler = NULL,
46 CHK(resultLooper == looper);
68 Target() should return NULL and NULL for looper.
76 BLooper *looper;
77 CHK(messenger.Target(&looper) == NULL);
78 CHK(looper == NULL);
83 BMessenger(const BHandler *handler, const BLooper *looper,
85 @case 1 handler is NULL, looper is NULL, result is NULL
87 Target() should return NULL and NULL for looper.
95 BLooper *looper;
96 CHK(messenger.Target(&looper) == NULL);
97 CHK(looper == NULL);
102 BMessenger(const BHandler *handler, const BLooper *looper,
104 @case 2 handler is NULL, looper is NULL, result is not NULL
106 Target() should return NULL and NULL for looper.
116 BLooper *looper;
117 CHK(messenger.Target(&looper) == NULL);
118 CHK(looper == NULL);
124 BMessenger(const BHandler *handler, const BLooper *looper,
126 @case 3 handler is NULL, looper is not NULL, result is not NULL
129 looper.
136 BLooper *looper = new BLooper;
137 looper->Run();
138 LooperQuitter quitter(looper);
139 BMessenger messenger(NULL, looper, &result);
144 CHK(resultLooper == looper);
150 BMessenger(const BHandler *handler, const BLooper *looper,
152 @case 4 handler is not NULL, looper is NULL, result is not NULL,
153 handler doesn't belong to a looper
155 Target() should return NULL and NULL for looper.
175 BMessenger(const BHandler *handler, const BLooper *looper,
177 @case 5 handler is not NULL, looper is NULL, result is not NULL
178 handler does belong to a looper
181 handler->Looper() for looper.
187 // create looper and handler
189 BLooper *looper = new BLooper;
190 looper->Run();
191 LooperQuitter quitter(looper);
194 CHK(looper->Lock());
195 looper->AddHandler(handler);
196 looper->Unlock();
203 CHK(resultLooper == looper);
210 BMessenger(const BHandler *handler, const BLooper *looper,
212 @case 6 handler is not NULL, looper is not NULL, result is not NULL
213 handler does belong to the looper
216 for looper.
222 // create looper and handler
224 BLooper *looper = new BLooper;
225 looper->Run();
226 LooperQuitter quitter(looper);
229 CHK(looper->Lock());
230 looper->AddHandler(handler);
231 looper->Unlock();
233 BMessenger messenger(handler, looper, &result);
238 CHK(resultLooper == looper);
245 BMessenger(const BHandler *handler, const BLooper *looper,
247 @case 7 handler is not NULL, looper is not NULL, result is not NULL
248 handler does belong to a different looper
250 Target() should return NULL and NULL for looper.
258 BLooper *looper = new BLooper;
259 looper->Run();
260 LooperQuitter quitter(looper);
266 CHK(looper->Lock());
267 looper->AddHandler(handler);
268 looper->Unlock();
285 Target() should return NULL and NULL for looper.
294 BLooper *looper;
295 CHK(messenger.Target(&looper) == NULL);
296 CHK(looper == NULL);
310 // create looper and handler
312 BLooper *looper = new BLooper;
313 looper->Run();
314 LooperQuitter quitter(looper);
317 CHK(looper->Lock());
318 looper->AddHandler(handler);
319 looper->Unlock();
321 BMessenger from(handler, looper, &result);
326 CHK(resultLooper == looper);
335 CHK(resultLooper == looper);
344 Target() should return NULL and NULL for looper.
370 Target() should return NULL and NULL for looper.
390 Target() should return NULL and NULL for looper.
418 Target() should return NULL and NULL for looper.
445 Target() should return NULL and NULL for looper.
472 Target() should return NULL and NULL for looper.
505 Target() should return NULL and NULL for looper.
538 Target() should return NULL and NULL for looper.
569 Target() should return NULL and NULL for looper.