/aoo41x/main/tools/bootstrp/ |
H A D | rscdep.cxx | 71 char aBuf[255]; in main() local 93 strcpy( aBuf, (const char *)argv[i] ); in main() 94 const sal_Int32 nLength (strlen(aBuf)); in main() 105 if (aBuf[0] == '-' && nLength > 0) in main() 111 switch (aBuf[1]) in main() 121 if (nLength>2 && aBuf[2] == 'o' && aBuf[3] == '=' ) in main() 125 else if (nLength>2 && aBuf[2] == 'p' && aBuf[3] == '=' ) in main() 160 pDep->AddSource(&aBuf[2]); in main() 172 else if (aBuf[0] == '@' ) in main() 181 if ( aBuf[0] == '-' && aBuf[1] == 'p' && aBuf[2] == '=' ) in main() [all …]
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 878 aBuf.append( "aa" ); in drawEPS() 933 aBuf.append( " " ); in drawEPS() 956 *((USHORT*)aBuf.getStr()) = (USHORT)( aBuf.getLength() - 2 ); in drawEPS() 965 aBuf.setLength( 2 ); in drawEPS() 967 aBuf.append( dM11 ); in drawEPS() 969 aBuf.append( dM22 ); in drawEPS() 970 aBuf.append( ' ' ); in drawEPS() 972 aBuf.append( ' ' ); in drawEPS() 976 *((USHORT*)aBuf.getStr()) = (USHORT)( aBuf.getLength() - 2 ); in drawEPS() 1019 aBuf.setLength( 2 ); in drawEPS() [all …]
|
/aoo41x/main/soltools/ldump/ |
H A D | ldump.cxx | 100 char aBuf[MAX_MAN]; in Dump() local 144 aBuf[i] = '\0'; in Dump() 151 aBuf[0] = '\0'; in Dump() 174 if ((aBuf[0] =='?') || !strncmp(aBuf, "__CT",4)) in Dump() 176 nLen = (int) strlen(aBuf); in Dump() 181 if ( (aBuf[i] != '\n') && (aBuf[i] != '\r') ) in Dump() 200 if ( (aBuf[i] != '\n') && (aBuf[i] != '\r') ) in Dump() 226 strcpy( aBuf, pChar ); in Dump() 227 strcat( aBuf, "=" ); in Dump() 244 char aBuf[MAX_MAN]; in ReadFilter() local [all …]
|
/aoo41x/main/tools/source/debug/ |
H A D | debug.cxx | 467 sal_Char aBuf[2]; in lcl_tryReadConfigBoolean() local 491 sal_Char aBuf[20]; in lcl_tryReadOutputChannel() local 498 sal_Char aBuf[2]; in lcl_tryReadConfigFlag() local 508 sal_Char aBuf[3]; in lcl_tryReadHexByte() local 735 DbgGetDbgFileName( aBuf, sizeof( aBuf ) ); in GetDebugData() 852 sal_Char aBuf[4096]; in ImplDbgInitFile() local 853 getcwd( aBuf, sizeof( aBuf ) ); in ImplDbgInitFile() 889 chdir( aBuf ); in ImplDbgInitFile() 1118 strcat( pBuf, aBuf ); in ImpDbgOutfBuf() 1220 DbgGetDbgFileName( aBuf, sizeof( aBuf ) ); in DbgFunc() [all …]
|
/aoo41x/main/sdext/source/pdfimport/sax/ |
H A D | emitcontext.cxx | 65 aBuf.append( aFileURL ); in SaxEmitter() 118 aBuf.append( '<' ); in beginTag() 119 aBuf.append( pTag ); in beginTag() 122 aBuf.append( ' ' ); in beginTag() 126 aBuf.append( "\"" ); in beginTag() 128 aBuf.append( ">\n" ); in beginTag() 129 pStream->write( aBuf.getStr(), aBuf.getLength(), nWritten ); in beginTag() 172 aBuf.append( "</" ); in endTag() 173 aBuf.append( pTag ); in endTag() 174 aBuf.append( ">\n" ); in endTag() [all …]
|
/aoo41x/main/sdext/source/pdfimport/pdfparse/ |
H A D | pdfentries.cxx | 356 aBuf.append( ' ' ); in emit() 383 aBuf.append( nInt ); in emit() 393 aBuf.append( nNumb ); in emit() 398 return rWriteContext.write( aBuf.getStr(), aBuf.getLength() ); in emit() 443 aBuf.append( ' ' ); in emit() 445 aBuf.append( ' ' ); in emit() 448 return rWriteContext.write( aBuf.getStr(), aBuf.getLength() ); in emit() 820 aBuf.append( ' ' ); in emit() 823 if( ! rWriteContext.write( aBuf.getStr(), aBuf.getLength() ) ) in emit() 972 if( ! rWriteContext.write( aBuf.getStr(), aBuf.getLength() ) ) in emit() [all …]
|
/aoo41x/main/sdext/source/pdfimport/misc/ |
H A D | pdfihelper.cxx | 37 rtl::OUStringBuffer aBuf( 7 ); in getColorString() local 41 aBuf.append( sal_Unicode('#') ); in getColorString() 43 aBuf.append( sal_Unicode('0') ); in getColorString() 44 aBuf.append( sal_Int32(nRed), 16 ); in getColorString() 55 return aBuf.makeStringAndClear(); in getColorString() 60 rtl::OUStringBuffer aBuf( 32 ); in unitMMString() local 62 aBuf.appendAscii( "mm" ); in unitMMString() 64 return aBuf.makeStringAndClear(); in unitMMString() 69 rtl::OUStringBuffer aBuf( 32 ); in convertPixelToUnitString() local 71 aBuf.appendAscii( "mm" ); in convertPixelToUnitString() [all …]
|
/aoo41x/main/ucb/source/ucp/webdav/ |
H A D | SerfUri.cxx | 148 aBuf.appendAscii( "://" ); in calculateURI() 151 aBuf.append( mUserInfo ); in calculateURI() 152 aBuf.appendAscii( "@" ); in calculateURI() 158 aBuf.appendAscii( "[" ); in calculateURI() 160 aBuf.appendAscii( "]" ); in calculateURI() 181 aBuf.appendAscii( ":" ); in calculateURI() 184 aBuf.append( mPath ); in calculateURI() 258 rtl::OUStringBuffer aBuf; in makeConnectionEndPointString() local 264 aBuf.appendAscii( "[" ); in makeConnectionEndPointString() 266 aBuf.appendAscii( "]" ); in makeConnectionEndPointString() [all …]
|
/aoo41x/main/chart2/source/tools/ |
H A D | ExponentialRegressionCurveCalculator.cxx | 152 OUStringBuffer aBuf( C2U( "f(x) = " )); in ImplGetRepresentation() local 157 aBuf.append( C2U( "exp( " )); in ImplGetRepresentation() 159 aBuf.append( (m_fLogSlope < 0.0) ? C2U( " - " ) : C2U( " + " )); in ImplGetRepresentation() 161 aBuf.append( C2U( " x )" )); in ImplGetRepresentation() 167 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, fIntercept) ); in ImplGetRepresentation() 168 aBuf.append( C2U( " exp( " )); in ImplGetRepresentation() 170 aBuf.append( C2U( " x )" )); in ImplGetRepresentation() 176 aBuf.append( C2U( " exp( " )); in ImplGetRepresentation() 180 aBuf.append( (m_fLogSlope < 0.0) ? C2U( " - " ) : C2U( " + " )); in ImplGetRepresentation() 187 aBuf.append( C2U( " x )" )); in ImplGetRepresentation() [all …]
|
H A D | LogarithmicRegressionCurveCalculator.cxx | 144 OUStringBuffer aBuf( C2U( "f(x) = " )); in ImplGetRepresentation() local 153 aBuf.append( UC_MINUS_SIGN ); in ImplGetRepresentation() 157 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fSlope )); in ImplGetRepresentation() 158 aBuf.append( UC_SPACE ); in ImplGetRepresentation() 160 aBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); in ImplGetRepresentation() 168 aBuf.append( UC_SPACE ); in ImplGetRepresentation() 169 aBuf.append( UC_MINUS_SIGN ); in ImplGetRepresentation() 170 aBuf.append( UC_SPACE ); in ImplGetRepresentation() 175 aBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( " + " )); in ImplGetRepresentation() 181 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fIntercept )); in ImplGetRepresentation() [all …]
|
H A D | LinearRegressionCurveCalculator.cxx | 135 OUStringBuffer aBuf( C2U( "f(x) = " )); in ImplGetRepresentation() local 144 aBuf.append( UC_MINUS_SIGN ); in ImplGetRepresentation() 147 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fSlope )); in ImplGetRepresentation() 148 aBuf.append( sal_Unicode( 'x' )); in ImplGetRepresentation() 156 aBuf.append( UC_SPACE ); in ImplGetRepresentation() 157 aBuf.append( UC_MINUS_SIGN ); in ImplGetRepresentation() 158 aBuf.append( UC_SPACE ); in ImplGetRepresentation() 163 aBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( " + " )); in ImplGetRepresentation() 164 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fIntercept )); in ImplGetRepresentation() 169 aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fIntercept )); in ImplGetRepresentation() [all …]
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salgdi.cxx | 1752 aBuf.append( "aa" ); in drawEPS() 1829 *((sal_uInt16*)aBuf.getStr()) = (sal_uInt16)( aBuf.getLength() - 2 ); in drawEPS() 1830 Escape ( getHDC(), nEscape, aBuf.getLength(), (LPTSTR)aBuf.getStr(), 0 ); in drawEPS() 1838 aBuf.setLength( 2 ); in drawEPS() 1840 aBuf.append( dM11 ); in drawEPS() 1843 aBuf.append( ' ' ); in drawEPS() 1845 aBuf.append( ' ' ); in drawEPS() 1849 *((sal_uInt16*)aBuf.getStr()) = (sal_uInt16)( aBuf.getLength() - 2 ); in drawEPS() 1850 Escape ( getHDC(), nEscape, aBuf.getLength(), (LPTSTR)aBuf.getStr(), 0 ); in drawEPS() 1881 *((sal_uInt16*)aBuf.getStr()) = (sal_uInt16)( aBuf.getLength() - 2 ); in drawEPS() [all …]
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | salsys.cxx | 108 rtl::OUStringBuffer aBuf( 256 ); in GetScreenName() local 110 aBuf.appendAscii( " [" ); in GetScreenName() 112 aBuf.append( sal_Unicode(']') ); in GetScreenName() 113 aScreenName = aBuf.makeStringAndClear(); in GetScreenName() 119 rtl::OUStringBuffer aBuf( 256 ); in GetScreenName() local 122 int nPos = aBuf.getLength(); in GetScreenName() 128 while( nPos < aBuf.getLength() && aBuf.charAt( nPos ) != '.' ) in GetScreenName() 130 if( nPos < aBuf.getLength() ) in GetScreenName() 131 aBuf.setLength( nPos+1 ); in GetScreenName() 133 aBuf.append( sal_Unicode('.') ); in GetScreenName() [all …]
|
/aoo41x/main/sdext/source/pdfimport/tree/ |
H A D | writertreevisiting.cxx | 173 aBuf.append( fShearX ); in fillFrameProps() 174 aBuf.appendAscii( " )" ); in fillFrameProps() 178 if( aBuf.getLength() > 0 ) in fillFrameProps() 181 aBuf.append( -fRotate ); in fillFrameProps() 182 aBuf.appendAscii( " )" ); in fillFrameProps() 193 aBuf.appendAscii( " )" ); in fillFrameProps() 278 rtl::OUStringBuffer aBuf( 64 ); in visit() local 279 aBuf.appendAscii( "0 0 " ); in visit() 281 aBuf.append( sal_Unicode(' ') ); in visit() 931 rtl::OUStringBuffer aBuf( 32 ); in visit() local [all …]
|
H A D | imagecontainer.cxx | 60 rtl::OUStringBuffer aBuf( (i_nBufferLength+1) * 4 / 3 ); in encodeBase64() local 70 aBuf.appendAscii("===="); in encodeBase64() 73 aBuf.setCharAt(nBufPos, aBase64EncodeTable [nIndex]); in encodeBase64() 76 aBuf.setCharAt(nBufPos+1, aBase64EncodeTable [nIndex]); in encodeBase64() 79 aBuf.setCharAt(nBufPos+2, aBase64EncodeTable [nIndex]); in encodeBase64() 82 aBuf.setCharAt(nBufPos+3, aBase64EncodeTable [nIndex]); in encodeBase64() 86 aBuf.appendAscii("===="); in encodeBase64() 98 aBuf.setCharAt(nBufPos, aBase64EncodeTable [nIndex]); in encodeBase64() 101 aBuf.setCharAt(nBufPos+1, aBase64EncodeTable [nIndex]); in encodeBase64() 106 aBuf.setCharAt(nBufPos+2, aBase64EncodeTable [nIndex]); in encodeBase64() [all …]
|
H A D | drawtreevisiting.cxx | 250 aBuf.append( fShearX ); in fillFrameProps() 251 aBuf.appendAscii( " )" ); in fillFrameProps() 258 aBuf.append( -fRotate ); in fillFrameProps() 259 aBuf.appendAscii( " )" ); in fillFrameProps() 262 if( aBuf.getLength() > 0 ) in fillFrameProps() 268 aBuf.appendAscii( " )" ); in fillFrameProps() 355 rtl::OUStringBuffer aBuf( 64 ); in visit() local 356 aBuf.appendAscii( "0 0 " ); in visit() 358 aBuf.append( sal_Unicode(' ') ); in visit() 896 rtl::OUStringBuffer aBuf( 32 ); in visit() local [all …]
|
/aoo41x/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | pdfioutdev_gpl.cxx | 820 OutputBuffer aBuf; initBuf(aBuf); in drawImageMask() local 839 writeBinaryBuffer(aBuf); in drawImageMask() 846 OutputBuffer aBuf; initBuf(aBuf); in drawImage() local 883 writeBinaryBuffer(aBuf); in drawImage() 894 OutputBuffer aBuf; initBuf(aBuf); in drawMaskedImage() local 897 writeBinaryBuffer( aBuf ); in drawMaskedImage() 899 OutputBuffer aBuf; initBuf(aBuf); in drawMaskedImage() 905 writeBinaryBuffer(aBuf); in drawMaskedImage() 917 OutputBuffer aBuf; initBuf(aBuf); in drawSoftMaskedImage() local 922 OutputBuffer aBuf; initBuf(aBuf); in drawSoftMaskedImage() [all …]
|
/aoo41x/main/tools/source/string/ |
H A D | tustring.cxx | 77 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFINT32]; in CreateFromInt32() local 80 aBuf, in CreateFromInt32() 81 static_cast< xub_StrLen >(rtl_ustr_valueOfInt32( aBuf, n, nRadix )) ); in CreateFromInt32() 88 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFINT64]; in CreateFromInt64() local 91 aBuf, in CreateFromInt64() 92 static_cast< xub_StrLen >(rtl_ustr_valueOfInt64( aBuf, n, nRadix )) ); in CreateFromInt64() 99 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFFLOAT]; in CreateFromFloat() local 102 aBuf, static_cast< xub_StrLen >(rtl_ustr_valueOfFloat( aBuf, f )) ); in CreateFromFloat() 109 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFDOUBLE]; in CreateFromDouble() local 112 aBuf, static_cast< xub_StrLen >(rtl_ustr_valueOfDouble( aBuf, d )) ); in CreateFromDouble()
|
H A D | tstring.cxx | 101 sal_Char aBuf[RTL_STR_MAX_VALUEOFINT32]; in CreateFromInt32() local 104 aBuf, in CreateFromInt32() 105 static_cast< xub_StrLen >(rtl_str_valueOfInt32( aBuf, n, nRadix )) ); in CreateFromInt32() 112 sal_Char aBuf[RTL_STR_MAX_VALUEOFINT64]; in CreateFromInt64() local 115 aBuf, in CreateFromInt64() 116 static_cast< xub_StrLen >(rtl_str_valueOfInt64( aBuf, n, nRadix )) ); in CreateFromInt64() 123 sal_Char aBuf[RTL_STR_MAX_VALUEOFFLOAT]; in CreateFromFloat() local 126 aBuf, static_cast< xub_StrLen >(rtl_str_valueOfFloat( aBuf, f )) ); in CreateFromFloat() 133 sal_Char aBuf[RTL_STR_MAX_VALUEOFDOUBLE]; in CreateFromDouble() local 136 aBuf, static_cast< xub_StrLen >(rtl_str_valueOfDouble( aBuf, d )) ); in CreateFromDouble()
|
/aoo41x/main/rsc/source/parser/ |
H A D | rsclex.cxx | 152 OStringBuffer aBuf( 256 ); in MakeToken() local 156 aBuf.append( sal_Char(c) ); in MakeToken() 160 pTokenVal->string = const_cast<char*>(pStringContainer->putString( aBuf.getStr() )); in MakeToken() 167 OStringBuffer aBuf( 256 ); in MakeToken() local 190 aBuf.append( '\\' ); in MakeToken() 193 aBuf.append( sal_Char(c) ); in MakeToken() 196 aBuf.append( sal_Char(c) ); in MakeToken() 208 OStringBuffer aBuf( 256 ); in MakeToken() local 212 aBuf.append( sal_Char(c) ); in MakeToken() 216 nHashId = pHS->getID( aBuf.getStr(), true ); in MakeToken() [all …]
|
/aoo41x/main/i18npool/source/collator/ |
H A D | collator_unicode.cxx | 84 OUStringBuffer aBuf; in loadCollatorAlgorithm() local 86 aBuf.appendAscii(SAL_DLLPREFIX); in loadCollatorAlgorithm() 88 aBuf.appendAscii( "collator_data" ).appendAscii( SAL_DLLEXTENSION ); in loadCollatorAlgorithm() 89 …hModule = osl_loadModuleRelative( &thisModule, aBuf.makeStringAndClear().pData, SAL_LOADMODULE_DEF… in loadCollatorAlgorithm() 92 aBuf.appendAscii("get_").append(rLocale.Language).appendAscii("_"); in loadCollatorAlgorithm() 94 OUString func_base = aBuf.makeStringAndClear(); in loadCollatorAlgorithm() 104 aBuf.appendAscii("phonetic_alphanumeric_first"); in loadCollatorAlgorithm() 106 aBuf.appendAscii("phonetic_alphanumeric_last"); in loadCollatorAlgorithm() 108 aBuf.append(rAlgorithm); in loadCollatorAlgorithm() 110 aBuf.append(rAlgorithm); in loadCollatorAlgorithm() [all …]
|
/aoo41x/main/sal/inc/rtl/ |
H A D | string.hxx | 837 sal_Char aBuf[RTL_STR_MAX_VALUEOFBOOLEAN]; in valueOf() local 839 rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfBoolean( aBuf, b ) ); in valueOf() 865 sal_Char aBuf[RTL_STR_MAX_VALUEOFINT32]; in valueOf() local 867 rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfInt32( aBuf, i, radix ) ); in valueOf() 882 sal_Char aBuf[RTL_STR_MAX_VALUEOFINT64]; in valueOf() local 884 … rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfInt64( aBuf, ll, radix ) ); in valueOf() 898 sal_Char aBuf[RTL_STR_MAX_VALUEOFFLOAT]; in valueOf() local 900 rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfFloat( aBuf, f ) ); in valueOf() 914 sal_Char aBuf[RTL_STR_MAX_VALUEOFDOUBLE]; in valueOf() local 916 rtl_string_newFromStr_WithLength( &pNewData, aBuf, rtl_str_valueOfDouble( aBuf, d ) ); in valueOf()
|
H A D | ustring.hxx | 1367 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFBOOLEAN]; in valueOf() local 1369 rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfBoolean( aBuf, b ) ); in valueOf() 1395 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFINT32]; in valueOf() local 1397 … rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfInt32( aBuf, i, radix ) ); in valueOf() 1412 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFINT64]; in valueOf() local 1414 … rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfInt64( aBuf, ll, radix ) ); in valueOf() 1428 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFFLOAT]; in valueOf() local 1430 rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfFloat( aBuf, f ) ); in valueOf() 1444 sal_Unicode aBuf[RTL_USTR_MAX_VALUEOFDOUBLE]; in valueOf() local 1446 rtl_uString_newFromStr_WithLength( &pNewData, aBuf, rtl_ustr_valueOfDouble( aBuf, d ) ); in valueOf()
|
/aoo41x/main/svl/source/misc/ |
H A D | lngmisc.cxx | 76 OUStringBuffer aBuf( nSize ); in RemoveControlChars() local 77 aBuf.setLength( nSize ); in RemoveControlChars() 85 aBuf.setCharAt( nCnt++, cChar ); in RemoveControlChars() 89 rTxt = aBuf.makeStringAndClear(); in RemoveControlChars() 110 OUStringBuffer aBuf( nLen ); in ReplaceControlChars() local 120 aBuf.setCharAt( nCnt++, cChar ); in ReplaceControlChars() 123 aBuf.setLength( nCnt ); in ReplaceControlChars() 124 rTxt = aBuf.makeStringAndClear(); in ReplaceControlChars()
|
/aoo41x/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 1511 sal_Unicode aBuf[128]; in getDate() local 1550 return String( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getDate() 1558 sal_Unicode aBuf[128]; in getTime() local 1588 String aStr( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getTime() 1625 String aDay( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getLongDate() 1635 String aYear( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getLongDate() 1667 sal_Unicode aBuf[128]; in getDuration() local 1691 return String( aBuf, (xub_StrLen)(sal_uLong)(pBuf-aBuf) ); in getDuration() 1723 if ( pBuffer != aBuf ) in getNum() 1733 sal_Unicode aBuf[192]; in getCurr() local [all …]
|