/trunk/main/vcl/unx/generic/printergfx/ |
H A D | printerjob.cxx | 246 sal_Int32 nLen = strlen(pPWEntry->pw_name); in getUserName() local 247 if (nLen > 0 && nLen < nSize) in getUserName() 249 memcpy (pName, pPWEntry->pw_name, nLen); in getUserName() 250 pName[nLen] = '\0'; in getUserName() 365 sal_Int32 nLen = rStr.getLength(); in isAscii() local 366 for( sal_Int32 i = 0; i < nLen; i++ ) in isAscii()
|
/trunk/main/sw/source/ui/app/ |
H A D | docsh.cxx | 1354 sal_Int32 nLen = aRet.getLength(); in GetEventNames() local 1355 aRet.realloc(nLen + 6); in GetEventNames() 1357 pNames[nLen++] = GetEventName(0); in GetEventNames() 1358 pNames[nLen++] = GetEventName(1); in GetEventNames() 1359 pNames[nLen++] = GetEventName(2); in GetEventNames() 1360 pNames[nLen++] = GetEventName(3); in GetEventNames() 1361 pNames[nLen++] = GetEventName(4); in GetEventNames() 1362 pNames[nLen] = GetEventName(5); in GetEventNames()
|
/trunk/main/svx/source/dialog/ |
H A D | srchdlg.cxx | 279 if ( nPos + nLen > Count() ) in Remove() 280 nLen = Count() - nPos; in Remove() 283 for ( sal_uInt16 n = nLen; n; --n, ++_pData ) in Remove() 287 SrchAttrItemList::Remove( nPos, nLen ); in Remove() 2300 xub_StrLen nLen; in GetSearchItems() local 2303 nLen = aSearchAttrText.GetText().Len(); in GetSearchItems() 2305 nLen = pImpl->aSearchFormats.GetText().Len(); in GetSearchItems() 2307 if ( nLen && pSearchList ) in GetSearchItems() 2315 xub_StrLen nLen; in GetReplaceItems() local 2318 nLen = aReplaceAttrText.GetText().Len(); in GetReplaceItems() [all …]
|
/trunk/main/l10ntools/source/ |
H A D | export.cxx | 2532 sal_uInt16 nLen = aEntry.sLine.Len(); in Push() local 2536 if( nLen > 1 && aEntry.sLine.GetChar( nLen-1 ) == '\n' ) in Push() 2539 if( nLen > 1 && ( aEntry.sLine.GetChar( nLen-1 ) == '\\') ){ in Push() 2550 if( nLen > 1 && aEntry.sLine.GetChar( nLen-1 ) != '\n' ){ in Push() 2551 if( nLen > 1 && ( aEntry.sLine.GetChar( nLen-1 ) == '\\') ){ in Push() 2559 }else if( nLen > 2 && aEntry.sLine.GetChar( nLen-1 ) == '\n' ){ in Push() 2561 if( nLen > 2 && ( aEntry.sLine.GetChar( nLen-2 ) == '\\') ){ in Push()
|
/trunk/main/automation/source/simplecm/ |
H A D | packethandler.hxx | 60 comm_BOOL ReceiveData( void* &pData, comm_UINT32 &nLen ); /// Receive DataPacket from Socket 61 …BOOL SendHandshake( HandshakeType aHandshakeType, const void* pData = NULL, comm_UINT32 nLen = 0 ); 62 …virtual comm_BOOL TransferData( const void* pData, comm_UINT32 nLen, CMProtocol nProtocol = CM_PRO…
|
/trunk/main/xmloff/source/style/ |
H A D | XMLFontAutoStylePool.cxx | 179 sal_Int32 nLen = rFamilyName.indexOf( sal_Unicode(';'), 0 ); in Add() local 180 if( -1 == nLen ) in Add() 184 else if( nLen > 0 ) in Add() 186 sName = rFamilyName.copy( 0, nLen ); in Add()
|
/trunk/main/filter/source/placeware/ |
H A D | exporter.cxx | 134 sal_Int32 nLen = static_cast<sal_Int32>(nTemp); in encodeFile() local 140 Sequence< sal_Int8 > aInBuffer( nBufferSize < nLen ? nBufferSize : nLen ); in encodeFile() 145 while( nLen ) in encodeFile() 160 nLen -= nRead; in encodeFile()
|
/trunk/main/editeng/source/uno/ |
H A D | unoforou.cxx | 564 xub_StrLen nLen = 0; in AppendTextPortion() local 571 nLen = rEditEngine.GetTextLen( nPara ); in AppendTextPortion() 572 rEditEngine.QuickInsertText( rText, ESelection( nPara, nLen, nPara, nLen ) ); in AppendTextPortion() 575 return nLen; in AppendTextPortion()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/ |
H A D | dbg.java | 66 int nLen = types.length; in printInterfaces() local 67 for( int i = 0; i < nLen ; i++ ) { in printInterfaces() 106 int nLen = types.length; in implementsInterface() local 107 for( int i = 0; i < nLen ; i++ ) { in implementsInterface()
|
/trunk/main/reportdesign/source/filter/xml/ |
H A D | xmlGroup.cxx | 98 sal_Int32 nLen = sValue.getLength(); in DBG_NAME() local 99 if ( nLen ) in DBG_NAME() 117 nLen = sValue.getLength() - 1; in DBG_NAME() 119 sValue = sValue.copy(nPos,nLen-nPos-1); in DBG_NAME()
|
/trunk/main/vcl/inc/vcl/ |
H A D | strhelper.hxx | 72 int nLen = aStr.getLength(); in getValueOfDouble() local 73 std::strncpy( pBuffer, aStr.getStr(), nLen+1 ); // copy string including terminating zero in getValueOfDouble() 74 return nLen; in getValueOfDouble()
|
/trunk/main/sc/source/filter/excel/ |
H A D | excform8.cxx | 95 sal_uInt8 nOp, nLen, nByte; in Convert() local 258 aIn >> nLen; // und? in Convert() 259 aString = aIn.ReadUniString( nLen ); // reads Grbit even if nLen==0 in Convert() 877 sal_uInt8 nOp, nLen;//, nByte; in Convert() local 941 aIn >> nLen; // und? in Convert() 943 aIn.IgnoreUniString( nLen ); // reads Grbit even if nLen==0 in Convert() 1426 sal_Bool ExcelToSc8::GetAbsRefs( ScRangeList& r, XclImpStream& aIn, sal_Size nLen ) in GetAbsRefs() argument 1435 sal_Size nEndPos = aIn.GetRecPos() + nLen; in GetAbsRefs()
|
/trunk/main/sw/source/ui/dochdl/ |
H A D | swdtflvr.cxx | 2827 xub_StrLen nLen = rFileName.Len(); in _CheckForURLOrLNKFile() local 2828 if( 4 < nLen && '.' == rFileName.GetChar( nLen - 4 )) in _CheckForURLOrLNKFile() 2830 String sExt( rFileName.Copy( nLen - 3 )); in _CheckForURLOrLNKFile() 3794 xub_StrLen nLen = aAppNm.Len(); in WriteData() local 3796 pMem[ nLen++ ] = 0; in WriteData() 3798 nLen = nLen + aTopic.Len(); in WriteData() 3799 pMem[ nLen++ ] = 0; in WriteData() 3801 nLen = nLen + aName.Len(); in WriteData() 3802 pMem[ nLen++ ] = 0; in WriteData() 3803 pMem[ nLen++ ] = 0; in WriteData() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | frminf.cxx | 194 const xub_StrLen nPos, const xub_StrLen nLen ) in AddPam() argument 196 if( nLen ) in AddPam() 205 pPam->GetPoint()->nContent += nLen; in AddPam() 214 rContent += nLen; in AddPam()
|
/trunk/main/connectivity/source/drivers/adabas/ |
H A D | BConnection.cxx | 80 sal_Int32 nLen = url.indexOf(':'); in Construct() local 81 nLen = url.indexOf(':',nLen+1); in Construct() 82 ::rtl::OUString aDSN(url.copy(nLen+1)),aUID,aPWD; in Construct()
|
/trunk/main/vcl/os2/source/gdi/ |
H A D | salgdi.cxx | 816 ULONG nLen = aNumber1.Len(); 818 for ( USHORT n = 0; n < nLen; n++ ) 827 ULONG nLen = aNumber2.Len(); 828 if ( nLen < 8 ) 830 for ( n = 0; n < ( 5 - nLen ); n++ ) 835 for ( USHORT n = 0; n < nLen; n++ )
|
/trunk/main/sal/osl/w32/ |
H A D | file_url.cxx | 444 int nLen = _tcslen(lpPath); in PathAddBackslash() local 446 if ( !nLen || lpPath[nLen-1] != '\\' && lpPath[nLen-1] != '/' && nLen < nBufLen - 1 ) in PathAddBackslash() 448 lpEndPath = lpPath + nLen; in PathAddBackslash()
|
/trunk/main/cppcanvas/source/mtfrenderer/ |
H A D | implrenderer.cxx | 1097 xub_StrLen nLen = aStrikeoutText.Len(); in createTextAction() local 1099 if( nLen ) in createTextAction() 1101 long nInterval = ( nWidth - nStrikeoutWidth * nLen ) / nLen; in createTextAction() 1103 sal_Int32* pStrikeoutCharWidths = new sal_Int32[nLen]; in createTextAction() 1105 for ( int i = 0;i<nLen; i++) in createTextAction() 1110 for ( int i = 1;i< nLen; i++ ) in createTextAction() 2665 const sal_uInt16 nLen( pAct->GetLen() == (sal_uInt16)STRING_LEN ? in createActions() local 2669 if( nLen == 0 ) in createActions() 2677 ::boost::scoped_array< sal_Int32 > pDXArray( new sal_Int32[nLen] ); in createActions() 2686 for( sal_uInt16 i=1; i<=nLen; ++i ) in createActions() [all …]
|
/trunk/main/slideshow/source/engine/activities/ |
H A D | activitiesfactory.cxx | 571 for( ::std::size_t i=0, nLen=rValues.getLength(); i<nLen; ++i ) in createValueListActivity() 751 const ::std::size_t nLen( 2 ); in createActivity() local 752 for( ::std::size_t i=0; i<nLen; ++i ) in createActivity() 753 aActivityParms.maDiscreteTimes.push_back( double(i)/nLen ); in createActivity()
|
/trunk/main/sal/qa/rtl/cipher/ |
H A D | rtl_cipher.cxx | 412 sal_uInt32 nLen = 16; in test_encode() local 413 sal_uInt8 *pBuffer = new sal_uInt8[ nLen ]; in test_encode() 414 memset(pBuffer, 0, nLen); in test_encode() 416 /* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pDataBuffer, nDataLen, pBuffer, nLen); in test_encode() 422 printf(" Buf: %s\n", createHex(pBuffer, nLen).getStr()); in test_encode()
|
/trunk/main/sc/source/core/data/ |
H A D | column3.cxx | 1981 sal_Int32 nLen; in GetMaxStringLen() local 1994 nLen = aOString.getLength(); in GetMaxStringLen() 1997 nLen = aString.Len() * sizeof(sal_Unicode); in GetMaxStringLen() 1998 if ( nStringLen < nLen) in GetMaxStringLen() 1999 nStringLen = nLen; in GetMaxStringLen() 2034 xub_StrLen nLen = aString.Len(); in GetMaxNumberStringLen() local 2035 if ( nLen ) in GetMaxNumberStringLen() 2049 nLen += nPrecision + aSep.Len(); in GetMaxNumberStringLen() 2054 nLen += nPrecision - nTmp; in GetMaxNumberStringLen() 2059 if ( nStringLen < nLen ) in GetMaxNumberStringLen() [all …]
|
/trunk/main/editeng/source/rtf/ |
H A D | rtfgrf.cxx | 268 xub_StrLen n, nLen; in HexToBin() local 273 for( n = 0, nLen = rToken.Len(); n < nLen; ++n, ++pStr ) in HexToBin() 294 return bValidData ? nLen / 2 : STRING_NOTFOUND; in HexToBin()
|
/trunk/main/sw/source/core/inc/ |
H A D | wrong.hxx | 79 xub_StrLen nLen); 84 xub_StrLen nLen, 205 void Remove( sal_uInt16 nIdx, sal_uInt16 nLen ); 228 xub_StrLen nLen, sal_uInt16 nIndex, xub_StrLen nCursorPos );
|
/trunk/main/vcl/source/control/ |
H A D | edit.cxx | 138 xub_StrLen nLen; member 155 nLen = 0; in Impl_IMEInfos() 172 nLen = nL; in CopyAttribs() 184 nLen = 0; in DestroyAttribs() 658 for( i = 0; i < mpIMEInfos->nLen; ) in ImplRepaint() 2266 maText.Erase( mpIMEInfos->nPos, mpIMEInfos->nLen ); in Command() 2270 sal_uInt16 nOldIMETextLen = mpIMEInfos->nLen; in Command() 2317 if ( nCursorPos == ( mpIMEInfos->nPos + mpIMEInfos->nLen ) ) { in Command() 3023 long nLen = aSel.Len(); in dragDropEnd() local 3024 aSel.Min() += nLen; in dragDropEnd() [all …]
|
/trunk/main/vcl/source/components/ |
H A D | stringmirror.cxx | 66 sal_Int32 nLen = rStr.getLength(); in mapStrings() local 67 rtl::OUStringBuffer aMirror( nLen ); in mapStrings() 68 for(sal_Int32 i = nLen - 1; i >= 0; i--) in mapStrings()
|