Home
last modified time | relevance | path

Searched defs:reactor (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dreactor_linux.c40 Reactor *reactor; member
56 void ReactorSetThreadId(Reactor *reactor, unsigned long threadId) in ReactorSetThreadId()
63 Reactor *reactor = (Reactor *)calloc(1, sizeof(Reactor)); in ReactorCreate() local
106 void ReactorDelete(Reactor *reactor) in ReactorDelete()
119 int32_t ReactorStart(Reactor *reactor) in ReactorStart()
175 void ReactorStop(const Reactor *reactor) in ReactorStop()
182Reactor *reactor, int fd, void *context, void (*onReadReady)(void *context), void (*onWriteReady)(… in ReactorRegister()
H A Dthread_linux.c38 Reactor *reactor; member
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dio_event_handler.cpp45 bool IOEventHandler::Start(IOEventReactor* reactor) in Start()
58 bool IOEventHandler::Stop(IOEventReactor* reactor) in Stop()
71 bool IOEventHandler::Update(IOEventReactor* reactor) in Update()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_event_test.cpp145 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); variable
183 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); variable
240 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
340 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
374 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
413 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
447 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
484 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
521 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); variable
876 bool TimerEventHandler::Start(IOEventReactor* reactor) in Start()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
H A Devent_benchmark_test.cpp181 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); in BENCHMARK_F() local
271 std::shared_ptr<IOEventReactor> reactor = std::make_shared<IOEventReactor>(); in BENCHMARK_F() local
333 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F() local
431 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F() local
469 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in EventLoop() local
499 std::unique_ptr<IOEventReactor> reactor = EventLoop(handler, state, loopThread); in BENCHMARK_F() local
532 std::unique_ptr<IOEventReactor> reactor = EventLoop(handler, state, loopThread); in BENCHMARK_F() local
596 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F() local
644 std::unique_ptr<IOEventReactor> reactor = std::make_unique<IOEventReactor>(); in BENCHMARK_F() local
1022 bool TimerEventHandler::Start(IOEventReactor* reactor) in Start()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci.c80 Reactor *reactor = ThreadGetReactor(g_hciTxThread); in HciInitQueue() local
89 Reactor *reactor = ThreadGetReactor(BTM_GetProcessingThread()); in HciInitQueue() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_thread.c76 Reactor *reactor = ThreadGetReactor(g_processingThread); in AllocProcessingQueue() local