Searched refs:kFloats (Results 1 – 1 of 1) sorted by relevance
/external/libmojo/base/android/ |
D | jni_array_unittest.cc | 134 const float kFloats[] = { 0.0f, 1.0f, -10.0f}; in TEST() local 135 const size_t kLen = arraysize(kFloats); in TEST() 138 CheckFloatConversion(env, kFloats, kLen, in TEST() 139 ToJavaFloatArray(env, kFloats, kLen)); in TEST() 141 const std::vector<float> vec(kFloats, kFloats + kLen); in TEST() 142 CheckFloatConversion(env, kFloats, kLen, ToJavaFloatArray(env, vec)); in TEST() 223 const float kFloats[] = {0.0, 0.5, -0.5}; in TEST() local 224 const size_t kLen = arraysize(kFloats); in TEST() 231 jfloat j = static_cast<jfloat>(kFloats[i]); in TEST()
|