| /trunk/main/comphelper/source/misc/ |
| H A D | anytostring.cxx | 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 [all …]
|
| /trunk/main/pyuno/source/module/ |
| H A D | pyuno_module.cxx | 90 OUStringBuffer buf; in fillStructWithInitializer() local 91 … buf.appendAscii( "pyuno._createUnoStructHelper: too few elements in the initializer tuple,"); in fillStructWithInitializer() 92 buf.appendAscii( "expected at least " ).append( nIndex + pCompType->nMembers ); in fillStructWithInitializer() 93 buf.appendAscii( ", got " ).append( nTupleSize ); in fillStructWithInitializer() 94 throw RuntimeException(buf.makeStringAndClear(), Reference< XInterface > ()); in fillStructWithInitializer() 129 OStringBuffer buf; in raisePySystemException() local 130 buf.append( "Error during bootstrapping uno ("); in raisePySystemException() 131 buf.append( exceptionType ); in raisePySystemException() 132 buf.append( "):" ); in raisePySystemException() 133 buf.append( OUStringToOString( message, osl_getThreadTextEncoding() ) ); in raisePySystemException() [all …]
|
| H A D | pyuno.cxx | 83 OUStringBuffer buf( 64 ); in val2str() local 84 buf.append( (sal_Unicode)'(' ); in val2str() 85 buf.append( pTypeRef->pTypeName ); in val2str() 86 buf.append( (sal_Unicode)')' ); in val2str() 92 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("0x") ); in val2str() 93 buf.append( reinterpret_cast< sal_IntPtr >(*(void **)pVal), 16 ); in val2str() 96 … buf.appendAscii( "{" ); Reference< XInterface > r = *( Reference< XInterface > * ) pVal; in val2str() 101 buf.appendAscii("implementationName=" ); in val2str() 102 buf.append(serviceInfo->getImplementationName() ); in val2str() 103 buf.appendAscii(", supportedServices={" ); in val2str() [all …]
|
| H A D | pyuno_util.cxx | 114 OUStringBuffer buf; in getObjectFromUnoModule() local 115 buf.appendAscii( "couldn't find core function " ); in getObjectFromUnoModule() 116 buf.appendAscii( func ); in getObjectFromUnoModule() 117 throw RuntimeException(buf.makeStringAndClear(),Reference< XInterface >()); in getObjectFromUnoModule() 185 rtl::OUStringBuffer buf( 128 ); in logException() local 186 buf.appendAscii( intro ); in logException() 187 appendPointer(buf, ptr); in logException() 188 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("].") ); in logException() 189 buf.append( aFunctionName ); in logException() 190 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( " = " ) ); in logException() [all …]
|
| H A D | pyuno_type.cxx | 191 OUStringBuffer buf; in PyEnum2Enum() local 192 buf.appendAscii( "pyuno.checkEnum: " ).append( strTypeName ).appendAscii( " is a " ); in PyEnum2Enum() 193 buf.appendAscii( in PyEnum2Enum() 195 buf.appendAscii( ", expected ENUM" ); in PyEnum2Enum() 196 throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface> () ); in PyEnum2Enum() 212 OUStringBuffer buf; in PyEnum2Enum() local 213 buf.appendAscii( "value " ).append( strValue ).appendAscii( " is unknown in enum " ); in PyEnum2Enum() 214 buf.append( strTypeName ); in PyEnum2Enum() 215 throw RuntimeException( buf.makeStringAndClear(), Reference<XInterface> () ); in PyEnum2Enum() 221 OUStringBuffer buf; in PyEnum2Enum() local [all …]
|
| /trunk/main/icc/ |
| H A D | SampleICC-1.3.2.patch | 810 sprintf(buf, "%.8f", m_endPoint); 811 sDescription += buf; 813 - sprintf(buf, "]\r\nFunctionType: %04Xh\r\n", m_nFunctionType); 814 + sprintf(buf, "]\nFunctionType: %04Xh\n", m_nFunctionType); 815 sDescription += buf; 820 - sprintf(buf, "Y = %.8f\r\n\r\n", m_params[3]); 821 + sprintf(buf, "Y = %.8f\n\n", m_params[3]); 823 - sprintf(buf, "Y = X\r\n\r\n"); 824 + sprintf(buf, "Y = X\n\n"); 826 - sprintf(buf, "Y = %.8f * X + %.8f\r\n\r\n", [all …]
|
| /trunk/main/stoc/source/tdmanager/ |
| H A D | tdmgr_check.cxx | 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() [all …]
|
| /trunk/main/stoc/source/security/ |
| H A D | permissions.cxx | 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() [all …]
|
| H A D | file_policy.cxx | 239 OUStringBuffer buf( 16 ); in assureToken() local 240 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("expected >") ); in assureToken() 241 buf.append( c ); in assureToken() 242 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("<!") ); in assureToken() 243 error( buf.makeStringAndClear() ); in assureToken() 259 OUStringBuffer buf( 32 ); in getQuotedToken() local 266 buf.append( c ); in getQuotedToken() 269 return buf.makeStringAndClear(); in getQuotedToken() 288 OUStringBuffer buf( 32 ); in getToken() local 291 buf.append( c ); in getToken() [all …]
|
| /trunk/main/cli_ure/source/uno_bridge/ |
| H A D | cli_data.cxx | 461 OUStringBuffer buf( 128 ); in mapCliType() local 462 buf.appendAscii( in mapCliType() 465 buf.append(mapCliString(cliType->get_FullName())); in mapCliType() 466 throw BridgeRuntimeError( buf.makeStringAndClear() ); in mapCliType() 477 st::StringBuilder* buf= new st::StringBuilder(); in mapUnoTypeName() local 494 buf->Append(const_cast<System::String*>(Constants::sBoolean)); in mapUnoTypeName() 496 buf->Append(const_cast<System::String*>(Constants::sChar)); in mapUnoTypeName() 498 buf->Append(const_cast<System::String*>(Constants::sByte)); in mapUnoTypeName() 500 buf->Append(const_cast<System::String*>(Constants::sInt16)); in mapUnoTypeName() 502 buf->Append(const_cast<System::String*>(Constants::sUInt16)); in mapUnoTypeName() [all …]
|
| /trunk/main/binaryurp/qa/ |
| H A D | test-unmarshal.cxx | 50 css::uno::Sequence< sal_Int8 > buf(13); in TEST_F() local 51 buf[0] = static_cast< sal_Int8 >(20 | 0x80); // sequence type | cache flag in TEST_F() 52 buf[1] = static_cast< sal_Int8 >(binaryurp::cache::ignore >> 8); in TEST_F() 53 buf[2] = static_cast< sal_Int8 >(binaryurp::cache::ignore & 0xFF); in TEST_F() 54 buf[3] = RTL_CONSTASCII_LENGTH("[]boolean"); in TEST_F() 55 buf[4] = '['; in TEST_F() 56 buf[5] = ']'; in TEST_F() 57 buf[6] = 'b'; in TEST_F() 58 buf[7] = 'o'; in TEST_F() 59 buf[8] = 'o'; in TEST_F() [all …]
|
| /trunk/main/cppuhelper/source/ |
| H A D | component_context.cxx | 88 OUStringBuffer buf( 64 ); in val2str() local 89 buf.append( (sal_Unicode)'(' ); in val2str() 90 buf.append( pTypeRef->pTypeName ); in val2str() 91 buf.append( (sal_Unicode)')' ); in val2str() 96 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("0x") ); in val2str() 97 buf.append( (sal_Int64)*(void **)pVal, 16 ); in val2str() 102 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("{ ") ); in val2str() 114 …buf.append( val2str( pVal, ((typelib_TypeDescription *)pCompType->pBaseTypeDescription)->pWeakRef … in val2str() 116 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(", ") ); in val2str() 125 buf.append( ppMemberNames[ nPos ] ); in val2str() [all …]
|
| /trunk/main/setup_native/scripts/source/ |
| H A D | getuid.c | 42 int stat(const char *path, struct stat *buf); 53 int fstat(int fildes, struct stat *buf) in fstat() argument 56 static int (*p_fstat) (int fildes, struct stat *buf) = NULL; in fstat() 58 p_fstat = (int (*)(int fildes, struct stat *buf)) in fstat() 60 ret = (*p_fstat)(fildes, buf); in fstat() 61 if (buf != NULL) in fstat() 63 buf->st_uid = 0; /* root */ in fstat() 64 buf->st_gid = 2; /* bin */ in fstat() 96 int fstatat64(int fildes, const char *path, struct stat64 *buf, int flag) in fstatat64() argument 99 static int (*p_fstatat) (int fildes, const char *path, struct stat64 *buf, int flag) = NULL; in fstatat64() [all …]
|
| /trunk/main/cpputools/source/unoexe/ |
| H A D | unoexe.cxx | 174 OUStringBuffer buf( 32 ); in readOption() local 175 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("incomplete option \"-") ); in readOption() 176 buf.appendAscii( pOpt ); in readOption() 177 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" given!") ); in readOption() 178 throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface >() ); in readOption() 292 OUStringBuffer buf( 64 ); in createInstance() local 293 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("cannot get service instance \"") ); in createInstance() 294 buf.append( rServiceName ); in createInstance() 295 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") ); in createInstance() 296 throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface >() ); in createInstance() [all …]
|
| /trunk/main/svl/qa/ |
| H A D | test_URIHelper.cxx | 288 rtl::OStringBuffer buf; in TEST_F() local 289 buf.append('<'); in TEST_F() 290 buf.append(tests[i].base); in TEST_F() 291 buf.append(RTL_CONSTASCII_STRINGPARAM(">, <")); in TEST_F() 292 buf.append(tests[i].absolute); in TEST_F() 293 buf.append(RTL_CONSTASCII_STRINGPARAM(">: ")); in TEST_F() 295 buf.append('<'); in TEST_F() 296 buf.append( in TEST_F() 299 buf.append('>'); in TEST_F() 301 buf.append(RTL_CONSTASCII_STRINGPARAM("none")); in TEST_F() [all …]
|
| /trunk/main/bridges/source/jni_uno/ |
| H A D | jni_info.h | 222 ::rtl::OStringBuffer * buf, typelib_TypeDescriptionReference * type, 250 ::rtl::OStringBuffer * buf, typelib_TypeDescriptionReference * type, in append_sig() argument 256 buf->append( 'V' ); in append_sig() 259 buf->append( 'C' ); in append_sig() 262 buf->append( 'Z' ); in append_sig() 265 buf->append( 'B' ); in append_sig() 269 buf->append( 'S' ); in append_sig() 273 buf->append( 'I' ); in append_sig() 277 buf->append( 'J' ); in append_sig() 280 buf->append( 'F' ); in append_sig() [all …]
|
| H A D | jni_data.cxx | 390 OUStringBuffer buf( 128 ); in map_to_uno() local 391 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno() 392 buf.append( OUString::unacquired( &type->pTypeName ) ); in map_to_uno() 393 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] null-ref given!") ); in map_to_uno() 394 buf.append( jni.get_stack_trace() ); in map_to_uno() 395 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno() 415 OUStringBuffer buf( 128 ); in map_to_uno() local 416 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno() 417 buf.append( OUString::unacquired( &type->pTypeName ) ); in map_to_uno() 418 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] null-ref given!") ); in map_to_uno() [all …]
|
| /trunk/main/autodoc/source/cosv/service/ |
| H A D | comfunc.cxx | 88 char buf[11] = "00.00.0000"; in date2str() local 89 buf[0] = static_cast<char>(day/10 + '0'); in date2str() 90 buf[1] = static_cast<char>(day%10 + '0'); in date2str() 91 buf[3] = static_cast<char>(month/10 + '0'); in date2str() 92 buf[4] = static_cast<char>(month%10 + '0'); in date2str() 96 buf[6] = static_cast<char>(year/10 + '0'); in date2str() 97 buf[7] = static_cast<char>(year%10 + '0'); in date2str() 98 buf[8] = 0; in date2str() 102 buf[6] = static_cast<char>(year/1000 + '0'); in date2str() 103 buf[7] = static_cast<char>(year%1000/100 + '0'); in date2str() [all …]
|
| /trunk/main/extensions/source/logging/ |
| H A D | csvformatter.cxx | 140 inline void appendEncodedString(::rtl::OUStringBuffer& buf, const ::rtl::OUString& str) in appendEncodedString() argument 145 buf.append(quote_char); in appendEncodedString() 146 const sal_Int32 buf_offset = buf.getLength(); in appendEncodedString() 148 buf.append(str); in appendEncodedString() 151 buf.append(quote_char); in appendEncodedString() 158 buf.insert(buf_offset + i, quote_char); in appendEncodedString() 160 buf.append(quote_char); in appendEncodedString() 163 buf.append(str); in appendEncodedString() 243 ::rtl::OUStringBuffer buf; in getHead() 245 buf.appendAscii("event no,"); in getHead() [all …]
|
| /trunk/main/cppu/source/cppu/ |
| H A D | cppu_opt.cxx | 39 OUStringBuffer buf( 64 ); in cppu_unsatisfied_iquery_msg() local 40 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("unsatisfied query for interface of type ") ); in cppu_unsatisfied_iquery_msg() 41 buf.append( OUString::unacquired( &pType->pTypeName ) ); in cppu_unsatisfied_iquery_msg() 42 buf.append( (sal_Unicode) '!' ); in cppu_unsatisfied_iquery_msg() 43 OUString ret( buf.makeStringAndClear() ); in cppu_unsatisfied_iquery_msg() 53 OUStringBuffer buf( 64 ); in cppu_unsatisfied_iset_msg() local 54 …buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("invalid attempt to assign an empty interface of type … in cppu_unsatisfied_iset_msg() 55 buf.append( OUString::unacquired( &pType->pTypeName ) ); in cppu_unsatisfied_iset_msg() 56 buf.append( (sal_Unicode) '!' ); in cppu_unsatisfied_iset_msg() 57 OUString ret( buf.makeStringAndClear() ); in cppu_unsatisfied_iset_msg() [all …]
|
| /trunk/main/autodoc/source/cosv/strings/ |
| H A D | streamstr.cxx | 213 char buf[C_short_max_size] = ""; in operator <<() local 214 sprintf( buf, "%hi", i_n ); // SAFE SPRINTF (#100211# - checked) in operator <<() 216 size_type nLength = strlen(buf); in operator <<() 218 memcpy( pCur, buf, nLength ); in operator <<() 227 char buf[C_short_max_size] = ""; in operator <<() local 228 sprintf( buf, "%hu", i_n ); // SAFE SPRINTF (#100211# - checked) in operator <<() 230 size_type nLength = strlen(buf); in operator <<() 232 memcpy( pCur, buf, nLength ); in operator <<() 241 char buf[C_int_max_size] = ""; in operator <<() local 242 sprintf( buf, "%i", i_n ); // SAFE SPRINTF (#100211# - checked) in operator <<() [all …]
|
| /trunk/main/desktop/source/deployment/registry/ |
| H A D | dp_registry.cxx | 175 ::rtl::OUStringBuffer buf; in normalizeMediaType() 178 buf.append( mediaType.getToken( 0, '/', index ).trim() ); in normalizeMediaType() 181 buf.append( static_cast< sal_Unicode >('/') ); in normalizeMediaType() 183 return buf.makeStringAndClear(); in normalizeMediaType() 284 ::rtl::OUStringBuffer buf; in insertBackend() 285 buf.appendAscii( in insertBackend() 289 buf.append( mediaType ); in insertBackend() 290 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\" => ") ); in insertBackend() 291 buf.append( Reference<lang::XServiceInfo>( in insertBackend() 294 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") ); in insertBackend() [all …]
|
| /trunk/main/toolkit/src2xml/source/ |
| H A D | srclexer.py | 264 command, define, buf = '', '', '' 277 if len(buf) > 0 and len(command) == 0: 278 command = buf 287 command = buf 288 buf = '' 290 buf += ' ' 292 if len(buf) > 0 and len(command) == 0: 293 command = buf 294 buf += c 298 buf += c [all …]
|
| /trunk/main/extensions/test/ole/MfcControl/ |
| H A D | MfcControlCtl.cpp | 221 char buf[256]; in inShort() local 222 sprintf( buf, "inByte: value= %d", val); in inShort() 223 ::MessageBoxA( NULL, buf, "MFCCONTROL.MfcControl", MB_OK); in inShort() 229 char buf[256]; in inLong() local 230 sprintf( buf, "inLong: value= %d", val); in inLong() 231 ::MessageBoxA( NULL, buf, "MFCCONTROL.MfcControl", MB_OK); in inLong() 239 char buf[256]; in inString() local 240 sprintf( buf, "inString: value= %S", *val); in inString() 241 ::MessageBoxA( NULL, buf, "MFCCONTROL.MfcControl", MB_OK); in inString() 248 char buf[256]; in inFloat() local [all …]
|
| /trunk/main/io/source/stm/ |
| H A D | omark.cxx | 274 OUStringBuffer buf( 128 ); in deleteMark() local 275 buf.appendAscii( "MarkableOutputStream::deleteMark unknown mark (" ); in deleteMark() 276 buf.append( Mark ); in deleteMark() 277 buf.appendAscii( ")"); in deleteMark() 278 throw IllegalArgumentException( buf.makeStringAndClear(), *this, 0); in deleteMark() 295 OUStringBuffer buf( 128 ); in jumpToMark() local 296 buf.appendAscii( "MarkableOutputStream::jumpToMark unknown mark (" ); in jumpToMark() 297 buf.append( nMark ); in jumpToMark() 298 buf.appendAscii( ")"); in jumpToMark() 299 throw IllegalArgumentException( buf.makeStringAndClear(), *this, 0); in jumpToMark() [all …]
|