/trunk/main/stoc/test/ |
H A D | testsmgr_cpnt.cxx | 218 sal_Int32 nLen = 0; in test_ServiceManager() local 221 nLen++; in test_ServiceManager() 224 TEST_ENSHURE( nLen == 1, "more than one implementation for SimpleRegistry" ); in test_ServiceManager() 230 nLen = 0; in test_ServiceManager() 233 nLen++; in test_ServiceManager() 238 TEST_ENSHURE( nLen == 8, "more than 6 factories" ); in test_ServiceManager()
|
/trunk/main/connectivity/source/drivers/adabas/ |
H A D | BViews.cxx | 60 sal_Int32 nLen = _rName.indexOf('.'); in createObject() local 61 aSchema = _rName.copy(0,nLen); in createObject() 62 aName = _rName.copy(nLen+1); in createObject() 137 sal_Int32 nLen = _sElementName.indexOf('.'); in dropObject() local 138 aSchema = _sElementName.copy(0,nLen); in dropObject() 139 aName = _sElementName.copy(nLen+1); in dropObject()
|
H A D | BTables.cxx | 58 sal_Int32 nLen = _rName.indexOf('.'); in createObject() local 59 aSchema = _rName.copy(0,nLen); in createObject() 60 aName = _rName.copy(nLen+1); in createObject() 170 sal_Int32 nLen = _sElementName.indexOf('.'); in dropObject() local 171 aSchema = _sElementName.copy(0,nLen); in dropObject() 172 aName = _sElementName.copy(nLen+1); in dropObject() 304 sal_Int32 nLen = aRefTable.indexOf('.'); in createTable() local 305 aSchema = aRefTable.copy(0,nLen); in createTable() 306 aName = aRefTable.copy(nLen+1); in createTable()
|
/trunk/main/sc/source/ui/app/ |
H A D | inputwin.cxx | 437 const xub_StrLen nLen = aFormula.Len(); in Select() local 443 ESelection aSel(0,nOpen+nAdd,0,nLen-1); in Select() 472 const xub_StrLen nLen = aString.Len(); in Select() local 480 nEndPos = nLen +1; in Select() 489 nEndPos = nLen; in Select() 492 nEndPos = nLen; in Select() 543 xub_StrLen nLen = rString.Len(); in SetFuncString() local 545 if ( nLen > 0 ) in SetFuncString() 547 nLen--; in SetFuncString() 548 pView->SetSelection( ESelection( 0, nLen, 0, nLen ) ); in SetFuncString() [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | wmfwr.cxx | 551 if ( nLen ) in WMFRecord_Escape() 561 pWMF->Write( pData, nLen ); in WMFRecord_Escape() 562 if ( nLen & 1 ) in WMFRecord_Escape() 982 sal_uInt16 nLen,i; in TrueTextOut() local 985 nLen=rString.Len(); in TrueTextOut() 986 *pWMF << nLen; in TrueTextOut() 987 for ( i = 0; i < nLen; i++ ) in TrueTextOut() 989 if ((nLen&1)!=0) *pWMF << (sal_uInt8)0; in TrueTextOut() 1369 sal_uInt16 nLen,i; in WriteRecords() local 1373 nLen = aTemp.Len(); in WriteRecords() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 889 sal_Int32 nIndex, nLen; in ImplConvertFromSVM1() local 891 rIStm >> aPt >> nIndex >> nLen >> nTmp; in ImplConvertFromSVM1() 908 sal_Int32 nIndex, nLen, nAryLen; in ImplConvertFromSVM1() local 968 sal_Int32 nIndex, nLen, nWidth; in ImplConvertFromSVM1() local 1769 sal_uLong nLen = pAct->GetLen(); in ImplWriteActions() local 1776 if( ( nLen + pAct->GetIndex() ) > nTextLen ) in ImplWriteActions() 1779 nLen = nTextLen - pAct->GetIndex(); in ImplWriteActions() 1781 nLen = 0UL; in ImplWriteActions() 1784 if( !pDXArray || !nLen ) in ImplWriteActions() 1793 rOStm << (sal_Int32) nLen; in ImplWriteActions() [all …]
|
/trunk/main/sw/inc/ |
H A D | io.hxx | 86 SwIOin& Read(char *buf, unsigned nLen); 114 SwIOout& Write(const char *buf, unsigned nLen); 144 SwIOinout& Read(char *buf, unsigned nLen); 145 SwIOinout& Read(unsigned short *buf, unsigned nLen ); 159 SwIOinout& Write(const char *buf, unsigned nLen);
|
H A D | splargs.hxx | 143 xub_StrLen nLen; member in SwInterHyphInfo 154 nStart(nStartPos), nLen(nLength), in SwInterHyphInfo() 159 { return STRING_LEN == nLen ? nLen : nStart + nLen; } in GetEnd()
|
/trunk/main/svx/source/xoutdev/ |
H A D | xtabdash.cxx | 131 xub_StrLen nLen; in Create() local 134 nLen = aStr.Len() - 1; in Create() 136 aStr.SetChar(nLen, sal_Unicode('2')); in Create() 138 aStr.SetChar(nLen, sal_Unicode('3')); in Create() 211 static const sal_uInt32 nLen(8 * nFactor); in ImpCreateBitmapForXDash() local 215 aVirtualDevice.DrawCheckered(aNull, aSize, nLen, aW, aG); in ImpCreateBitmapForXDash()
|
/trunk/main/vcl/inc/ |
H A D | printergfx.hxx | 299 void PSHexString (const sal_uChar* pString, sal_Int16 nLen); 306 sal_Int16 nLen, const sal_Int32* pDeltaArray); 315 sal_Int16 nLen, 318 const sal_Unicode* pStr, sal_Int16 nLen, 324 sal_Int16 nLen, 410 const sal_Unicode* pStr, sal_Int16 nLen, 427 sal_Int16 nLen,
|
/trunk/main/sw/source/core/unocore/ |
H A D | unoflatpara.cxx | 188 lang::Locale SAL_CALL SwXFlatParagraph::getLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen) in getLanguageOfText() argument 195 …>GetLocale( mpTxtNode->GetLang( static_cast<sal_uInt16>(nPos), static_cast<sal_uInt16>(nLen) ) ) ); in getLanguageOfText() 200 lang::Locale SAL_CALL SwXFlatParagraph::getPrimaryLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen… in getPrimaryLanguageOfText() argument 208 …>GetLocale( mpTxtNode->GetLang( static_cast<sal_uInt16>(nPos), static_cast<sal_uInt16>(nLen) ) ) ); in getPrimaryLanguageOfText() 213 void SAL_CALL SwXFlatParagraph::changeText(::sal_Int32 nPos, ::sal_Int32 nLen, const ::rtl::OUStrin… in changeText() argument 222 …PaM( *mpTxtNode, static_cast<sal_uInt16>(nPos), *mpTxtNode, static_cast<sal_uInt16>(nPos + nLen) ); in changeText() 245 void SAL_CALL SwXFlatParagraph::changeAttributes(::sal_Int32 nPos, ::sal_Int32 nLen, const css::uno… in changeAttributes() argument 252 …PaM( *mpTxtNode, static_cast<sal_uInt16>(nPos), *mpTxtNode, static_cast<sal_uInt16>(nPos + nLen) ); in changeAttributes()
|
/trunk/main/connectivity/source/drivers/hsqldb/ |
H A D | HStorageAccess.cxx | 232 jsize nLen = env->GetArrayLength(buffer); in read_from_storage_stream_into_buffer() local 233 if ( nLen < len || len <= 0 ) in read_from_storage_stream_into_buffer() 242 Sequence< ::sal_Int8 > aData(nLen); in read_from_storage_stream_into_buffer() 382 ::sal_Int64 nLen = xSeek->getLength(); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_seek() 383 if ( nLen < position) in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_seek() 387 aDataLog.seek( nLen ); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_seek() 389 xSeek->seek(nLen); in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_seek() 393 ::sal_Int64 diff = position - nLen; in Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_seek()
|
/trunk/main/sw/source/filter/rtf/ |
H A D | rtffld.cxx | 153 int nLen = *pCmp++; in _WhichFld() local 157 …( nFndPos+nLen == sNm.Len() || !isalpha(sNm.GetChar( static_cast< xub_StrLen >(nFndPos+nLen) ) ) )… in _WhichFld() 160 rName = rName.Copy( nFndPos, static_cast< xub_StrLen >(nLen) ); in _WhichFld() 161 nFndPos += nTokenStt + static_cast< xub_StrLen >(nLen); in _WhichFld() 194 int nLen = *pCmp++; in CheckNumberFmtStr() local 195 if( rNStr.EqualsAscii( pCmp, 0, static_cast< xub_StrLen >(nLen) )) in CheckNumberFmtStr() 354 nLen = sParam.Len(); in lcl_ScanEquationField() local 362 if( (nLen - nStt - 1 ) < nEnd ) in lcl_ScanEquationField() 363 aRFS.Erase( nEnd + 1 - (nLen - nStt - 1)); in lcl_ScanEquationField() 368 nLen - nStt - nEnd - 2 )); in lcl_ScanEquationField()
|
/trunk/main/unotools/source/i18n/ |
H A D | transliterationwrapper.cxx | 96 xub_StrLen nStart, xub_StrLen nLen, in transliterate() argument 107 sRet = xTrans->transliterate( rStr, nStart, nLen, *pOffset ); in transliterate() 109 sRet = xTrans->transliterateString2String( rStr, nStart, nLen); in transliterate() 122 xub_StrLen nStart, xub_StrLen nLen, in transliterate() argument 131 sRet = xTrans->transliterate( rStr, nStart, nLen, *pOffset ); in transliterate() 133 sRet = xTrans->transliterateString2String( rStr, nStart, nLen); in transliterate()
|
/trunk/main/slideshow/source/engine/ |
H A D | tools.cxx | 463 const size_t nLen( rSequence.getLength() ); in findNamedValue() local 465 if( nLen == 0 ) in findNamedValue() 469 pArray + nLen, in findNamedValue() 472 if( pFound == pArray + nLen ) in findNamedValue() 483 const size_t nLen( rSequence.getLength() ); in findNamedValue() local 485 if( nLen == 0 ) in findNamedValue() 489 pArray + nLen, in findNamedValue() 491 if( pFound == pArray + nLen ) in findNamedValue()
|
/trunk/main/sc/source/filter/starcalc/ |
H A D | scflt.cxx | 95 if (!nLen) in lcl_ReadFixedString() 426 sal_uInt16 nLen; in Sc10FontData() local 427 rStream >> nLen; in Sc10FontData() 465 sal_uInt8 nLen; in Sc10NameData() local 466 rStream >> nLen; in Sc10NameData() 470 Name[nLen] = 0; in Sc10NameData() 472 rStream >> nLen; in Sc10NameData() 476 Reference[nLen] = 0; in Sc10NameData() 1464 sal_uInt8 nLen; in LoadTables() local 1465 rStream >> nLen; in LoadTables() [all …]
|
/trunk/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 2047 if ( nLen ) in ImplWriteString() 2054 for( i = 0; i < nLen; i++ ) in ImplWriteString() 2068 for ( i = 0; i < nLen; i++ ) in ImplWriteString() 2080 if ( !nLen ) in ImplText() 2478 mnCursorPos += nLen; in ImplWriteLong() 2510 if ( nLen < 8 ) in ImplWriteDouble() 2512 mnCursorPos += 6 - nLen; in ImplWriteDouble() 2518 mnCursorPos += nLen; in ImplWriteDouble() 2519 for ( n = 0; n < nLen; n++ ) in ImplWriteDouble() 2561 mnCursorPos += nLen; in ImplWriteF() [all …]
|
/trunk/main/svtools/source/misc/ |
H A D | transfer.cxx | 1062 Sequence< sal_Int8 > aSeq( nLen ); in SetObject() 1065 xStm->Read( aSeq.getArray(), nLen ); in SetObject() 1799 sal_Int32 nLen = aSeq.getLength(); in GetString() local 1803 while( nLen && ( 0 == *( pChars + nLen - 1 ) ) ) in GetString() 1804 --nLen; in GetString() 2132 if( !nLen && aString.GetChar( 0 ) != '0' ) in GetINetBookmark() 2140 aURL = aString.Copy( nStart + 1, nLen ); in GetINetBookmark() 2142 aString.Erase( 0, nStart + 1 + nLen ); in GetINetBookmark() 2144 nLen = (sal_uInt16) aString.ToInt32(); in GetINetBookmark() 2146 if( !nLen && aString.GetChar( 0 ) != '0' ) in GetINetBookmark() [all …]
|
/trunk/main/sfx2/source/control/ |
H A D | unoctitm.cxx | 593 sal_Int32 nLen = rArgs.getLength(); in addParametersToArgs() local 594 rArgs.realloc( nLen+1 ); in addParametersToArgs() 595 rArgs[nLen].Name = aParamName; in addParametersToArgs() 600 rArgs[nLen].Value <<= aValue.toInt32(); in addParametersToArgs() 605 rArgs[nLen].Value <<= aValue.toBoolean(); in addParametersToArgs() 610 rArgs[nLen].Value <<= sal_Int8( aValue.toInt32() ); in addParametersToArgs() 615 rArgs[nLen].Value <<= aValue.toInt32(); in addParametersToArgs() 620 rArgs[nLen].Value <<= sal_Int8( aValue.toInt32() ); in addParametersToArgs() 625 rArgs[nLen].Value <<= aValue.toInt64(); in addParametersToArgs() 630 rArgs[nLen].Value <<= aValue.toFloat(); in addParametersToArgs() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | rtfexport.cxx | 163 if ( GetBookmarks( rNode, nAktPos, nAktPos + nLen, aMarks ) ) in AppendBookmarks() 847 OString RtfExport::OutHex(sal_uLong nHex, sal_uInt8 nLen) in OutHex() argument 851 OSL_ENSURE( nLen < sizeof(aNToABuf), "nLen is too big" ); in OutHex() 852 if( nLen >= sizeof(aNToABuf) ) in OutHex() 853 nLen = (sizeof(aNToABuf)-1); in OutHex() 857 for( sal_uInt8 n = 0; n < nLen; ++n ) in OutHex() 919 const sal_Int32 nLen = sConverted.getLength(); in OutChar() local 924 if (*pUCMode != nLen) in OutChar() 927 aBuf.append((sal_Int32)nLen); in OutChar() 930 *pUCMode = nLen; in OutChar() [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh8.cxx | 588 xub_StrLen nLen; in lcl_GetColumnTypes() local 590 nLen = pDoc->GetMaxNumberStringLen( nPrec, nTab, nCol, in lcl_GetColumnTypes() 600 nLen = sal::static_int_cast<xub_StrLen>( nLen + ( nPrecision - nPrec ) ); in lcl_GetColumnTypes() 602 nLen -= nPrec+1; // auch den . mit raus in lcl_GetColumnTypes() 604 if ( nLen > nFieldLen && !bTypeDefined ) in lcl_GetColumnTypes() 605 nFieldLen = nLen; in lcl_GetColumnTypes() 1032 sal_Int32 nLen; in DBaseExport() local 1044 nLen = aOString.getLength(); in DBaseExport() 1052 nLen = aString.Len() * sizeof(sal_Unicode); in DBaseExport() 1055 pColLengths[nCol] < nLen) in DBaseExport() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | rangenam.cxx | 349 sal_uInt16 nLen = pCode->GetLen(); in operator ==() local 350 if ( nLen != rData.pCode->GetLen() ) return sal_False; in operator ==() 355 for ( sal_uInt16 i=0; i<nLen; i++ ) in operator ==() 485 xub_StrLen nLen = rName.Len(); in MakeValidName() local 486 while ( nPos < nLen && !ScCompiler::IsCharFlagAllConventions( rName, nPos, SC_COMPILER_C_NAME) ) in MakeValidName() 496 nLen = rName.Len(); in MakeValidName() 497 for (nPos=0; nPos<nLen; nPos++) in MakeValidName() 527 xub_StrLen nLen = rName.Len(); in IsNameValid() local 528 if ( !nLen || !ScCompiler::IsCharFlagAllConventions( rName, nPos++, SC_COMPILER_C_CHAR_NAME ) ) in IsNameValid() 530 while ( nPos < nLen ) in IsNameValid()
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc.hxx | 362 void SaveOrgDXArray( const sal_Int32* pDXArray, sal_uInt16 nLen ); 374 sal_uInt16 nLen; member in TextPortion 382 …pExtraInfos = NULL; nLen = 0; nKind = PORTIONKIND_TEXT; nExtraValue = 0; nRightToLeft = sal_False;} in TextPortion() 387 …pExtraInfos = NULL; nLen = nL; nKind = PORTIONKIND_TEXT; nExtraValue = 0; nRightToLeft = sal_False… in TextPortion() 390 …pExtraInfos = NULL; nLen = r.nLen; nKind = r.nKind; nExtraValue = r.nExtraValue; nRightToLeft = r.… in TextPortion() 394 sal_uInt16 GetLen() const { return nLen; } in GetLen() 395 sal_uInt16& GetLen() { return nLen; } in GetLen() 396 void SetLen( sal_uInt16 nL ) { nLen = nL; } in SetLen()
|
/trunk/main/cppuhelper/source/ |
H A D | interfacecontainer.cxx | 238 sal_Int32 nLen = aData.pAsSequence->getLength(); in addInterface() local 239 realloc( *aData.pAsSequence, nLen +1 ); in addInterface() 240 aData.pAsSequence->getArray()[ nLen ] = rListener; in addInterface() 241 return nLen +1; in addInterface() 273 sal_Int32 nLen = aData.pAsSequence->getLength(); in removeInterface() local 275 for( i = 0; i < nLen; i++ ) in removeInterface() 286 if( i == nLen ) in removeInterface() 289 for( i = 0; i < nLen; i++ ) in removeInterface()
|
/trunk/main/sw/source/core/text/ |
H A D | txthyph.cxx | 243 xub_StrLen nLen = 0; in Hyphenate() local 253 nLen = static_cast<xub_StrLen>(aBound.endPos - nWrdStart); in Hyphenate() 254 bRet = 0 != nLen; in Hyphenate() 257 XubString aSelTxt( rInf.GetTxt().Copy(nWrdStart, nLen) ); in Hyphenate() 277 if( nWrdStart + nLen > nEnd ) in Hyphenate() 278 nMinTrail = nWrdStart + nLen - nEnd - 1; in Hyphenate() 291 rHyphInf.nWordLen = nLen+nCnt; in Hyphenate()
|