Lines Matching refs:get
146 runtimeImpl = PyDict_GetItemString( globalDict.get() , "pyuno_runtime" ); in getRuntimeImpl()
158 PyRef str( PyObject_Repr( excTraceback.get() ), SAL_NO_ACQUIRE ); in importUnoModule()
162 PyRef valueRep( PyObject_Repr( excValue.get() ), SAL_NO_ACQUIRE ); in importUnoModule()
164 buf.append( pyString2ustring( valueRep.get() ) ).appendAscii( ", traceback follows\n" ); in importUnoModule()
165 buf.append( pyString2ustring( str.get() ) ); in importUnoModule()
168 PyRef dict( PyModule_GetDict( module.get() ) ); in importUnoModule()
333 RuntimeImpl *impl = reinterpret_cast< RuntimeImpl * > (runtime.get()); in initialize()
342 PyDict_SetItemString( globalDict.get(), "pyuno_runtime" , keep.get() ); in initialize()
343 Py_XINCREF( keep.get() ); in initialize()
351 RuntimeImpl *impl = reinterpret_cast< RuntimeImpl * > (runtime.get()); in isInitialized()
359 RuntimeImpl *impl = reinterpret_cast< RuntimeImpl * > (runtime.get()); in finalize()
384 impl = reinterpret_cast< RuntimeImpl * > (runtime.get()); in Runtime()
385 Py_XINCREF( runtime.get() ); in Runtime()
402 Py_XINCREF( temp.get() ); in operator =()
513 (typelib_EnumTypeDescription *) desc.get(); in any2PyObject()
536 PyTuple_SetItem( argsTuple.get() , 0 , value.getAcquired() ); in any2PyObject()
537 PyRef ret( PyObject_CallObject( excClass.get() , argsTuple.get() ), SAL_NO_ACQUIRE ); in any2PyObject()
555 PyTuple_SetItem( args.get(), 0 , pymsg.getAcquired() ); in any2PyObject()
558 PyObject_SetAttrString( ret.get(), const_cast< char * >("args"), args.get() ); in any2PyObject()
588 PyTuple_SetItem( tuple.get(), i, element.getAcquired() ); in any2PyObject()
596 PyTuple_SetItem( tuple.get(), i, Py_None ); in any2PyObject()
635 if( method.is() && PyCallable_Check( method.get() ) ) in invokeGetTypes()
637 PyRef types( PyObject_CallObject( method.get(), 0 ) , SAL_NO_ACQUIRE ); in invokeGetTypes()
639 if( types.is() && PyTuple_Check( types.get() ) ) in invokeGetTypes()
641 int size = PyTuple_Size( types.get() ); in invokeGetTypes()
647 Any a = r.pyObject2Any(PyTuple_GetItem(types.get(),i)); in invokeGetTypes()
667 PyObject *o = source.get(); in pyObject2Any()
767 if( PyObject_IsInstance( o, getByteSequenceClass( runtime ).get() ) ) in pyObject2Any()
771 if( PyBytes_Check( str.get() ) ) in pyObject2Any()
774 (sal_Int8*) PyBytes_AsString(str.get()), PyBytes_Size(str.get())); in pyObject2Any()
777 else if ( PyByteArray_Check( str.get() ) ) in pyObject2Any()
780 (sal_Int8 *) PyByteArray_AS_STRING(str.get()), PyByteArray_GET_SIZE(str.get())); in pyObject2Any()
786 if( PyObject_IsInstance( o, getTypeClass( runtime ).get() ) ) in pyObject2Any()
791 else if( PyObject_IsInstance( o, getEnumClass( runtime ).get() ) ) in pyObject2Any()
798 PyUNO * obj = (PyUNO*)struc.get(); in pyObject2Any()
809 else if( PyObject_IsInstance( o, getPyUnoClass().get() ) ) in pyObject2Any()
834 else if( PyObject_IsInstance( o, getCharClass( runtime ).get() ) ) in pyObject2Any()
839 else if( PyObject_IsInstance( o, getAnyClass( runtime ).get() ) ) in pyObject2Any()
914 buf.append( pyString2ustring( reprString.get() ) ); in pyObject2Any()
933 PyDict_GetItemString(unoModule.get(),"_uno_extract_printable_stacktrace" ) ); in extractUnoException()
938 PyTuple_SetItem( args.get(), 0, excTraceback.getAcquired() ); in extractUnoException()
939 … str = PyRef( PyObject_CallObject( extractTraceback.get(),args.get() ), SAL_NO_ACQUIRE); in extractUnoException()
962 if( isInstanceOfStructOrException( excValue.get() ) ) in extractUnoException()
969 PyRef typeName( PyObject_Str( excType.get() ), SAL_NO_ACQUIRE ); in extractUnoException()
972 buf.append( pyString2ustring( typeName.get() ) ); in extractUnoException()
979 PyRef valueRep( PyObject_Str( excValue.get() ), SAL_NO_ACQUIRE ); in extractUnoException()
982 buf.append( pyString2ustring( valueRep.get())); in extractUnoException()
991 buf.append( pyString2ustring( str.get() ) ); in extractUnoException()
1041 PyThreadState_GetDict(), g_NUMERICID, locale.get() ); in PyThreadAttach()