Lines Matching refs:str

158         PyRef str( PyObject_Repr( excTraceback.get() ), SAL_NO_ACQUIRE );  in importUnoModule()  local
165 buf.append( pyString2ustring( str.get() ) ); in importUnoModule()
184 OUString str; in readLoggingConfig() local
185 if( bootstrapHandle.getFrom( USTR_ASCII( "PYUNO_LOGLEVEL" ), str ) ) in readLoggingConfig()
187 if( str.equalsAscii( "NONE" ) ) in readLoggingConfig()
189 else if( str.equalsAscii( "CALL" ) ) in readLoggingConfig()
191 else if( str.equalsAscii( "ARGS" ) ) in readLoggingConfig()
196 OUStringToOString( str, RTL_TEXTENCODING_UTF8 ).getStr() ); in readLoggingConfig()
202 if( bootstrapHandle.getFrom( USTR_ASCII( "PYUNO_LOGTARGET" ), str ) ) in readLoggingConfig()
204 if( str.equalsAscii( "stdout" ) ) in readLoggingConfig()
206 else if( str.equalsAscii( "stderr" ) ) in readLoggingConfig()
214 osl_getSystemPathFromFileURL( str.pData, &str.pData); in readLoggingConfig()
215 OString o = OUStringToOString( str, osl_getThreadTextEncoding() ); in readLoggingConfig()
228 OUStringToOString( str, RTL_TEXTENCODING_UTF8 ).getStr() ); in readLoggingConfig()
769 PyRef str(PyObject_GetAttrString( o , const_cast< char * >("value") ),SAL_NO_ACQUIRE); in pyObject2Any() local
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()
925 PyRef str; in extractUnoException() local
939str = PyRef( PyObject_CallObject( extractTraceback.get(),args.get() ), SAL_NO_ACQUIRE); in extractUnoException()
943 str = PyRef( in extractUnoException()
950 str = PyRef( in extractUnoException()
959 str = PyRef( PyBytes_FromString( "no traceback available" ), SAL_NO_ACQUIRE); in extractUnoException()
989 if( str.is() ) in extractUnoException()
991 buf.append( pyString2ustring( str.get() ) ); in extractUnoException()
1008 static const char *ensureUnlimitedLifetime( const char *str ) in ensureUnlimitedLifetime() argument
1014 if( 0 == strcmp( g_localeList[i].getStr(), str ) ) in ensureUnlimitedLifetime()
1019 g_localeList.push_back( str ); in ensureUnlimitedLifetime()