Searched defs:kBytes (Results 1 - 2 of 2) sorted by relevance

/external/skia/tests/
H A DChecksumTest.cpp15 const size_t kBytes = SkAlign4(128); local
17 uint32_t data[kBytes/4], tweaked[kBytes/4];
25 const uint32_t hash = SkOpts::hash(data, kBytes);
27 REPORTER_ASSERT(r, hash == SkOpts::hash(data, kBytes));
33 const uint32_t tweakedHash = SkOpts::hash(tweaked, kBytes);
35 REPORTER_ASSERT(r, tweakedHash == SkOpts::hash(tweaked, kBytes));
/external/libmojo/base/android/
H A Djni_array_unittest.cc21 const uint8_t kBytes[] = {0, 1, 2, 3}; local
22 const size_t kLen = arraysize(kBytes);
24 ScopedJavaLocalRef<jbyteArray> bytes = ToJavaByteArray(env, kBytes, kLen);
27 std::vector<uint8_t> inputVector(kBytes, kBytes + kLen);
38 std::vector<uint8_t> expected_vec(kBytes, kBytes + kLen);
44 expected_vec.insert(expected_vec.end(), kBytes, kBytes + kLen);

Completed in 366 milliseconds