Home
last modified time | relevance | path

Searched refs:pEnv (Results 1 – 25 of 129) sorted by relevance

123456

/aoo41x/main/connectivity/source/drivers/jdbc/
H A DCallableStatement.cxx91 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 DObject.cxx75 , 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 DPreparedStatement.cxx128 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 Dtools.cxx61 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 DDatabaseMetaData.cxx68 ,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 DResultSet.cxx76 ,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 DJStatement.cxx160 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 DBlob.cxx42 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 DArray.cxx67 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 DDriverPropertyInfo.cxx72 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 DClob.cxx39 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 DTimestamp.cxx41 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 DJConnection.cxx286 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 DJBigDecimal.cxx50 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 DReader.cxx37 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 …]
/aoo41x/main/cppu/source/uno/
H A Dlbenv.cxx188 (*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 DEnvStack.cxx72 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, &param); in s_callInto()
258 s_callOut_v(pEnv, pCallee, &param); in s_callOut()
316 uno_Environment_invoke_v(pEnv, pCallee, &param); in uno_Environment_invoke()
358 rtl::OUString typeName(cppu::EnvDcp::getTypeName(pEnv->pTypeName)); in uno_Environment_isValid()
[all …]
/aoo41x/main/cppu/source/helper/purpenv/
H A Dhelper_purpenv_Environment.cxx233 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 …]
/aoo41x/main/tools/bootstrp/
H A Dappdef.cxx37 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 …]
/aoo41x/main/soldep/bootstrp/
H A Dappdef.cxx34 if ( pEnv ) in GetDefStandList()
36 int nLen = strlen( pEnv ); in GetDefStandList()
54 if ( pEnv ) in GetIniRoot()
56 int nLen = strlen( pEnv ); in GetIniRoot()
73 if ( pEnv ) in GetIniRootOld()
75 int nLen = strlen( pEnv ); in GetIniRootOld()
92 if ( pEnv ) in GetSSolarIni()
94 int nLen = strlen( pEnv ); in GetSSolarIni()
112 if ( pEnv ) in GetSSCommon()
114 int nLen = strlen( pEnv ); in GetSSCommon()
[all …]
/aoo41x/main/cppu/inc/uno/
H A Denvironment.h69 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 Denvironment.hxx82 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 …]
/aoo41x/main/vcl/source/window/
H A Dsyschild.cxx206 void SystemChildWindow::ImplTestJavaException( void* pEnv ) in ImplTestJavaException() argument
281 ImplTestJavaException(pEnv); in GetParentWindowHandle()
284 ImplTestJavaException(pEnv); in GetParentWindowHandle()
287 ImplTestJavaException(pEnv); in GetParentWindowHandle()
292 pEnv->ExceptionClear(); in GetParentWindowHandle()
299 ImplTestJavaException(pEnv); in GetParentWindowHandle()
302 ImplTestJavaException(pEnv); in GetParentWindowHandle()
305 ImplTestJavaException(pEnv); in GetParentWindowHandle()
308 ImplTestJavaException(pEnv); in GetParentWindowHandle()
311 ImplTestJavaException(pEnv); in GetParentWindowHandle()
[all …]
/aoo41x/main/unotools/source/processfactory/
H A Dcomponentfactory.cxx96 uno_Environment * pEnv = 0; in loadLibComponentFactory() local
107 if (! pEnv) in loadLibComponentFactory()
109 if (pEnv) in loadLibComponentFactory()
114 bNeedsMapping = (pEnv != pCurrentEnv); in loadLibComponentFactory()
125 if (pEnv && pCurrentEnv) in loadLibComponentFactory()
127 Mapping aCurrent2Env( pCurrentEnv, pEnv ); in loadLibComponentFactory()
141 (*pEnv->pExtEnv->releaseInterface)( pEnv->pExtEnv, pKey ); in loadLibComponentFactory()
143 (*pEnv->pExtEnv->releaseInterface)( pEnv->pExtEnv, pSMgr ); in loadLibComponentFactory()
150 (*pEnv->pExtEnv->releaseInterface)( pEnv->pExtEnv, pSSF ); in loadLibComponentFactory()
168 if (pEnv) in loadLibComponentFactory()
[all …]
/aoo41x/main/cppu/source/threadpool/
H A Dcurrent.cxx222 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 …]

Completed in 108 milliseconds

123456