Searched refs:bytesToCopy (Results 1 – 1 of 1) sorted by relevance
333 size_t bytesToCopy = std::min(sizeof(sensor.sensorName) - 1, in addSensor() local335 memcpy(sensor.sensorName, sensorInfo.SensorName, bytesToCopy); in addSensor()336 sensor.sensorName[bytesToCopy] = '\0'; in addSensor()