• Home
  • Raw
  • Download

Lines Matching full:env

27 inline jclass java_io_InputStream_clazz(JNIEnv* env) {
28 return base::android::LazyGetClass(env, kClassPath_java_io_InputStream,
42 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
44 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
45 CHECK_CLAZZ(env, obj.obj(),
46 java_io_InputStream_clazz(env), 0);
49 env, java_io_InputStream_clazz(env),
55 env->CallIntMethod(obj.obj(),
57 jni_generator::CheckException(env);
62 static void Java_InputStream_close(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
64 static void Java_InputStream_close(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
65 CHECK_CLAZZ(env, obj.obj(),
66 java_io_InputStream_clazz(env));
69 env, java_io_InputStream_clazz(env),
74 env->CallVoidMethod(obj.obj(),
76 jni_generator::CheckException(env);
80 static void Java_InputStream_mark(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
82 static void Java_InputStream_mark(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
84 CHECK_CLAZZ(env, obj.obj(),
85 java_io_InputStream_clazz(env));
88 env, java_io_InputStream_clazz(env),
93 env->CallVoidMethod(obj.obj(),
95 jni_generator::CheckException(env);
99 static jboolean Java_InputStream_markSupported(JNIEnv* env, const base::android::JavaRef<jobject>&
101 static jboolean Java_InputStream_markSupported(JNIEnv* env, const base::android::JavaRef<jobject>&
103 CHECK_CLAZZ(env, obj.obj(),
104 java_io_InputStream_clazz(env), false);
107 env, java_io_InputStream_clazz(env),
113 env->CallBooleanMethod(obj.obj(),
115 jni_generator::CheckException(env);
120 static jint Java_InputStream_readI(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
122 static jint Java_InputStream_readI(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
123 CHECK_CLAZZ(env, obj.obj(),
124 java_io_InputStream_clazz(env), 0);
127 env, java_io_InputStream_clazz(env),
133 env->CallIntMethod(obj.obj(),
135 jni_generator::CheckException(env);
140 static jint Java_InputStream_readI_AB(JNIEnv* env, const base::android::JavaRef<jobject>& obj, const
142 static jint Java_InputStream_readI_AB(JNIEnv* env, const base::android::JavaRef<jobject>& obj, const
144 CHECK_CLAZZ(env, obj.obj(),
145 java_io_InputStream_clazz(env), 0);
148 env, java_io_InputStream_clazz(env),
154 env->CallIntMethod(obj.obj(),
156 jni_generator::CheckException(env);
161 static jint Java_InputStream_readI_AB_I_I(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
165 static jint Java_InputStream_readI_AB_I_I(JNIEnv* env, const base::android::JavaRef<jobject>& obj,
169 CHECK_CLAZZ(env, obj.obj(),
170 java_io_InputStream_clazz(env), 0);
173 env, java_io_InputStream_clazz(env),
179 env->CallIntMethod(obj.obj(),
181 jni_generator::CheckException(env);
186 static void Java_InputStream_reset(JNIEnv* env, const base::android::JavaRef<jobject>& obj)
188 static void Java_InputStream_reset(JNIEnv* env, const base::android::JavaRef<jobject>& obj) {
189 CHECK_CLAZZ(env, obj.obj(),
190 java_io_InputStream_clazz(env));
193 env, java_io_InputStream_clazz(env),
198 env->CallVoidMethod(obj.obj(),
200 jni_generator::CheckException(env);
204 static jlong Java_InputStream_skip(JNIEnv* env, const base::android::JavaRef<jobject>& obj, jlong
206 static jlong Java_InputStream_skip(JNIEnv* env, const base::android::JavaRef<jobject>& obj, jlong
208 CHECK_CLAZZ(env, obj.obj(),
209 java_io_InputStream_clazz(env), 0);
212 env, java_io_InputStream_clazz(env),
218 env->CallLongMethod(obj.obj(),
220 jni_generator::CheckException(env);
225 static base::android::ScopedJavaLocalRef<jobject> Java_InputStream_Constructor(JNIEnv* env)
227 static base::android::ScopedJavaLocalRef<jobject> Java_InputStream_Constructor(JNIEnv* env) {
228 CHECK_CLAZZ(env, java_io_InputStream_clazz(env),
229 java_io_InputStream_clazz(env), NULL);
232 env, java_io_InputStream_clazz(env),
238 env->NewObject(java_io_InputStream_clazz(env),
240 jni_generator::CheckException(env);
241 return base::android::ScopedJavaLocalRef<jobject>(env, ret);