Home
last modified time | relevance | path

Searched refs:PIPE_OUT (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_event.c33 CloseDesc(node->pipeFd[PIPE_OUT]); in CloseNodePipe()
45 ret = (int32_t)recvfrom(node->pipeFd[PIPE_OUT], &event, sizeof(event), 0, NULL, NULL); in EventProcessHandle()
47 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in EventProcessHandle()
108 ret = (int32_t)recvfrom(node->pipeFd[PIPE_OUT], &event, sizeof(event), 0, NULL, NULL); in ClearEvent()
110 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in ClearEvent()
131 node->pipeFd[PIPE_OUT] = fds.recvFd; in CreateNonBlockPipe()
163 node->task.taskfd = node->pipeFd[PIPE_OUT]; in EventModuleInit()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/unix/dfile/
H A Dsys_dfile.c37 if (session->receiverPipe[PIPE_OUT] >= FD_SETSIZE) { in CreateReceiverPipe()
38 … LOGE(TAG, "pipe fd %d is too big for monitoring by select", session->receiverPipe[PIPE_OUT]); in CreateReceiverPipe()
58 CloseDesc(session->receiverPipe[PIPE_OUT]); in CreateReceiverPipe()
H A Dsys_dfile_session.c49 PipeDesc pipe = session->receiverPipe[PIPE_OUT]; in WaitSocketEvent()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_event.c33 CloseDesc(node->pipeFd[PIPE_OUT]); in CloseNodePipe()
44 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in EventProcessHandle()
99 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in ClearEvent()
164 node->task.taskfd = node->pipeFd[PIPE_OUT]; in EventModuleInit()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_common_header.h35 #define PIPE_OUT 0 macro
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/liteos/dfile/
H A Dsys_dfile.c36 session->receiverPipe[PIPE_OUT] = fds.recvFd; in CreateReceiverPipe()
H A Dsys_dfile_session.c49 PipeDesc pipe = session->receiverPipe[PIPE_OUT]; in WaitSocketEvent()
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/src/
H A Dnetmanager_base_common_utils.cpp58 constexpr int32_t PIPE_OUT = 0; variable
497 if (close(pipeFd[PIPE_OUT]) != 0) { in ForkExecChildProcess()
534 while (read(pipeFd[PIPE_OUT], buf, CHAR_ARRAY_SIZE_MAX - 1) > 0) { in ForkExecParentProcess()
542 if (close(pipeFd[PIPE_OUT]) != 0) { in ForkExecParentProcess()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_session.c2043 if (session->receiverPipe[PIPE_OUT] != INVALID_PIPE_DESC) { in DestroyReceiverPipe()
2044 CloseDesc(session->receiverPipe[PIPE_OUT]); in DestroyReceiverPipe()
2045 session->receiverPipe[PIPE_OUT] = INVALID_PIPE_DESC; in DestroyReceiverPipe()