Searched refs:socketId (Results 1 – 11 of 11) sorted by relevance
/base/hiviewdfx/hiview/plugins/sysevent_source/ |
D | event_server.cpp | 81 void InitSocketBuf(int socketId, int optName) in InitSocketBuf() argument 85 …if (getsockopt(socketId, SOL_SOCKET, optName, static_cast<void *>(&bufferSizeOld), &sizeOfInt) < 0… in InitSocketBuf() 90 …if (setsockopt(socketId, SOL_SOCKET, optName, static_cast<void *>(&bufferSizeSet), sizeof(int)) < … in InitSocketBuf() 96 …if (getsockopt(socketId, SOL_SOCKET, optName, static_cast<void *>(&bufferSizeNew), &sizeOfInt) < 0… in InitSocketBuf() 102 void InitSendBuffer(int socketId) in InitSendBuffer() argument 104 InitSocketBuf(socketId, SO_SNDBUF); in InitSendBuffer() 107 void InitRecvBuffer(int socketId) in InitRecvBuffer() argument 109 InitSocketBuf(socketId, SO_RCVBUF); in InitRecvBuffer() 127 … int socketId = TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0)); in TransferEvent() local 128 if (socketId < 0) { in TransferEvent() [all …]
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | transport.cpp | 50 void Transport::InitRecvBuffer(int socketId) in InitRecvBuffer() argument 54 if (getsockopt(socketId, SOL_SOCKET, SO_SNDBUF, static_cast<void *>(&oldN), &oldOutSize) < 0) { in InitRecvBuffer() 60 …if (setsockopt(socketId, SOL_SOCKET, SO_SNDBUF, static_cast<void *>(&sendBuffSize), sizeof(int)) <… in InitRecvBuffer() 67 if (getsockopt(socketId, SOL_SOCKET, SO_SNDBUF, static_cast<void *>(&newN), &newOutSize) < 0) { in InitRecvBuffer()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
D | transport.h | 41 void InitRecvBuffer(int socketId);
|
/base/hiviewdfx/hiview/plugins/sysevent_source/include/ |
D | event_server.h | 39 void InitSocket(int &socketId);
|
/base/startup/appspawn/standard/ |
D | appspawn_service.c | 673 int socketId = GetControlSocket(socketName); in CreateAppSpawnServer() local 674 APPSPAWN_LOGI("get socket form env %{public}s socketId %{public}d", socketName, socketId); in CreateAppSpawnServer() 675 APPSPAWN_CHECK_ONLY_EXPER(socketId <= 0, appSpawnContent->flags |= FLAGS_ON_DEMAND); in CreateAppSpawnServer() 679 info.socketId = socketId; in CreateAppSpawnServer()
|
/base/startup/init/services/loopevent/task/ |
D | le_streamtask.c | 165 int fd = info->socketId; in LE_CreateStreamServer() 166 if (info->socketId <= 0) { in LE_CreateStreamServer()
|
/base/startup/init/services/loopevent/include/ |
D | loop_event.h | 106 int socketId; member
|
/base/startup/init/test/unittest/loopevent/ |
D | loopserver_unittest.cpp | 242 info.socketId = -1; in RunServer() 250 info.socketId = -1; in RunServer()
|
D | loopevent_unittest.cpp | 225 info.socketId = 1111; // 1111 is test fd in CreateSocketTest()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
D | control_fd_service.c | 153 info.socketId = -1; in CmdServiceInit()
|
/base/startup/init/test/unittest/innerkits/ |
D | innerkits_unittest.cpp | 371 info.socketId = -1;
|