Lines Matching refs:mainloop
396 otSysMainloopContext mainloop; in main() local
400 FD_ZERO(&mainloop.mReadFdSet); in main()
401 FD_ZERO(&mainloop.mWriteFdSet); in main()
402 FD_ZERO(&mainloop.mErrorFdSet); in main()
404 mainloop.mMaxFd = -1; in main()
405 mainloop.mTimeout.tv_sec = 10; in main()
406 mainloop.mTimeout.tv_usec = 0; in main()
409 otAppCliUpdate(&mainloop); in main()
412 otSysMainloopUpdate(instance, &mainloop); in main()
414 if (otSysMainloopPoll(&mainloop) >= 0) in main()
416 otSysMainloopProcess(instance, &mainloop); in main()
418 otAppCliProcess(&mainloop); in main()