/aoo42x/main/connectivity/source/drivers/jdbc/ |
H A D | CallableStatement.cxx | 91 createStatement(t.pEnv); in getByte() 103 createStatement(t.pEnv); in getBytes() 118 createStatement(t.pEnv); in getDate() 126 createStatement(t.pEnv); in getDouble() 135 createStatement(t.pEnv); in getFloat() 144 createStatement(t.pEnv); in getInt() 152 createStatement(t.pEnv); in getLong() 182 createStatement(t.pEnv); in getString() 214 createStatement(t.pEnv); in registerOutParameter() 235 createStatement(t.pEnv); in registerNumericOutParameter() [all …]
|
H A D | Object.cxx | 75 , pEnv(NULL) in SDBThreadAttach() 77 pEnv = m_aGuard.getEnvironment(); in SDBThreadAttach() 135 clearObject(*t.pEnv); in ~java_lang_Object() 153 clearObject(*t.pEnv); in clearObject() 248 ThrowSQLException( t.pEnv, NULL ); in callBooleanMethod() 261 ThrowSQLException( t.pEnv, NULL ); in callBooleanMethodWithIntArg() 296 ThrowSQLException( t.pEnv, NULL ); in callIntMethodWithIntArg() 309 ThrowSQLException( t.pEnv, NULL ); in callVoidMethod() 386 ThrowSQLException( t.pEnv, NULL ); in callVoidMethodWithStringArg() 418 t.pEnv->ExceptionDescribe(); in findMyClass() [all …]
|
H A D | PreparedStatement.cxx | 128 createStatement(t.pEnv); in setString() 155 createStatement(t.pEnv); in executeQuery() 170 createStatement(t.pEnv); in setBoolean() 183 createStatement(t.pEnv); in setByte() 328 createStatement(t.pEnv); in setObjectWithInfo() 426 createStatement(t.pEnv); in setBytes() 451 createStatement(t.pEnv); in setCharacterStream() 499 createStatement(t.pEnv); in setBinaryStream() 548 createStatement(t.pEnv); in clearParameters() 561 createStatement(t.pEnv); in clearBatch() [all …]
|
H A D | tools.cxx | 61 ThrowSQLException(t.pEnv,NULL); in setProperty() 64 ThrowSQLException(t.pEnv,0); in setProperty() 66 t.pEnv->DeleteLocalRef(out); in setProperty() 87 if( !t.pEnv ) in java_util_Properties() 96 saveRef( t.pEnv, tempObj ); in java_util_Properties() 105 pEnv->ExceptionClear(); in convertwchar_tToJavaString() 174 pEnv->DeleteLocalRef(_Str); in JavaString2String() 192 if ( !pEnv ) in isExceptionOccured() 200 pEnv->ExceptionClear(); in isExceptionOccured() 221 if( !t.pEnv || !x.is() ) in createByteInputStream() [all …]
|
H A D | DatabaseMetaData.cxx | 68 ,java_lang_Object( pEnv, myObj ) in java_sql_DatabaseMetaData() 370 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getIndexInfo() 372 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getIndexInfo() 374 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getIndexInfo() 409 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getBestRowIdentifier() 411 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getBestRowIdentifier() 413 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getBestRowIdentifier() 529 t.pEnv->DeleteLocalRef((jstring)args[0].l); in getCrossReference() 531 t.pEnv->DeleteLocalRef((jstring)args[1].l); in getCrossReference() 533 t.pEnv->DeleteLocalRef((jstring)args[2].l); in getCrossReference() [all …]
|
H A D | ResultSet.cxx | 76 ,java_lang_Object( pEnv, myObj ) in java_sql_ResultSet() 122 clearObject(*t.pEnv); in disposing() 203 aSeq.realloc(t.pEnv->GetArrayLength(out)); in getBytes() 205 t.pEnv->DeleteLocalRef(out); in getBytes() 350 java_lang_String aVal(t.pEnv,out); in getObject() 355 java_lang_Boolean aVal(t.pEnv,out); in getObject() 361 java_sql_Date aVal(t.pEnv,out); in getObject() 366 java_sql_Time aVal(t.pEnv,out); in getObject() 371 java_sql_Timestamp aVal(t.pEnv,out); in getObject() 375 t.pEnv->DeleteLocalRef(out); in getObject() [all …]
|
H A D | JStatement.cxx | 160 createStatement(t.pEnv); in getGeneratedValues() 198 createStatement(t.pEnv); in cancel() 220 createStatement(t.pEnv); in clearBatch() 236 createStatement(t.pEnv); in execute() 271 createStatement(t.pEnv); in executeQuery() 317 createStatement(t.pEnv); in addBatch() 352 createStatement(t.pEnv); in executeUpdate() 362 createStatement(t.pEnv); in getResultSet() 374 createStatement(t.pEnv); in getUpdateCount() 415 createStatement(t.pEnv); in clearWarnings() [all …]
|
H A D | Blob.cxx | 42 java_sql_Blob::java_sql_Blob( JNIEnv * pEnv, jobject myObj ) in java_sql_Blob() argument 43 : java_lang_Object( pEnv, myObj ) in java_sql_Blob() 71 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in length() 72 out = t.pEnv->CallLongMethod( object, mID ); in length() 73 ThrowSQLException(t.pEnv,*this); in length() 88 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in getBytes() 90 ThrowSQLException(t.pEnv,*this); in getBytes() 94 aSeq.realloc(t.pEnv->GetArrayLength(out)); in getBytes() 96 t.pEnv->DeleteLocalRef(out); in getBytes() 128 t.pEnv->DeleteLocalRef(pByteArray); in position() [all …]
|
H A D | Array.cxx | 67 jobject obj = convertTypeMapToJavaMap(t.pEnv,typeMap); in getArray() 74 ThrowSQLException(t.pEnv,*this); in getArray() 76 t.pEnv->DeleteLocalRef(obj); in getArray() 87 jobject obj = convertTypeMapToJavaMap(t.pEnv,typeMap); in getArrayAtIndex() 94 ThrowSQLException(t.pEnv,*this); in getArrayAtIndex() 96 t.pEnv->DeleteLocalRef(obj); in getArrayAtIndex() 114 out = t.pEnv->CallObjectMethod( object, mID, obj); in getResultSet() 115 ThrowSQLException(t.pEnv,*this); in getResultSet() 117 t.pEnv->DeleteLocalRef(obj); in getResultSet() 138 ThrowSQLException(t.pEnv,*this); in getResultSetAtIndex() [all …]
|
H A D | DriverPropertyInfo.cxx | 72 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in name() 75 jfieldID id = t.pEnv->GetFieldID(getMyClass(),"name","Ljava/lang/String;"); in name() 77 aStr = JavaString2String(t.pEnv,(jstring)t.pEnv->GetObjectField( object, id)); in name() 85 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in description() 90 aStr = JavaString2String(t.pEnv,(jstring)t.pEnv->GetObjectField( object, id)); in description() 98 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in value() 101 jfieldID id = t.pEnv->GetFieldID(getMyClass(),"value","Ljava/lang/String;"); in value() 103 aStr = JavaString2String(t.pEnv,(jstring)t.pEnv->GetObjectField( object, id)); in value() 114 jfieldID id = t.pEnv->GetFieldID(getMyClass(),"required","Z"); in required() 116 out = t.pEnv->GetBooleanField( object, id); in required() [all …]
|
H A D | Clob.cxx | 39 java_sql_Clob::java_sql_Clob( JNIEnv * pEnv, jobject myObj ) in java_sql_Clob() argument 40 : java_lang_Object( pEnv, myObj ) in java_sql_Clob() 69 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in length() 70 out = t.pEnv->CallLongMethod( object, mID ); in length() 71 ThrowSQLException(t.pEnv,*this); in length() 89 ThrowSQLException(t.pEnv,*this); in getSubString() 90 aStr = JavaString2String(t.pEnv,out); in getSubString() 104 return out==0 ? 0 : new java_io_Reader( t.pEnv, out ); in getCharacterStream() 116 args[0].l = convertwchar_tToJavaString(t.pEnv,searchstr); in position() 124 ThrowSQLException(t.pEnv,*this); in position() [all …]
|
H A D | Timestamp.cxx | 41 if( !t.pEnv ) in java_sql_Date() 47 args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr); in java_sql_Date() 57 saveRef( t.pEnv, tempObj ); in java_sql_Date() 58 t.pEnv->DeleteLocalRef( tempObj ); in java_sql_Date() 106 if( !t.pEnv ) in java_sql_Time() 122 t.pEnv->DeleteLocalRef((jstring)args[0].l); in java_sql_Time() 123 saveRef( t.pEnv, tempObj ); in java_sql_Time() 124 t.pEnv->DeleteLocalRef( tempObj ); in java_sql_Time() 156 if( !t.pEnv ) in java_sql_Timestamp() 174 saveRef( t.pEnv, tempObj ); in java_sql_Timestamp() [all …]
|
H A D | JConnection.cxx | 286 clearObject(*t.pEnv); in ~java_sql_Connection() 290 t.pEnv->DeleteGlobalRef( m_pDriverobject ); in ~java_sql_Connection() 293 t.pEnv->DeleteGlobalRef( m_Driver_theClass ); in ~java_sql_Connection() 553 aStr = JavaString2String(t.pEnv, (jstring)out ); in nativeSQL() 554 ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); in nativeSQL() 579 java_sql_SQLWarning_BASE warn_base(t.pEnv, out); in getWarnings() 726 if( t.pEnv && m_pDriverobject ) in loadDriverFromProperties() 788 if ( !t.pEnv ) in construct() 815 if ( t.pEnv && m_Driver_theClass && m_pDriverobject ) in construct() 828 args[0].l = convertwchar_tToJavaString(t.pEnv,url); in construct() [all …]
|
H A D | JBigDecimal.cxx | 50 if( !t.pEnv ) in java_math_BigDecimal() 57 obtainMethodId(t.pEnv, "<init>",cSignature, mID); in java_math_BigDecimal() 61 t.pEnv->DeleteLocalRef(str); in java_math_BigDecimal() 62 saveRef( t.pEnv, tempObj ); in java_math_BigDecimal() 63 t.pEnv->DeleteLocalRef( tempObj ); in java_math_BigDecimal() 64 ThrowSQLException( t.pEnv, NULL ); in java_math_BigDecimal() 71 if( !t.pEnv ) in java_math_BigDecimal() 78 obtainMethodId(t.pEnv, "<init>",cSignature, mID); in java_math_BigDecimal() 80 saveRef( t.pEnv, tempObj ); in java_math_BigDecimal() 81 t.pEnv->DeleteLocalRef( tempObj ); in java_math_BigDecimal() [all …]
|
H A D | Reader.cxx | 37 java_io_Reader::java_io_Reader( JNIEnv * pEnv, jobject myObj ) in java_io_Reader() argument 38 : java_lang_Object( pEnv, myObj ) in java_io_Reader() 69 SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!"); in available() 76 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in available() 77 out = t.pEnv->CallBooleanMethod( object, mID); in available() 78 ThrowSQLException(t.pEnv,*this); in available() 96 jcharArray pCharArray = t.pEnv->NewCharArray(nBytesToRead); in readBytes() 101 obtainMethodId(t.pEnv, cMethodName,cSignature, mID); in readBytes() 104 ThrowSQLException(t.pEnv,*this); in readBytes() 111 memcpy(aData.getArray(),t.pEnv->GetCharArrayElements(pCharArray,&p),out); in readBytes() [all …]
|
/aoo42x/main/cppu/source/uno/ |
H A D | lbenv.cxx | 188 (*pEnv->acquireInterface)( pEnv, pInterface ); in append() 493 (*pEnv->releaseInterface)( pEnv, *ppInterface ); in defenv_getRegisteredInterface() 558 (*pEnv->environmentDisposing)( pEnv ); in defenv_release() 809 if (pEnv) in uno_dumpEnvironmentByName() 812 (*pEnv->release)( pEnv ); in uno_dumpEnvironmentByName() 981 (*pEnv->acquireWeak)( pEnv ); in registerEnvironment() 996 (*pEnv->release)( pEnv ); in registerEnvironment() 1002 (*pEnv->acquireWeak)( pEnv ); in registerEnvironment() 1087 (*pEnv->acquire)( pEnv ); in initDefaultEnvironment() 1107 pEnv->release(pEnv); in initDefaultEnvironment() [all …]
|
H A D | EnvStack.cxx | 72 static void s_setCurrent(uno_Environment * pEnv) in s_setCurrent() argument 77 if (pEnv) in s_setCurrent() 78 s_threadMap[threadId] = pEnv; in s_setCurrent() 89 uno_Environment * pEnv = NULL; in s_getCurrent() local 96 pEnv = iEnv->second; in s_getCurrent() 98 return pEnv; in s_getCurrent() 239 s_callInto_v(pEnv, pCallee, ¶m); in s_callInto() 258 s_callOut_v(pEnv, pCallee, ¶m); in s_callOut() 316 uno_Environment_invoke_v(pEnv, pCallee, ¶m); in uno_Environment_invoke() 358 rtl::OUString typeName(cppu::EnvDcp::getTypeName(pEnv->pTypeName)); in uno_Environment_isValid() [all …]
|
/aoo42x/main/cppu/source/helper/purpenv/ |
H A D | helper_purpenv_Environment.cxx | 233 m_pEnv(pEnv), in Base() 235 m_env_acquire (pEnv->acquire), in Base() 236 m_env_release (pEnv->release), in Base() 237 m_env_harden (pEnv->harden), in Base() 238 m_env_acquireWeak(pEnv->acquireWeak), in Base() 255 pEnv->acquire = s_acquire; in Base() 256 pEnv->release = s_release; in Base() 257 pEnv->harden = s_harden; in Base() 258 pEnv->acquireWeak = s_acquireWeak; in Base() 259 pEnv->releaseWeak = s_releaseWeak; in Base() [all …]
|
/aoo42x/main/tools/bootstrp/ |
H A D | appdef.cxx | 37 if ( pEnv ) in GetDefStandList() 39 int nLen = strlen( pEnv ); in GetDefStandList() 57 if ( pEnv ) in GetIniRoot() 59 int nLen = strlen( pEnv ); in GetIniRoot() 76 if ( pEnv ) in GetIniRootOld() 78 int nLen = strlen( pEnv ); in GetIniRootOld() 95 if ( pEnv ) in GetSSolarIni() 97 int nLen = strlen( pEnv ); in GetSSolarIni() 115 if ( pEnv ) in GetSSCommon() 117 int nLen = strlen( pEnv ); in GetSSCommon() [all …]
|
/aoo42x/main/cppu/inc/uno/ |
H A D | environment.h | 69 void (SAL_CALL * acquire)( struct _uno_Environment * pEnv ); 99 struct _uno_Environment * pEnv ); 153 struct _uno_ExtEnvironment * pEnv, 168 struct _uno_ExtEnvironment * pEnv, 181 struct _uno_ExtEnvironment * pEnv, 190 struct _uno_ExtEnvironment * pEnv, 203 struct _uno_ExtEnvironment * pEnv, 217 struct _uno_ExtEnvironment * pEnv, 231 struct _uno_ExtEnvironment * pEnv, 240 struct _uno_ExtEnvironment * pEnv, [all …]
|
H A D | environment.hxx | 82 inline Environment( uno_Environment * pEnv = 0 ) SAL_THROW( () ); 180 : _pEnv( pEnv ) in Environment() 216 if (pEnv != _pEnv) in operator =() 218 if (pEnv) in operator =() 219 (*pEnv->acquire)( pEnv ); in operator =() 222 _pEnv = pEnv; in operator =() 260 uno_Environment * pEnv = NULL; in getCurrent() local 261 uno_getCurrentEnvironment(&pEnv, typeName.pData); in getCurrent() 262 environment = pEnv; in getCurrent() 263 if (pEnv) in getCurrent() [all …]
|
/aoo42x/main/vcl/source/window/ |
H A D | syschild.cxx | 206 void SystemChildWindow::ImplTestJavaException( void* pEnv ) in ImplTestJavaException() argument 283 ImplTestJavaException(pEnv); in GetParentWindowHandle() 286 ImplTestJavaException(pEnv); in GetParentWindowHandle() 289 ImplTestJavaException(pEnv); in GetParentWindowHandle() 294 pEnv->ExceptionClear(); in GetParentWindowHandle() 301 ImplTestJavaException(pEnv); in GetParentWindowHandle() 304 ImplTestJavaException(pEnv); in GetParentWindowHandle() 307 ImplTestJavaException(pEnv); in GetParentWindowHandle() 310 ImplTestJavaException(pEnv); in GetParentWindowHandle() 313 ImplTestJavaException(pEnv); in GetParentWindowHandle() [all …]
|
/aoo42x/main/cppu/source/threadpool/ |
H A D | current.cxx | 222 uno_Environment * pEnv = 0; in uno_setCurrentContext() local 223 ::uno_getEnvironment( &pEnv, pEnvTypeName, pEnvContext ); in uno_setCurrentContext() 224 OSL_ASSERT( pEnv && pEnv->pExtEnv ); in uno_setCurrentContext() 225 if (pEnv) in uno_setCurrentContext() 227 if (pEnv->pExtEnv) in uno_setCurrentContext() 229 pId->pCurrentContextEnv = pEnv->pExtEnv; in uno_setCurrentContext() 236 (*pEnv->release)( pEnv ); in uno_setCurrentContext() 264 uno_ExtEnvironment * pEnv = target_env.get()->pExtEnv; in uno_getCurrentContext() local 265 OSL_ASSERT( 0 != pEnv ); in uno_getCurrentContext() 266 if (0 == pEnv) in uno_getCurrentContext() [all …]
|
/aoo42x/main/connectivity/source/inc/java/lang/ |
H A D | Object.hxx | 65 JNIEnv* pEnv; member in connectivity::SDBThreadAttach 74 return *pEnv; in env() 103 java_lang_Object( JNIEnv * pEnv, jobject myObj ); 109 void saveRef( JNIEnv * pEnv, jobject myObj ); 118 …static void ThrowSQLException(JNIEnv * pEnv,const ::com::sun::star::uno::Reference< ::com::sun::st… 149 obtainMethodId(t.pEnv, _pMethodName,_pSignature, _inout_MethodID); in callMethodWithIntArg() 150 T out = (t.pEnv->*pCallMethod)( object, _inout_MethodID,_nArgument); in callMethodWithIntArg() 151 ThrowSQLException( t.pEnv, NULL ); in callMethodWithIntArg() 159 obtainMethodId(t.pEnv, _pMethodName,_pSignature, _inout_MethodID); in callVoidMethod() 160 t.pEnv->CallVoidMethod( object, _inout_MethodID,_nArgument,_aValue); in callVoidMethod() [all …]
|
/aoo42x/main/autodoc/source/display/idl/ |
H A D | hi_main.cxx | 285 : pEnv(&io_rEnv), in MainDisplay_Idl() 319 HF_IdlModule aFactory( *pEnv, pMyFile->Body() ); in do_Process() 380 HF_IdlConstGroup aFactory( *pEnv, pMyFile->Body() ); in do_Process() 393 HF_IdlSingleton aFactory( *pEnv, pMyFile->Body() ); in do_Process() 484 HF_IdlEnum aFactory( *pEnv, pMyFile->Body() ); in do_EnumDescr() 516 HF_IdlXrefs aUses( *pEnv, in do_Interface2s() 576 HF_IdlXrefs aUses( *pEnv, in do_Service2s() 608 HF_IdlXrefs aUses( *pEnv, in do_Struct2s() 657 HF_IdlXrefs aUses( *pEnv, in do_Exception2s() 691 HF_IdlXrefs aUses( *pEnv, in do_Enum2s() [all …]
|