Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dobject_test.cc196 template<typename ArrayT>
199 typedef typename ArrayT::ElementType T; in TestPrimitiveArray()
201 ArrayT* a = ArrayT::Alloc(soa.Self(), 2); in TestPrimitiveArray()
245 typedef DoubleArray ArrayT; in TEST_F() typedef
247 typedef typename ArrayT::ElementType T; in TEST_F()
249 ArrayT* a = ArrayT::Alloc(soa.Self(), 2); in TEST_F()
275 typedef FloatArray ArrayT; in TEST_F() typedef
277 typedef typename ArrayT::ElementType T; in TEST_F()
279 ArrayT* a = ArrayT::Alloc(soa.Self(), 2); in TEST_F()
/art/runtime/
Djni_internal.cc2367 template <typename ArrayT, typename ElementT, typename ArtArrayT>
2368 static ElementT* GetPrimitiveArray(JNIEnv* env, ArrayT java_array, jboolean* is_copy) { in GetPrimitiveArray()
2371 ArtArrayT* array = DecodeAndCheckArrayType<ArrayT, ElementT, ArtArrayT>(soa, java_array, in GetPrimitiveArray()
2395 template <typename ArrayT, typename ElementT, typename ArtArrayT>
2396 static void ReleasePrimitiveArray(JNIEnv* env, ArrayT java_array, ElementT* elements, jint mode) { in ReleasePrimitiveArray()
2399 ArtArrayT* array = DecodeAndCheckArrayType<ArrayT, ElementT, ArtArrayT>(soa, java_array, in ReleasePrimitiveArray()