Lines Matching refs:buf

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()
504 buf->Append(const_cast<System::String*>(Constants::sInt32)); in mapUnoTypeName()
506 buf->Append(const_cast<System::String*>(Constants::sUInt32)); in mapUnoTypeName()
508 buf->Append(const_cast<System::String*>(Constants::sInt64)); in mapUnoTypeName()
510 buf->Append(const_cast<System::String*>(Constants::sUInt64)); in mapUnoTypeName()
512 buf->Append(const_cast<System::String*>(Constants::sSingle)); in mapUnoTypeName()
514 buf->Append(const_cast<System::String*>(Constants::sDouble)); in mapUnoTypeName()
516 buf->Append(const_cast<System::String*>(Constants::sString)); in mapUnoTypeName()
518 buf->Append(const_cast<System::String*>(Constants::sVoid)); in mapUnoTypeName()
520 buf->Append(const_cast<System::String*>(Constants::sType)); in mapUnoTypeName()
522 buf->Append(const_cast<System::String*>(Constants::sObject)); in mapUnoTypeName()
525 buf->Append(const_cast<System::String*>(Constants::sAny)); in mapUnoTypeName()
530 buf->Append(const_cast<System::String*>(Constants::sUnoidl)); in mapUnoTypeName()
533 buf->Append(sName); in mapUnoTypeName()
537 buf->Append(const_cast<System::String*>(Constants::sBrackets)); in mapUnoTypeName()
539 return buf->ToString(); in mapUnoTypeName()
680 System::Text::StringBuilder * buf = new System::Text::StringBuilder(512); in mapCliTypeName() local
684 buf->Append(const_cast<System::String*>(Constants::usBrackets)); in mapCliTypeName()
687 buf->Append(const_cast<System::String*>(Constants::usBool)); in mapCliTypeName()
689 buf->Append(const_cast<System::String*>(Constants::usChar)); in mapCliTypeName()
691 buf->Append(const_cast<System::String*>(Constants::usByte)); in mapCliTypeName()
693 buf->Append(const_cast<System::String*>(Constants::usShort)); in mapCliTypeName()
695 buf->Append(const_cast<System::String*>(Constants::usUShort)); in mapCliTypeName()
697 buf->Append(const_cast<System::String*>(Constants::usLong)); in mapCliTypeName()
699 buf->Append(const_cast<System::String*>(Constants::usULong)); in mapCliTypeName()
701 buf->Append(const_cast<System::String*>(Constants::usHyper)); in mapCliTypeName()
703 buf->Append(const_cast<System::String*>(Constants::usUHyper)); in mapCliTypeName()
705 buf->Append(const_cast<System::String*>(Constants::usFloat)); in mapCliTypeName()
707 buf->Append(const_cast<System::String*>(Constants::usDouble)); in mapCliTypeName()
709 buf->Append(const_cast<System::String*>(Constants::usString)); in mapCliTypeName()
711 buf->Append(const_cast<System::String*>(Constants::usVoid)); in mapCliTypeName()
713 buf->Append(const_cast<System::String*>(Constants::usType)); in mapCliTypeName()
715 buf->Append(const_cast<System::String*>(Constants::usXInterface)); in mapCliTypeName()
717 buf->Append(const_cast<System::String*>(Constants::usAny)); in mapCliTypeName()
722 buf->Append(sName->Substring(i + 1)); in mapCliTypeName()
724 return mapCliString(buf->ToString()); in mapCliTypeName()
996 OUStringBuffer buf( 128 ); in map_to_uno() local
997 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
998 buf.append(value_td.getTypeName()); in map_to_uno()
999buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] unsupported value type of any!") ); in map_to_uno()
1000 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1009 OUStringBuffer buf( 256 ); in map_to_uno() local
1010 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():Any") ); in map_to_uno()
1011 buf.append(value_td.getTypeName()); in map_to_uno()
1012 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("]The Any type ")); in map_to_uno()
1013 buf.append(value_td.getTypeName()); in map_to_uno()
1014 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" does not correspont " in map_to_uno()
1019 buf.append(td.getTypeName()); in map_to_uno()
1023 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1111 OUStringBuffer buf(512); in map_to_uno() local
1112buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("[map_to_uno(): Member: ")); in map_to_uno()
1113 buf.append(comp_td->ppMemberNames[nPos]); in map_to_uno()
1114 throw BridgeRuntimeError(buf.makeStringAndClear()); in map_to_uno()
1209 OUStringBuffer buf(512); in map_to_uno() local
1210 buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("[map_to_uno():")); in map_to_uno()
1213 buf.append(mapCliString(cliType->get_FullName())); in map_to_uno()
1214 buf.appendAscii(RTL_CONSTASCII_STRINGPARAM(".")); in map_to_uno()
1215 buf.append(comp_td->ppMemberNames[nPos]); in map_to_uno()
1216 buf.appendAscii(RTL_CONSTASCII_STRINGPARAM(" ")); in map_to_uno()
1218 buf.append(e.m_message); in map_to_uno()
1219 throw BridgeRuntimeError(buf.makeStringAndClear()); in map_to_uno()
1224 OUStringBuffer buf( 256 ); in map_to_uno() local
1225 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1228 buf.append(mapCliString(cliType->get_FullName())); in map_to_uno()
1229 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(".")); in map_to_uno()
1230 buf.append(comp_td->ppMemberNames[nPos]); in map_to_uno()
1232 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] Value has not the required type.")); in map_to_uno()
1233 throw BridgeRuntimeError(buf.makeStringAndClear()); in map_to_uno()
1397 OUStringBuffer buf( 128 ); in map_to_uno() local
1398 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1399 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName ) ); in map_to_uno()
1400buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] unsupported sequence element type: ") ); in map_to_uno()
1401buf.append( *reinterpret_cast< OUString const * >( &element_type->pTypeName ) ); in map_to_uno()
1402 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1408 OUStringBuffer buf( 128 ); in map_to_uno() local
1409 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1410 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName )); in map_to_uno()
1411 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] conversion failed\n ")); in map_to_uno()
1412 buf.append(e.m_message); in map_to_uno()
1413 throw BridgeRuntimeError(buf.makeStringAndClear()); in map_to_uno()
1418 OUStringBuffer buf( 128 ); in map_to_uno() local
1419 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1420 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName) ); in map_to_uno()
1421buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] could not convert sequence element type: ") ); in map_to_uno()
1422 buf.append( *reinterpret_cast< OUString const * >( &element_type->pTypeName ) ); in map_to_uno()
1423 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1466 OUStringBuffer buf( 128 ); in map_to_uno() local
1467 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1468 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName ) ); in map_to_uno()
1469 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] unsupported type!") ); in map_to_uno()
1470 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1478 OUStringBuffer buf( 128 ); in map_to_uno() local
1479 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_uno():") ); in map_to_uno()
1480 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName ) ); in map_to_uno()
1481 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] could not convert type!") ); in map_to_uno()
1482 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1486 OUStringBuffer buf(512); in map_to_uno() local
1487 buf.appendAscii(RTL_CONSTASCII_STRINGPARAM( in map_to_uno()
1489 buf.append(mapCliString(e->get_StackTrace())); in map_to_uno()
1490 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_uno()
1973 OUStringBuffer buf( 128 ); in map_to_cli() local
1974 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_cli():") ); in map_to_cli()
1975 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName ) ); in map_to_cli()
1976 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] unsupported element type: ") ); in map_to_cli()
1977 buf.append( *reinterpret_cast< OUString const * >( &element_type->pTypeName ) ); in map_to_cli()
1978 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_cli()
1999 OUStringBuffer buf( 128 ); in map_to_cli() local
2000 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[map_to_cli():") ); in map_to_cli()
2001 buf.append( *reinterpret_cast< OUString const * >( &type->pTypeName ) ); in map_to_cli()
2002 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] unsupported type!") ); in map_to_cli()
2003 throw BridgeRuntimeError( buf.makeStringAndClear() ); in map_to_cli()