Lines Matching refs:pos
44 struct SensorIdListNode *pos = NULL;
47 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, &manager->sensorIdListHead, struct SensorIdListNode, node) {
48 DListRemove(&(pos->node));
49 OsalMemFree(pos);
61 struct SensorManagerNode *pos = NULL;
67 DLIST_FOR_EACH_ENTRY(pos, &manager->managerHead, struct SensorManagerNode, node) {
68 end = begin + pos->sensorCount;
76 sensorIdNode->ioService = pos->ioService;
95 struct SensorInformation *pos = NULL;
111 pos = manager->sensorInfoEntry;
113 (sizeof(pos->maxRange) + sizeof(pos->accuracy) + sizeof(pos->power));
121 if (memcpy_s(pos, sizeof(*pos), (void *)buf, preLen) != EOK) {
125 pos->maxRange = (float)(buf->maxRange);
126 pos->accuracy = (float)(buf->accuracy);
127 pos->power = (float)(buf->power);
128 pos->minDelay = (int64_t)(buf->minDelay);
129 pos->maxDelay = (int64_t)(buf->maxDelay);
130 pos++;
169 struct SensorManagerNode *pos = NULL;
170 DLIST_FOR_EACH_ENTRY(pos, &manager->managerHead, struct SensorManagerNode, node) {
174 pos->sensorCount = 0;
175 if ((pos->ioService == NULL) || (pos->ioService->dispatcher == NULL) ||
176 (pos->ioService->dispatcher->Dispatch == NULL)) {
177 HDF_LOGE("%{public}s: Sensor pos para failed", __func__);
181 int32_t ret = pos->ioService->dispatcher->Dispatch(&pos->ioService->object,
188 pos->sensorCount = GetSensorNumByManagerType(reply);
189 manager->sensorSum += pos->sensorCount;