/haiku/src/kits/app/ |
H A D | Looper.cpp | 63 port_id _get_looper_port_(const BLooper* looper); 103 BLooper* looper; 111 BLooper::BLooper(const char* name, int32 priority, int32 portCapacity) in BLooper() function in BLooper 119 BLooper::~BLooper() in ~BLooper() 179 BLooper::BLooper(BMessage* data) in BLooper() function in BLooper 195 BLooper::Instantiate(BMessage* data) in Instantiate() 198 return new BLooper(data); in Instantiate() 205 BLooper::Archive(BMessage* data, bool deep) const in Archive() 225 BLooper::PostMessage(uint32 command) in PostMessage() 233 BLooper::PostMessage(BMessage* message) in PostMessage() [all …]
|
H A D | LooperList.cpp | 58 BLooperList::AddLooper(BLooper* looper) in AddLooper() 77 BLooperList::IsLooperValid(const BLooper* looper) in IsLooperValid() 88 BLooperList::RemoveLooper(BLooper* looper) in RemoveLooper() 126 BLooper* 132 BLooper* looper = NULL; in LooperAt() 140 BLooper* 146 BLooper* looper = NULL; in LooperForThread() 156 BLooper* 162 BLooper* looper = NULL; in LooperForName() 172 BLooper* [all …]
|
/haiku/headers/private/app/ |
H A D | LooperList.h | 20 class BLooper; variable 34 void AddLooper(BLooper* l); 35 bool IsLooperValid(const BLooper* l); 36 bool RemoveLooper(BLooper* l); 39 BLooper* LooperAt(int32 index); 40 BLooper* LooperForThread(thread_id tid); 41 BLooper* LooperForName(const char* name); 42 BLooper* LooperForPort(port_id port); 49 LooperData(BLooper* looper); 53 BLooper* looper; [all …]
|
/haiku/src/tests/kits/app/messaging/first_light/ |
H A D | main.cpp | 31 class TLooper1 : public BLooper 34 TLooper1() : BLooper() {;} in TLooper1() 44 BLooper::MessageReceived(msg); in MessageReceived() 49 class TLooper2 : public BLooper 52 TLooper2(BMessenger target) : BLooper(), fTarget(target) {;} in TLooper2() 62 BLooper::MessageReceived(msg); in MessageReceived() 73 BLooper* fLooper1 = new TLooper1; in main() 74 BLooper* fLooper2 = new TLooper2(fLooper1); in main() 104 BLooper* fLooper1; 105 BLooper* fLooper2;
|
/haiku/src/tests/kits/app/blooper/ |
H A D | RemoveHandlerTest.cpp | 32 BLooper Looper; in RemoveHandler1() 46 BLooper Looper; in RemoveHandler2() 61 BLooper Looper; in RemoveHandler3() 78 BLooper Looper; in RemoveHandler4() 93 BLooper Looper; in RemoveHandler5() 107 ADD_TEST4(BLooper, suite, TRemoveHandlerTest, RemoveHandler1); in Suite() 108 ADD_TEST4(BLooper, suite, TRemoveHandlerTest, RemoveHandler2); in Suite() 109 ADD_TEST4(BLooper, suite, TRemoveHandlerTest, RemoveHandler3); in Suite() 110 ADD_TEST4(BLooper, suite, TRemoveHandlerTest, RemoveHandler4); in Suite() 111 ADD_TEST4(BLooper, suite, TRemoveHandlerTest, RemoveHandler5); in Suite()
|
H A D | IsMessageWaitingTest.cpp | 23 port_id _get_looper_port_(const BLooper* looper); 35 BLooper Looper; in IsMessageWaiting1() 49 BLooper Looper; in IsMessageWaiting2() 66 BLooper Looper; in IsMessageWaiting3() 99 BLooper Looper; in IsMessageWaiting4() 130 BLooper* Looper = new BLooper(__PRETTY_FUNCTION__); in IsMessageWaiting5() 173 ADD_TEST4(BLooper, suite, TIsMessageWaitingTest, IsMessageWaiting1); in Suite() 174 ADD_TEST4(BLooper, suite, TIsMessageWaitingTest, IsMessageWaiting2); in Suite() 175 ADD_TEST4(BLooper, suite, TIsMessageWaitingTest, IsMessageWaiting3); in Suite() 176 ADD_TEST4(BLooper, suite, TIsMessageWaitingTest, IsMessageWaiting4); in Suite()
|
H A D | HandlerAtTest.cpp | 30 BLooper Looper; in HandlerAtTest1() 42 BLooper Looper; in HandlerAtTest2() 58 BLooper Looper; in HandlerAtTest3() 79 BLooper Looper; in HandlerAtTest4() 88 ADD_TEST4(BLooper, suite, THandlerAtTest, HandlerAtTest1); in Suite() 89 ADD_TEST4(BLooper, suite, THandlerAtTest, HandlerAtTest2); in Suite() 90 ADD_TEST4(BLooper, suite, THandlerAtTest, HandlerAtTest3); in Suite() 91 ADD_TEST4(BLooper, suite, THandlerAtTest, HandlerAtTest4); in Suite()
|
H A D | QuitTest.cpp | 31 BLooper* looper = new BLooper; in QuitTest1() 40 BLooper* looper = new BLooper; in QuitTest2() 53 ADD_TEST4(BLooper, suite, TQuitTest, QuitTest1); in Suite() 54 ADD_TEST4(BLooper, suite, TQuitTest, QuitTest2); in Suite()
|
H A D | RunTest.cpp | 30 BLooper Looper; in RunTest1() 43 BLooper* Looper = new BLooper; in RunTest2() 58 BLooper* Looper = new BLooper; in RunTest3() 67 ADD_TEST4(BLooper, suite, TRunTest, __test_name__)
|
H A D | LooperForThreadTest.cpp | 27 BLooper* Looper = new BLooper; in LooperForThreadTest1() 29 CPPUNIT_ASSERT(Looper == BLooper::LooperForThread(tid)); in LooperForThreadTest1() 40 CPPUNIT_ASSERT(BLooper::LooperForThread(find_thread(NULL)) == NULL); in LooperForThreadTest2() 47 ADD_TEST4(BLooper, suite, TLooperForThreadTest, __test_name__)
|
H A D | AddCommonFilterTest.cpp | 32 BLooper Looper; in AddCommonFilterTest1() 50 BLooper Looper; in AddCommonFilterTest2() 65 BLooper Looper; in AddCommonFilterTest3() 83 BLooper Looper1; in AddCommonFilterTest4() 84 BLooper Looper2; in AddCommonFilterTest4() 96 ADD_TEST4(BLooper, suite, TAddCommonFilterTest, __test_name__);
|
H A D | IndexOfTest.cpp | 30 BLooper Looper; in IndexOfTest1() 42 BLooper Looper; in IndexOfTest2() 55 BLooper Looper; in IndexOfTest3() 69 BLooper Looper; in IndexOfTest4() 141 BLooper Looper; in IndexOfTest5() 156 BLooper Looper; in IndexOfTest6() 164 ADD_TEST4(BLooper, suite, TIndexOfTest, IndexOfTest1); in Suite() 165 ADD_TEST4(BLooper, suite, TIndexOfTest, IndexOfTest2); in Suite() 166 ADD_TEST4(BLooper, suite, TIndexOfTest, IndexOfTest3); in Suite() 167 ADD_TEST4(BLooper, suite, TIndexOfTest, IndexOfTest4); in Suite() [all …]
|
H A D | SetCommonFilterListTest.cpp | 31 BLooper Looper; in SetCommonFilterListTest1() 48 BLooper Looper; in SetCommonFilterListTest2() 64 BLooper Looper; in SetCommonFilterListTest3() 86 BLooper Looper1; in SetCommonFilterListTest4() 87 BLooper Looper2; in SetCommonFilterListTest4() 104 ADD_TEST4(BLooper, suite, TSetCommonFilterListTest, __test_name__)
|
H A D | RemoveCommonFilterTest.cpp | 30 BLooper Looper; in RemoveCommonFilterTest1() 44 BLooper Looper; in RemoveCommonFilterTest2() 59 BLooper Looper; in RemoveCommonFilterTest3() 72 BLooper Looper; in RemoveCommonFilterTest4() 82 ADD_TEST4(BLooper, suite, TRemoveCommonFilterTest, __test_name__)
|
H A D | AddHandlerTest.cpp | 38 BLooper Looper; in AddHandlerTest1() 56 BLooper Looper; in AddHandlerTest2() 66 ADD_TEST4(BLooper, suite, TAddHandlerTest, AddHandlerTest1); in Suite() 67 ADD_TEST4(BLooper, suite, TAddHandlerTest, AddHandlerTest2); in Suite()
|
H A D | CountHandlersTest.cpp | 29 BLooper Looper; in CountHandlersTest1() 40 BLooper Looper; in CountHandlersTest2() 64 ADD_TEST4(BLooper, suite, TCountHandlersTest, CountHandlersTest1); in Suite() 65 ADD_TEST4(BLooper, suite, TCountHandlersTest, CountHandlersTest2); in Suite()
|
/haiku/src/tests/kits/app/bhandler/ |
H A D | SetNextHandlerTest.cpp | 30 BLooper Looper; in SetNextHandler0() 78 BLooper Looper; in SetNextHandler2() 100 BLooper Looper; in SetNextHandler3() 121 BLooper Looper; in SetNextHandler4() 143 BLooper Looper; in SetNextHandler5() 164 BLooper Looper1; in SetNextHandler6() 165 BLooper Looper2; in SetNextHandler6() 190 BLooper Looper1; in SetNextHandler7() 191 BLooper Looper2; in SetNextHandler7() 215 BLooper Looper1; in SetNextHandler8() [all …]
|
/haiku/headers/os/app/ |
H A D | Looper.h | 29 class BLooper : public BHandler { 31 BLooper(const char* name = NULL, 35 virtual ~BLooper(); 38 BLooper(BMessage* data); 81 static BLooper* LooperForThread(thread_id thread); 116 friend port_id _get_looper_port_(const BLooper* ); 125 BLooper(const BLooper&); 126 BLooper& operator=(const BLooper&); 128 BLooper(int32 priority, port_id port, 134 static status_t _Lock(BLooper* loop, port_id port, [all …]
|
/haiku/src/tests/kits/app/bmessenger/ |
H A D | ForwardMessageTest.cpp | 5 class MyLooper : public BLooper 8 MyLooper(BLooper *looper) : BLooper("test") { in MyLooper() 24 BLooper::MessageReceived(msg); in MessageReceived() 28 BLooper *fLooper;
|
H A D | BMessengerTester.cpp | 39 team_id team, BLooper *looper = NULL, BHandler *handler = NULL, in check_messenger() 44 BLooper *resultLooper = NULL; in check_messenger() 76 BLooper *looper; in BMessenger1() 95 BLooper *looper; in BMessenger2() 116 BLooper *looper; in BMessenger3() 136 BLooper *looper = new BLooper; in BMessenger4() 142 BLooper *resultLooper; in BMessenger4() 167 BLooper *resultLooper; in BMessenger5() 189 BLooper *looper = new BLooper; in BMessenger6() 201 BLooper *resultLooper; in BMessenger6() [all …]
|
H A D | TargetTester.cpp | 50 BLooper *looper = new BLooper; in IsTargetLocalTest2() 66 BLooper *looper = new BLooper; in IsTargetLocalTest3() 123 BLooper *looper = new BLooper; in TargetTest2() 140 BLooper *looper = new BLooper; in TargetTest3()
|
H A D | MessengerAssignmentTester.cpp | 74 BLooper *looper; in AssignmentTest1() 92 BLooper *looper = new BLooper; in AssignmentTest2() 99 BLooper *resultLooper; in AssignmentTest2() 127 BLooper *looper = new BLooper; in AssignmentTest3() 139 BLooper *resultLooper; in AssignmentTest3()
|
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessageDestructTest.cpp | 28 class Looper1 : public BLooper 31 Looper1(const char* name) : BLooper(name) {;} in Looper1() 43 BLooper::MessageReceived(msg); in MessageReceived() 50 BLooper* looper1 = new Looper1("looper1"); in MessageDestructTest1() 70 BLooper* looper1 = new Looper1("looper1"); in MessageDestructTest2()
|
/haiku/src/apps/debugger/user_interface/gui/util/ |
H A D | SettingsMenu.h | 28 virtual void PrepareToShow(BLooper* parentLooper) = 0; 29 virtual bool Finish(BLooper* parentLooper, bool force) = 0; 44 virtual void PrepareToShow(BLooper* parentLooper, 47 virtual bool Finish(BLooper* parentLooper, 71 virtual void PrepareToShow(BLooper* parentLooper); 72 virtual bool Finish(BLooper* parentLooper, bool force);
|
/haiku/headers/os/storage/ |
H A D | NodeMonitor.h | 82 class BLooper; variable 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);
|