Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 25 of 126) sorted by relevance

123456

/trunk/main/unotools/source/i18n/
H A Dlocaledatawrapper.cxx1293 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 …]
/trunk/main/tools/source/generic/
H A Dconfig.cxx314 (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 …]
/trunk/main/filter/source/graphicfilter/ieps/
H A Dieps.cxx89 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 …]
/trunk/main/vcl/unx/headless/
H A Dsvpbmp.cxx142 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 …]
/trunk/main/sal/rtl/source/
H A Dustrbuf.c111 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 Dmath.cxx425 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 Dstrbuf.c110 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()
/trunk/main/svtools/source/filter/
H A Dsgfbram.cxx316 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 …]
/trunk/main/sal/textenc/
H A Dtencinfo.c60 *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 Dtenchelp.c30 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()
/trunk/main/vcl/source/control/
H A Dfield2.cxx86 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 …]
/trunk/main/embedserv/source/inprocserv/
H A Ddllentry.cxx57 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 …]
/trunk/main/basic/source/comp/
H A Dbuffer.cxx42 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 …]
/trunk/main/sw/source/filter/basflt/
H A Diodetect.cxx448 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 …]
/trunk/main/vcl/source/glyphs/
H A Dgcach_rbmp.cxx207 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 …]
/trunk/main/tools/source/stream/
H A Dstream.cxx1462 delete[] pBuf; in operator >>()
1610 Write( pBuf, strlen( pBuf ) ); in operator <<()
1616 Write( (char*)pBuf, strlen( (char*)pBuf ) ); in operator <<()
1630 delete[] pBuf; in operator <<()
2619 pBuf = 0; in SvMemoryStream()
2644 if( pBuf ) in ~SvMemoryStream()
2691 pResult = pBuf; in SetBuffer()
2882 return( pBuf != 0 ); in AllocateMemory()
2932 pBuf = 0; in ReAllocateMemory()
2943 delete[] pBuf; in FreeMemory()
[all …]
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi.cxx811 *(*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 …]
/trunk/main/vcl/source/gdi/
H A Ddibtools.cxx607 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 …]
/trunk/main/sd/source/filter/ppt/
H A Dpropread.cxx54 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 …]
/trunk/main/sal/inc/osl/
H A Dprofile.hxx162 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()
/trunk/main/svtools/source/filter/igif/
H A Dgifread.cxx132 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 …]
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShapeTypeNames.cxx300 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()
/trunk/main/tools/source/fsys/
H A Dwntmsc.cxx77 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 …]
/trunk/main/basic/source/sbx/
H A Dsbxscan.cxx323 *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 …]
/trunk/main/svtools/source/filter/wmf/
H A Denhwmf.cxx859 char* pBuf = new char[ nSize ]; in ReadEnhWMF() local
869 pWMF->Read( pBuf + 14, cbBmiSrc ); in ReadEnhWMF()
921 char* pBuf = new char[ nSize ]; in ReadEnhWMF() local
931 pWMF->Read( pBuf + 14, cbBmiSrc ); in ReadEnhWMF()
975 char* pBuf = new char[ nSize ]; in ReadEnhWMF() local
985 pWMF->Read( pBuf + 14, cbBmiSrc ); in ReadEnhWMF()
1087 pWMF->Read( pBuf, nLen ); in ReadEnhWMF()
1089 delete[] pBuf; in ReadEnhWMF()
1112 pWMF->Read( pBuf, nLen << 1 ); in ReadEnhWMF()
1115 while ( pTmp-- != (sal_Char*)pBuf ) in ReadEnhWMF()
[all …]

Completed in 164 milliseconds

123456