Home
last modified time | relevance | path

Searched refs:nMaxLen (Results 1 – 25 of 48) sorted by relevance

12

/trunk/main/connectivity/source/drivers/odbcbase/
H A DOTools.cxx84 SQLLEN nMaxLen = 0; in bindParameter() local
110 nMaxLen, in bindParameter()
280 nMaxLen, in bindValue()
401 nMaxLen, in bindValue()
488 nMaxLen, in getBytesValue()
511 if (pcbValue != SQL_NO_TOTAL && (pcbValue - nMaxLen) < nMaxLen) in getBytesValue()
514 nBytes = nMaxLen; in getBytesValue()
582 if (pcbValue != SQL_NO_TOTAL && (pcbValue - nMaxLen) < nMaxLen) in getStringValue()
585 nLen = nMaxLen; in getStringValue()
618 nMaxLen, in getStringValue()
[all …]
/trunk/main/sc/source/filter/excel/
H A Dxestring.cxx111 Init( 0, nFlags, nMaxLen, true ); in XclExpString()
116 Assign( rString, nFlags, nMaxLen ); in XclExpString()
121 Assign( rString, nFlags, nMaxLen ); in XclExpString()
147 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in Assign() argument
149 Assign( rString, nFlags, nMaxLen ); in Assign()
160 XclStrFlags nFlags, sal_uInt16 nMaxLen ) in Assign() argument
162 Assign( rString, nFlags, nMaxLen ); in Assign()
168 Build( &cChar, 1, nFlags, nMaxLen ); in Assign()
587 mnMaxLen = nMaxLen; in Init()
605 Init( nCurrLen, nFlags, nMaxLen, true ); in Build()
[all …]
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/sc/source/filter/inc/
H A Dxestring.hxx62 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
70 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
77 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
106 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
115 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
122 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
131 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
138 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
147 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
282 XclStrFlags nFlags, sal_uInt16 nMaxLen );
[all …]
H A Dxehelper.hxx247 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
260 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
297 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
314 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
327 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
338 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
/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 …]
/trunk/main/sal/textenc/
H A Dtenchelp.c31 sal_Size nMaxLen);
35 sal_Size nMaxLen);
41 sal_Size nMaxLen) in ImplGetUndefinedAsciiMultiByte() argument
43 if (nMaxLen == 0) in ImplGetUndefinedAsciiMultiByte()
65 sal_Size nMaxLen) in ImplGetInvalidAsciiMultiByte() argument
67 if (nMaxLen == 0) in ImplGetInvalidAsciiMultiByte()
/trunk/main/tools/source/string/
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()
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()
/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/setup_native/source/win32/stwrapper/
H A Dstwrapper.cxx246 static void SafeCopy( LPTSTR lpTarget, LPCSTR lpSource, size_t nMaxLen ) in SafeCopy() argument
249 size_t nCopy = ( nLen < size_t( nMaxLen-1 )) ? nLen : nMaxLen-1; in SafeCopy()
250 _tcsncpy( lpTarget, lpSource, nMaxLen-1 ); in SafeCopy()
/trunk/main/sot/source/sdstor/
H A Dstgstrms.cxx97 sal_Int32 nMaxStart = STG_EOF, nMaxLen = 0x7FFFFFFFL; in FindBlock() local
129 if( nTmpLen > nPgs && nTmpLen < nMaxLen ) in FindBlock()
131 nMaxLen = nTmpLen, nMaxStart = nTmpStart, bFound = sal_True; in FindBlock()
147 if( nTmpLen > nPgs && nTmpLen < nMaxLen ) in FindBlock()
149 nMaxLen = nTmpLen, nMaxStart = nTmpStart; in FindBlock()
158 sal_Int32 nMaxDiff = nMaxLen - nPgs; in FindBlock()
/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/dbaccess/source/ui/misc/
H A DWCPage.cxx144 sal_Int32 nMaxLen = m_pParent->getMaxColumnNameLength(); in DBG_NAME() local
145 m_edKeyName.SetMaxTextLen(nMaxLen ? (xub_StrLen)nMaxLen : EDIT_NOLIMIT); in DBG_NAME()
/trunk/main/i18npool/source/localedata/
H A DLocaleNode.cxx247 sal_Int32 nMinLen, sal_Int32 nMaxLen ) const in writeParameterCheckLen()
270 else if (nLen > nMaxLen && nMaxLen >= 0) in writeParameterCheckLen()
273 sal::static_int_cast< long >(nMaxLen), (nMaxLen > 1 ? "s" : ""), in writeParameterCheckLen()
283 sal_Int32 nMinLen, sal_Int32 nMaxLen ) const in writeParameterCheckLen()
288 aVal = writeParameterCheckLen( of, pParameterName, pNode, nMinLen, nMaxLen); in writeParameterCheckLen()
H A DLocaleNode.hxx140 … const char* pParameterName, const LocaleNode* pNode, sal_Int32 nMinLen, sal_Int32 nMaxLen ) const;
141 …f, const char* pNodeName, const char* pParameterName, sal_Int32 nMinLen, sal_Int32 nMaxLen ) const;
/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/sw/source/filter/ww8/
H A DWW8FFData.hxx87 void setMaxLen(sal_uInt16 nMaxLen) { mnMaxLen = nMaxLen; } in setMaxLen() argument
/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/sc/source/ui/dbgui/
H A Dfieldwnd.cxx816 sal_Int32 nMaxLen = rFullText.getLength(); in DrawField() local
820 sal_Int32 nCurrLen = (nMinLen + nMaxLen) / 2; in DrawField()
824 (bFits ? nMinLen : nMaxLen) = nCurrLen; in DrawField()
826 while( !bFits || (nMinLen + 1 < nMaxLen) ); in DrawField()
/trunk/main/svtools/source/edit/
H A Dsvmedit.cxx1013 sal_uInt16 nMaxLen = Edit::GetMaxTextLen(); in MultiLineEdit() local
1014 if ( nMaxLen ) in MultiLineEdit()
1015 SetMaxTextLen( nMaxLen ); in MultiLineEdit()
1178 void MultiLineEdit::SetMaxTextLen( xub_StrLen nMaxLen ) in SetMaxTextLen() argument
1180 pImpSvMEdit->SetMaxTextLen( nMaxLen ); in SetMaxTextLen()
/trunk/main/svtools/source/control/
H A Dctrlbox.cxx743 sal_uInt16 nMaxLen = 0; in ImplCalcUserItemSize() local
750 if ( aFontName.Len() > nMaxLen ) in ImplCalcUserItemSize()
751 nMaxLen = aFontName.Len(); in ImplCalcUserItemSize()
763 aSz.Width() *= nMaxLen; in ImplCalcUserItemSize()
/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/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()

Completed in 256 milliseconds

12