/haiku/src/apps/icon-o-matic/generic/listener/ |
H A D | AbstractLOAdapter.cpp | 40 if (BLooper* looper = fHandler->Looper()) 41 looper->PostMessage(message, fHandler);
|
/haiku/src/apps/mediaplayer/support/ |
H A D | AbstractLOAdapter.cpp | 40 if (BLooper* looper = fHandler->Looper()) 41 looper->PostMessage(message, fHandler);
|
/haiku/src/tests/kits/app/bmessenger/ |
H A D | ForwardMessageTest.cpp | 8 MyLooper(BLooper *looper) : BLooper("test") { argument 10 fLooper = looper;
|
H A D | MessengerComparissonTester.cpp | 129 // create looper 130 BLooper *looper = new BLooper; local 131 looper->Run(); 132 LooperQuitter quitter(looper); 134 BMessenger a(NULL, looper); 149 - looper preferred handler vs. same looper but the looper 151 - looper preferred handler vs. other looper preferre [all...] |
/haiku/src/tests/kits/storage/testapps/ |
H A D | PathMonitorTest.cpp | 165 // start looper 166 Looper& looper = *new Looper("/tmp/a/b/c"); local 167 looper.Run(); 182 // quit looper 183 looper.PostMessage(B_QUIT_REQUESTED); 185 wait_for_thread(looper.Thread(), &status);
|
/haiku/headers/os/app/ |
H A D | Messenger.h | 27 const BLooper* looper = NULL, 35 BHandler* Target(BLooper **looper) const; 66 const BLooper* looper = NULL); 88 const BLooper *looper,
|
H A D | Invoker.h | 26 const BLooper* looper = NULL); 35 const BLooper* looper = NULL);
|
/haiku/headers/os/storage/ |
H A D | NodeMonitor.h | 88 const BHandler* handler, const BLooper* looper = NULL); 93 const BHandler* handler, const BLooper* looper = NULL); 96 extern status_t stop_watching(const BHandler* handler, const BLooper* looper = NULL);
|
/haiku/src/kits/app/ |
H A D | Handler.cpp | 136 BLooper* looper = Looper(); local 137 looper->RemoveHandler(this); 138 looper->Unlock(); 317 debugger("handler must belong to looper before setting NextHandler"); 322 debugger("The handler's looper must be locked before setting NextHandler"); 327 debugger("The handler and its NextHandler must have the same looper"); 345 BLooper* looper = fLooper; local 346 if (looper != NULL && !looper->IsLocked()) { 351 if (looper ! 364 BLooper* looper = fLooper; local 382 BLooper* looper = fLooper; local 424 BLooper* looper = fLooper; local 443 BLooper* looper = fLooper; local 646 SetLooper(BLooper* looper) argument [all...] |
H A D | Invoker.cpp | 25 const BLooper* looper) 28 fMessenger(BMessenger(handler, looper)), 91 BInvoker::SetTarget(const BHandler* handler, const BLooper* looper) argument 93 fMessenger = BMessenger(handler, looper); 24 BInvoker(BMessage* message, const BHandler* handler, const BLooper* looper) argument
|
H A D | Looper.cpp | 63 port_id _get_looper_port_(const BLooper* looper); 103 BLooper* looper; member in struct:_loop_data_ 128 // In case the looper thread calls Quit() fLastMessage is not deleted. 265 // After returning from DispatchMessage(), the looper will be 533 printf("ERROR - you must Lock a looper before calling Quit(), " 534 "team=%" B_PRId32 ", looper=%s\n", Team(), 551 PRINT((" We are the looper thread\n")); 556 PRINT((" Run() has already been called and we are not the looper thread\n")); 558 // As with sem in _Lock(), we need to cache this here in case the looper 562 // We need to unlock here. Otherwise the looper threa 926 _Lock(BLooper* looper, port_id port, bigtime_t timeout) argument 982 _LockComplete(BLooper* looper, int32 oldCount, thread_id thread, sem_id sem, bigtime_t timeout) argument 1080 BLooper* looper = (BLooper*)arg; local 1506 _get_looper_port_(const BLooper* looper) argument [all...] |
H A D | Application.cpp | 322 BLooper* looper = sOnQuitLooperList.ItemAt(i); local 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); local 806 if (looper ! 827 BLooper* looper = LooperAt(i); local 957 BLooper* looper = NULL; local 967 RegisterLooper(BLooper* looper) argument 984 UnregisterLooper(BLooper* looper) argument 1285 BLooper* looper = LooperAt(index); local 1302 BLooper* looper = LooperAt(i); local [all...] |
/haiku/src/add-ons/input_server/methods/pen/ |
H A D | PenInputServerMethod.cpp | 80 BLooper *looper = NULL; local 81 fLooper.Target(&looper); 82 if (looper != NULL) 84 if (looper->Lock()) 85 looper->Quit(); 91 PenInputLooper *looper; local 94 looper = new PenInputLooper(this); 95 looper->Lock(); 96 err = looper->InitCheck(); 97 looper [all...] |
/haiku/src/kits/print/ |
H A D | FolderWatcher.cpp | 46 FolderWatcher::FolderWatcher(BLooper* looper, const BDirectory& folder, bool watchAttrChanges) argument 52 if (looper->Lock()) { 53 looper->AddHandler(this); 54 looper->Unlock(); 81 BLooper* looper = Looper(); local 83 looper->RemoveHandler(this); 84 looper->Unlock();
|
/haiku/headers/private/storage/ |
H A D | PathMonitor.h | 72 const BLooper* looper = NULL); 76 const BLooper* looper = NULL);
|
/haiku/src/servers/registrar/ |
H A D | MessageEvent.cpp | 155 if (BLooper* looper = fHandler->Looper()) 156 looper->PostMessage(&fMessage, fHandler);
|
/haiku/src/apps/launchbox/ |
H A D | NamePanel.cpp | 107 BLooper* looper = fTarget ? fTarget->Looper() : NULL; local 108 if (fMessage && looper) { 112 looper->PostMessage(&cloneMessage, fTarget);
|
/haiku/src/apps/deskbar/ |
H A D | BarMenuTitle.cpp | 163 BLooper* looper = fBarView->Looper(); 164 if (looper->Lock()) { 167 looper->Unlock();
|
/haiku/src/apps/cortex/support/ |
H A D | MultiInvoker.cpp | 156 BHandler* MultiInvoker::TargetAt(int32 index, BLooper** looper) const 160 return msgr->Target(looper); 162 if (looper) *looper = 0;
|
H A D | MultiInvoker.h | 74 BHandler* TargetAt(int32 index, BLooper** looper=0) const;
|
/haiku/src/kits/debug/ |
H A D | DebugLooper.cpp | 43 fDoneSemaphore = create_sem(0, "debug looper job"); 64 virtual status_t Do(BDebugLooper* looper) = 0; 85 virtual status_t Do(BDebugLooper* looper) argument 88 if (debugger == NULL || !looper->fDebuggers.AddItem(debugger)) { 109 virtual status_t Do(BDebugLooper* looper) argument 111 for (int32 i = 0; Debugger* debugger = looper->fDebuggers.ItemAt(i); 114 delete looper->fDebuggers.RemoveItemAt(i); 132 fLock("debug looper"), 167 fEventSemaphore = create_sem(0, "debug looper event"); 187 fThread = spawn_thread(&_MessageLoopEntry, "debug looper", [all...] |
/haiku/src/tests/kits/app/bclipboard/ |
H A D | ReadWriteTester.cpp | 300 BLooper *looper = new BLooper(); local 302 looper->AddHandler(&handler); 303 looper->Run(); 315 looper->Lock(); 316 looper->Quit();
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorPickerPanel.cpp | 112 BLooper* looper = fTarget ? fTarget->Looper() : be_app; local 120 looper->PostMessage(&msg, fTarget);
|
/haiku/src/servers/app/ |
H A D | MessageLooper.cpp | 77 // called from our message looper 88 \brief Send a message to the looper without any attachments 129 strlcpy(name, "unnamed looper", length); 175 MessageLooper* looper = (MessageLooper*)_looper; local 177 looper->_MessageLooper();
|
/haiku/src/apps/mandelbrot/ |
H A D | FractalEngine.h | 36 FractalEngine(BHandler* parent, BLooper* looper);
|