/aoo4110/main/connectivity/source/drivers/odbcbase/ |
H A D | OTools.cxx | 84 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 …]
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xestring.cxx | 111 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 D | xehelper.cxx | 380 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 …]
|
/aoo4110/main/sc/source/filter/inc/ |
H A D | xestring.hxx | 62 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 D | xehelper.hxx | 247 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 );
|
/aoo4110/main/sw/source/core/text/ |
H A D | guess.cxx | 92 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 …]
|
/aoo4110/main/sal/textenc/ |
H A D | tenchelp.c | 31 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()
|
/aoo4110/main/tools/source/string/ |
H A D | strimp.cxx | 280 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 D | strucvt.cxx | 69 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 D | strcvt.cxx | 67 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()
|
/aoo4110/main/xml2cmp/source/xcd/ |
H A D | parse.cxx | 359 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()
|
/aoo4110/main/setup_native/source/win32/stwrapper/ |
H A D | stwrapper.cxx | 246 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()
|
/aoo4110/main/sot/source/sdstor/ |
H A D | stgstrms.cxx | 97 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()
|
/aoo4110/main/tools/source/debug/ |
H A D | debug.cxx | 666 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()
|
/aoo4110/main/dbaccess/source/ui/misc/ |
H A D | WCPage.cxx | 144 sal_Int32 nMaxLen = m_pParent->getMaxColumnNameLength(); in DBG_NAME() local 145 m_edKeyName.SetMaxTextLen(nMaxLen ? (xub_StrLen)nMaxLen : EDIT_NOLIMIT); in DBG_NAME()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | WW8FFData.hxx | 87 void setMaxLen(sal_uInt16 nMaxLen) { mnMaxLen = nMaxLen; } in setMaxLen() argument
|
/aoo4110/main/svx/source/gallery2/ |
H A D | galmisc.cxx | 229 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()
|
/aoo4110/main/tools/source/fsys/ |
H A D | dirent.cxx | 2531 sal_uInt16 nMaxExt, nMaxLen; in MakeShortName() local 2539 nMaxLen = MAX_LEN_FAT; in MakeShortName() 2545 nMaxLen = MAX_LEN_MAC; in MakeShortName() 2551 nMaxLen = MAX_LEN_MAX; in MakeShortName() 2576 nMaxLen -= ( aExt.Len() + 1 ); in MakeShortName() 2581 for ( const char *pc = aFName.GetBuffer(); aSName.Len() < nMaxLen && *pc; ++pc ) in MakeShortName() 2613 aSName.Erase( nMaxLen-3 ); in MakeShortName()
|
/aoo4110/main/i18npool/source/localedata/ |
H A D | LocaleNode.cxx | 247 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 D | LocaleNode.hxx | 140 … 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;
|
/aoo4110/main/sc/source/ui/dbgui/ |
H A D | fieldwnd.cxx | 816 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()
|
/aoo4110/main/svtools/source/edit/ |
H A D | svmedit.cxx | 1013 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()
|
/aoo4110/main/sw/source/ui/dochdl/ |
H A D | gloshdl.cxx | 600 const sal_uInt16 nMaxLen = 50; in Expand() local 601 if(pWrtShell->IsSelection() && aShortName.Len() > nMaxLen) in Expand() 603 aShortName.Erase(nMaxLen); in Expand()
|
/aoo4110/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 743 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()
|
/aoo4110/main/vcl/source/control/ |
H A D | edit.cxx | 847 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() 2605 void Edit::SetMaxTextLen( xub_StrLen nMaxLen ) in SetMaxTextLen() argument 2607 mnMaxTextLen = nMaxLen ? nMaxLen : EDIT_NOLIMIT; in SetMaxTextLen()
|