Home
last modified time | relevance | path

Searched refs:nMax (Results 1 – 25 of 255) sorted by relevance

1234567891011

/aoo4110/main/sot/source/base/
H A Dexchange.cxx241 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatName() local
249 nMax = SOT_FORMATSTR_ID_USER_END; in RegisterFormatName()
258 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatName()
281 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatMimeType() local
286 nMax = SOT_FORMATSTR_ID_USER_END; in RegisterFormatMimeType()
293 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatMimeType()
409 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormatIdFromMimeType() local
417 nMax = SOT_FORMATSTR_ID_USER_END; in GetFormatIdFromMimeType()
427 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormatIdFromMimeType()
457 nMax = SOT_FORMATSTR_ID_USER_END; in GetFormat()
[all …]
/aoo4110/main/sal/osl/os2/
H A Dsecurity.c49 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax);
50 sal_Bool SAL_CALL osl_psz_getUserName(oslSecurity Security, sal_Char* pszName, sal_uInt32 nMax);
51 sal_Bool SAL_CALL osl_psz_getHomeDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax);
146 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax) in osl_psz_getUserIdent() argument
157 if ( nChr < 0 || nChr >= sizeof(buffer) || nChr >= nMax ) in osl_psz_getUserIdent()
181 sal_Bool SAL_CALL osl_psz_getUserName(oslSecurity Security, sal_Char* pszName, sal_uInt32 nMax) in osl_psz_getUserName() argument
188 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
245 strncpy(pszDirectory, pStr, nMax); in osl_psz_getHomeDir()
248 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
253 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
[all …]
/aoo4110/main/svx/source/dialog/
H A Doptgrid.cxx58 rField.SetMax( rField.Normalize( nMax ), FUNIT_TWIP ); in lcl_SetMinMax()
223 long nFirst, nLast, nMin, nMax; in SvxGridTabPage() local
225 lcl_GetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in SvxGridTabPage()
227 lcl_SetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in SvxGridTabPage()
229 lcl_GetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in SvxGridTabPage()
231 lcl_SetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in SvxGridTabPage()
349 long nFirst, nLast, nMin, nMax; in ActivatePage() local
352 lcl_GetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in ActivatePage()
354 lcl_SetMinMax(aMtrFldDrawX, nFirst, nLast, nMin, nMax); in ActivatePage()
359 lcl_GetMinMax(aMtrFldDrawY, nFirst, nLast, nMin, nMax); in ActivatePage()
[all …]
/aoo4110/main/sw/source/core/doc/
H A Dhtmltbl.cxx137 nMin(0), nMax(0), in SwHTMLTableLayoutColumn()
204 nMin( 0 ), nMax( 0 ), in SwHTMLTableLayout()
838 nMax += pColumn->GetMax(); in AutoLayoutPass1()
891 nMax -= nColMax; in AutoLayoutPass1()
894 nMax += nColMax; in AutoLayoutPass1()
931 nMax -= pColumn->GetMax(); in AutoLayoutPass1()
1064 sal_uLong nOldMax = nMax; in AutoLayoutPass1()
1065 nMax = 0; in AutoLayoutPass1()
1389 sal_uLong nFixMax = nMax; in AutoLayoutPass2()
1509 double nD = (nMax==nMin ? 1 : nMax-nMin); in AutoLayoutPass2()
[all …]
/aoo4110/main/sal/osl/unx/
H A Dsecurity.c55 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax);
56 …c sal_Bool SAL_CALL osl_psz_getUserName(oslSecurity Security, sal_Char* pszName, sal_uInt32 nMax);
664 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax) in osl_psz_getUserIdent() argument
676 || SAL_INT_CAST(sal_uInt32, nChr) >= nMax ) in osl_psz_getUserIdent()
707 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
764 strncpy(pszDirectory, pStr, nMax); in osl_psz_getHomeDir()
766 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
769 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
801 return (osl_psz_getHomeDir(Security, pszDirectory, nMax)); in osl_psz_getConfigDir()
803 strncpy(pszDirectory, pStr, nMax); in osl_psz_getConfigDir()
[all …]
/aoo4110/main/sw/source/ui/table/
H A Dinstable.cxx154 sal_Int64 nMax = aRowEdit.GetValue(); in SwInsTableDlg() local
155 if( nMax <= 1 ) in SwInsTableDlg()
156 nMax = 1; in SwInsTableDlg()
158 --nMax; in SwInsTableDlg()
159 aRepeatHeaderNF.SetMax( nMax ); in SwInsTableDlg()
203 sal_Int64 nMax = ( nRow == 1 )? 1 : nRow - 1 ; in IMPL_LINK_INLINE_END() local
206 aRepeatHeaderNF.SetMax( nMax ); in IMPL_LINK_INLINE_END()
208 if( nActVal > nMax ) in IMPL_LINK_INLINE_END()
209 aRepeatHeaderNF.SetValue( nMax ); in IMPL_LINK_INLINE_END()
211 …aRepeatHeaderNF.SetValue( ( nEnteredValRepeatHeaderNF < nMax )? nEnteredValRepeatHeaderNF : nMax ); in IMPL_LINK_INLINE_END()
/aoo4110/main/rsc/source/res/
H A Drscrange.cxx54 nMin = nMax = 0; in RscRange()
86 nMax = nMinimum; in SetRange()
90 nMax = nMaximum; in SetRange()
131 if( nMax < nValue || nMin > nValue ) in SetNumber()
182 if( 0L >= nMin && 0L <= nMax ) in Create()
264 nMin = nMax = 0; in RscLongRange()
296 nMax = nMinimum; in SetRange()
300 nMax = nMaximum; in SetRange()
391 if( 0L >= nMin && 0L <= nMax ) in Create()
489 nMin = nMax = 0; in RscIdRange()
[all …]
/aoo4110/main/sw/source/core/table/
H A Dswnewtable.cxx336 long nMin = 0, nMax = 0; in CollectBoxSelection() local
369 long nMid = ( nMin + nMax ) / 2; in CollectBoxSelection()
440 else if( nRight <= nMax ) in CollectBoxSelection()
455 else if( nLeft < nMax ) in CollectBoxSelection()
1615 long nMid = ( nMax + nMin )/ 2; in lcl_SearchSelBox()
1626 if( nRight <= nMax ) in lcl_SearchSelBox()
1630 bAdd = nLeft <= nMid || nRight - nMax < nMax - nLeft; in lcl_SearchSelBox()
1647 if( nRight >= nMax ) in lcl_SearchSelBox()
1905 if( nTabSize == nMax ) in PrepareDeleteCol()
1906 nMid = nMax; in PrepareDeleteCol()
[all …]
/aoo4110/main/editeng/source/misc/
H A Dtxtrange.cxx147 long nMax; member in SvxBoundArgs
180 { if( nMin > nL ) nMin = nL; if( nMax < nR ) nMax = nR; } in NoteMargin()
285 if( nMax < nMin ) in NoteRange()
299 pLongArr->Insert( nMax, nIdx + 1 ); in NoteRange()
311 while( nMaxIdx < nCount && (*pLongArr)[ nMaxIdx ] < nMax ) in NoteRange()
321 (*pLongArr)[ nMaxIdx-- ] = nMax; in NoteRange()
366 nMax = 0; in Calc()
378 nMax = nMin + nEnd; in Calc()
457 nTmpMax = nMax - 2 * nEnd; in Calc()
468 pLongArr->Insert( nMax, 1 ); in Calc()
[all …]
/aoo4110/main/vcl/aqua/source/gdi/
H A Dsalmathutils.cxx115 unsigned long nMax = 0; in Euclidian2Norm() local
125 nMax = (unsigned long)abs( nDX ); in Euclidian2Norm()
131 if ( nMax < nMed ) in Euclidian2Norm()
133 Swap( nMax, nMed ); in Euclidian2Norm()
136 if ( nMax < nMin ) in Euclidian2Norm()
138 Swap( nMax, nMin ); in Euclidian2Norm()
149 ndist = nMax + ( nMin >> 2UL ) in Euclidian2Norm()
/aoo4110/main/sw/inc/
H A Dhtmltbl.hxx137 sal_uLong nMin, nMax; member in SwHTMLTableLayoutColumn
161 inline void MergeMinMaxNoAlign( sal_uLong nMin, sal_uLong nMax, sal_uLong nAbsMin );
167 inline void SetMinMax( sal_uLong nMin, sal_uLong nMax );
168 void SetMax( sal_uLong nVal ) { nMax = nVal; } in SetMax()
170 void AddToMax( sal_uLong nVal ) { nMax += nVal; } in AddToMax()
172 sal_uLong GetMax() const { return nMax; } in GetMax()
197 sal_uLong nMax; // maximale Breite der Tabelle (Twips) member in SwHTMLTableLayout
260 void ClearPass1Info() { nMin = nMax = 0; } in ClearPass1Info()
310 sal_uLong GetMax() const { return nMax; } in GetMax()
402 nMin = nMax = 0; in ClearPass1Info()
[all …]
/aoo4110/main/vcl/source/gdi/
H A Doctree.cxx76 nMax ( nColors ), in Octree()
88 nMax ( nColors ), in Octree()
114 while( nLeafCount > nMax ) in AddColor()
137 while( nLeafCount > nMax ) in ImplCreateOctree()
156 while( nLeafCount > nMax ) in ImplCreateOctree()
358 void InverseColorMap::ImplCreateBuffers( const sal_uLong nMax ) in ImplCreateBuffers() argument
360 const sal_uLong nCount = nMax * nMax * nMax; in ImplCreateBuffers()
/aoo4110/main/tools/inc/tools/
H A Dgen.hxx37 inline long MinMax( long nVal, long nMin, long nMax );
45 inline long MinMax( long nVal, long nMin, long nMax ) in MinMax() argument
47 return( nVal >= nMin ? ( nVal <= nMax ? nVal : nMax ) : nMin ); in MinMax()
280 Range( long nMin, long nMax );
298 inline Range::Range( long nMin, long nMax ) : Pair( nMin, nMax ) in Range() argument
329 Selection( long nMin, long nMax );
347 void setMax(long nMax) { Max() = nMax; } in setMax() argument
358 inline Selection::Selection( long nMin, long nMax ) : in Selection() argument
359 Pair( nMin, nMax ) in Selection()
/aoo4110/main/cui/source/dialogs/
H A Dzoom.cxx139 void SvxZoomDialog::SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) in SetLimits() argument
141 DBG_ASSERT( nMin < nMax, "invalid limits" ); in SetLimits()
144 aUserEdit.SetMax( nMax ); in SetLimits()
145 aUserEdit.SetLast( nMax ); in SetLimits()
206 sal_uInt16 nMax = 1000; in SvxZoomDialog() local
221 if ( nMax < nValue ) in SvxZoomDialog()
222 nMax = nValue; in SvxZoomDialog()
225 aUserEdit.SetMax( nMax ); in SvxZoomDialog()
226 aUserEdit.SetLast( nMax ); in SvxZoomDialog()
/aoo4110/main/idl/source/cmptools/
H A Dhash.cxx56 nMax = nMaxEntries; // set max entries in SvHashTable()
72 printf( "Maximum: %ld, F�llung: %ld\n", (sal_uLong)nMax, (sal_uLong)nFill ); in ~SvHashTable()
97 nIndex = nHash % nMax; in Test_Insert()
103 while( (nMax != nLoop) && IsEntry( nIndex ) ) in Test_Insert()
113 nIndex = (sal_uInt16)(nIndex + nHash + 7) % nMax; in Test_Insert()
118 DBG_ASSERT( nMax != nLoop, "Hash table full" ); in Test_Insert()
119 if( nMax != nLoop ) in Test_Insert()
/aoo4110/main/sw/source/core/text/
H A Dfrmpaint.cxx110 void PaintExtra( SwTwips nY, long nAsc, long nMax, sal_Bool bRed );
111 void PaintRedline( SwTwips nY, long nMax );
222 sal_Bool bTooBig = pFnt->GetSize( pFnt->GetActual() ).Height() > nMax && in PaintExtra()
223 pFnt->GetHeight( pSh, *pSh->GetOut() ) > nMax; in PaintExtra()
228 if( nMax >= 20 ) in PaintExtra()
230 nMax *= 17; in PaintExtra()
231 nMax /= 20; in PaintExtra()
233 pTmpFnt->SetSize( Size( 0, nMax ), pTmpFnt->GetActual() ); in PaintExtra()
269 PaintRedline( nY, nMax ); in PaintExtra()
273 void SwExtraPainter::PaintRedline( SwTwips nY, long nMax ) in PaintRedline() argument
[all …]
/aoo4110/main/toolkit/workben/layout/
H A Dzoom.cxx234 void SvxZoomDialog::SetLimits( USHORT nMin, USHORT nMax ) in SetLimits() argument
236 DBG_ASSERT( nMin < nMax, "invalid limits" ); in SetLimits()
239 aUserEdit.SetMax( nMax ); in SetLimits()
240 aUserEdit.SetLast( nMax ); in SetLimits()
314 USHORT nMax = 1000; in SvxZoomDialog() local
330 if ( nMax < nValue ) in SvxZoomDialog()
331 nMax = nValue; in SvxZoomDialog()
335 aUserEdit.SetMax( nMax ); in SvxZoomDialog()
336 aUserEdit.SetLast( nMax ); in SvxZoomDialog()
/aoo4110/main/chart2/source/tools/
H A DMeanValueRegressionCurveCalculator.cxx56 sal_Int32 nMax = nDataLength; in recalculateRegression() local
64 --nMax; in recalculateRegression()
71 if( nMax == 0 ) in recalculateRegression()
77 m_fMeanValue = fSumY / static_cast< double >( nMax ); in recalculateRegression()
80 if( nMax > 1 ) in recalculateRegression()
93 m_fCorrelationCoeffitient = sqrt( fErrorSum / (nMax - 1 )); in recalculateRegression()
/aoo4110/main/sfx2/source/bastyp/
H A Dbitset.cxx145 sal_uInt16 nMax = 0; in BitSet() local
147 if ( pArray[n] > nMax ) in BitSet()
148 nMax = pArray[n]; in BitSet()
151 if ( nMax > 0 ) in BitSet()
154 nBlocks = nMax / 32 + 1; in BitSet()
265 sal_uInt16 nMax = Min(nBlocks, rSet.nBlocks); in operator |=() local
283 for ( sal_uInt16 nBlock = 0; nBlock < nMax; ++nBlock ) in operator |=()
H A Dprogress.cxx80 sal_uIntPtr nMax; member
182 pImp->nMax = nRange; in SfxProgress()
272 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in SetText()
371 if ( nNewRange && nNewRange != pImp->nMax ) in SetState()
374 pImp->nMax, nNewRange ) ); in SetState()
375 pImp->nMax = nNewRange; in SetState()
425 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in SetState()
457 pImp->xStatusInd->start( pImp->aText, pImp->nMax ); in Resume()
/aoo4110/main/slideshow/source/engine/
H A Dcolor.cxx58 const double nMax( ::std::max(nRed,::std::max(nGreen, nBlue)) ); in rgb2hsl() local
61 const double nDelta( nMax - nMin ); in rgb2hsl()
63 aRes.mnLuminance = (nMax + nMin) / 2.0; in rgb2hsl()
75 nDelta/(2.0-nMax-nMin) : in rgb2hsl()
76 nDelta/(nMax + nMin); in rgb2hsl()
78 if( nRed == nMax ) in rgb2hsl()
80 else if( nGreen == nMax ) in rgb2hsl()
82 else if( nBlue == nMax ) in rgb2hsl()
/aoo4110/main/sw/source/core/bastyp/
H A Dtabcol.cxx61 aEntry1.nMax == aEntry2.nMax && in SwTabCols()
105 void SwTabCols::Insert( long nValue, long nMin, long nMax, sal_Bool bValue, sal_uInt16 nPos ) in Insert() argument
110 aEntry.nMax = nMax; in Insert()
120 aEntry.nMax = LONG_MAX; in Insert()
/aoo4110/main/io/test/stm/
H A Dmarktest.cxx223 int nMax = 10,i; in testSimple() local
225 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
233 nMax = 3000; in testSimple()
234 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
238 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
247 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
253 ERROR_ASSERT( nMax*seqWrite.getLength() == rMarkable->offsetToMark( nMark ) , in testSimple()
257 …ERROR_ASSERT( nMax*seqWrite.getLength() == rInput->available(),"bytes are not available though mar… in testSimple()
259 rInput->skipBytes( nMax*seqWrite.getLength() ); in testSimple()
/aoo4110/main/extensions/test/stm/
H A Dmarktest.cxx224 int nMax = 10,i; in testSimple() local
226 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
234 nMax = 3000; in testSimple()
235 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
239 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
248 for( i = 0 ; i < nMax ; i ++ ) { in testSimple()
254 ERROR_ASSERT( nMax*seqWrite.getLen() == rMarkable->offsetToMark( nMark ) , in testSimple()
258 …ERROR_ASSERT( nMax*seqWrite.getLen() == rInput->available(),"bytes are not available though mark h… in testSimple()
260 rInput->skipBytes( nMax*seqWrite.getLen() ); in testSimple()
/aoo4110/main/svx/source/svdraw/
H A Dsvdibrow.cxx97 sal_Int32 nMax; member in ImpItemListRow
111 nMax(0), in ImpItemListRow()
167 && nMax==rEntry.nMax); in operator ==()
536 aNeuNam += UniString::CreateFromInt32(pEntry->nMax); in BegChangeEntry()
992 aEntry.nMax=0x7FFFFFFF; in SetAttributes()
993 aEntry.nMin=-aEntry.nMax; in SetAttributes()
1015 …rue; aEntry.nVal=((SfxByteItem &)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax=255; break; in SetAttributes()
1016 …rue; aEntry.nVal=((SfxInt16Item &)rItem).GetValue(); aEntry.nMin=-32767; aEntry.nMax=32767; break; in SetAttributes()
1017 …rue; aEntry.nVal=((SfxUInt16Item&)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax=65535; break; in SetAttributes()
1021 …True; aEntry.nVal=((SfxBoolItem &)rItem).GetValue(); aEntry.nMin=0; aEntry.nMax=1; break; in SetAttributes()
[all …]

Completed in 299 milliseconds

1234567891011