Home
last modified time | relevance | path

Searched refs:PyObject (Results 1 – 12 of 12) sorted by relevance

/trunk/main/pyuno/source/module/
H A Dpyuno_module.cxx76 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()
242 static PyObject *createUnoStructHelper(PyObject *, PyObject* args ) in createUnoStructHelper() argument
252 PyObject *structName = PyTuple_GetItem( args,0 ); in createUnoStructHelper()
253 PyObject *initializer = PyTuple_GetItem( args ,1 ); in createUnoStructHelper()
266 PyRef returnCandidate( (PyObject*)me, SAL_NO_ACQUIRE ); in createUnoStructHelper()
331 static PyObject *getTypeByName( PyObject *, PyObject *args ) in getTypeByName() argument
[all …]
H A Dpyuno.cxx63 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()
446 PyObject* PyUNO_getattr (PyObject* self, PyObject* attr_name) in PyUNO_getattr()
448 PyObject* PyUNO_getattr (PyObject* self, char* name) in PyUNO_getattr()
469 PyObject* member_list; in PyUNO_getattr()
[all …]
H A Dpyuno_impl.hxx60 inline void PyErr_SetString( PyObject* pyObj, const rtl::OString& rName) { PyErr_SetString( pyObj, … in PyErr_SetString()
122 PyObject* PyUNO_new(
126 PyObject* PyUNO_new_UNCHECKED (
144 rtl::OUString pyString2ustring( PyObject *str );
150 com::sun::star::uno::Any PyObjectToAny (PyObject* o)
166 PyObject* PyUNO_Type_new (const char *typeName , com::sun::star::uno::TypeClass t , const Runtime &…
167 PyObject* PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r );
168 PyObject* PyUNO_char_new (sal_Unicode c , const Runtime &r);
169 PyObject *PyUNO_ByteSequence_new( const com::sun::star::uno::Sequence< sal_Int8 > &, const Runtime …
171 PyObject *importToGlobal( PyObject *typeName, PyObject *dict, PyObject *targetName );
[all …]
H A Dpyuno_type.cxx143 sal_Unicode PyChar2Unicode( PyObject *obj ) throw ( RuntimeException ) in PyChar2Unicode()
171 Any PyEnum2Enum( PyObject *obj ) throw ( RuntimeException ) in PyEnum2Enum()
229 Type PyType2Type( PyObject * o ) throw(RuntimeException ) in PyType2Type()
264 PyObject *importToGlobal(PyObject *str, PyObject *dict, PyObject *target) in importToGlobal()
267 PyObject *ret = 0; in importToGlobal()
390 static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef & args ) in callCtor()
408 PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r ) in PyUNO_Enum_new()
418 PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r ) in PyUNO_Type_new()
424 PyObject *typeClass = PyUNO_Enum_new( "com.sun.star.uno.TypeClass" , typeClassToString(t), r ); in PyUNO_Type_new()
432 PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r ) in PyUNO_char_new()
[all …]
H A Dpyuno_runtime.cxx157 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in importUnoModule()
315 return PyRef( reinterpret_cast< PyObject * > ( me ), SAL_NO_ACQUIRE ); in create()
318 void stRuntimeImpl::del(PyObject* self) in del()
391 Py_XINCREF( reinterpret_cast< PyObject * >(impl) ); in Runtime()
396 Py_XDECREF( reinterpret_cast< PyObject * >(impl) ); in ~Runtime()
401 PyRef temp( reinterpret_cast< PyObject * >(r.impl) ); in operator =()
403 Py_XDECREF( reinterpret_cast< PyObject * >(impl) ); in operator =()
629 static Sequence< Type > invokeGetTypes( const Runtime & r , PyObject * o ) in invokeGetTypes()
667 PyObject *o = source.get(); in pyObject2Any()
1046 PyObject *value = in ~PyThreadAttach()
[all …]
H A Dpyuno_callable.cxx57 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
263 return PyRef( (PyObject*)self, SAL_NO_ACQUIRE ); in PyUNO_callable_new()
H A Dpyuno_gc.cxx47 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 Dpyuno_except.cxx165 PyObject_CallObject(reinterpret_cast<PyObject *>(&PyType_Type) , args.get()), in createClass()
212 bool isInstanceOfStructOrException( PyObject *obj) in isInstanceOfStructOrException()
221 sal_Bool isInterfaceClass( const Runtime &runtime, PyObject * obj ) in isInterfaceClass()
H A Dpyuno_adapter.cxx95 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in raiseInvocationTargetExceptionWhenNeeded()
H A Dpyuno_util.cxx81 OUString pyString2ustring( PyObject *pystr ) in pyString2ustring()
94 PyObject* pUtf8 = PyUnicode_AsUTF8String(pystr); in pyString2ustring()
/trunk/main/pyuno/inc/pyuno/
H A Dpyuno.hxx102 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 Dpyuno_loader.cxx60 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in raiseRuntimeExceptionWhenNeeded()