Lines Matching refs:pEnv
75 , pEnv(NULL) in SDBThreadAttach()
77 pEnv = m_aGuard.getEnvironment(); in SDBThreadAttach()
78 OSL_ENSURE(pEnv,"Environment is nULL!"); in SDBThreadAttach()
135 clearObject(*t.pEnv); in ~java_lang_Object()
153 clearObject(*t.pEnv); in clearObject()
244 OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethod: no Java enviroment anymore!" ); in callBooleanMethod()
245 obtainMethodId(t.pEnv, _pMethodName,"()Z", _inout_MethodID); in callBooleanMethod()
247 out = t.pEnv->CallBooleanMethod( object, _inout_MethodID ); in callBooleanMethod()
248 ThrowSQLException( t.pEnv, NULL ); in callBooleanMethod()
257 …OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethodWithIntArg: no Java enviroment anymore!" ); in callBooleanMethodWithIntArg()
258 obtainMethodId(t.pEnv, _pMethodName,"(I)Z", _inout_MethodID); in callBooleanMethodWithIntArg()
260 out = t.pEnv->CallBooleanMethod( object, _inout_MethodID, _nArgument ); in callBooleanMethodWithIntArg()
261 ThrowSQLException( t.pEnv, NULL ); in callBooleanMethodWithIntArg()
276 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callIntMethod()
277 obtainMethodId(t.pEnv, _pMethodName,"()I", _inout_MethodID); in callIntMethod()
280 jint out( t.pEnv->CallIntMethod( object, _inout_MethodID ) ); in callIntMethod()
282 isExceptionOccured(t.pEnv,sal_True); in callIntMethod()
284 ThrowSQLException( t.pEnv, NULL ); in callIntMethod()
292 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callIntMethodWithIntArg()
293 obtainMethodId(t.pEnv, _pMethodName,"(I)I", _inout_MethodID); in callIntMethodWithIntArg()
295 jint out( t.pEnv->CallIntMethod( object, _inout_MethodID , _nArgument) ); in callIntMethodWithIntArg()
296 ThrowSQLException( t.pEnv, NULL ); in callIntMethodWithIntArg()
304 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callVoidMethod()
305 obtainMethodId(t.pEnv, _pMethodName,"()V", _inout_MethodID); in callVoidMethod()
308 t.pEnv->CallVoidMethod( object, _inout_MethodID ); in callVoidMethod()
309 ThrowSQLException( t.pEnv, NULL ); in callVoidMethod()
315 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callVoidMethodWithIntArg()
316 obtainMethodId(t.pEnv, _pMethodName,"(I)V", _inout_MethodID); in callVoidMethodWithIntArg()
319 t.pEnv->CallVoidMethod( object, _inout_MethodID,_nArgument ); in callVoidMethodWithIntArg()
321 isExceptionOccured(t.pEnv,sal_True); in callVoidMethodWithIntArg()
323 ThrowSQLException( t.pEnv, NULL ); in callVoidMethodWithIntArg()
329 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callVoidMethodWithBoolArg()
330 obtainMethodId(t.pEnv, _pMethodName,"(Z)V", _inout_MethodID); in callVoidMethodWithBoolArg()
332 t.pEnv->CallVoidMethod( object, _inout_MethodID,_nArgument ); in callVoidMethodWithBoolArg()
334 isExceptionOccured(t.pEnv,sal_True); in callVoidMethodWithBoolArg()
336 ThrowSQLException( t.pEnv, NULL ); in callVoidMethodWithBoolArg()
342 OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java enviroment anymore!" ); in callStringMethod()
345 …jstring out = (jstring)callObjectMethod(t.pEnv,_pMethodName,"()Ljava/lang/String;", _inout_MethodI… in callStringMethod()
346 return JavaString2String( t.pEnv, out ); in callStringMethod()
372 OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java enviroment anymore!" ); in callStringMethodWithIntArg()
373 …jstring out = (jstring)callObjectMethodWithIntArg(t.pEnv,_pMethodName,"(I)Ljava/lang/String;",_ino… in callStringMethodWithIntArg()
374 return JavaString2String( t.pEnv, out ); in callStringMethodWithIntArg()
380 OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); in callVoidMethodWithStringArg()
381 obtainMethodId(t.pEnv, _pMethodName,"(Ljava/lang/String;)V", _inout_MethodID); in callVoidMethodWithStringArg()
383 jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,_nArgument)); in callVoidMethodWithStringArg()
385 t.pEnv->CallVoidMethod( object, _inout_MethodID , str.get()); in callVoidMethodWithStringArg()
386 ThrowSQLException( t.pEnv, NULL ); in callVoidMethodWithStringArg()
392 … OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethodWithStringArg: no Java enviroment anymore!" ); in callIntMethodWithStringArg()
393 obtainMethodId(t.pEnv, _pMethodName,"(Ljava/lang/String;)I", _inout_MethodID); in callIntMethodWithStringArg()
404 jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,_nArgument)); in callIntMethodWithStringArg()
406 jint out = t.pEnv->CallIntMethod( object, _inout_MethodID , str.get()); in callIntMethodWithStringArg()
407 ThrowSQLException( t.pEnv, NULL ); in callIntMethodWithStringArg()
415 …jclass tempClass = t.pEnv->FindClass(_pClassName); OSL_ENSURE(tempClass,"Java : FindClass nicht er… in findMyClass()
418 t.pEnv->ExceptionDescribe(); in findMyClass()
419 t.pEnv->ExceptionClear(); in findMyClass()
421 jclass globClass = (jclass)t.pEnv->NewGlobalRef( tempClass ); in findMyClass()
422 t.pEnv->DeleteLocalRef( tempClass ); in findMyClass()