Lines Matching refs:buf
82 OUStringBuffer buf; in getPropertyFlagsAsString() local
84 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("MAYBEVOID, ") ); in getPropertyFlagsAsString()
86 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("BOUND, ") ); in getPropertyFlagsAsString()
88 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("CONSTRAINED, ") ); in getPropertyFlagsAsString()
90 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("TRANSIENT, ") ); in getPropertyFlagsAsString()
92 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("READONLY, ") ); in getPropertyFlagsAsString()
94 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("MAYBEAMBIGUOUS, ") ); in getPropertyFlagsAsString()
96 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("MAYBEDEFAULT, ") ); in getPropertyFlagsAsString()
98 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("REMOVEABLE, ") ); in getPropertyFlagsAsString()
100 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("OPTIONAL") ); in getPropertyFlagsAsString()
101 else if (buf.getLength() > 0) in getPropertyFlagsAsString()
102 buf.setLength( buf.getLength() - 2 ); // truncate ", " in getPropertyFlagsAsString()
103 return buf.makeStringAndClear(); in getPropertyFlagsAsString()
108 OUStringBuffer buf; in typeError() local
110 buf.append( static_cast<sal_Unicode>('[') ); in typeError()
111 buf.append( context ); in typeError()
112 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") ); in typeError()
114 buf.append( msg ); in typeError()
115 throw IncompatibleTypeException( buf.makeStringAndClear() ); in typeError()
136 OUStringBuffer buf; in checkSeq() local
137 buf.append( context ); in checkSeq()
138 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", position ") ); in checkSeq()
139 buf.append( pos ); in checkSeq()
141 buf.makeStringAndClear() ); in checkSeq()
230 OUStringBuffer buf; in checkParameters() local
231 buf.append( context_ ); in checkParameters()
232 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", parameter ") ); in checkParameters()
233 buf.append( pos ); in checkParameters()
236 OUString context( buf.makeStringAndClear() ); in checkParameters()
240 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("Name differs: ") ); in checkParameters()
241 buf.append( xNewParam->getName() ); in checkParameters()
242 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", ") ); in checkParameters()
243 buf.append( xExistingParam->getName() ); in checkParameters()
244 typeError( buf.makeStringAndClear(), context ); in checkParameters()
300 OUStringBuffer buf; in checkProperty() local
301 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in checkProperty()
303 buf.append( getPropertyFlagsAsString( in checkProperty()
305 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" } (new), { ") ); in checkProperty()
306 buf.append( getPropertyFlagsAsString( in checkProperty()
308 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" } (existing)!") ); in checkProperty()
309 typeError( buf.makeStringAndClear(), xNewTD->getName() ); in checkProperty()
367 OUStringBuffer buf; in checkService() local
368 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in checkService()
370 buf.append( xNewCtor->getName() ); in checkService()
371 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (new), ") ); in checkService()
372 buf.append( xExistingCtor->getName() ); in checkService()
373 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (existing)!") ); in checkService()
374 typeError( buf.makeStringAndClear(), xNewTD->getName() ); in checkService()
377 OUStringBuffer buf; in checkService() local
378 buf.append( xNewTD->getName() ); in checkService()
379 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", constructor ") ); in checkService()
380 buf.append( xNewCtor->getName() ); in checkService()
381 OUString context( buf.makeStringAndClear() ); in checkService()
442 OUStringBuffer buf; in check() local
443 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("Different type names: ") ); in check()
444 buf.append( xNewTD->getName() ); in check()
445 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (new), ") ); in check()
446 buf.append( xExistingTD->getName() ); in check()
447 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (existing)!") ); in check()
448 typeError( buf.makeStringAndClear(), context ); in check()
454 OUStringBuffer buf; in check() local
455 buf.append( xNewTD->getName() ); in check()
456 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in check()
458 buf.append( getTypeClassName( tc ) ); in check()
459 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (new), ") ); in check()
460 buf.append( getTypeClassName( xExistingTD->getTypeClass() ) ); in check()
461 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" (existing)!") ); in check()
462 typeError( buf.makeStringAndClear(), context ); in check()