Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 36) sorted by relevance

12

/developtools/hdc/src/test/
Dut_mod.cpp169 void UtForwardWaiter(uv_loop_t *loop, uv_tcp_t *server) in UtForwardWaiter() argument
185 uv_tcp_init(server->loop, client); in UtForwardWaiter()
199 if (uv_tcp_init(loop, server) || uv_ip4_addr("127.0.0.1", utForwardTargetPort, &addr)) { in UtForwardWaiter()
208 bool UtForwardConnect(uv_loop_t *loop, uv_tcp_t *client, uv_tcp_t *server) in UtForwardConnect() argument
217 … Base::DelayDoSimple(req->handle->loop, 3000, [=](const uint8_t flag, string &msg, const void *p) { in UtForwardConnect()
228 if (uv_tcp_init(loop, client)) { in UtForwardConnect()
243 uv_loop_t loop; in TestForwardExternThread() local
252 uv_stop(&loop); in TestForwardExternThread()
254 UtForwardConnect(&loop, &client, &server); in TestForwardExternThread()
257 uv_loop_init(&loop); in TestForwardExternThread()
[all …]
/developtools/hdc/src/common/
Dbase.h44 …int StartWorkThread(uv_loop_t *loop, uv_work_cb pFuncWorkThread, uv_after_work_cb pFuncAfterThread,
104 bool IdleUvTask(uv_loop_t *loop, void *data, uv_idle_cb cb);
105 …bool TimerUvTask(uv_loop_t *loop, void *data, uv_timer_cb cb, int repeatTimeout = UV_DEFAULT_INTER…
106 bool DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg, void *data,
108 inline bool DelayDoSimple(uv_loop_t *loop, const int delayMs, in DelayDoSimple() argument
111 return DelayDo(loop, delayMs, 0, "", nullptr, cb); in DelayDoSimple()
113 …inline bool DoNextLoop(uv_loop_t *loop, void *data, std::function<void(const uint8_t, string &, co… in DoNextLoop() argument
115 return DelayDo(loop, 0, 0, "", data, cb); in DoNextLoop()
Dfile_descriptor.cpp21 loop = loopIn; in HdcFileDescriptor()
51 uv_fs_close(loop, &reqClose, fdIO, [](uv_fs_t *req) { in StopWork()
127 uv_fs_read(loop, req, fdIO, &iov, 1, -1, OnFileIO); in LoopRead()
173 uv_fs_write(loop, req, fdIO, &iov, 1, -1, OnFileIO); in WriteWithMem()
Dasync_cmd.cpp65 loop = loopIn; in Initial()
147 …childShell = new(std::nothrow) HdcFileDescriptor(loop, fd, this, ChildReadCallback, FinishShellPro… in ExecuteCommand()
Dasync_cmd.h54 uv_loop_t *loop = nullptr; variable
Dfile_descriptor.h49 uv_loop_t *loop; variable
Duart.cpp41 int ExternInterface::UvTcpInit(uv_loop_t *loop, uv_tcp_t *tcp, int socketFd) in UvTcpInit() argument
43 if (uv_tcp_init(loop, tcp) == 0) { in UvTcpInit()
55 int ExternInterface::StartWorkThread(uv_loop_t *loop, uv_work_cb pFuncWorkThread, in StartWorkThread() argument
58 return Base::StartWorkThread(loop, pFuncWorkThread, pFuncAfterThread, pThreadData); in StartWorkThread()
66 bool ExternInterface::TimerUvTask(uv_loop_t *loop, void *data, uv_timer_cb cb) in TimerUvTask() argument
68 return Base::TimerUvTask(loop, data, cb); in TimerUvTask()
76 bool ExternInterface::DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg, in DelayDo() argument
79 return Base::DelayDo(loop, delayMs, flag, msg, data, cb); in DelayDo()
Duart.h146 virtual int StartWorkThread(uv_loop_t *loop, uv_work_cb pFuncWorkThread,
149 virtual bool TimerUvTask(uv_loop_t *loop, void *data, uv_timer_cb cb);
153 virtual bool DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg,
Dbase.cpp376 if (handle->loop && !uv_is_closing(handle)) { in TryCloseHandle()
519 int StartWorkThread(uv_loop_t *loop, uv_work_cb pFuncWorkThread, in StartWorkThread() argument
527 uv_queue_work(loop, workThread, pFuncWorkThread, pFuncAfterThread); in StartWorkThread()
1267 bool IdleUvTask(uv_loop_t *loop, void *data, uv_idle_cb cb) in IdleUvTask() argument
1274 uv_idle_init(loop, idle); in IdleUvTask()
1280 bool TimerUvTask(uv_loop_t *loop, void *data, uv_timer_cb cb, int repeatTimeout) in TimerUvTask() argument
1287 uv_timer_init(loop, timer); in TimerUvTask()
1294 bool DelayDo(uv_loop_t *loop, const int delayMs, const uint8_t flag, string msg, void *data, in DelayDo() argument
1321 uv_timer_init(loop, &st->handle); in DelayDo()
Dtransfer.h81 uv_loop_t *loop; member
/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp22 loop = loopIn; in HdcJdwpSimulator()
168 uv_tcp_init(thisClass->loop, &ctxJdwp->newFd); in ReceiveNewFd()
263 if (loop && !uv_is_closing(reinterpret_cast<uv_handle_t *>(&ctxPoint->pipe))) { in FreeContext()
266 if (ctxPoint->hasNewFd && loop && in FreeContext()
285 uv_pipe_init(loop, static_cast<uv_pipe_t *>(&ctxPoint->pipe), 1); in Connect()
DHdcJdwpSimulator.h27 uv_loop_t *loop; variable
Dmain.cpp39 if (handle->loop && !uv_is_closing(handle)) { in TryCloseHandle()
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/privateAttr/
DprivateAttr.hml10 …autoplay}}" interval="{{interval}}" indicator="{{indicator}}" digital="{{digital}}" loop="{{loop}}"
45 <marquee scrollamount="{{scrollamount}}" loop="{{loop}}" direction="{{direction}}"></marquee>
/developtools/hdc/src/daemon/
Djdwp.cpp23 loop = loopIn; in HdcJdwp()
91 Base::IdleUvTask(loop, ctx, funcReqClose); in FreeContext()
193 uv_pipe_init(thisClass->loop, &ctxJdwp->pipe, 1); in AcceptClient()
224 uv_pipe_init(loop, &listenPipe, 0); in JdwpListen()
357 if (uv_tcp_init(loop, &ctx->jvmTCP)) { in SendJdwpNewFD()
Ddaemon_usb.h52 int CloseBulkEp(bool bulkInOut, int bulkFd, uv_loop_t *loop);
Djdwp.h93 uv_loop_t *loop; variable
Ddaemon_tcp.cpp71 uv_loop_t *ptrLoop = server->loop; in AcceptClient()
/developtools/hdc/src/host/
Dext_client.cpp385 uv_loop_t loop; in ExternalExecFunc() local
394 uv_loop_init(&loop); in ExternalExecFunc()
415 if (uv_spawn(&loop, &childReq, &options) != 0) { in ExternalExecFunc()
418 uv_run(&loop, UV_RUN_DEFAULT); in ExternalExecFunc()
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/forDirective/
DforDirective.hml20 <swiper index="{{personIndex}}" loop="{{personItem}}"></swiper>
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/forDirective/
DforDirective.hml20 <swiper index="{{personIndex}}" loop="{{personItem}}"></swiper>
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcard_component_map.js215 loop: { property
Drich_component_map.js970 loop: { property
1027 loop: { property
1249 loop: { property
Dlite_component_map.js79 loop: { property
/developtools/ace_ets2bundle/compiler/
D.eslintrc75 "no-unmodified-loop-condition": 2,

12