Home
last modified time | relevance | path

Searched refs:jshort (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/art/test/115-native-bridge/
H A Dnativebridge.cc154 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in trampoline_Java_Main_shortMethod()
155 jshort s3, jshort s4, jshort s5, jshort s6, in trampoline_Java_Main_shortMethod()
156 jshort s7, jshort s8, jshort s9, jshort s10) { in trampoline_Java_Main_shortMethod()
157 using FnPtr_t = jshort(*)(JNIEnv*, jclass, jshort, jshort, jshort, jshort, jshort, jshort, jshort, in trampoline_Java_Main_shortMethod()
158 jshort, jshort, jshort); in trampoline_Java_Main_shortMethod()
/aosp12/system/extras/module_ndk_libs/libnativehelper/include_jni/
H A Djni.h33 typedef int16_t jshort; /* signed 16 bits */ typedef
113 jshort s;
409 jshort*, jint);
426 jsize, jsize, jshort*);
444 jsize, jsize, const jshort*);
621 CALL_TYPE(jshort, Short) in CALL_TYPE()
671 CALL_NONVIRT_TYPE(jshort, Short) in CALL_NONVIRT_TYPE()
703 jshort GetShortField(jobject obj, jfieldID fieldID) in GetShortField()
768 CALL_STATIC_TYPE(jshort, Short) in CALL_STATIC_TYPE()
934 jshort* buf) in GetShortArrayRegion()
[all …]
/aosp12/libnativehelper/include_jni/
H A Djni.h33 typedef int16_t jshort; /* signed 16 bits */ typedef
113 jshort s;
409 jshort*, jint);
426 jsize, jsize, jshort*);
444 jsize, jsize, const jshort*);
621 CALL_TYPE(jshort, Short) in CALL_TYPE()
671 CALL_NONVIRT_TYPE(jshort, Short) in CALL_NONVIRT_TYPE()
703 jshort GetShortField(jobject obj, jfieldID fieldID) in GetShortField()
768 CALL_STATIC_TYPE(jshort, Short) in CALL_STATIC_TYPE()
934 jshort* buf) in GetShortArrayRegion()
[all …]
/aosp12/art/test/004-JniTest/
H A Djni_test.cc253 jshort short_returns[kShortReturnSize] = { 0, 1, 2, 127, 32767, -1, -2, -128,
254 static_cast<jshort>(0x8000) };
257 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, in Java_Main_shortMethod()
258 jshort s3, jshort s4, jshort s5, jshort s6, in Java_Main_shortMethod()
259 jshort s7, jshort s8, jshort s9, jshort s10) { in Java_Main_shortMethod()
272 CHECK_LT(s1, static_cast<jshort>(kShortReturnSize)); in Java_Main_shortMethod()
/aosp12/packages/modules/Connectivity/Tethering/jni/
H A Dcom_android_networkstack_tethering_BpfUtils.cpp195 JNIEnv* env, jobject clazz, jint ifIndex, jboolean ingress, jshort prio, jshort proto, in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf()
308 jshort prio, jshort proto) { in com_android_networkstack_tethering_BpfUtils_tcFilterDelDev()
/aosp12/frameworks/base/core/jni/
H A Dscoped_nullable_primitive_array.h49 ARRAY_TRAITS(jshortArray, jshort*, Short) in ARRAY_TRAITS()
99 using ScopedNullableShortArrayRO = ScopedArrayRO<jshortArray, jshort, ShortArrayTraits>;
H A Dandroid_os_HwBlob.cpp317 DEFINE_BLOB_GETTER(Int16,jshort) in DEFINE_BLOB_GETTER()
394 DEFINE_BLOB_ARRAY_COPIER(Int16,jshort,Short) in DEFINE_BLOB_ARRAY_COPIER()
451 DEFINE_BLOB_PUTTER(Int16,jshort) in DEFINE_BLOB_PUTTER()
545 DEFINE_BLOB_ARRAY_PUTTER(Int16,jshort,Short) in DEFINE_BLOB_ARRAY_PUTTER()
H A Dandroid_os_HwParcel.cpp344 DEFINE_PARCEL_WRITER(Int16,jshort) in DEFINE_PARCEL_WRITER()
351 DEFINE_PARCEL_READER(Int16,jshort) in DEFINE_PARCEL_WRITER()
490 DEFINE_PARCEL_VECTOR_WRITER(Int16,jshort) in DEFINE_PARCEL_VECTOR_WRITER()
790 DEFINE_PARCEL_VECTOR_READER(Int16,jshort,Short) in DEFINE_PARCEL_VECTOR_READER()
H A Dandroid_opengl_GLES11Ext.cpp167 static void Release(JNIEnv* _env, jshortArray array, jshort* data, jboolean commit) { in Release()
457 (JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) { in android_glDrawTexsOES__SSSSS()
533 _env->ReleaseShortArrayElements(coords_ref, (jshort*)coords_base, in android_glDrawTexsvOES___3SI()
576 _env->ReleaseShortArrayElements(_array, (jshort*)coords, JNI_ABORT); in android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2()
H A Dandroid_media_AudioRecord.cpp464 jshort *envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) { in envGetArrayElements()
469 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements()
/aosp12/frameworks/base/libs/hwui/jni/
H A Dscoped_nullable_primitive_array.h49 ARRAY_TRAITS(jshortArray, jshort*, Short) in ARRAY_TRAITS()
99 using ScopedNullableShortArrayRO = ScopedArrayRO<jshortArray, jshort, ShortArrayTraits>;
H A DGraphicsJNI.h311 jshort* ptr() const { return fPtr; } in ptr()
317 jshort* fPtr;
/aosp12/art/runtime/verifier/
H A Dreg_type.cc424 if (val >= std::numeric_limits<jshort>::min() && in Dump()
425 val <= std::numeric_limits<jshort>::max()) { in Dump()
438 if (val >= std::numeric_limits<jshort>::min() && in Dump()
439 val <= std::numeric_limits<jshort>::max()) { in Dump()
451 if (val >= std::numeric_limits<jshort>::min() && in Dump()
452 val <= std::numeric_limits<jshort>::max()) { in Dump()
464 if (val >= std::numeric_limits<jshort>::min() && in Dump()
465 val <= std::numeric_limits<jshort>::max()) { in Dump()
H A Dreg_type_cache-inl.h104 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::min(), false); in ShortConstant()
122 const ConstantType& result = FromCat1Const(std::numeric_limits<jshort>::max(), false); in PosShortConstant()
/aosp12/frameworks/base/core/jni/hwbinder/
H A DEphemeralStorage.cpp107 DEFINE_ALLOC_VECTOR_METHODS(Int16,jshort,Short) in DEFINE_ALLOC_VECTOR_METHODS()
153 DEFINE_RELEASE_ARRAY_CASE(Int16,jshort,Short)
H A DEphemeralStorage.h49 DECLARE_ALLOC_METHODS(Int16,jshort)
/aosp12/art/test/ti-agent/
H A Dscoped_primitive_array.h96 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short);
146 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
/aosp12/libnativehelper/header_only_include/nativehelper/
H A Dscoped_primitive_array.h93 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short);
143 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
/aosp12/libnativehelper/tests/
H A DJniSafeRegisterNativeMethods_test.cpp283 static jshort s_lib(jlong, jint, jboolean) { return 0; } in s_lib()
290 static jshort s_eolAibA(JNIEnv*, jobject, jlongArray, jint, jbooleanArray) { return 0; } in s_eolAibA()
310 FN0(c, CRITICAL,jshort) \
331 FN(ac, CRITICAL,jshort,jshort) \
332 FN(ac2,CRITICAL,jshort,jshort,jchar) \
/aosp12/art/runtime/native/
H A Dsun_misc_Unsafe.cc261 static jshort Unsafe_getShortJ(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address) { in Unsafe_getShortJ()
262 return *reinterpret_cast<jshort*>(address); in Unsafe_getShortJ()
265 static void Unsafe_putShortJS(JNIEnv* env ATTRIBUTE_UNUSED, jobject, jlong address, jshort value) { in Unsafe_putShortJS()
266 *reinterpret_cast<jshort*>(address) = value; in Unsafe_putShortJS()
458 static jshort Unsafe_getShort(JNIEnv* env, jobject, jobject javaObj, jlong offset) { in Unsafe_getShort()
464 static void Unsafe_putShort(JNIEnv* env, jobject, jobject javaObj, jlong offset, jshort newValue) { in Unsafe_putShort()
H A Djava_lang_reflect_Field.cc265 static jshort Field_getShort(JNIEnv* env, jobject javaField, jobject javaObj) { in Field_getShort()
459 static void Field_setShort(JNIEnv* env, jobject javaField, jobject javaObj, jshort s) { in Field_setShort()
/aosp12/art/runtime/jni/
H A Djni_internal.cc1136 static jshort CallShortMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallShortMethod()
1147 static jshort CallShortMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallShortMethodV()
1557 static jshort GetShortField(JNIEnv* env, jobject obj, jfieldID fid) { in GetShortField()
1589 static jshort GetStaticShortField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticShortField()
1637 static void SetShortField(JNIEnv* env, jobject obj, jfieldID fid, jshort v) { in SetShortField()
1669 static void SetStaticShortField(JNIEnv* env, jclass, jfieldID fid, jshort v) { in SetStaticShortField()
1764 static jshort CallStaticShortMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticShortMethod()
1774 static jshort CallStaticShortMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticShortMethodV()
2370 static void ReleaseShortArrayElements(JNIEnv* env, jshortArray array, jshort* elements, in ReleaseShortArrayElements()
2414 jshort* buf) { in GetShortArrayRegion()
[all …]
H A Djni_internal_test.cc411 reinterpret_cast<jshort*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
497 reinterpret_cast<jshort*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
555 reinterpret_cast<jshort*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
858 DoCall(Short, S, jshort, 32768); in TEST_F()
859 DoCall(Short, S, jshort, -32769); in TEST_F()
898 DoGoodCall(Short, S, jshort, 32768); in TEST_F()
899 DoGoodCall(Short, S, jshort, -32769); in TEST_F()
1255 GetShortArrayElements, ReleaseShortArrayElements, jshort, "[S"); in TEST_F()
/aosp12/art/dt_fd_forward/
H A Ddt_fd_forward.cc557 jshort ReadInt16() { in ReadInt16()
561 jshort out; in ReadInt16()
563 return HandleResult(res, NetworkToHost(out), static_cast<jshort>(-1)); in ReadInt16()
/aosp12/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp142 static void Release(JNIEnv* _env, jshortArray array, jshort* data, jboolean commit) { in Release()

12