Lines Matching refs:eventId
27 uint64_t eventId = *(uint64_t*)(buffer->data); in DoAsyncEvent_() local
29 asyncTask->processAsyncEvent((TaskHandle)asyncTask, eventId, in DoAsyncEvent_()
48 uint64_t eventId = 0; in HandleAsyncEvent_() local
49 int ret = read(GetSocketFd(taskHandle), &eventId, sizeof(eventId)); in HandleAsyncEvent_()
50 …LE_LOGV("HandleAsyncEvent_ read fd:%d ret: %d eventId %lu", GetSocketFd(taskHandle), ret, eventId); in HandleAsyncEvent_()
57 static uint64_t eventId = 0; in HandleAsyncEvent_() local
58 (void)write(GetSocketFd(taskHandle), &eventId, sizeof(eventId)); in HandleAsyncEvent_()
60 eventId++; in HandleAsyncEvent_()
97 const TaskHandle taskHandle, uint64_t eventId, const uint8_t *data, uint32_t buffLen) in LE_StartAsyncEvent() argument
100 BufferHandle handle = LE_CreateBuffer(loopHandle, buffLen + 1 + sizeof(eventId)); in LE_StartAsyncEvent()
102 int ret = memcpy_s(buff, sizeof(eventId), &eventId, sizeof(eventId)); in LE_StartAsyncEvent()
105 ret = memcpy_s(buff + sizeof(eventId), buffLen, data, buffLen); in LE_StartAsyncEvent()
107 buff[sizeof(eventId) + buffLen] = '\0'; in LE_StartAsyncEvent()