Lines Matching refs:r

112 static PyRef getClass( const Runtime & r , const char * name)  in getClass()  argument
114 return PyRef( PyDict_GetItemString( r.getImpl()->cargo->getUnoModule().get(), (char*) name ) ); in getClass()
117 PyRef getTypeClass( const Runtime & r ) in getTypeClass() argument
119 return getClass( r , "Type" ); in getTypeClass()
122 PyRef getEnumClass( const Runtime & r ) in getEnumClass() argument
124 return getClass( r , "Enum" ); in getEnumClass()
127 PyRef getCharClass( const Runtime & r ) in getCharClass() argument
129 return getClass( r , "Char" ); in getCharClass()
132 PyRef getByteSequenceClass( const Runtime & r ) in getByteSequenceClass() argument
134 return getClass( r , "ByteSequence" ); in getByteSequenceClass()
137 PyRef getAnyClass( const Runtime & r ) in getAnyClass() argument
139 return getClass( r , "Any" ); in getAnyClass()
386 static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef & args ) in callCtor() argument
388 PyRef code( PyDict_GetItemString( r.getImpl()->cargo->getUnoModule().get(), (char*)clazz ) ); in callCtor()
404 PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r ) in PyUNO_Enum_new() argument
410 return callCtor( r, "Enum" , args ); in PyUNO_Enum_new()
414 PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r ) in PyUNO_Type_new() argument
420 PyObject *typeClass = PyUNO_Enum_new( "com.sun.star.uno.TypeClass" , typeClassToString(t), r ); in PyUNO_Type_new()
425 return callCtor( r, "Type" , args ); in PyUNO_Type_new()
428 PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r ) in PyUNO_char_new() argument
444 return callCtor( r, "Char" , args ); in PyUNO_char_new()
448 const com::sun::star::uno::Sequence< sal_Int8 > &byteSequence, const Runtime &r ) in PyUNO_ByteSequence_new() argument
455 return callCtor( r, "ByteSequence" , args ); in PyUNO_ByteSequence_new()