Home
last modified time | relevance | path

Searched refs:scalar_type (Results 1 – 1 of 1) sorted by relevance

/art/runtime/jni/
Djni_internal_test.cc1118 scalar_type, \ argument
1142 scalar_type ## Array a = env_->new_fn(size); \
1150 scalar_type ## Array a = env_->new_fn(size); \
1194 std::unique_ptr<scalar_type[]> src_buf(new scalar_type[size]); /* NOLINT */ \
1195 std::unique_ptr<scalar_type[]> dst_buf(new scalar_type[size]); /* NOLINT */ \
1196 for (jsize i = 0; i < size; ++i) { src_buf[i] = scalar_type(i); } \
1197 for (jsize i = 0; i < size; ++i) { dst_buf[i] = scalar_type(-1); } \
1203 EXPECT_NE(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
1208 EXPECT_EQ(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
1212 EXPECT_EQ(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
[all …]