| /trunk/main/pyuno/source/module/ |
| H A D | pyuno_module.cxx | 76 PyObject *initializer, in fillStructWithInitializer() 96 PyObject *element = PyTuple_GetItem( initializer, i + nIndex ); in fillStructWithInitializer() 139 static PyObject* getComponentContext (PyObject*, PyObject*) in getComponentContext() argument 218 PyObject * extractOneStringArg( PyObject *args, char const *funcName ) in extractOneStringArg() 227 PyObject *obj = PyTuple_GetItem( args, 0 ); in extractOneStringArg() 238 static PyObject *createUnoStructHelper(PyObject *, PyObject* args ) in createUnoStructHelper() argument 248 PyObject *structName = PyTuple_GetItem( args,0 ); in createUnoStructHelper() 249 PyObject *initializer = PyTuple_GetItem( args ,1 ); in createUnoStructHelper() 262 PyRef returnCandidate( (PyObject*)me, SAL_NO_ACQUIRE ); in createUnoStructHelper() 327 static PyObject *getTypeByName( PyObject *, PyObject *args ) in getTypeByName() argument [all …]
|
| H A D | pyuno_impl.hxx | 54 inline void PyErr_SetString( PyObject* pyObj, const rtl::OString& rName) { PyErr_SetString( pyObj, … in PyErr_SetString() 116 PyObject* PyUNO_new( 120 PyObject* PyUNO_new_UNCHECKED ( 137 rtl::OUString pyString2ustring( PyObject *str ); 143 com::sun::star::uno::Any PyObjectToAny (PyObject* o) 159 PyObject* PyUNO_Type_new (const char *typeName , com::sun::star::uno::TypeClass t , const Runtime &… 160 PyObject* PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r ); 161 PyObject* PyUNO_char_new (sal_Unicode c , const Runtime &r); 162 PyObject *PyUNO_ByteSequence_new( const com::sun::star::uno::Sequence< sal_Int8 > &, const Runtime … 164 PyObject *importToGlobal( PyObject *typeName, PyObject *dict, PyObject *targetName ); [all …]
|
| H A D | pyuno.cxx | 63 PyObject *PyUNO_str( PyObject * self ); 65 void PyUNO_del (PyObject* self) in PyUNO_del() 313 PyObject *PyUNO_repr( PyObject * self ) in PyUNO_repr() 316 PyObject * ret = 0; in PyUNO_repr() 337 PyObject *PyUNO_invoke( PyObject *object, const char *name , PyObject *args ) in PyUNO_invoke() 372 PyObject * element = PyTuple_GetItem( args , i ); in PyUNO_invoke() 410 PyObject *PyUNO_str( PyObject * self ) in PyUNO_str() 445 PyObject* PyUNO_getattr (PyObject* self, PyObject* attr_name) in PyUNO_getattr() 530 int PyUNO_setattr (PyObject* self, PyObject* attr_name, PyObject* value) in PyUNO_setattr() 575 static PyObject *PyUNO_dir( PyObject *self, PyObject *that ) in PyUNO_dir() [all …]
|
| H A D | pyuno_type.cxx | 143 sal_Unicode PyChar2Unicode( PyObject *obj ) throw ( RuntimeException ) in PyChar2Unicode() 163 Any PyEnum2Enum( PyObject *obj ) throw ( RuntimeException ) in PyEnum2Enum() 221 Type PyType2Type( PyObject * o ) throw(RuntimeException ) in PyType2Type() 256 PyObject *importToGlobal(PyObject *str, PyObject *dict, PyObject *target) in importToGlobal() 259 PyObject *ret = 0; in importToGlobal() 365 static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef & args ) in callCtor() 383 PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r ) in PyUNO_Enum_new() 393 PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r ) in PyUNO_Type_new() 399 PyObject *typeClass = PyUNO_Enum_new( "com.sun.star.uno.TypeClass" , typeClassToString(t), r ); in PyUNO_Type_new() 407 PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r ) in PyUNO_char_new() [all …]
|
| H A D | pyuno_runtime.cxx | 151 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in importUnoModule() 309 return PyRef( reinterpret_cast< PyObject * > ( me ), SAL_NO_ACQUIRE ); in create() 312 void stRuntimeImpl::del(PyObject* self) in del() 385 Py_XINCREF( reinterpret_cast< PyObject * >(impl) ); in Runtime() 390 Py_XDECREF( reinterpret_cast< PyObject * >(impl) ); in ~Runtime() 395 PyRef temp( reinterpret_cast< PyObject * >(r.impl) ); in operator =() 397 Py_XDECREF( reinterpret_cast< PyObject * >(impl) ); in operator =() 619 static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o ) in invokeGetTypes() 657 PyObject *o = source.get(); in pyObject2Any() 996 PyObject *value = in ~PyThreadAttach() [all …]
|
| H A D | pyuno_callable.cxx | 57 void PyUNO_callable_del (PyObject* self) in PyUNO_callable_del() 68 PyObject* PyUNO_callable_call (PyObject* self, PyObject* args, PyObject*) in PyUNO_callable_call() argument 257 return PyRef( (PyObject*)self, SAL_NO_ACQUIRE ); in PyUNO_callable_new()
|
| H A D | pyuno_gc.cxx | 47 PyObject *mPyObject; 53 GCThread( PyInterpreterState *interpreter, PyObject * object ); 59 GCThread::GCThread( PyInterpreterState *interpreter, PyObject * object ) : in GCThread() 99 void decreaseRefCount( PyInterpreterState *interpreter, PyObject *object ) in decreaseRefCount()
|
| H A D | pyuno_except.cxx | 165 PyObject_CallObject(reinterpret_cast<PyObject *>(&PyType_Type) , args.get()), in createClass() 208 bool isInstanceOfStructOrException( PyObject *obj) in isInstanceOfStructOrException() 217 sal_Bool isInterfaceClass( const Runtime &runtime, PyObject * obj ) in isInterfaceClass()
|
| H A D | pyuno_adapter.cxx | 95 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in raiseInvocationTargetExceptionWhenNeeded()
|
| H A D | pyuno_util.cxx | 70 OUString pyString2ustring( PyObject *pystr ) in pyString2ustring()
|
| /trunk/main/pyuno/inc/pyuno/ |
| H A D | pyuno.hxx | 102 PyObject *m; 105 PyRef( PyObject * p ) : m( p ) { Py_XINCREF( m ); } in PyRef() 107 PyRef( PyObject * p, __sal_NoAcquire ) : m( p ) {} in PyRef() 113 PyObject *get() const { return m; } in get() 115 PyObject * getAcquired() const in getAcquired() 117 Py_XINCREF( const_cast< PyObject*> (m) ); in getAcquired() 123 PyObject *tmp = m; in operator =()
|
| /trunk/main/pyuno/source/loader/ |
| H A D | pyuno_loader.cxx | 60 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in raiseRuntimeExceptionWhenNeeded()
|