Lines Matching refs:jint

84 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_init
97 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_resume
110 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_setOption__II
111 (JNIEnv * e, jclass jc, jint jiOpt, jint jiVal)
113 return (jint) ec_set_option_int((int) jiOpt, (int) jiVal);
121 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_setOption__ILjava_lang_String_2
122 (JNIEnv * e, jclass js, jint jiOpt, jstring jsVal)
125 jint res;
132 res = (jint) ec_set_option_ptr((int) jiOpt, buf);
142 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_setOption__I_3Ljava_lang_String_2
143 (JNIEnv * e, jclass jc , jint jiOpt, jobjectArray jsArray)
148 jint res;
164 res = (jint) ec_set_option_ptr((int) jiOpt,(char **) bufs);
176 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_QueueRead
178 jint jiQueue, jint jiPos, jint jiLen, jbyteArray jbBuf)
180 jint jiBytesRead;
187 jiBytesRead = (jint) ec_queue_read((int) jiQueue,buf+jiPos,n);
198 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_QueueReadByte
199 (JNIEnv * e, jclass jc, jint jiQueue)
208 return((jint) -1);
215 return((jint) ec_queue_read_return_val);
218 return((jint) (0xff & byte_read));
228 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_QueueWriteByte
229 (JNIEnv * e, jclass jc, jint jiQueue, jbyte write_byte)
232 jint res;
233 res = (jint) ec_queue_write((int) jiQueue,&write_char,1);
243 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_QueueAvailable
244 (JNIEnv *e, jclass jc, jint stream)
256 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_QueueWrite
257 (JNIEnv * e, jclass jc, jint jiQueue, jbyteArray jbBuf, jint jiPos, jint jiLen)
261 jint res;
267 res = (jint) ec_queue_write((int) jiQueue,(char *) buf + jiPos,(int) n);
277 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_StreamNumber
281 jint res;
284 res = (jint) ec_stream_nr((char *) s);
294 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_HandleEvents
297 jint res;
305 (*e)->SetIntField(e,StreamId,fid,(jint) stream_id);
313 JNIEXPORT jint JNICALL Java_com_parctechnologies_eclipse_NativeEclipse_resumeLong
316 jint res;
323 res = (jint) ec_resume_long(&stream_id);
324 (*e)->SetIntField(e,StreamId,fid,(jint) stream_id);
420 jint * ji;