Home
last modified time | relevance | path

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

/aoo4110/main/pyuno/source/module/
H A Dpyuno_module.cxx139 static PyObject* getComponentContext (PyObject*, PyObject*) in getComponentContext() argument
331 static PyObject *getTypeByName( PyObject *, PyObject *args ) in getTypeByName() argument
364 static PyObject *getConstantByName( PyObject *, PyObject *args ) in getConstantByName() argument
412 static PyObject *checkType( PyObject *, PyObject *args ) in checkType() argument
436 static PyObject *checkEnum( PyObject *, PyObject *args ) in checkEnum() argument
460 static PyObject *getClass( PyObject *, PyObject *args ) in getClass() argument
484 static PyObject *isInterface( PyObject *, PyObject *args ) in isInterface() argument
505 static PyObject * generateUuid( PyObject *, PyObject * ) in generateUuid() argument
572 static PyObject * absolutize( PyObject *, PyObject * args ) in absolutize() argument
601 static PyObject * invoke ( PyObject *, PyObject * args ) in invoke() argument
[all …]
H A Dpyuno.cxx63 PyObject *PyUNO_str( PyObject * self );
313 PyObject *PyUNO_repr( PyObject * self ) in PyUNO_repr()
337 PyObject *PyUNO_invoke( PyObject *object, const char *name , PyObject *args ) 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()
564 int PyUNO_setattr (PyObject* self, PyObject* attr_name, PyObject* value) in PyUNO_setattr()
566 int PyUNO_setattr (PyObject* self, char* name, PyObject* value) in PyUNO_setattr()
618 static PyObject *PyUNO_dir( PyObject *self, PyObject *that ) in PyUNO_dir()
635 static PyObject *PyUNO_richcompare( PyObject *self, PyObject *that, int op ) in PyUNO_richcompare()
[all …]
H A Dpyuno_impl.hxx122 PyObject* PyUNO_new(
126 PyObject* PyUNO_new_UNCHECKED (
144 rtl::OUString pyString2ustring( PyObject *str );
150 com::sun::star::uno::Any PyObjectToAny (PyObject* o)
171 PyObject *importToGlobal( PyObject *typeName, PyObject *dict, PyObject *targetName );
181 PyObject *PyUNO_invoke( PyObject *object, const char *name , PyObject *args );
183 com::sun::star::uno::Any PyEnum2Enum( PyObject *obj )
187 sal_Unicode PyChar2Unicode( PyObject *o )
199 bool isInstanceOfStructOrException( PyObject *obj);
201 const Runtime & runtime, PyObject *obj );
[all …]
H A Dpyuno_type.cxx143 sal_Unicode PyChar2Unicode( PyObject *obj ) throw ( RuntimeException ) in PyChar2Unicode()
167 Any PyEnum2Enum( PyObject *obj ) throw ( RuntimeException ) in PyEnum2Enum()
225 Type PyType2Type( PyObject * o ) throw(RuntimeException ) in PyType2Type()
260 PyObject *importToGlobal(PyObject *str, PyObject *dict, PyObject *target) in importToGlobal()
263 PyObject *ret = 0; in importToGlobal()
386 static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef & args ) in callCtor()
404 PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r ) in PyUNO_Enum_new()
414 PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r ) in PyUNO_Type_new()
420 PyObject *typeClass = PyUNO_Enum_new( "com.sun.star.uno.TypeClass" , typeClassToString(t), r ); in PyUNO_Type_new()
428 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()
/aoo4110/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 =()
/aoo4110/main/pyuno/source/loader/
H A Dpyuno_loader.cxx60 PyErr_Fetch( (PyObject **)&excType, (PyObject**)&excValue,(PyObject**)&excTraceback); in raiseRuntimeExceptionWhenNeeded()

Completed in 90 milliseconds