Home
last modified time | relevance | path

Searched refs:nLen (Results 1 – 25 of 867) sorted by relevance

12345678910>>...35

/trunk/main/tools/source/string/
H A Dstrimp.cxx184 static STRINGDATA* ImplAllocData( sal_Int32 nLen ) in ImplAllocData() argument
187 …STRINGDATA* pData = (STRINGDATA*)rtl_allocateMemory( sizeof(STRINGDATA)+(nLen*sizeof( STRCODE ))… in ImplAllocData()
189 pData->mnLen = nLen; in ImplAllocData()
190 pData->maStr[nLen] = 0; in ImplAllocData()
268 STRING::STRING( const STRING& rStr, xub_StrLen nPos, xub_StrLen nLen ) in STRING() argument
276 nLen = 0; in STRING()
281 if ( nLen > nMaxLen ) in STRING()
282 nLen = static_cast< xub_StrLen >(nMaxLen); in STRING()
286 if ( nLen ) in STRING()
289 if ( (nPos == 0) && (nLen == rStr.mpData->mnLen) ) in STRING()
[all …]
H A Dstrascii.cxx30 static sal_Bool ImplDbgCheckAsciiStr( const sal_Char* pAsciiStr, sal_Int32 nLen ) in ImplDbgCheckAsciiStr() argument
32 while ( nLen && *pAsciiStr ) in ImplDbgCheckAsciiStr()
37 --nLen; in ImplDbgCheckAsciiStr()
48 sal_Int32 nLen ) in ImplCopyAsciiStr() argument
50 DBG_ASSERT( ImplDbgCheckAsciiStr( pSrc, nLen ), in ImplCopyAsciiStr()
53 while ( nLen ) in ImplCopyAsciiStr()
58 --nLen; in ImplCopyAsciiStr()
180 xub_StrLen nLen = ImplStringLen( pAsciiStr ); in CreateFromAscii() local
183 if ( nLen ) in CreateFromAscii()
185 ImplCopyAsciiStr( aTempStr.AllocBuffer( nLen ), pAsciiStr, nLen ); in CreateFromAscii()
[all …]
/trunk/main/svgio/source/svgreader/
H A Dsvgtools.cxx300 …r(const rtl::OUString& rCandidate, const sal_Unicode& rChar, sal_Int32& nPos, const sal_Int32 nLen) in skip_char() argument
302 while(nPos < nLen && rChar == rCandidate[nPos]) in skip_char()
308 …idate, const sal_Unicode& rCharA, const sal_Unicode& rCharB, sal_Int32& nPos, const sal_Int32 nLen) in skip_char() argument
310 while(nPos < nLen && (rCharA == rCandidate[nPos] || rCharB == rCandidate[nPos])) in skip_char()
316 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copySign() argument
318 if(nPos < nLen) in copySign()
330 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyNumber() argument
334 while(bOnNumber && nPos < nLen) in copyNumber()
348 …nst rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const sal_Int32 nLen) in copyHex() argument
352 while(bOnHex && nPos < nLen) in copyHex()
[all …]
/trunk/main/xmloff/source/draw/
H A Dxexptran.cxx51 void Imp_SkipDouble(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen);
57 void Imp_SkipSpaces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpaces() argument
59 while(rPos < nLen in Imp_SkipSpaces()
64 void Imp_SkipSpacesAndOpeningBraces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndOpeningBraces() argument
66 while(rPos < nLen in Imp_SkipSpacesAndOpeningBraces()
71 void Imp_SkipSpacesAndCommas(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndCommas() argument
73 while(rPos < nLen in Imp_SkipSpacesAndCommas()
78 void Imp_SkipSpacesAndClosingBraces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndClosingBraces() argument
80 while(rPos < nLen in Imp_SkipSpacesAndClosingBraces()
113 void Imp_SkipNumber(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipNumber() argument
[all …]
/trunk/main/tools/source/generic/
H A Dbigint.cxx57 while ( nLen > 1 && nNum[nLen-1] == 0 ) in MakeBigInt()
58 nLen--; in MakeBigInt()
82 nLen = 2; in MakeBigInt()
84 nLen = 1; in MakeBigInt()
94 while ( nLen > 1 && nNum[nLen-1] == 0 ) in Normalize()
95 nLen--; in Normalize()
97 if ( nLen < 3 ) in Normalize()
99 if ( nLen < 2 ) in Normalize()
115 nLen = 2; in Normalize()
117 nLen = 1; in Normalize()
[all …]
/trunk/main/sal/rtl/source/
H A Dstrtmpl.c268 sal_Int32 nLen ) in IMPL_RTL_STRNAME()
270 sal_Int32 h = nLen; in IMPL_RTL_STRNAME()
272 if ( nLen < 256 ) in IMPL_RTL_STRNAME()
274 while ( nLen > 0 ) in IMPL_RTL_STRNAME()
278 nLen--; in IMPL_RTL_STRNAME()
284 const IMPL_RTL_STRCODE* pEndStr = pStr+nLen-5; in IMPL_RTL_STRNAME()
295 if ( nLen < 32 ) in IMPL_RTL_STRNAME()
296 nSkip = nLen / 4; in IMPL_RTL_STRNAME()
298 nSkip = nLen / 8; in IMPL_RTL_STRNAME()
299 nLen -= 8; in IMPL_RTL_STRNAME()
[all …]
H A Dustring.c113 sal_Int32 nLen; in rtl_ustr_valueOfFloat() local
118 nLen = pResult->length; in rtl_ustr_valueOfFloat()
119 OSL_ASSERT(nLen < RTL_USTR_MAX_VALUEOFFLOAT); in rtl_ustr_valueOfFloat()
120 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfFloat()
122 return nLen; in rtl_ustr_valueOfFloat()
128 sal_Int32 nLen; in rtl_ustr_valueOfDouble() local
133 nLen = pResult->length; in rtl_ustr_valueOfDouble()
134 OSL_ASSERT(nLen < RTL_USTR_MAX_VALUEOFDOUBLE); in rtl_ustr_valueOfDouble()
135 rtl_copyMemory(pStr, pResult->buffer, (nLen + 1) * sizeof(sal_Unicode)); in rtl_ustr_valueOfDouble()
137 return nLen; in rtl_ustr_valueOfDouble()
[all …]
/trunk/main/sfx2/source/bastyp/
H A Dminarray.cxx125 sal_uInt16 SfxPtrArr::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) in Remove() argument
129 nLen = Min( (sal_uInt16)(nUsed-nPos), nLen ); in Remove()
132 if ( nLen == 0 ) in Remove()
136 if ( (nUsed-nLen) == 0 ) in Remove()
142 return nLen; in Remove()
146 if ( (nUnused+nLen) >= nGrow ) in Remove()
149 sal_uInt16 nNewUsed = nUsed-nLen; in Remove()
160 memmove( pNewData+nPos, pData+nPos+nLen, in Remove()
166 return nLen; in Remove()
170 if ( nUsed-nPos-nLen > 0 ) in Remove()
[all …]
/trunk/main/vbahelper/source/vbahelper/
H A Dvbashaperange.cxx82 sal_Int32 nLen = m_xIndexAccess->getCount(); in getShapes() local
83 for ( sal_Int32 index = 0; index < nLen; ++index ) in getShapes()
94 sal_Int32 nLen = getCount(); in IncrementRotation() local
95 for ( sal_Int32 index = 1; index <= nLen; ++index ) in IncrementRotation()
105 sal_Int32 nLen = getCount(); in IncrementLeft() local
106 for ( sal_Int32 index = 1; index <= nLen; ++index ) in IncrementLeft()
116 sal_Int32 nLen = getCount(); in IncrementTop() local
117 for ( sal_Int32 index = 1; index <= nLen; ++index ) in IncrementTop()
126 sal_Int32 nLen = getCount(); in getHeight() local
127 for ( sal_Int32 index = 1; index <= nLen; ++index ) in getHeight()
[all …]
/trunk/main/basegfx/source/polygon/
H A Db2dsvgpolypolygon.cxx58 const sal_Int32 nLen(rSvgDStatement.getLength()); in importFromSvgD() local
65 ::basegfx::internal::lcl_skipSpaces(nPos, rSvgDStatement, nLen); in importFromSvgD()
67 while(nPos < nLen) in importFromSvgD()
87 ::basegfx::internal::lcl_skipSpaces(nPos, rSvgDStatement, nLen); in importFromSvgD()
131 ::basegfx::internal::lcl_skipSpaces(nPos, rSvgDStatement, nLen); in importFromSvgD()
133 … while(nPos < nLen && ::basegfx::internal::lcl_isOnNumberChar(rSvgDStatement, nPos)) in importFromSvgD()
137 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nX, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD()
138 … if(!::basegfx::internal::lcl_importDoubleAndSpaces(nY, nPos, rSvgDStatement, nLen)) return false; in importFromSvgD()
164 ::basegfx::internal::lcl_skipSpaces(nPos, rSvgDStatement, nLen); in importFromSvgD()
166 … while(nPos < nLen && ::basegfx::internal::lcl_isOnNumberChar(rSvgDStatement, nPos)) in importFromSvgD()
[all …]
/trunk/main/tools/bootstrp/
H A Dappdef.cxx39 int nLen = strlen( pEnv ); in GetDefStandList() local
40 pRet = ( char *) malloc( nLen + 1 ); in GetDefStandList()
45 int nLen = strlen( _DEF_STAND_LIST ); in GetDefStandList() local
46 pRet = ( char *) malloc( nLen + 1 ); in GetDefStandList()
59 int nLen = strlen( pEnv ); in GetIniRoot() local
60 pRet = ( char *) malloc( nLen + 1 ); in GetIniRoot()
65 int nLen = strlen( _INIROOT ); in GetIniRoot() local
66 pRet = ( char *) malloc( nLen + 1 ); in GetIniRoot()
78 int nLen = strlen( pEnv ); in GetIniRootOld() local
79 pRet = ( char *) malloc( nLen + 1 ); in GetIniRootOld()
[all …]
/trunk/main/vcl/unx/generic/printergfx/
H A Dtext_gfx.cxx169 sal_Int16 nLen, in drawGlyphs() argument
181 (*aIter).DrawGlyphs (*this, rPoint, pGlyphIds, pUnicodes, nLen, pDeltaArray); in drawGlyphs()
189 maPS3Font.back().DrawGlyphs (*this, rPoint, pGlyphIds, pUnicodes, nLen, pDeltaArray); in drawGlyphs()
197 sal_Int16 nLen, in DrawGlyphs() argument
201 if( nLen <= 0 ) in DrawGlyphs()
206 LicenseWarning(rPoint, pUnicodes, nLen, pDeltaArray); in DrawGlyphs()
212 DrawText( rPoint, pUnicodes, nLen, pDeltaArray ); in DrawGlyphs()
236 sal_GlyphId* pTempGlyphIds = (sal_GlyphId*)alloca(sizeof(sal_Int32)*nLen); in DrawGlyphs()
237 sal_Int32* pTempDelta = (sal_Int32*)alloca(sizeof(sal_Int32)*nLen); in DrawGlyphs()
238 sal_Unicode* pTempUnicodes = (sal_Unicode*)alloca(sizeof(sal_Unicode)*nLen); in DrawGlyphs()
[all …]
/trunk/main/tools/source/stream/
H A Dstream.cxx711 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadLine() local
712 if ( !nLen ) in ReadLine()
725 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
760 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
761 if ( nLen ) { in ReadLine()
785 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadLine() local
786 if ( !nLen ) in ReadLine()
799 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
834 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
835 if ( nLen ) { in ReadLine()
[all …]
/trunk/main/sfx2/inc/sfx2/
H A Dminarray.hxx61 void Insert( sal_uInt16 nPos, const T& rElems, sal_uInt16 nLen );\
65 sal_uInt16 Remove( sal_uInt16 nPos, sal_uInt16 nLen );\
194 sal_uInt16 ARR::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) \
196 DBG_ASSERT( (nPos+nLen) < (nUsed+1), "" ); \
197 DBG_ASSERT( nLen > 0, "" ); \
199 nLen = Min( (sal_uInt16)(nUsed-nPos), (sal_uInt16)nLen ); \
201 if ( nLen == 0 ) \
204 for ( sal_uInt16 n = nPos; n < (nPos+nLen); ++n ) \
207 if ( (nUsed-nLen) == 0 ) \
213 return nLen; \
[all …]
/trunk/main/editeng/source/items/
H A Dsvxfont.cxx207 const xub_StrLen nLen; member in SvxDoCapitals
212 : pOut(_pOut), rTxt(_rTxt), nIdx(_nIdx), nLen(_nLen) in SvxDoCapitals()
218 const xub_StrLen nIdx, const xub_StrLen nLen,
224 xub_StrLen GetLen() const { return nLen; } in GetLen()
244 const xub_StrLen nLen = STRING_LEN == nPartLen ? rDo.GetLen() : nPartLen; in DoOnCapitals() local
247 const sal_uInt16 nTxtLen = Min( rTxt.Len(), nLen ); in DoOnCapitals()
397 const xub_StrLen nIdx, const xub_StrLen nLen ) const in GetPhysTxtSize()
400 return Size( pOut->GetTextWidth( rTxt, nIdx, nLen ), in GetPhysTxtSize()
406 aTxtSize.setWidth( pOut->GetTextWidth( rTxt, nIdx, nLen ) ); in GetPhysTxtSize()
418 const XubString aSnippet(rTxt, nIdx, nLen); in GetPhysTxtSize()
[all …]
/trunk/main/sw/source/filter/ww8/
H A Dww8par.hxx232 sal_uInt8 nLen);
1241 void Read_HdFtText(long nStartCp, long nLen, SwFrmFmt* pHdFtFmt);
1242 void Read_HdFtTextAsHackedFrame(long nStart, long nLen,
1285 long nLen, ManTypes nType );
1581 void Read_Special(sal_uInt16, const sal_uInt8*, short nLen);
1582 void Read_Obj(sal_uInt16, const sal_uInt8*, short nLen);
1583 void Read_PicLoc(sal_uInt16, const sal_uInt8* pData, short nLen );
1584 void Read_BoldUsw(sal_uInt16 nId, const sal_uInt8*, short nLen);
1585 void Read_Bidi(sal_uInt16 nId, const sal_uInt8*, short nLen);
1586 void Read_BoldBiDiUsw(sal_uInt16 nId, const sal_uInt8*, short nLen);
[all …]
H A Dww8par6.cxx334 void SwWW8ImplReader::Read_ParaBiDi(sal_uInt16, const sal_uInt8* pData, short nLen) in Read_ParaBiDi() argument
336 if( nLen < 0 ) in Read_ParaBiDi()
1165 long nLen; in CreateSep() local
1166 …der.pHdFt->GetTextPosExact( static_cast< short >(nI + ( maSegments.size() + 1) * 6), nStart, nLen); in CreateSep()
1169 if (!nLen) in CreateSep()
2825 void SwWW8ImplReader::Read_Special(sal_uInt16, const sal_uInt8* pData, short nLen) in Read_Special() argument
2827 if( nLen < 0 ) in Read_Special()
2836 void SwWW8ImplReader::Read_Obj(sal_uInt16 , const sal_uInt8* pData, short nLen) in Read_Obj() argument
2838 if( nLen < 0 ) in Read_Obj()
2849 void SwWW8ImplReader::Read_PicLoc(sal_uInt16 , const sal_uInt8* pData, short nLen ) in Read_PicLoc() argument
[all …]
/trunk/main/tools/inc/tools/
H A Dstring.hxx187 ByteString( const ByteString& rStr, xub_StrLen nPos, xub_StrLen nLen );
190 ByteString( const sal_Char* pCharStr, xub_StrLen nLen );
195 ByteString( const UniString& rUniStr, xub_StrLen nPos, xub_StrLen nLen,
201 ByteString( const sal_Unicode* pUniStr, xub_StrLen nLen,
224 ByteString& Assign( const sal_Char* pCharStr, xub_StrLen nLen );
237 ByteString& Append( const sal_Char* pCharStr, xub_StrLen nLen );
253 ByteString& Insert( const ByteString& rStr, xub_StrLen nPos, xub_StrLen nLen,
300 xub_StrLen nLen = STRING_LEN ) const;
302 xub_StrLen nLen = STRING_LEN ) const;
304 xub_StrLen nLen = STRING_LEN ) const;
[all …]
/trunk/main/sw/source/filter/ww8/dump/
H A Dww8dout.cxx40 void DumpSprms( sal_uInt8 nVersion, SvStream& rSt, short nLen );
197 void OutShorts( SvStream& rSt, short nLen ) in OutShorts() argument
201 for( short i = 0; i < nLen / 2; i++ ){ in OutShorts()
215 void OutWords( SvStream& rSt, short nLen ) in OutWords() argument
219 for( short i = 0; i < nLen / 2; i++ ){ in OutWords()
233 void OutWordsHex( SvStream& rSt, short nLen ) in OutWordsHex() argument
236 nLen /= sizeof( nPara ); in OutWordsHex()
237 for( short i = 0; i < nLen; i++ ){ in OutWordsHex()
240 if( i < nLen - 1 ) in OutWordsHex()
245 void OutLongsHex( SvStream& rSt, short nLen ) in OutLongsHex() argument
[all …]
/trunk/main/filter/source/msfilter/
H A Dmsvbasic.cxx120 void VBA_Impl::Output( int nLen, const sal_uInt8*pData ) in Output() argument
126 String sTemp((const sal_Char *)pData, (xub_StrLen)nLen, in Output()
131 nLen + ((nLines+nTmp) * sComment.Len()) >= STRING_MAXLEN) in Output()
312 sal_uInt16 nLen; in ReadVBAProject() local
313 *xVBAProject >> nLen; in ReadVBAProject()
314 if (nLen != 0xFFFF) in ReadVBAProject()
315 xVBAProject->SeekRel(nLen); in ReadVBAProject()
328 sal_uInt16 nLen; in ReadVBAProject() local
329 *xVBAProject >> nLen; in ReadVBAProject()
333 sal_Unicode* pBuf = pOffsets[i].sName.AllocBuffer( nLen / 2 ); in ReadVBAProject()
[all …]
/trunk/main/canvas/source/tools/
H A Dcanvastools.cxx299 const sal_Size nLen( deviceColor.getLength() ); in convertToRGB() local
300 ENSURE_ARG_OR_THROW2(nLen%4==0, in convertToRGB()
304 uno::Sequence< rendering::RGBColor > aRes(nLen/4); in convertToRGB()
306 for( sal_Size i=0; i<nLen; i+=4 ) in convertToRGB()
316 const sal_Size nLen( deviceColor.getLength() ); in convertToARGB() local
317 ENSURE_ARG_OR_THROW2(nLen%4==0, in convertToARGB()
321 uno::Sequence< rendering::ARGBColor > aRes(nLen/4); in convertToARGB()
323 for( sal_Size i=0; i<nLen; i+=4 ) in convertToARGB()
333 const sal_Size nLen( deviceColor.getLength() ); in convertToPARGB() local
334 ENSURE_ARG_OR_THROW2(nLen%4==0, in convertToPARGB()
[all …]
/trunk/main/connectivity/source/drivers/odbcbase/
H A DOTools.cxx214 sal_Int32 nLen = 0; in bindData() local
215 nLen = ((const ::com::sun::star::uno::Sequence< sal_Int8 > *)_pValue)->getLength(); in bindData()
216 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindData()
221 sal_Int32 nLen = 0; in bindData() local
223 nLen = sizeof(sal_Unicode) * ((::rtl::OUString*)_pValue)->getLength(); in bindData()
227 nLen = aString.getLength(); in bindData()
229 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindData()
367 sal_Int32 nLen = 0; in bindValue() local
368nLen = ((const ::com::sun::star::uno::Sequence< sal_Int8 > *)_pValue)->getLength(); in bindValue()
369 *pLen = (SQLLEN)SQL_LEN_DATA_AT_EXEC(nLen); in bindValue()
[all …]
/trunk/main/vcl/source/helper/
H A Dcanvasbitmap.cxx767 const sal_Size nLen( deviceColor.getLength() ); in convertToRGB() local
769 ENSURE_ARG_OR_THROW2(nLen%nComponentsPerPixel==0, in convertToRGB()
773 uno::Sequence< rendering::RGBColor > aRes(nLen/nComponentsPerPixel); in convertToRGB()
783 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToRGB()
799 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToRGB()
816 const sal_Size nLen( deviceColor.getLength() ); in convertToARGB() local
818 ENSURE_ARG_OR_THROW2(nLen%nComponentsPerPixel==0, in convertToARGB()
822 uno::Sequence< rendering::ARGBColor > aRes(nLen/nComponentsPerPixel); in convertToARGB()
832 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToARGB()
850 for( sal_Size i=0; i<nLen; i+=nComponentsPerPixel ) in convertToARGB()
[all …]
/trunk/main/sw/source/core/txtnode/
H A Dtxtedt.cxx399 const xub_StrLen nLen, in RstTxtAttr() argument
408 xub_StrLen nEnd = nStt + nLen; in RstTxtAttr()
447 || nLen==0 ) ) in RstTxtAttr()
601 else if( nLen ) // Fall: 4 in RstTxtAttr()
723 …: rNode( rNd ), rText( rTxt), pLanguage( pLang ), pConversionMap( pConvMap ), nLen( 0 ), nWordType… in SwScanner()
743 nBegin = nBegin + nLen; in NextWord()
801 nLen = 0; in NextWord()
803 nLen = static_cast< xub_StrLen >(aBound.endPos) - nBegin; in NextWord()
832 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
843 nLen = (xub_StrLen)(nEnd - nBegin); in NextWord()
[all …]
/trunk/main/formula/source/core/api/
H A Dtoken.cxx331 while( nIndex < nLen ) in GetNextReference()
352 while( nIndex < nLen ) in GetNextColRowName()
386 while ( nIndex < nLen ) in GetNextReferenceOrName()
412 while ( nIndex < nLen ) in GetNextName()
426 while ( nIndex < nLen ) in GetNextDBArea()
449 if( pCode && nIndex < nLen ) in Next()
459 while( (nIndex < nLen) && (pCode[ nIndex ]->GetOpCode() == ocSpaces) ) in NextNoSpaces()
461 if( nIndex < nLen ) in NextNoSpaces()
500 if (0 < nIdx && nIdx <= nLen) in PeekPrev()
507 if( pCode && nIndex < nLen ) in PeekNext()
[all …]

12345678910>>...35