/cts/tests/tests/renderscript/libcoremathtestcpp/ |
CoreMathTestJni.cpp | 281 extern "C" JNIEXPORT jshort JNICALL 282 Java_android_renderscript_cts_CoreMathVerifier_maxI16(JNIEnv*, jclass, jshort x, jshort y) { 286 extern "C" JNIEXPORT jshort JNICALL 287 Java_android_renderscript_cts_CoreMathVerifier_maxU16(JNIEnv*, jclass, jshort x, jshort y) { 321 extern "C" JNIEXPORT jshort JNICALL 322 Java_android_renderscript_cts_CoreMathVerifier_minI16(JNIEnv*, jclass, jshort x, jshort y) { 326 extern "C" JNIEXPORT jshort JNICAL [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Memory.cpp | 51 // Byte-swap 2 jshort values packed in a jint. 63 static inline void swapShorts(jshort* dstShorts, const jshort* srcShorts, size_t count) { 72 jshort v = get_unaligned<jshort>(reinterpret_cast<const jshort*>(src)); 73 put_unaligned<jshort>(reinterpret_cast<jshort*>(dst), bswap_16(v)); 137 PEEKER(jchar, Char, jshort, swapShorts); 157 PEEKER(jshort, Short, jshort, swapShorts) [all...] |
/libcore/luni/src/test/native/ |
libcore_dalvik_system_JniTest.cpp | 136 extern "C" jshort Java_libcore_dalvik_system_JniTest_returnShortArgFrom16( 138 jshort o1, jshort o2, jshort o3, jshort o4, jshort o5, 139 jshort o6, jshort o7, jshort o8, jshort o9, jshort o10 [all...] |
libcore_io_Memory_test.cpp | 62 swap_align_test<jshort, 9> (swapShorts, [] (jshort* src, jshort* dst, uint64_t i) { 99 memory_peek_test<jshort>(Memory_peekShortNative, 0x0102); 125 memory_poke_test<jshort>(Memory_pokeShortNative, 0x0102);
|
/libcore/ojluni/src/main/native/ |
Bits.c | 66 #define SWAPSHORT(x) ((jshort)(((x) << 8) | (((x) >> 8) & 0xff))) 67 #define SWAPINT(x) ((jint)((SWAPSHORT((jshort)(x)) << 16) | \ 68 (SWAPSHORT((jshort)((x) >> 16)) & 0xffff))) 81 jshort *srcShort, *dstShort, *endShort; 82 jshort tmpShort; 84 dstShort = (jshort *)jlong_to_ptr(dstAddr); 95 srcShort = (jshort *)(bytes + srcPos); 96 endShort = srcShort + (size / sizeof(jshort)); 116 jshort *srcShort, *dstShort, *endShort; 117 jshort tmpShort [all...] |
sun_nio_ch_Net.h | 240 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollinValue 248 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_polloutValue 256 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollerrValue 264 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollhupValue 272 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollnvalValue 280 JNIEXPORT jshort JNICALL Java_sun_nio_ch_Net_pollconnValue
|
Net.c | 771 JNIEXPORT jshort JNICALL 774 return (jshort)POLLIN; 777 JNIEXPORT jshort JNICALL 780 return (jshort)POLLOUT; 783 JNIEXPORT jshort JNICALL 786 return (jshort)POLLERR; 789 JNIEXPORT jshort JNICALL 792 return (jshort)POLLHUP; 795 JNIEXPORT jshort JNICALL 798 return (jshort)POLLNVAL [all...] |
/libcore/luni/src/benchmark/native/ |
libcore_io_Memory_bench.cpp | 62 swap_bench<jshort, 0>(state, swapShorts); 79 swap_bench<jshort, 1>(state, swapShorts); 96 swap_bench<jshort, 2>(state, swapShorts);
|
/libnativehelper/include_jni/ |
jni.h | 34 typedef int16_t jshort; /* signed 16 bits */ typedef 114 jshort s; 212 jshort (*CallShortMethod)(JNIEnv*, jobject, jmethodID, ...); 213 jshort (*CallShortMethodV)(JNIEnv*, jobject, jmethodID, va_list); 214 jshort (*CallShortMethodA)(JNIEnv*, jobject, jmethodID, jvalue*); 255 jshort (*CallNonvirtualShortMethod)(JNIEnv*, jobject, jclass, 257 jshort (*CallNonvirtualShortMethodV)(JNIEnv*, jobject, jclass, 259 jshort (*CallNonvirtualShortMethodA)(JNIEnv*, jobject, jclass, 298 jshort (*GetShortField)(JNIEnv*, jobject, jfieldID); 308 void (*SetShortField)(JNIEnv*, jobject, jfieldID, jshort); [all...] |
/art/test/115-native-bridge/ |
nativebridge.cc | 155 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, 156 jshort s3, jshort s4, jshort s5, jshort s6, 157 jshort s7, jshort s8, jshort s9, jshort s10) [all...] |
/external/oj-libjdwp/src/share/javavm/export/ |
jni.h | 59 typedef short jshort; typedef 124 jshort s; 320 jshort (JNICALL *CallShortMethod) 322 jshort (JNICALL *CallShortMethodV) 324 jshort (JNICALL *CallShortMethodA) 398 jshort (JNICALL *CallNonvirtualShortMethod) 400 jshort (JNICALL *CallNonvirtualShortMethodV) 403 jshort (JNICALL *CallNonvirtualShortMethodA) 463 jshort (JNICALL *GetShortField) 483 (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val) [all...] |
/prebuilts/jdk/jdk8/darwin-x86/include/ |
jni.h | 59 typedef short jshort; typedef 124 jshort s; 320 jshort (JNICALL *CallShortMethod) 322 jshort (JNICALL *CallShortMethodV) 324 jshort (JNICALL *CallShortMethodA) 398 jshort (JNICALL *CallNonvirtualShortMethod) 400 jshort (JNICALL *CallNonvirtualShortMethodV) 403 jshort (JNICALL *CallNonvirtualShortMethodA) 463 jshort (JNICALL *GetShortField) 483 (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val) [all...] |
/prebuilts/jdk/jdk8/linux-x86/include/ |
jni.h | 59 typedef short jshort; typedef 124 jshort s; 320 jshort (JNICALL *CallShortMethod) 322 jshort (JNICALL *CallShortMethodV) 324 jshort (JNICALL *CallShortMethodA) 398 jshort (JNICALL *CallNonvirtualShortMethod) 400 jshort (JNICALL *CallNonvirtualShortMethodV) 403 jshort (JNICALL *CallNonvirtualShortMethodA) 463 jshort (JNICALL *GetShortField) 483 (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val) [all...] |
/prebuilts/jdk/jdk9/darwin-x86/include/ |
jni.h | 59 typedef short jshort; typedef 124 jshort s; 320 jshort (JNICALL *CallShortMethod) 322 jshort (JNICALL *CallShortMethodV) 324 jshort (JNICALL *CallShortMethodA) 398 jshort (JNICALL *CallNonvirtualShortMethod) 400 jshort (JNICALL *CallNonvirtualShortMethodV) 403 jshort (JNICALL *CallNonvirtualShortMethodA) 463 jshort (JNICALL *GetShortField) 483 (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val) [all...] |
/prebuilts/jdk/jdk9/linux-x86/include/ |
jni.h | 59 typedef short jshort; typedef 124 jshort s; 320 jshort (JNICALL *CallShortMethod) 322 jshort (JNICALL *CallShortMethodV) 324 jshort (JNICALL *CallShortMethodA) 398 jshort (JNICALL *CallNonvirtualShortMethod) 400 jshort (JNICALL *CallNonvirtualShortMethodV) 403 jshort (JNICALL *CallNonvirtualShortMethodA) 463 jshort (JNICALL *GetShortField) 483 (JNIEnv *env, jobject obj, jfieldID fieldID, jshort val) [all...] |
/cts/tests/tests/media/libaudiojni/ |
sl-utils.h | 74 jshort *envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) { 79 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) {
|
/frameworks/base/core/jni/ |
scoped_nullable_primitive_array.h | 49 ARRAY_TRAITS(jshortArray, jshort*, Short) 99 using ScopedNullableShortArrayRO = ScopedArrayRO<jshortArray, jshort, ShortArrayTraits>;
|
/frameworks/base/core/jni/hwbinder/ |
EphemeralStorage.h | 47 DECLARE_ALLOC_METHODS(Int16,jshort)
|
EphemeralStorage.cpp | 96 DEFINE_ALLOC_VECTOR_METHODS(Int16,jshort,Short) 142 DEFINE_RELEASE_ARRAY_CASE(Int16,jshort,Short)
|
/art/test/004-JniTest/ |
jni_test.cc | 224 jshort short_returns[kShortReturnSize] = { 0, 1, 2, 127, 32767, -1, -2, -128, 225 static_cast<jshort>(0x8000) }; 228 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, 229 jshort s3, jshort s4, jshort s5, jshort s6, 230 jshort s7, jshort s8, jshort s9, jshort s10) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/java/ |
java.swg | 61 %typemap(jni) unsigned char, const unsigned char & "jshort" 62 %typemap(jni) short, const short & "jshort" 114 %typemap(jni) jshort "jshort" 134 %typemap(jtype) jshort "short" 154 %typemap(jstype) jshort "short" 236 %typemap(directorin, descriptor="S") unsigned char "$input = (jshort) $1;" 237 %typemap(directorin, descriptor="S") short "$input = (jshort) $1;" 278 %typemap(out) unsigned char %{ $result = (jshort)$1; %} 279 %typemap(out) short %{ $result = (jshort)$1; % [all...] |
/art/test/ti-agent/ |
scoped_primitive_array.h | 96 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short); 146 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
|
/external/conscrypt/common/src/jni/unbundled/include/nativehelper/ |
ScopedPrimitiveArray.h | 76 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short); 140 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
|
/libnativehelper/header_only_include/nativehelper/ |
scoped_primitive_array.h | 91 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(jshort, Short); 141 INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(jshort, Short);
|
/cts/tests/tests/jni/libjnitest/ |
android_jni_cts_InstanceNonce.c | 44 static jshort InstanceNonce_returnShort(JNIEnv *env, jobject this) { 45 return (jshort) -12345; 85 static jshort contents[] = { 10, 20, 30 }; 156 static jboolean InstanceNonce_takeShort(JNIEnv *env, jobject this, jshort v) { 226 jboolean v0, jbyte v1, jshort v2, jchar v3, jint v4, jlong v5,
|