Lines Matching refs:looper

322 		BLooper* looper = sOnQuitLooperList.ItemAt(i);
323 if (looper->Lock())
324 looper->Quit();
434 // Check whether we need to replace the looper port with a port
612 "Quit(), team=%" B_PRId32 ", looper=%s\n", Team(), name);
622 // We are not the looper thread.
629 // won't get emptier, as the looper thread needs to lock the object
634 // We are the looper thread.
805 BLooper* looper = LooperAt(index);
806 if (looper != NULL) {
808 BMessenger(looper).SendMessage(message);
816 // TODO: implement getting looper by ID!
827 BLooper* looper = LooperAt(i);
828 if (looper == NULL) {
832 if (looper->Name() != NULL
833 && strcmp(looper->Name(), name) == 0) {
835 BMessenger(looper).SendMessage(message);
957 BLooper* looper = NULL;
960 looper = gLooperList.LooperAt(index);
962 return looper;
967 BApplication::RegisterLooper(BLooper* looper)
969 BWindow* window = dynamic_cast<BWindow*>(looper);
973 if (sOnQuitLooperList.HasItem(looper))
976 if (sOnQuitLooperList.AddItem(looper) != true)
984 BApplication::UnregisterLooper(BLooper* looper)
986 BWindow* window = dynamic_cast<BWindow*>(looper);
990 if (!sOnQuitLooperList.HasItem(looper))
993 if (sOnQuitLooperList.RemoveItem(looper) != true)
1285 BLooper* looper = LooperAt(index);
1286 if (looper == NULL)
1289 BMessenger messenger(looper);
1302 BLooper* looper = LooperAt(i);
1303 if (looper != NULL && looper->Name()
1304 && strcmp(looper->Name(), name) == 0) {
1305 BMessenger messenger(looper);
1417 // 2) port_id - looper port for this BApplication
1526 // NOTE: the window pointer might be stale, in case the looper
1527 // was already quit by quitting an earlier looper... but fortunately,