Searched refs:kOne (Results 1 – 5 of 5) sorted by relevance
236 static const T kOne = T(1.0); in RotationMatrixToAngleAxis() local241 T costheta = std::min(std::max((R[0] + R[4] + R[8] - kOne) / kTwo, in RotationMatrixToAngleAxis()243 kOne); in RotationMatrixToAngleAxis()250 kOne); in RotationMatrixToAngleAxis()291 const T inv_one_minus_costheta = kOne / (kOne - costheta); in RotationMatrixToAngleAxis()309 static const T kOne = T(1.0); in AngleAxisToRotationMatrix() local323 R[0] = costheta + wx*wx*(kOne - costheta); in AngleAxisToRotationMatrix()324 R[1] = wz*sintheta + wx*wy*(kOne - costheta); in AngleAxisToRotationMatrix()325 R[2] = -wy*sintheta + wx*wz*(kOne - costheta); in AngleAxisToRotationMatrix()326 R[3] = wx*wy*(kOne - costheta) - wz*sintheta; in AngleAxisToRotationMatrix()[all …]
51 (kOne << (index & kStorageBlockMask))) != 0; in Get()55 bits[index >> kStorageLogBitSize] |= (kOne << (index & kStorageBlockMask)); in Set()59 bits[index >> kStorageLogBitSize] &= ~(kOne << (index & kStorageBlockMask)); in Clear()120 static const uint64 kOne = 1; variable
46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
309 kOne = 1, enumerator315 case kOne: in rdar110822110()
36 std::string kOne = "1"; variable73 return val.empty() ? def : (val == kTrue || val == kOne); in GetXmlAttr()