• Home
  • Raw
  • Download

Lines Matching refs:pos

44     struct SensorIdListNode *pos = NULL;  in ReleaseAllSensorInfo()  local
47 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, &manager->sensorIdListHead, struct SensorIdListNode, node) { in ReleaseAllSensorInfo()
48 DListRemove(&(pos->node)); in ReleaseAllSensorInfo()
49 OsalMemFree(pos); in ReleaseAllSensorInfo()
61 struct SensorManagerNode *pos = NULL; in SetSensorIdClassification() local
67 DLIST_FOR_EACH_ENTRY(pos, &manager->managerHead, struct SensorManagerNode, node) { in SetSensorIdClassification()
68 end = begin + pos->sensorCount; in SetSensorIdClassification()
76 sensorIdNode->ioService = pos->ioService; in SetSensorIdClassification()
95 struct SensorInformation *pos = NULL; in GetSensorInfoFromReply() local
111 pos = manager->sensorInfoEntry; in GetSensorInfoFromReply()
113 (sizeof(pos->maxRange) + sizeof(pos->accuracy) + sizeof(pos->power)); in GetSensorInfoFromReply()
121 if (memcpy_s(pos, sizeof(*pos), (void *)buf, preLen) != EOK) { in GetSensorInfoFromReply()
125 pos->maxRange = (float)(buf->maxRange); in GetSensorInfoFromReply()
126 pos->accuracy = (float)(buf->accuracy); in GetSensorInfoFromReply()
127 pos->power = (float)(buf->power); in GetSensorInfoFromReply()
128 pos->minDelay = (int64_t)(buf->minDelay); in GetSensorInfoFromReply()
129 pos->maxDelay = (int64_t)(buf->maxDelay); in GetSensorInfoFromReply()
130 pos++; in GetSensorInfoFromReply()
169 struct SensorManagerNode *pos = NULL; in GetSensorInfo() local
170 DLIST_FOR_EACH_ENTRY(pos, &manager->managerHead, struct SensorManagerNode, node) { in GetSensorInfo()
174 pos->sensorCount = 0; in GetSensorInfo()
175 if ((pos->ioService == NULL) || (pos->ioService->dispatcher == NULL) || in GetSensorInfo()
176 (pos->ioService->dispatcher->Dispatch == NULL)) { in GetSensorInfo()
181 int32_t ret = pos->ioService->dispatcher->Dispatch(&pos->ioService->object, in GetSensorInfo()
188 pos->sensorCount = GetSensorNumByManagerType(reply); in GetSensorInfo()
189 manager->sensorSum += pos->sensorCount; in GetSensorInfo()