/hardware/bsp/intel/peripheral/libupm/src/ |
D | java_buffer.i | 9 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL); 10 $2 = JCALL1(GetArrayLength, jenv, $input); 14 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0); 24 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL); 25 $2 = JCALL1(GetArrayLength, jenv, $input); 29 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0); 39 $1 = (char *) JCALL2(GetByteArrayElements, jenv, $input, NULL); 40 $2 = JCALL1(GetArrayLength, jenv, $input); 44 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
|
/hardware/bsp/intel/peripheral/libupm/src/lsm9ds0/ |
D | javaupm_lsm9ds0.i | 25 $result = JCALL1(NewFloatArray, jenv, 3); 26 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 31 $result = JCALL1(NewFloatArray, jenv, 3); 32 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 37 $result = JCALL1(NewFloatArray, jenv, 3); 38 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
|
/hardware/bsp/intel/peripheral/libupm/src/h3lis331dl/ |
D | javaupm_h3lis331dl.i | 24 $result = JCALL1(NewFloatArray, jenv, 3); 25 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 38 $result = JCALL1(NewIntArray, jenv, 3); 39 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const int*)$1); 43 $result = JCALL1(NewIntArray, jenv, 3); 44 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const int*)$1);
|
/hardware/bsp/intel/peripheral/libmraa/src/java/ |
D | mraajava.i | 11 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL); 12 $2 = JCALL1(GetArrayLength, jenv, $input); 21 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL); 22 $2 = JCALL1(GetArrayLength, jenv, $input); 26 JCALL3(ReleaseByteArrayElements, jenv, $input, $1, JNI_COMMIT); 34 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL); 35 $2 = JCALL1(GetArrayLength, jenv, $input); 53 $result = JCALL1(NewByteArray, jenv, arg3); 54 JCALL4(SetByteArrayRegion, jenv, $result, 0, arg3, (jbyte *) $1);
|
/hardware/bsp/intel/peripheral/libupm/src/gas/ |
D | javaupm_gas.i | 25 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL); 26 $2 = JCALL1(GetArrayLength, jenv, $input); 30 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0); 40 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL); 41 $1 = JCALL1(GetArrayLength, jenv, $input); 45 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
|
/hardware/bsp/intel/peripheral/libupm/src/mic/ |
D | javaupm_mic.i | 17 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL); 18 $2 = JCALL1(GetArrayLength, jenv, $input); 22 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0); 32 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL); 33 $1 = JCALL1(GetArrayLength, jenv, $input); 37 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
|
/hardware/bsp/intel/peripheral/libupm/src/itg3200/ |
D | javaupm_itg3200.i | 17 $result = JCALL1(NewFloatArray, jenv, 3); 18 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 31 $result = JCALL1(NewIntArray, jenv, 3); 32 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/adxl345/ |
D | javaupm_adxl345.i | 17 $result = JCALL1(NewFloatArray, jenv, 3); 18 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 32 $result = JCALL1(NewShortArray, jenv, 3); 33 JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/adxl335/ |
D | javaupm_adxl335.i | 22 $result = JCALL1(NewFloatArray, jenv, 3); 23 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 35 $result = JCALL1(NewIntArray, jenv, 3); 36 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
D | javaupm_mma7660.i | 27 $result = JCALL1(NewFloatArray, jenv, 3); 28 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1); 42 $result = JCALL1(NewIntArray, jenv, 3); 43 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | javaupm_i2clcd.i | 17 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL); 18 $2 = JCALL1(GetArrayLength, jenv, $input); 22 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
|
/hardware/bsp/intel/peripheral/libmraa/src/gpio/ |
D | gpio.c | 248 JNIEnv *jenv; in make_env_key() local 249 (*globVM)->GetEnv(globVM, (void **)&jenv, JNI_VERSION_1_8); in make_env_key() 251 jclass rcls = (*jenv)->FindClass(jenv, "java/lang/Runnable"); in make_env_key() 252 jmethodID runm = (*jenv)->GetMethodID(jenv, rcls, "run", "()V"); in make_env_key() 254 runGlobal = (jmethodID)(*jenv)->NewGlobalRef(jenv, (jobject)runm); in make_env_key() 261 JNIEnv *jenv = (JNIEnv *) pthread_getspecific(env_key); in mraa_java_isr_callback() local 262 (*jenv)->CallVoidMethod(jenv, (jobject)data, runGlobal); in mraa_java_isr_callback() 296 JNIEnv *jenv; in mraa_gpio_interrupt_handler() local 298 jint err = (*globVM)->AttachCurrentThreadAsDaemon(globVM, (void **)&jenv, NULL); in mraa_gpio_interrupt_handler() 307 pthread_setspecific(env_key, jenv); in mraa_gpio_interrupt_handler() [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/ |
D | javaupm_lsm303d.i | 17 $result = JCALL1(NewIntArray, jenv, 3); 18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/lsm303/ |
D | javaupm_lsm303.i | 17 $result = JCALL1(NewIntArray, jenv, 3); 18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/ |
D | javaupm_hmc5883l.i | 17 $result = JCALL1(NewIntArray, jenv, 3); 18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/lol/ |
D | javaupm_lol.i | 16 $result = JCALL1(NewByteArray, jenv, LOL_X*LOL_Y); 17 JCALL4(SetByteArrayRegion, jenv, $result, 0, LOL_X*LOL_Y-1, reinterpret_cast<jbyte*>($1));
|
/hardware/bsp/intel/peripheral/libupm/src/mma7455/ |
D | javaupm_mma7455.i | 18 $result = JCALL1(NewShortArray, jenv, 3); 19 JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (const signed short*)$1);
|
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/ |
D | javaupm_m24lr64e.i | 17 $result = JCALL1(NewByteArray, jenv, length); 18 JCALL4(SetByteArrayRegion, jenv, $result, 0, length, reinterpret_cast<signed char *>($1));
|
/hardware/bsp/intel/peripheral/libupm/src/mpu9150/ |
D | javaupm_mpu9150.i | 29 $result = JCALL1(NewFloatArray, jenv, 3); 30 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
|
/hardware/bsp/intel/peripheral/libupm/src/st7735/ |
D | javaupm_st7735.i | 35 $1 = (unsigned char *)JCALL2(GetByteArrayElements, jenv, $input, NULL);
|