Searched refs:trainVersionCodeByteCount (Results 1 – 1 of 1) sorted by relevance
177 const size_t trainVersionCodeByteCount = sizeof(trainInfo.trainVersionCode); in writeTrainInfo() local178 result = write(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); in writeTrainInfo()179 if (result != trainVersionCodeByteCount) { in writeTrainInfo()296 const size_t trainVersionCodeByteCount(sizeof(trainInfo.trainVersionCode)); in readTrainInfoLocked() local297 result = read(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); in readTrainInfoLocked()298 if (result != trainVersionCodeByteCount) { in readTrainInfoLocked()