• Home
  • Raw
  • Download

Lines Matching refs:thiz

29         I3DLocation *thiz = (I3DLocation *) self;  in I3DLocation_SetLocationCartesian()  local
31 interface_lock_exclusive(thiz); in I3DLocation_SetLocationCartesian()
32 thiz->mLocationCartesian = locationCartesian; in I3DLocation_SetLocationCartesian()
33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; in I3DLocation_SetLocationCartesian()
34 interface_unlock_exclusive(thiz); in I3DLocation_SetLocationCartesian()
52 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_SetLocationSpherical() local
53 interface_lock_exclusive(thiz); in I3DLocation_SetLocationSpherical()
54 thiz->mLocationSpherical.mAzimuth = azimuth; in I3DLocation_SetLocationSpherical()
55 thiz->mLocationSpherical.mElevation = elevation; in I3DLocation_SetLocationSpherical()
56 thiz->mLocationSpherical.mDistance = distance; in I3DLocation_SetLocationSpherical()
57 thiz->mLocationActive = CARTESIAN_UNKNOWN_SPHERICAL_SET; in I3DLocation_SetLocationSpherical()
58 interface_unlock_exclusive(thiz); in I3DLocation_SetLocationSpherical()
73 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_Move() local
75 interface_lock_exclusive(thiz); in I3DLocation_Move()
77 enum CartesianSphericalActive locationActive = thiz->mLocationActive; in I3DLocation_Move()
83 thiz->mLocationCartesian.x += movementCartesian.x; in I3DLocation_Move()
84 thiz->mLocationCartesian.y += movementCartesian.y; in I3DLocation_Move()
85 thiz->mLocationCartesian.z += movementCartesian.z; in I3DLocation_Move()
86 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; in I3DLocation_Move()
89 thiz->mLocationActive = CARTESIAN_REQUESTED_SPHERICAL_SET; in I3DLocation_Move()
94 interface_cond_wait(thiz); in I3DLocation_Move()
96 thiz->mLocationActive = CARTESIAN_COMPUTED_SPHERICAL_SET; in I3DLocation_Move()
105 interface_unlock_exclusive(thiz); in I3DLocation_Move()
120 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_GetLocationCartesian() local
121 interface_lock_exclusive(thiz); in I3DLocation_GetLocationCartesian()
123 enum CartesianSphericalActive locationActive = thiz->mLocationActive; in I3DLocation_GetLocationCartesian()
130 SLVec3D locationCartesian = thiz->mLocationCartesian; in I3DLocation_GetLocationCartesian()
131 interface_unlock_exclusive(thiz); in I3DLocation_GetLocationCartesian()
136 thiz->mLocationActive = CARTESIAN_REQUESTED_SPHERICAL_SET; in I3DLocation_GetLocationCartesian()
141 interface_cond_wait(thiz); in I3DLocation_GetLocationCartesian()
143 thiz->mLocationActive = CARTESIAN_COMPUTED_SPHERICAL_SET; in I3DLocation_GetLocationCartesian()
148 interface_unlock_exclusive(thiz); in I3DLocation_GetLocationCartesian()
174 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_SetOrientationVectors() local
175 interface_lock_exclusive(thiz); in I3DLocation_SetOrientationVectors()
176 thiz->mOrientationVectors.mFront = front; in I3DLocation_SetOrientationVectors()
177 thiz->mOrientationVectors.mAbove = above; in I3DLocation_SetOrientationVectors()
178 thiz->mOrientationActive = ANGLES_UNKNOWN_VECTORS_SET; in I3DLocation_SetOrientationVectors()
179 thiz->mRotatePending = SL_BOOLEAN_FALSE; in I3DLocation_SetOrientationVectors()
180 interface_unlock_exclusive(thiz); in I3DLocation_SetOrientationVectors()
198 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_SetOrientationAngles() local
199 interface_lock_exclusive(thiz); in I3DLocation_SetOrientationAngles()
200 thiz->mOrientationAngles.mHeading = heading; in I3DLocation_SetOrientationAngles()
201 thiz->mOrientationAngles.mPitch = pitch; in I3DLocation_SetOrientationAngles()
202 thiz->mOrientationAngles.mRoll = roll; in I3DLocation_SetOrientationAngles()
203 thiz->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN; in I3DLocation_SetOrientationAngles()
204 thiz->mRotatePending = SL_BOOLEAN_FALSE; in I3DLocation_SetOrientationAngles()
205 interface_unlock_exclusive(thiz); in I3DLocation_SetOrientationAngles()
222 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_Rotate() local
223 interface_lock_exclusive(thiz); in I3DLocation_Rotate()
224 while (thiz->mRotatePending) in I3DLocation_Rotate()
226 interface_cond_wait(thiz); in I3DLocation_Rotate()
230 thiz->mTheta = theta; in I3DLocation_Rotate()
231 thiz->mAxis = axis; in I3DLocation_Rotate()
232 thiz->mRotatePending = SL_BOOLEAN_TRUE; in I3DLocation_Rotate()
233 interface_unlock_exclusive(thiz); in I3DLocation_Rotate()
249 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_GetOrientationVectors() local
250 interface_lock_shared(thiz); in I3DLocation_GetOrientationVectors()
251 SLVec3D front = thiz->mOrientationVectors.mFront; in I3DLocation_GetOrientationVectors()
252 SLVec3D up = thiz->mOrientationVectors.mUp; in I3DLocation_GetOrientationVectors()
253 interface_unlock_shared(thiz); in I3DLocation_GetOrientationVectors()
276 I3DLocation *thiz = (I3DLocation *) self; in I3DLocation_init() local
277 thiz->mItf = &I3DLocation_Itf; in I3DLocation_init()
278 thiz->mLocationCartesian.x = 0; in I3DLocation_init()
279 thiz->mLocationCartesian.y = 0; in I3DLocation_init()
280 thiz->mLocationCartesian.z = 0; in I3DLocation_init()
281 memset(&thiz->mLocationSpherical, 0x55, sizeof(thiz->mLocationSpherical)); in I3DLocation_init()
282 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; in I3DLocation_init()
283 thiz->mOrientationAngles.mHeading = 0; in I3DLocation_init()
284 thiz->mOrientationAngles.mPitch = 0; in I3DLocation_init()
285 thiz->mOrientationAngles.mRoll = 0; in I3DLocation_init()
286 memset(&thiz->mOrientationVectors, 0x55, sizeof(thiz->mOrientationVectors)); in I3DLocation_init()
287 thiz->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN; in I3DLocation_init()
288 thiz->mTheta = 0x55555555; in I3DLocation_init()
289 thiz->mAxis.x = 0x55555555; in I3DLocation_init()
290 thiz->mAxis.y = 0x55555555; in I3DLocation_init()
291 thiz->mAxis.z = 0x55555555; in I3DLocation_init()
292 thiz->mRotatePending = SL_BOOLEAN_FALSE; in I3DLocation_init()