/trunk/main/extensions/test/ole/OleConverterVar1/ |
H A D | convTest.cxx | 521 TCHAR *buf[256]; in printVariant() local 522 wsprintf( (TCHAR*)buf, _T("%d : "), i); in printVariant() 523 OutputDebugString( (TCHAR*)buf); in printVariant() 588 TCHAR buf[256]; in printVariant() local 591 case VT_I1: wsprintf( (TCHAR*)buf, _T(" VT_I1: %d \n"), V_I1( &var) ); in printVariant() 596 case VT_I2: wsprintf( (TCHAR*)buf, _T(" VT_I2: %d \n"), V_I2( &var) ); in printVariant() 609 sprintf( (TCHAR*)buf, _T(" VT_R8: %f \n"),V_R8( &var) ); in printVariant() 629 wsprintf( (TCHAR*)buf, _T(" VT_DISPATCH \n")); in printVariant() 638 wsprintf( (TCHAR*)buf, _T(" VT_BSTR: %s \n"), str); in printVariant() 642 wsprintf( (TCHAR*)buf, _T("\n")); in printVariant() [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | RDFaExportHelper.cxx | 77 ::rtl::OUStringBuffer buf; in makeCURIE() 78 buf.append( i_pExport->EnsureNamespace(Namespace) ); in makeCURIE() 79 buf.append( static_cast<sal_Unicode>(':') ); in makeCURIE() 81 buf.append( i_xURI->getLocalName() ); in makeCURIE() 83 return buf.makeStringAndClear(); in makeCURIE() 141 ::rtl::OUStringBuffer buf; in LookupBlankNode() 142 buf.appendAscii(s_prefix); in LookupBlankNode() 143 buf.append(++m_Counter); in LookupBlankNode() 144 rEntry = buf.makeStringAndClear(); in LookupBlankNode()
|
/trunk/main/stoc/test/uriproc/ |
H A D | test_uriproc.cxx | 91 rtl::OUStringBuffer buf; in createTestAssertEqualMessage() local 92 buf.appendAscii(token1); in createTestAssertEqualMessage() 93 buf.append(static_cast< sal_Unicode >('|')); in createTestAssertEqualMessage() 94 append(buf, token2); in createTestAssertEqualMessage() 95 buf.append(static_cast< sal_Unicode >('|')); in createTestAssertEqualMessage() 96 append(buf, token3); in createTestAssertEqualMessage() 98 buf.appendAscii(expectedExpr); in createTestAssertEqualMessage() 100 buf.appendAscii(actualExpr); in createTestAssertEqualMessage() 102 append(buf, expected); in createTestAssertEqualMessage() 104 append(buf, actual); in createTestAssertEqualMessage() [all …]
|
/trunk/main/scripting/source/provider/ |
H A D | ActiveMSPList.cxx | 131 ::rtl::OUStringBuffer buf; in getMSPFromInvocationContext() 132 buf.appendAscii( "Failed to create MasterScriptProvider for ScriptInvocationContext: " ); in getMSPFromInvocationContext() 133 buf.appendAscii( "Component supporting XEmbeddScripts interface not found." ); in getMSPFromInvocationContext() 134 throw lang::IllegalArgumentException( buf.makeStringAndClear(), NULL, 1 ); in getMSPFromInvocationContext() 170 ::rtl::OUStringBuffer buf; in getMSPFromStringContext() 171 buf.appendAscii( "Failed to create MasterScriptProvider for '" ); in getMSPFromStringContext() 172 buf.append ( context ); in getMSPFromStringContext() 173 …buf.appendAscii( "': Either XEmbeddScripts or XScriptInvocationContext need to be supported by the… in getMSPFromStringContext() 174 throw lang::IllegalArgumentException( buf.makeStringAndClear(), NULL, 1 ); in getMSPFromStringContext()
|
/trunk/main/basic/source/comp/ |
H A D | symtbl.cxx | 85 char buf[ 40 ]; in Add() local 88 case SbxINTEGER: snprintf( buf, sizeof(buf), "%d", (short) n ); break; in Add() 89 case SbxLONG: snprintf( buf, sizeof(buf), "%ld", (long) n ); break; in Add() 90 case SbxSINGLE: snprintf( buf, sizeof(buf), "%.6g", (float) n ); break; in Add() 91 case SbxDOUBLE: snprintf( buf, sizeof(buf), "%.16g", n ); break; in Add() 94 return Add( String::CreateFromAscii( buf ) ); in Add()
|
/trunk/main/io/source/acceptor/ |
H A D | acc_socket.cxx | 187 OUStringBuffer buf( 256 ); in completeConnectionString() local 188 buf.appendAscii( ",peerPort=" ); in completeConnectionString() 189 buf.append( (sal_Int32) m_socket.getPeerPort() ); in completeConnectionString() 190 buf.appendAscii( ",peerHost=" ); in completeConnectionString() 191 buf.append( m_socket.getPeerHost( ) ); in completeConnectionString() 193 buf.appendAscii( ",localPort=" ); in completeConnectionString() 194 buf.append( (sal_Int32) m_socket.getLocalPort() ); in completeConnectionString() 195 buf.appendAscii( ",localHost=" ); in completeConnectionString() 196 buf.append( m_socket.getLocalHost() ); in completeConnectionString() 198 m_sDescription += buf.makeStringAndClear(); in completeConnectionString()
|
/trunk/main/cli_ure/source/ure/uno/util/ |
H A D | WeakBase.cs | 157 System.Text.StringBuilder buf = in ToString() 159 buf.Append( "\nUNO Object Implementation:\n\tImplementationId: " ); in ToString() 160 buf.Append( getImplementationId() ); in ToString() 161 buf.Append( "\n\tInterfaces: " ); in ToString() 165 buf.Append( types[ pos ].FullName ); in ToString() 167 buf.Append( ", " ); in ToString() 169 return buf.ToString(); in ToString()
|
/trunk/main/unoxml/source/rdf/ |
H A D | CLiteral.cxx | 159 ::rtl::OUStringBuffer buf(m_Value); in getStringValue() 160 buf.appendAscii("@"); in getStringValue() 161 buf.append(m_Language); in getStringValue() 162 return buf.makeStringAndClear(); in getStringValue() 164 ::rtl::OUStringBuffer buf(m_Value); in getStringValue() 165 buf.appendAscii("^^"); in getStringValue() 166 buf.append(m_xDatatype->getStringValue()); in getStringValue() 167 return buf.makeStringAndClear(); in getStringValue()
|
/trunk/main/sax/qa/gtest/ |
H A D | test_converter.cxx | 79 ::rtl::OUStringBuffer buf; in doTest() 80 Converter::convertDuration(buf, od); in doTest() 82 ::rtl::OUStringToOString(buf.getStr(), RTL_TEXTENCODING_UTF8)); in doTest() 83 ASSERT_TRUE(buf.makeStringAndClear().equalsAscii(pos)); in doTest() 150 ::rtl::OUStringBuffer buf; in doTest() 151 Converter::convertDateTime(buf, odt, true); in doTest() 153 ::rtl::OUStringToOString(buf.getStr(), RTL_TEXTENCODING_UTF8)); in doTest() 154 ASSERT_TRUE(buf.makeStringAndClear().equalsAscii(pos)); in doTest()
|
/trunk/main/rsc/source/parser/ |
H A D | erscerr.cxx | 199 char buf[40]; in WriteError() local 202 sprintf( buf, "%d.%d\n\n", in WriteError() 204 StdLstOut( buf ); in WriteError() 413 char buf[ 10 ]; in ErrorFormat() local 430 sprintf( buf, "%u", (unsigned int)rError ); in ErrorFormat() 431 StdLstErr( buf ); in ErrorFormat() 437 sprintf( buf, "%u", (unsigned int)pFI->GetLineNo() ); in ErrorFormat() 438 StdLstErr( buf ); in ErrorFormat()
|
/trunk/main/pyuno/source/loader/ |
H A D | pyuno_loader.cxx | 63 OUStringBuffer buf; in raiseRuntimeExceptionWhenNeeded() local 64 buf.appendAscii( "python-loader:" ); in raiseRuntimeExceptionWhenNeeded() 66 buf.append( ((com::sun::star::uno::Exception *)a.getValue())->Message ); in raiseRuntimeExceptionWhenNeeded() 67 throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface> () ); in raiseRuntimeExceptionWhenNeeded() 92 OUStringBuffer buf; in getObjectFromLoaderModule() local 93 buf.appendAscii( "pythonloader: couldn't find core element pythonloader." ); in getObjectFromLoaderModule() 94 buf.appendAscii( func ); in getObjectFromLoaderModule() 95 throw RuntimeException(buf.makeStringAndClear(),Reference< XInterface >()); in getObjectFromLoaderModule()
|
/trunk/main/comphelper/inc/comphelper/ |
H A D | unwrapargs.hxx | 63 ::rtl::OUStringBuffer buf; in extract() 64 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("Cannot extract ANY { ") ); in extract() 65 buf.append( seq[nArg].getValueType().getTypeName() ); in extract() 66 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(" } to ") ); in extract() 67 buf.append( ::cppu::UnoType<T>::get().getTypeName() ); in extract() 68 buf.append( static_cast<sal_Unicode>('!') ); in extract() 70 buf.makeStringAndClear(), xErrorContext, in extract()
|
/trunk/main/bridges/source/jni_uno/ |
H A D | jni_info.cxx | 55 OUStringBuffer buf( 128 ); in JNI_type_info() local 56 buf.appendAscii( in JNI_type_info() 59 buf.append( jni.get_stack_trace() ); in JNI_type_info() 371 OUStringBuffer buf( 128 ); in create_type_info() local 372 buf.appendAscii( in create_type_info() 374 buf.append( uno_name ); in create_type_info() 375 buf.append( jni.get_stack_trace() ); in create_type_info() 472 OUStringBuffer buf( 128 ); in get_type_info() local 473 buf.appendAscii( in get_type_info() 475 buf.append( uno_name ); in get_type_info() [all …]
|
/trunk/main/slideshow/source/engine/ |
H A D | rehearsetimingsactivity.cxx | 435 rtl::OUStringBuffer buf; in paint() local 438 buf.append( static_cast<sal_Unicode>('0') ); in paint() 439 buf.append( n ); in paint() 440 buf.append( static_cast<sal_Unicode>(':') ); in paint() 443 buf.append( static_cast<sal_Unicode>('0') ); in paint() 444 buf.append( n ); in paint() 445 buf.append( static_cast<sal_Unicode>(':') ); in paint() 448 buf.append( static_cast<sal_Unicode>('0') ); in paint() 449 buf.append( n ); in paint() 450 const rtl::OUString time = buf.makeStringAndClear(); in paint()
|
/trunk/main/idlc/source/ |
H A D | aststructinstance.cxx | 40 rtl::OStringBuffer buf(typeTemplate->getScopedName()); in createName() local 42 buf.append('<'); in createName() 47 buf.append(','); in createName() 50 buf.append((*i)->getScopedName()); in createName() 53 buf.append('>'); in createName() 55 return buf.makeStringAndClear(); in createName()
|
/trunk/main/extensions/source/oooimprovement/ |
H A D | soapsender.cxx | 129 Sequence<sal_Int8> buf(bufsize); in send() local 133 bytes_read = temp_stream->readBytes(buf, bufsize); in send() 134 buf.realloc(bytes_read); in send() 136 buf2[idx] = buf[idx]; in send() 147 char buf[bufsize]; in send() local 148 sal_Int32 bytes_read = socket->read(buf, bufsize); in send() 149 OString answer(buf, bytes_read); in send()
|
/trunk/main/extensions/source/macosx/spotlight/ |
H A D | ioapi.m | 63 void* buf, 69 const void* buf, 113 uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) 116 void* buf; 120 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 125 uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size) 128 const void* buf; 132 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
|
H A D | ioapi.h | 58 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)… 59 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLon… 81 #define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestrea… argument 82 #define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestr… argument
|
/trunk/main/icc/ |
H A D | SampleICC-1.3.2.format-security.patch | 7 icChar buf[128]; 8 - sprintf(buf, Info.GetSigName(m_Header.deviceClass)); 9 + sprintf(buf, "%s", Info.GetSigName(m_Header.deviceClass)); 17 - sprintf(buf, Info.GetSigName(tagsig)); 18 + sprintf(buf, "%s", Info.GetSigName(tagsig)); 21 sReport += buf;
|
/trunk/main/odk/source/com/sun/star/lib/loader/ |
H A D | Loader.java | 259 byte[] buf = new byte[1000]; in callUnoinfo() 265 if (n == buf.length) { in callUnoinfo() 274 buf2[i] = buf[i]; in callUnoinfo() 276 buf = buf2; in callUnoinfo() 278 int k = s.read(buf, n, buf.length - n); in callUnoinfo() 308 s = new String(buf); in callUnoinfo() 311 s = new String(buf, "UTF-16LE"); in callUnoinfo()
|
/trunk/main/stoc/test/security/ |
H A D | test_security.cxx | 68 OUStringBuffer buf( 48 ); in localhost() local 69 buf.append( ip ); in localhost() 70 buf.append( addition ); in localhost() 71 return buf.makeStringAndClear(); in localhost() 175 OUStringBuffer buf( 64 ); \ 176 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("[line ") ); \ 177 buf.append( (sal_Int32)__LINE__ ); \ 178 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("] ") ); \ 179 buf.append( exc.Message ); \ 180 throw RuntimeException( buf.makeStringAndClear(), Reference< XInterface >() ); \
|
/trunk/main/soltools/testSHL/util/ |
H A D | tlog.cxx | 83 ::osl::FileBase::RC tLog::write( const sal_Char* buf, sal_Bool v ) { in write() argument 86 fprintf( stderr, "%s", buf ); in write() 90 sal_uInt32 len = ln( buf ); in write() 91 const sal_Char* ptr = buf; in write() 94 fprintf( stderr, "%s", buf ); in write() 96 return m_logfile->write( buf, len , uBytes ); in write()
|
/trunk/main/sw/inc/ |
H A D | io.hxx | 86 SwIOin& Read(char *buf, unsigned nLen); 96 void _write(const char *buf, unsigned size); 114 SwIOout& Write(const char *buf, unsigned nLen); 144 SwIOinout& Read(char *buf, unsigned nLen); 145 SwIOinout& Read(unsigned short *buf, unsigned nLen ); 159 SwIOinout& Write(const char *buf, unsigned nLen);
|
/trunk/main/xmlreader/source/ |
H A D | xmlreader.cxx | 501 char buf[4]; in handleReference() local 504 buf[0] = static_cast< char >(val); in handleReference() 507 buf[0] = static_cast< char >((val >> 6) | 0xC0); in handleReference() 508 buf[1] = static_cast< char >((val & 0x3F) | 0x80); in handleReference() 511 buf[0] = static_cast< char >((val >> 12) | 0xE0); in handleReference() 512 buf[1] = static_cast< char >(((val >> 6) & 0x3F) | 0x80); in handleReference() 513 buf[2] = static_cast< char >((val & 0x3F) | 0x80); in handleReference() 516 buf[0] = static_cast< char >((val >> 18) | 0xF0); in handleReference() 518 buf[2] = static_cast< char >(((val >> 6) & 0x3F) | 0x80); in handleReference() 519 buf[3] = static_cast< char >((val & 0x3F) | 0x80); in handleReference() [all …]
|
/trunk/main/soltools/mkdepend/ |
H A D | pr.c | 110 char buf[ OURBUFSIZ ]; local 116 sprintf(buf, "\n%s%s%s: %s", objprefix, base, objsuffix, 118 len = current_len = strlen(buf); 121 buf[0] = ' '; 122 strcpy(buf+1, ip->i_file); 125 fwrite(buf, len, 1, stdout);
|