Lines Matching refs:buf

82             OUStringBuffer buf( 48 );  in makeMask()  local
83 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("### ignoring unknown socket action: ") ); in makeMask()
84 buf.append( item ); in makeMask()
86 buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) ); in makeMask()
98 OUStringBuffer buf( 48 ); in makeStrings() local
103 buf.appendAscii( *strings ); in makeStrings()
105 buf.append( (sal_Unicode)',' ); in makeStrings()
110 return buf.makeStringAndClear(); in makeStrings()
254 OUStringBuffer buf( 48 ); in toString() local
256 buf.appendAscii( in toString()
258 buf.append( m_host ); in toString()
261 buf.append( (sal_Unicode)'[' ); in toString()
262 buf.append( m_ip ); in toString()
263 buf.append( (sal_Unicode)']' ); in toString()
268 buf.append( (sal_Unicode)':' ); in toString()
270 buf.append( m_lowerPort ); in toString()
273 buf.append( (sal_Unicode)'-' ); in toString()
275 buf.append( m_upperPort ); in toString()
279 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\", actions=\"") ); in toString()
280 buf.append( makeStrings( m_actions, s_actions ) ); in toString()
281 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\")") ); in toString()
282 return buf.makeStringAndClear(); in toString()
338 OUStringBuffer buf( 64 ); in FilePermission() local
339 buf.append( getWorkingDir() ); in FilePermission()
340 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("/*") ); in FilePermission()
341 m_url = buf.makeStringAndClear(); in FilePermission()
345 OUStringBuffer buf( 64 ); in FilePermission() local
346 buf.append( getWorkingDir() ); in FilePermission()
347 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("/-") ); in FilePermission()
348 m_url = buf.makeStringAndClear(); in FilePermission()
431 OUStringBuffer buf( 48 ); in toString() local
433 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("com.sun.star.io.FilePermission (url=\"") ); in toString()
434 buf.append( m_url ); in toString()
436 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\", actions=\"") ); in toString()
437 buf.append( makeStrings( m_actions, s_actions ) ); in toString()
438 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\")") ); in toString()
439 return buf.makeStringAndClear(); in toString()
474 OUStringBuffer buf( 48 ); in toString() local
475 buf.appendAscii( in toString()
477 buf.append( m_name ); in toString()
478 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\")") ); in toString()
479 return buf.makeStringAndClear(); in toString()
531 OUStringBuffer buf( 48 ); in PermissionCollection() local
532 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in PermissionCollection()
534 buf.append( perm_type.getTypeName() ); in PermissionCollection()
536 buf.makeStringAndClear(), Reference< XInterface >() ); in PermissionCollection()
572 OUStringBuffer buf( 48 ); in demanded_diag() local
573 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("demanding ") ); in demanded_diag()
574 buf.append( perm.toString() ); in demanded_diag()
575 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" => ok.") ); in demanded_diag()
577 ::rtl::OUStringToOString( buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US ) ); in demanded_diag()
586 OUStringBuffer buf( 48 ); in throwAccessControlException() local
587 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("access denied: ") ); in throwAccessControlException()
588 buf.append( perm.toString() ); in throwAccessControlException()
590 buf.makeStringAndClear(), Reference< XInterface >(), demanded_perm ); in throwAccessControlException()
654 OUStringBuffer buf( 48 ); in checkPermission() local
655 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("checking for unsupported permission type: ") ); in checkPermission()
656 buf.append( demanded_type.getTypeName() ); in checkPermission()
658 buf.makeStringAndClear(), Reference< XInterface >() ); in checkPermission()