Lines Matching refs:buf

39     rtl::OUStringBuffer & buf, typelib_TypeDescriptionReference * typeRef )  in appendTypeError()  argument
41 buf.appendAscii( in appendTypeError()
43 buf.append( rtl::OUString::unacquired( &typeRef->pTypeName ) ); in appendTypeError()
44 buf.append( static_cast< sal_Unicode >('>') ); in appendTypeError()
47 inline void appendChar( rtl::OUStringBuffer & buf, sal_Unicode c ) in appendChar() argument
50 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\\X") ); in appendChar()
54 buf.append( static_cast< sal_Unicode >('0') ); in appendChar()
55 buf.append( s ); in appendChar()
58 buf.append( c ); in appendChar()
63 void appendValue( rtl::OUStringBuffer & buf, in appendValue() argument
68 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("void") ); in appendValue()
78 buf.append( static_cast< sal_Unicode >('(') ); in appendValue()
79 buf.append( rtl::OUString::unacquired( &typeRef->pTypeName ) ); in appendValue()
80 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(") ") ); in appendValue()
85 buf.append( static_cast<sal_Unicode>('@') ); in appendValue()
86 buf.append( reinterpret_cast< sal_Int64 >( in appendValue()
92 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( in appendValue()
94 buf.append( xServiceInfo->getImplementationName() ); in appendValue()
95 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\")") ); in appendValue()
101 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("{ ") ); in appendValue()
105 appendTypeError( buf, typeRef ); in appendValue()
115 buf, val, reinterpret_cast< in appendValue()
119 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", ") ); in appendValue()
129 buf.append( ppMemberNames[ nPos ] ); in appendValue()
130 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" = ") ); in appendValue()
134 appendTypeError( buf, ppTypeRefs[ nPos ] ); in appendValue()
137 appendValue( buf, in appendValue()
144 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", ") ); in appendValue()
147 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" }") ); in appendValue()
156 appendTypeError( buf,typeRef ); in appendValue()
166 appendTypeError( buf, elementTypeRef ); in appendValue()
177 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("{ ") ); in appendValue()
182 buf, pElements + (nElementSize * nPos), in appendValue()
185 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", ") ); in appendValue()
187 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" }") ); in appendValue()
191 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("{}") ); in appendValue()
200 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("{ ") ); in appendValue()
202 appendValue( buf, pAny->pData, pAny->pType, true ); in appendValue()
203 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" }") ); in appendValue()
207 buf.append( (*reinterpret_cast< in appendValue()
212 buf.append( static_cast< sal_Unicode >('\"') ); in appendValue()
220 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\\\"") ); in appendValue()
222 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\\\\") ); in appendValue()
224 appendChar( buf, c ); in appendValue()
226 buf.append( static_cast< sal_Unicode >('\"') ); in appendValue()
233 appendTypeError( buf, typeRef ); in appendValue()
249 buf.append( reinterpret_cast< typelib_EnumTypeDescription * >( in appendValue()
254 buf.appendAscii( in appendValue()
264 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("true") ); in appendValue()
266 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("false") ); in appendValue()
269 buf.append( static_cast< sal_Unicode >('\'') ); in appendValue()
272 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\\\'") ); in appendValue()
274 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\\\\") ); in appendValue()
276 appendChar( buf, c ); in appendValue()
277 buf.append( static_cast< sal_Unicode >('\'') ); in appendValue()
281 buf.append( *static_cast< float const * >(val) ); in appendValue()
284 buf.append( *static_cast< double const * >(val) ); in appendValue()
287 buf.append( static_cast< sal_Int32 >( in appendValue()
291 buf.append( static_cast< sal_Int32 >( in appendValue()
295 buf.append( static_cast< sal_Int32 >( in appendValue()
299 buf.append( *static_cast< sal_Int32 const * >(val) ); in appendValue()
302 buf.append( static_cast< sal_Int64 >( in appendValue()
307 buf.append( *static_cast< sal_Int64 const * >(val) ); in appendValue()
315 buf.append( static_cast< sal_Unicode >('?') ); in appendValue()
325 rtl::OUStringBuffer buf; in anyToString() local
326 appendValue( buf, value.getValue(), value.getValueTypeRef(), true ); in anyToString()
327 return buf.makeStringAndClear(); in anyToString()