/aoo4110/main/unotools/source/i18n/ |
H A D | localedatawrapper.cxx | 1293 pBuf++; in ImplAddUNum() 1409 pBuf++; in ImplAddFormatNum() 1425 pBuf++; in ImplAddFormatNum() 1470 pBuf++; in ImplAddFormatNum() 1574 pBuf = ImplAddString( pBuf, getTimeSep() ); in getTime() 1671 pBuf = ImplAddString( pBuf, ' ' ); in getDuration() 1677 pBuf = ImplAddString( pBuf, getTimeSep() ); in getDuration() 1811 pBuf = ImplAddString( pBuf, ' ' ); in getCurr() 1816 pBuf = ImplAddString( pBuf, ' ' ); in getCurr() 1826 pBuf = ImplAddString( pBuf, '(' ); in getCurr() [all …]
|
/aoo4110/main/tools/source/generic/ |
H A D | config.cxx | 314 (pBuf[i] != pBuf[i+1]) && in ImplMakeConfigList() 536 *pBuf = '['; pBuf++; in ImplGetConfigBuffer() 539 *pBuf = ']'; pBuf++; in ImplGetConfigBuffer() 540 *pBuf = aLineEndBuf[0]; pBuf++; in ImplGetConfigBuffer() 543 *pBuf = aLineEndBuf[1]; pBuf++; in ImplGetConfigBuffer() 556 *pBuf = aLineEndBuf[0]; pBuf++; in ImplGetConfigBuffer() 559 *pBuf = aLineEndBuf[1]; pBuf++; in ImplGetConfigBuffer() 567 *pBuf = '='; pBuf++; in ImplGetConfigBuffer() 570 *pBuf = aLineEndBuf[0]; pBuf++; in ImplGetConfigBuffer() 584 *pBuf = aLineEndBuf[0]; pBuf++; in ImplGetConfigBuffer() [all …]
|
/aoo4110/main/vcl/unx/headless/ |
H A D | svpbmp.cxx | 142 BitmapBuffer* pBuf = NULL; in AcquireBuffer() local 145 pBuf = new BitmapBuffer(); in AcquireBuffer() 152 pBuf->mnFormat = BMP_FORMAT_1BIT_MSB_PAL; in AcquireBuffer() 157 pBuf->mnFormat = BMP_FORMAT_1BIT_LSB_PAL; in AcquireBuffer() 171 pBuf->mnFormat = BMP_FORMAT_8BIT_PAL; in AcquireBuffer() 175 pBuf->mnFormat = BMP_FORMAT_8BIT_PAL; in AcquireBuffer() 208 pBuf->mnFormat |= BMP_FORMAT_TOP_DOWN; in AcquireBuffer() 211 pBuf->mnWidth = aSize.getX(); in AcquireBuffer() 212 pBuf->mnHeight = aSize.getY(); in AcquireBuffer() 214 pBuf->mnBitCount = nBitCount; in AcquireBuffer() [all …]
|
/aoo4110/main/filter/source/graphicfilter/ieps/ |
H A D | ieps.cxx | 89 while ( ( --nSecurityCount ) && ( ( **pBuf == ' ' ) || ( **pBuf == 0x9 ) ) ) in ImplGetNumber() 90 (*pBuf)++; in ImplGetNumber() 91 sal_uInt8 nByte = **pBuf; in ImplGetNumber() 114 nByte = *(++(*pBuf)); in ImplGetNumber() 128 sal_uInt8 nDat = *pBuf++; in ImplGetLen() 397 rStrm.Read( pBuf, nSizeWMF ); in CreateMtfReplacementAction() 399 delete[] pBuf; in CreateMtfReplacementAction() 405 rStrm.Read( pBuf, nSizeTIFF ); in CreateMtfReplacementAction() 407 delete[] pBuf; in CreateMtfReplacementAction() 576 if ( pBuf ) in GraphicImport() [all …]
|
/aoo4110/main/sal/rtl/source/ |
H A D | ustrbuf.c | 111 sal_Unicode * pBuf; in rtl_uStringbuffer_insert() local 123 pBuf = (*This)->buffer; in rtl_uStringbuffer_insert() 129 pBuf[offset + len] = pBuf[offset]; in rtl_uStringbuffer_insert() 131 rtl_moveMemory( pBuf + offset + len, pBuf + offset, n * sizeof(sal_Unicode) ); in rtl_uStringbuffer_insert() 136 pBuf[offset] = *str; in rtl_uStringbuffer_insert() 140 pBuf[ nOldLen + len ] = 0; in rtl_uStringbuffer_insert() 172 sal_Unicode * pBuf; in rtl_uStringbuffer_insert_ascii() local 180 pBuf = (*This)->buffer; in rtl_uStringbuffer_insert_ascii() 186 pBuf[offset + len] = pBuf[offset]; in rtl_uStringbuffer_insert_ascii() 188 rtl_moveMemory( pBuf + offset + len, pBuf + offset, n * sizeof(sal_Unicode) ); in rtl_uStringbuffer_insert_ascii() [all …]
|
H A D | math.cxx | 425 typename T::Char * pBuf; in doubleToString() local 433 OSL_ENSURE(pBuf != 0, "Out of memory"); in doubleToString() 436 pBuf = aBuf; in doubleToString() 437 typename T::Char * p = pBuf; in doubleToString() 501 p = pBuf; in doubleToString() 530 pBuf[j] in doubleToString() 616 if ( p == pBuf ) in doubleToString() 638 T::createString(pResult, pBuf, p - pBuf); in doubleToString() 641 p - pBuf); in doubleToString() 643 if ( pBuf != &aBuf[0] ) in doubleToString() [all …]
|
H A D | strbuf.c | 110 sal_Char * pBuf; in rtl_stringbuffer_insert() local 122 pBuf = (*This)->buffer; in rtl_stringbuffer_insert() 128 pBuf[offset + len] = pBuf[offset]; in rtl_stringbuffer_insert() 130 rtl_moveMemory( pBuf + offset + len, pBuf + offset, n * sizeof(sal_Char) ); in rtl_stringbuffer_insert() 136 pBuf[offset] = *str; in rtl_stringbuffer_insert() 138 rtl_copyMemory( pBuf + offset, str, len * sizeof(sal_Char) ); in rtl_stringbuffer_insert() 140 pBuf[ nOldLen + len ] = 0; in rtl_stringbuffer_insert()
|
/aoo4110/main/svtools/source/filter/ |
H A D | sgfbram.cxx | 316 pBuf=new sal_uInt8[nWdtOut]; in SgfFilterBMap() 331 pBuf[i]=aPcx.GetByte(rInp); in SgfFilterBMap() 359 memset(pBuf,0,nWdtOut); in SgfFilterBMap() 369 if (b & 0x80) pBuf[a ]|=pl1; in SgfFilterBMap() 370 if (b & 0x40) pBuf[a ]|=pl2; in SgfFilterBMap() 371 if (b & 0x20) pBuf[a+1]|=pl1; in SgfFilterBMap() 372 if (b & 0x10) pBuf[a+1]|=pl2; in SgfFilterBMap() 373 if (b & 0x08) pBuf[a+2]|=pl1; in SgfFilterBMap() 374 if (b & 0x04) pBuf[a+2]|=pl2; in SgfFilterBMap() 398 pBuf[i]=aPcx.GetByte(rInp); in SgfFilterBMap() [all …]
|
/aoo4110/main/embedserv/source/inprocserv/ |
H A D | dllentry.cxx | 57 pBuf[nInd] = nSign + '0'; in FillCharFromInt() 59 pBuf[nInd] = nSign - 10 + 'a'; in FillCharFromInt() 71 pBuf[0] = '{'; in GetStringFromClassID() 72 FillCharFromInt( guid.Data1, &pBuf[1], 8 ); in GetStringFromClassID() 73 pBuf[9] = '-'; in GetStringFromClassID() 74 FillCharFromInt( guid.Data2, &pBuf[10], 4 ); in GetStringFromClassID() 75 pBuf[14] = '-'; in GetStringFromClassID() 76 FillCharFromInt( guid.Data3, &pBuf[15], 4 ); in GetStringFromClassID() 77 pBuf[19] = '-'; in GetStringFromClassID() 82 pBuf[24] = '-'; in GetStringFromClassID() [all …]
|
/aoo4110/main/sal/textenc/ |
H A D | tencinfo.c | 60 *pBuf = *pName; in Impl_toAsciiLower() 62 pBuf++; in Impl_toAsciiLower() 66 *pBuf = '\0'; in Impl_toAsciiLower() 79 pBuf++; in Impl_toAsciiLowerAndRemoveNonAlphanumeric() 85 *pBuf = *pName; in Impl_toAsciiLowerAndRemoveNonAlphanumeric() 86 pBuf++; in Impl_toAsciiLowerAndRemoveNonAlphanumeric() 92 *pBuf = '\0'; in Impl_toAsciiLowerAndRemoveNonAlphanumeric() 593 pFirstPart = pBuf; in rtl_getTextEncodingFromUnixCharset() 595 pTempBuf = pBuf; in rtl_getTextEncodingFromUnixCharset() 639 rtl_freeMemory( pBuf ); in rtl_getTextEncodingFromUnixCharset() [all …]
|
H A D | tenchelp.c | 30 sal_Char * pBuf, 34 sal_Char * pBuf, 40 sal_Char * pBuf, in ImplGetUndefinedAsciiMultiByte() argument 48 *pBuf = 0x00; in ImplGetUndefinedAsciiMultiByte() 53 *pBuf = 0x3F; in ImplGetUndefinedAsciiMultiByte() 57 *pBuf = 0x5F; in ImplGetUndefinedAsciiMultiByte() 64 sal_Char * pBuf, in ImplGetInvalidAsciiMultiByte() argument 72 *pBuf = 0x00; in ImplGetInvalidAsciiMultiByte() 77 *pBuf = 0x3F; in ImplGetInvalidAsciiMultiByte() 81 *pBuf = 0x5F; in ImplGetInvalidAsciiMultiByte()
|
/aoo4110/main/vcl/source/control/ |
H A D | field2.cxx | 86 return pBuf; in ImplAddString() 1402 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText() 1403 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText() 1404 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText() 1405 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText() 1412 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText() 1413 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText() 1414 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText() 1415 pBuf = ImplAddString( pBuf, aDateSep ); in ImplGetDateAsText() 1426 pBuf = ImplAddNum( pBuf, nMonth, 2 ); in ImplGetDateAsText() [all …]
|
/aoo4110/main/basic/source/comp/ |
H A D | buffer.cxx | 42 pBuf = NULL; in SbiBuffer() 51 delete[] pBuf; in ~SbiBuffer() 59 char* p = pBuf; in GetBuffer() 60 pBuf = NULL; in GetBuffer() 84 delete[] pBuf; pBuf = NULL; in Check() 89 if( nSize ) memcpy( p, pBuf, nSize ); in Check() 90 delete[] pBuf; in Check() 91 pBuf = p; in Check() 92 pCur = pBuf + nOff; in Check() 140 if( off && pBuf ) in Chain() [all …]
|
/aoo4110/main/sw/source/filter/basflt/ |
H A D | iodetect.cxx | 448 if (rLen > 2 && sal_uInt8(pBuf[0]) == 0xEF && sal_uInt8(pBuf[1]) == 0xBB && in IsDetectableText() 449 sal_uInt8(pBuf[2]) == 0xBF) in IsDetectableText() 454 else if (sal_uInt8(pBuf[0]) == 0xFE && sal_uInt8(pBuf[1]) == 0xFF) in IsDetectableText() 460 else if (sal_uInt8(pBuf[1]) == 0xFE && sal_uInt8(pBuf[0]) == 0xFF) in IsDetectableText() 465 pBuf+=nHead; in IsDetectableText() 499 memcpy(pNewBuf, pBuf, rLen); in IsDetectableText() 539 for( sal_uLong nCnt = 0; nCnt < rLen; ++nCnt, ++pBuf ) in IsDetectableText() 541 switch (*pBuf) in IsDetectableText() 544 if( nCnt + 1 < rLen && !*(pBuf+1) ) in IsDetectableText() 559 if (0x20 > (sal_uInt8)*pBuf) in IsDetectableText() [all …]
|
/aoo4110/main/vcl/source/glyphs/ |
H A D | gcach_rbmp.cxx | 207 unsigned char* pBuf = new unsigned char[ nBufSize ]; in Rotate() local 208 if( !pBuf ) in Rotate() 211 memset( pBuf, 0, nBufSize ); in Rotate() 219 ImplRotate1_180( pBuf, mpBits + mnHeight * mnScanlineSize, in Rotate() 227 ImplRotate8_90( pBuf, mpBits + mnWidth - 1, in Rotate() 231 ImplRotate1_90( pBuf, mpBits + (mnWidth - 1) / 8, in Rotate() 241 ImplRotate8_90( pBuf, mpBits + mnScanlineSize * (mnHeight-1), in Rotate() 245 ImplRotate1_90( pBuf, mpBits + mnScanlineSize * (mnHeight-1), in Rotate() 257 memcpy( mpBits, pBuf, nBufSize ); in Rotate() 258 delete[] pBuf; in Rotate() [all …]
|
/aoo4110/main/tools/source/stream/ |
H A D | stream.cxx | 1341 delete[] pBuf; in operator >>() 1489 Write( pBuf, strlen( pBuf ) ); in operator <<() 1495 Write( (char*)pBuf, strlen( (char*)pBuf ) ); in operator <<() 1509 delete[] pBuf; in operator <<() 2498 pBuf = 0; in SvMemoryStream() 2523 if( pBuf ) in ~SvMemoryStream() 2570 pResult = pBuf; in SetBuffer() 2761 return( pBuf != 0 ); in AllocateMemory() 2811 pBuf = 0; in ReAllocateMemory() 2822 delete[] pBuf; in FreeMemory() [all …]
|
/aoo4110/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 811 *(*pBuf)++ = (PM_BYTE)'-'; 819 *(*pBuf)++ = aNumber1[ n ]; 824 *(*pBuf)++ = (PM_BYTE)'.'; 832 *(*pBuf)++ = (PM_BYTE)'0'; 837 *(*pBuf)++ = aNumber2[ n ]; 840 *(*pBuf)++ = ' '; 846 strcpy( (char*)*pBuf, sString ); in ImplWriteString() 847 *pBuf += strlen( sString ); in ImplWriteString() 980 PM_BYTE* pTemp = pBuf; in drawEPS() 991 (PM_BYTE*)pBuf, 0, NULL ) == DEV_OK ) in drawEPS() [all …]
|
/aoo4110/main/sal/inc/osl/ |
H A D | profile.hxx | 162 sal_Char* pBuf = new sal_Char[ n+1 ]; in getSectionEntries() local 163 osl_getProfileSectionEntries( profile, rSection.getStr(), pBuf, n+1 ); in getSectionEntries() 165 for( n = 0; ( nLen = strlen( pBuf+n ) ); n += nLen+1 ) in getSectionEntries() 166 aEntries.push_back( rtl::OString( pBuf+n ) ); in getSectionEntries() 167 delete pBuf; in getSectionEntries() 185 sal_Char* pBuf = new sal_Char[ n+1 ]; in getSections() local 186 osl_getProfileSections( profile, pBuf, n+1 ); in getSections() 188 for( n = 0; ( nLen = strlen( pBuf+n ) ); n += nLen+1 ) in getSections() 189 aSections.push_back( rtl::OString( pBuf+n ) ); in getSections() 190 delete pBuf; in getSections()
|
/aoo4110/main/sd/source/filter/ppt/ |
H A D | propread.cxx | 54 memcpy( (void*)mpBuf, (void*)pBuf, nBufSize ); in PropEntry() 343 Insert( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), i ); in AddProperty() 348 Insert( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), LIST_APPEND ); in AddProperty() 538 sal_uInt8* pBuf = new sal_uInt8[ nPropSize ]; in Read() local 539 pStrm->Read( pBuf, nPropSize ); in Read() 540 AddProperty( nPropId, pBuf, nPropSize ); in Read() 541 delete[] pBuf; in Read() 589 sal_uInt8* pBuf = new sal_uInt8[ nSize ]; in Read() local 590 pStrm->Read( pBuf, nSize ); in Read() 591 AddProperty( 0xffffffff, pBuf, nSize ); in Read() [all …]
|
/aoo4110/main/vcl/source/gdi/ |
H A D | dibtools.cxx | 607 delete[] pBuf; in ImplReadDIBBits() 864 pTmp = pBuf; in ImplWriteRLE() 950 pBuf[ nBufCount++ ] = 0; in ImplWriteRLE() 951 pBuf[ nBufCount++ ] = 0; in ImplWriteRLE() 953 rOStm.Write( pBuf, nBufCount ); in ImplWriteRLE() 959 delete[] pBuf; in ImplWriteRLE() 1050 pTmp = pBuf; in ImplWriteDIBBits() 1075 pTmp = pBuf; in ImplWriteDIBBits() 1099 pTmp = pBuf; in ImplWriteDIBBits() 1119 pTmp = pBuf; in ImplWriteDIBBits() [all …]
|
/aoo4110/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeTypeNames.cxx | 300 char* pBuf = new char[ nLen + 1 ]; in Get() local 302 pBuf[ i ] = (char)rShapeType[ i ]; in Get() 303 pBuf[ i ] = 0; in Get() 304 TypeNameHashMap::iterator aHashIter( pHashMap->find( pBuf ) ); in Get() 305 delete[] pBuf; in Get() 552 char* pBuf = new char[ nLen + 1 ]; in GetAccName() local 554 pBuf[ i ] = (char)rShapeType[ i ]; in GetAccName() 555 pBuf[ i ] = 0; in GetAccName() 556 TypeACCNameHashMap::iterator aHashIter( pACCHashMap->find( pBuf ) ); in GetAccName() 557 delete[] pBuf; in GetAccName()
|
/aoo4110/main/svtools/source/filter/igif/ |
H A D | gifread.cxx | 132 char pBuf[ 7 ]; in ReadGlobalHeader() local 137 rIStm.Read( pBuf, 6 ); in ReadGlobalHeader() 140 pBuf[ 6 ] = 0; in ReadGlobalHeader() 141 if( !strcmp( pBuf, "GIF87a" ) || !strcmp( pBuf, "GIF89a" ) ) in ReadGlobalHeader() 143 rIStm.Read( pBuf, 7 ); in ReadGlobalHeader() 178 sal_uInt8* pBuf = new sal_uInt8[ nLen ]; in ReadPaletteEntries() local 180 rIStm.Read( pBuf, nLen ); in ReadPaletteEntries() 183 sal_uInt8* pTmp = pBuf; in ReadPaletteEntries() 204 delete[] pBuf; in ReadPaletteEntries() 351 sal_uInt8 pBuf[ 9 ]; in ReadLocalHeader() local [all …]
|
/aoo4110/main/tools/source/fsys/ |
H A D | wntmsc.cxx | 77 char *pBuf = new char[ strlen( pDir->p ) + 5 ]; in readdir() local 78 if ( pBuf ) in readdir() 81 strcpy( pBuf, pDir->p ); in readdir() 82 strcat( pBuf, "\\*.*" + ( *(pBuf + strlen( pBuf ) - 1 ) == '\\' ) ); in readdir() 83 CharUpperBuff( pBuf, strlen(pBuf) ); in readdir() 84 pDir->h = FindFirstFile( pBuf, &pDir->aDirEnt ); in readdir() 87 delete [] pBuf; in readdir() 1030 const char* TempDirImpl( char *pBuf ) in TempDirImpl() argument 1032 if ( !GetTempPath( MAX_PATH, pBuf ) && in TempDirImpl() 1033 !GetWindowsDirectory( pBuf, MAX_PATH ) && in TempDirImpl() [all …]
|
/aoo4110/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 323 *pBuf++ = '0'; in myftoa() 324 if( nPrec ) *pBuf++ = (char)cDecimalSep; in myftoa() 327 while( i-- ) *pBuf++ = '0'; in myftoa() 344 *pBuf++ = sal::static_int_cast< char >(digit + '0'); in myftoa() 347 *pBuf++ = '0'; in myftoa() 353 *pBuf++ = (char)cDecimalSep; in myftoa() 355 *pBuf++ = (char)cThousandSep; in myftoa() 365 *pBuf++ = 'E'; in myftoa() 366 *pBuf++ =( nExp < 0 ) ?( (nExp = -nExp ), '-' ) : '+'; in myftoa() 367 while( nExpWidth > 3 ) *pBuf++ = '0', nExpWidth--; in myftoa() [all …]
|
/aoo4110/main/sdext/source/pdfimport/test/ |
H A D | pdfunzip.cxx | 73 virtual bool write( const void* pBuf, unsigned int nLen ) throw(); 76 …virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) thro… 155 bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) throw() in write() argument 162 return (osl_writeFile( m_aHandle, pBuf, nWrite, &nWritten ) == osl_File_E_None) in write() 187 void* pBuf = rtl_allocateMemory( nLen ); in copyOrigBytes() local 188 if( ! pBuf ) in copyOrigBytes() 191 if( osl_readFile( m_aReadHandle, pBuf, nLen, &nBytesRead ) != osl_File_E_None in copyOrigBytes() 195 rtl_freeMemory( pBuf ); in copyOrigBytes() 198 bool bRet = write( pBuf, nLen ); in copyOrigBytes() 199 rtl_freeMemory( pBuf ); in copyOrigBytes() [all …]
|