Home
last modified time | relevance | path

Searched refs:nMaxLen (Results 1 – 25 of 48) sorted by last modified time

12

/trunk/main/tools/source/fsys/
H A Ddirent.cxx2528 sal_uInt16 nMaxExt, nMaxLen; in MakeShortName() local
2536 nMaxLen = MAX_LEN_FAT; in MakeShortName()
2542 nMaxLen = MAX_LEN_MAC; in MakeShortName()
2548 nMaxLen = MAX_LEN_MAX; in MakeShortName()
2573 nMaxLen -= ( aExt.Len() + 1 ); in MakeShortName()
2578 for ( const char *pc = aFName.GetBuffer(); aSName.Len() < nMaxLen && *pc; ++pc ) in MakeShortName()
2610 aSName.Erase( nMaxLen-3 ); in MakeShortName()
/trunk/main/filter/source/msfilter/
H A Dsvdfppt.cxx5434 sal_uInt32 nMaxLen = aTextHd.nRecLen; in Init() local
5435 if ( nMaxLen >= 0xFFFF ) in Init()
5436 nMaxLen = 0xFFFE; in Init()
5442 rIn.Read( pBuf, nMaxLen ); in Init()
5443 nMaxLen >>= 1; in Init()
5444 pBuf[ nMaxLen ] = 0; in Init()
5448 for ( i = 0; i < nMaxLen; i++ ) in Init()
5456 for ( i = 0; i < nMaxLen; pPtr++, i++ ) in Init()
5477 sal_Char *pBuf = new sal_Char[ nMaxLen + 1 ]; in Init()
5478 pBuf[ nMaxLen ] = 0; in Init()
[all …]
/trunk/main/vcl/source/fontsubset/
H A Dsft.cxx1850 int nMaxLen = (t->ptr + t->fsize) - (sal_uInt8*)t->tables[i]; in doOpenTTFont() local
1851 if( nMaxLen < 0 ) in doOpenTTFont()
1852 nMaxLen = 0; in doOpenTTFont()
1853 t->tlens[i] = nMaxLen; in doOpenTTFont()
H A Dcff.cxx1769 const int nMaxLen = sizeof(aNameBuf) - 1; in getString() local
1770 if( nLen >= nMaxLen) in getString()
1771 nLen = nMaxLen; in getString()
/trunk/main/sc/source/filter/excel/
H A Dxehelper.cxx380 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in lclCreateFormattedString() argument
449 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in lclCreateFormattedString() argument
560 xString->Assign( rString, nFlags, nMaxLen ); in CreateString()
562 xString->AssignByte( rString, rRoot.GetTextEncoding(), nFlags, nMaxLen ); in CreateString()
569 XclExpStringRef xString = CreateString( rRoot, EMPTY_STRING, nFlags, nMaxLen ); in CreateString()
592 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in CreateCellString() argument
632 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in CreateString() argument
642 xString = lclCreateFormattedString( rRoot, rEE, 0, nFlags, nMaxLen ); in CreateString()
655 xString = CreateString( rRoot, EMPTY_STRING, nFlags, nMaxLen ); in CreateString()
662 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in CreateString() argument
[all …]
/trunk/main/sfx2/inc/sfx2/
H A Dobjsh.hxx504 String GetTitle( sal_uInt16 nMaxLen = 0 ) const;
/trunk/main/xmloff/source/forms/
H A Delementexport.cxx1314 sal_Int16 nMaxLen = (sal_Int16)std::max(nItems, nValues); in exportListSourceAsElements() local
1316 for (sal_Int16 i=0; i<nMaxLen; ++i ) in exportListSourceAsElements()
1379 …OSL_ENSURE(nLastReferredEntry >= nMaxLen, "OControlExport::exportListSourceAsElements: inconsisten… in exportListSourceAsElements()
1383 for (sal_Int16 i=nMaxLen; i<=nLastReferredEntry; ++i) in exportListSourceAsElements()
/trunk/main/xml2cmp/source/xcd/
H A Dparse.cxx359 const unsigned int nMaxLen = 1000; in GetTextTill() local
360 if (strlen(pResult) < nMaxLen) in GetTextTill()
365 static char sScope[nMaxLen+10]; in GetTextTill()
366 static char sName[nMaxLen+10]; in GetTextTill()
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx2112 int nMaxLen = sizeof(aResourceName)/sizeof(*aResourceName) - 16; in ImplAddTempFont() local
2113 int nLen = ::GetTempPathA( nMaxLen, aResourceName ); in ImplAddTempFont()
2194 int nMaxLen = sizeof(aResourceName)/sizeof(*aResourceName) - 16; in ImplGetFontAttrFromFile() local
2195 int nLen = ::GetTempPathA( nMaxLen, aResourceName ); in ImplGetFontAttrFromFile()
2196 ::strncpy( aResourceName + nLen, aFileName, Max( 0, nMaxLen - nLen )); in ImplGetFontAttrFromFile()
/trunk/main/vcl/source/control/
H A Dedit.cxx847 const sal_uInt32 nMaxLen = mnMaxTextLen < 65534 ? mnMaxTextLen : 65534; in ImplTruncateToMaxLen() local
849 if ( nLenAfter > nMaxLen ) in ImplTruncateToMaxLen()
851 sal_uInt32 nErasePos = nMaxLen - static_cast<sal_uInt32>(maText.Len()) + nSelectionLen; in ImplTruncateToMaxLen()
2608 void Edit::SetMaxTextLen( xub_StrLen nMaxLen ) in SetMaxTextLen() argument
2610 mnMaxTextLen = nMaxLen ? nMaxLen : EDIT_NOLIMIT; in SetMaxTextLen()
H A Dfield2.cxx399 xub_StrLen nMaxLen = aText.Len(); in ImplPatternProcessStrictModify() local
400 while ( i < nMaxLen ) in ImplPatternProcessStrictModify()
/trunk/main/vcl/inc/vcl/
H A Dedit.hxx194 virtual void SetMaxTextLen( xub_StrLen nMaxLen = EDIT_NOLIMIT );
/trunk/main/tools/source/string/
H A Dstrcvt.cxx67 sal_Int32 nMaxLen = rUniStr.mpData->mnLen-nPos; in ByteString() local
68 if ( nLen > nMaxLen ) in ByteString()
69 nLen = static_cast< xub_StrLen >(nMaxLen); in ByteString()
H A Dstrimp.cxx280 sal_Int32 nMaxLen = rStr.mpData->mnLen-nPos; in STRING() local
281 if ( nLen > nMaxLen ) in STRING()
282 nLen = static_cast< xub_StrLen >(nMaxLen); in STRING()
702 if ( nLen > nMaxLen ) in Insert()
703 nLen = static_cast< xub_StrLen >(nMaxLen); in Insert()
1396 sal_Int32 nMaxLen = mpData->mnLen-nIndex; in Equals() local
1397 if ( nMaxLen < nLen ) in Equals()
1399 if ( rStr.mpData->mnLen != nMaxLen ) in Equals()
1431 sal_Int32 nMaxLen = mpData->mnLen-nIndex; in EqualsIgnoreCaseAscii() local
1432 if ( nMaxLen < nLen ) in EqualsIgnoreCaseAscii()
[all …]
H A Dstrucvt.cxx69 sal_Int32 nMaxLen = rByteStr.mpData->mnLen-nPos; in UniString() local
70 if ( nLen > nMaxLen ) in UniString()
71 nLen = static_cast< xub_StrLen >(nMaxLen); in UniString()
/trunk/main/tools/source/debug/
H A Ddebug.cxx666 static void DbgGetDbgFileName( sal_Char* pStr, sal_Int32 nMaxLen ) in DbgGetDbgFileName() argument
672 strncpy( pStr, pName, nMaxLen ); in DbgGetDbgFileName()
676 strncpy( pStr, pName, nMaxLen ); in DbgGetDbgFileName()
678 GetProfileStringA( "sv", "dbgsv", "dbgsv.ini", pStr, nMaxLen ); in DbgGetDbgFileName()
681 "dbgsv.ini", (PSZ)pStr, nMaxLen ); in DbgGetDbgFileName()
683 strncpy( pStr, "dbgsv.ini", nMaxLen ); in DbgGetDbgFileName()
685 pStr[ nMaxLen - 1 ] = 0; in DbgGetDbgFileName()
/trunk/main/toolkit/source/controls/
H A Dunocontrols.cxx405 sal_Int16 nMaxLen = mnMaxTextLen; in getMaxTextLen() local
408 nMaxLen = ImplGetPropertyValue_INT16( BASEPROPERTY_MAXTEXTLEN ); in getMaxTextLen()
410 return nMaxLen; in getMaxTextLen()
/trunk/main/sw/source/ui/dochdl/
H A Dgloshdl.cxx600 const sal_uInt16 nMaxLen = 50; in Expand() local
601 if(pWrtShell->IsSelection() && aShortName.Len() > nMaxLen) in Expand()
603 aShortName.Erase(nMaxLen); in Expand()
/trunk/main/sw/source/filter/ww8/
H A DWW8FFData.hxx87 void setMaxLen(sal_uInt16 nMaxLen) { mnMaxLen = nMaxLen; } in setMaxLen() argument
/trunk/main/sw/source/filter/html/
H A Dhtmlform.cxx1504 sal_Int16 nMaxLen = 0; in InsertInput() local
1555 nMaxLen = (sal_Int16)pOption->GetNumber(); in InsertInput()
1852 if( nMaxLen != 0 ) in InsertInput()
1854 aTmp <<= (sal_Int16) nMaxLen ; in InsertInput()
/trunk/main/sw/source/core/text/
H A Dguess.cxx92 xub_StrLen nMaxLen = rInf.GetTxt().Len() - rInf.GetIdx(); in Guess() local
94 if ( rInf.GetLen() < nMaxLen ) in Guess()
95 nMaxLen = rInf.GetLen(); in Guess()
97 if( !nMaxLen ) in Guess()
127 if ( long ( nLineWidth ) * 2 > long ( nMaxLen ) * nPorHeight ) in Guess()
130 rInf.GetTxtSize( &rSI, rInf.GetIdx(), nMaxLen, in Guess()
138 nCutPos = rInf.GetIdx() + nMaxLen; in Guess()
170 nCutPos = rInf.GetTxtBreak( nLineWidth, nMaxLen, nMaxComp ); in Guess()
182 if( nCutPos > rInf.GetIdx() + nMaxLen ) in Guess()
185 nCutPos = nBreakPos = rInf.GetIdx() + nMaxLen - 1; in Guess()
[all …]
H A Dinftxt.cxx506 const xub_StrLen nMaxLen, in GetTxtBreak() argument
514 *pTxt, GetIdx(), nMaxLen ); in GetTxtBreak()
529 const xub_StrLen nMaxLen, in GetTxtBreak() argument
538 *pTxt, GetIdx(), nMaxLen ); in GetTxtBreak()
H A Dinftxt.hxx314 const xub_StrLen nMaxLen,
317 const xub_StrLen nMaxLen,
/trunk/main/svx/source/gallery2/
H A Dgalmisc.cxx229 String GetReducedString( const INetURLObject& rURL, sal_uIntPtr nMaxLen ) in GetReducedString() argument
241 if( aPath.Len() > nMaxLen ) in GetReducedString()
243 aReduced = aPath.Copy( 0, (sal_uInt16)( nMaxLen - aName.Len() - 4 ) ); in GetReducedString()
/trunk/main/svx/source/fmcomp/
H A Dgridcell.cxx1066 sal_Int16 nMaxLen = 0; in implAdjustGenericFieldSetting() local
1067 _rxModel->getPropertyValue( FM_PROP_MAXTEXTLEN ) >>= nMaxLen; in implAdjustGenericFieldSetting()
1068 implSetMaxTextLen( nMaxLen ); in implAdjustGenericFieldSetting()

Completed in 322 milliseconds

12