Searched refs:PIPE_IN (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_event.c | 34 CloseDesc(node->pipeFd[PIPE_IN]); in CloseNodePipe() 78 ret = (int32_t)sendto(node->pipeFd[PIPE_IN], &event, sizeof(event), 0, NULL, 0); in PostEvent() 80 ret = (int32_t)write(node->pipeFd[PIPE_IN], &event, sizeof(event)); in PostEvent() 132 node->pipeFd[PIPE_IN] = fds.sendFd; in CreateNonBlockPipe()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/liteos/dfile/ |
H A D | sys_dfile.c | 37 session->receiverPipe[PIPE_IN] = fds.sendFd; in CreateReceiverPipe() 46 if (write(session->receiverPipe[PIPE_IN], ¬ify, sizeof(notify)) <= 0) { in NotifyPipeEvent()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/platform/unix/dfile/ |
H A D | sys_dfile.c | 59 CloseDesc(session->receiverPipe[PIPE_IN]); in CreateReceiverPipe() 67 if (write(session->receiverPipe[PIPE_IN], ¬ify, sizeof(notify)) <= 0) { in NotifyPipeEvent()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_common_header.h | 36 #define PIPE_IN 1 macro
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
H A D | sys_event.c | 34 CloseDesc(node->pipeFd[PIPE_IN]); in CloseNodePipe() 74 ret = (int32_t)write(node->pipeFd[PIPE_IN], &event, sizeof(event)); in PostEvent()
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/src/ |
H A D | netmanager_base_common_utils.cpp | 59 constexpr int32_t PIPE_IN = 1; variable 501 if (dup2(pipeFd[PIPE_IN], STDOUT_FILENO) == -1) { in ForkExecChildProcess() 508 if (close(pipeFd[PIPE_IN]) != 0) { in ForkExecChildProcess() 528 if (close(pipeFd[PIPE_IN]) != 0) { in ForkExecParentProcess()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_session.c | 2047 if (session->receiverPipe[PIPE_IN] != INVALID_PIPE_DESC) { in DestroyReceiverPipe() 2048 CloseDesc(session->receiverPipe[PIPE_IN]); in DestroyReceiverPipe() 2049 session->receiverPipe[PIPE_IN] = INVALID_PIPE_DESC; in DestroyReceiverPipe()
|