Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_internal_test.cc1117 scalar_type, \ argument
1141 scalar_type ## Array a = env_->new_fn(size); \
1149 scalar_type ## Array a = env_->new_fn(size); \
1193 std::unique_ptr<scalar_type[]> src_buf(new scalar_type[size]); /* NOLINT */ \
1194 std::unique_ptr<scalar_type[]> dst_buf(new scalar_type[size]); /* NOLINT */ \
1195 for (jsize i = 0; i < size; ++i) { src_buf[i] = scalar_type(i); } \
1196 for (jsize i = 0; i < size; ++i) { dst_buf[i] = scalar_type(-1); } \
1202 EXPECT_NE(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
1207 EXPECT_EQ(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
1211 EXPECT_EQ(memcmp(&src_buf[0], &dst_buf[0], size * sizeof(scalar_type)), 0) \
[all …]