Lines Matching refs:n
321 for( sal_uInt16 n = nYear1 ; n <= nYear2 ; n++ ) in GetDaysInYears() local
323 if( IsLeapYear( n ) ) in GetDaysInYears()
342 sal_Int32 n = nEndDate; in GetDiffParam() local
344 nStartDate = n; in GetDiffParam()
416 sal_Int32 n = nEndDate; in GetDiffDate() local
418 nStartDate = n; in GetDiffDate()
527 double Fak( sal_Int32 n ) in Fak() argument
529 if( n > 0 ) in Fak()
531 double fRet = n; in Fak()
532 double f = n - 1; in Fak()
542 else if( !n ) in Fak()
584 sal_uInt16 n; in ConvertToDec() local
587 n = *p - '0'; in ConvertToDec()
589 n = 10 + ( *p - 'A' ); in ConvertToDec()
591 n = 10 + ( *p - 'a' ); in ConvertToDec()
593 n = nBase; in ConvertToDec()
595 if( n < nBase ) in ConvertToDec()
600 nFirstDig = n; in ConvertToDec()
602 fVal = fVal * fBase + double( n ); in ConvertToDec()
916 for( sal_uInt32 n = 0 ; n < nPer ; n++ ) in GetAmordegrc() local
923 switch( nPer - n ) in GetAmordegrc()
1463 void MyList::Insert( void* p, sal_uInt32 n ) in Insert() argument
1465 if( n >= nNew ) in Insert()
1471 void** pIns = pData + n; in Insert()
1472 memmove( pIns + 1, pIns, ( nNew - n ) * sizeof( void* ) ); in Insert()
1523 sal_uInt16 n; in FuncData() local
1525 for( n = 0 ; n < nCount ; n++ ) in FuncData()
1526 aCompList.Append( rArr.GetString( n ) ); in FuncData()
1553 for( sal_uInt16 n = 0 ; n < nNum ; n++ ) in FuncDataList() local
1554 Append( new FuncData( pFuncDatas[ n ], rResMgr ) ); in FuncDataList()
1573 for( sal_uInt32 n = 0 ; n < nE ; n++ ) in Get() local
1575 const FuncData* p = Get( n ); in Get()
1578 ( ( FuncDataList* ) this )->nLast = n; in Get()
1653 for( sal_uInt32 n = 0 ; n < nE ; n++ ) in Find() local
1655 sal_Int32 nRef = Get( n ); in Find()
2332 for( sal_Int32 n = 0 ; n < nE ; n++ ) in Append() local
2333 Append( pArr[ n ], eAH ); in Append()
2383 sal_Int16 n; in GetMatchingLevel() local
2386 case 'y': n = -24; break; // yocto in GetMatchingLevel()
2387 case 'z': n = -21; break; // zepto in GetMatchingLevel()
2388 case 'a': n = -18; break; in GetMatchingLevel()
2389 case 'f': n = -15; break; in GetMatchingLevel()
2390 case 'p': n = -12; break; in GetMatchingLevel()
2391 case 'n': n = -9; break; in GetMatchingLevel()
2392 case 'u': n = -6; break; in GetMatchingLevel()
2393 case 'm': n = -3; break; in GetMatchingLevel()
2394 case 'c': n = -2; break; in GetMatchingLevel()
2398 n = -1; // deci in GetMatchingLevel()
2400 n = 1; // deca in GetMatchingLevel()
2403 case 'e': n = 1; break; in GetMatchingLevel()
2404 case 'h': n = 2; break; in GetMatchingLevel()
2405 case 'k': n = 3; break; in GetMatchingLevel()
2406 case 'M': n = 6; break; in GetMatchingLevel()
2407 case 'G': n = 9; break; in GetMatchingLevel()
2408 case 'T': n = 12; break; in GetMatchingLevel()
2409 case 'P': n = 15; break; in GetMatchingLevel()
2410 case 'E': n = 18; break; in GetMatchingLevel()
2411 case 'Z': n = 21; break; // zetta in GetMatchingLevel()
2412 case 'Y': n = 24; break; // yotta in GetMatchingLevel()
2414 n = INV_MATCHLEV; in GetMatchingLevel()
2419 if (n < 0 && Class() == CDC_Information) in GetMatchingLevel()
2420 n = INV_MATCHLEV; // milli-bits doesn't make sense in GetMatchingLevel()
2424 if( n != INV_MATCHLEV ) in GetMatchingLevel()
2428 n *= 2; in GetMatchingLevel()
2430 n *= 3; in GetMatchingLevel()
2434 return n; in GetMatchingLevel()
2441 sal_Int16 n; in GetMatchingLevel() local
2444 case 'k': n = 10; break; in GetMatchingLevel()
2445 case 'M': n = 20; break; in GetMatchingLevel()
2446 case 'G': n = 30; break; in GetMatchingLevel()
2447 case 'T': n = 40; break; in GetMatchingLevel()
2448 case 'P': n = 50; break; in GetMatchingLevel()
2449 case 'E': n = 60; break; in GetMatchingLevel()
2450 case 'Z': n = 70; break; in GetMatchingLevel()
2451 case 'Y': n = 80; break; in GetMatchingLevel()
2453 n = INV_MATCHLEV; in GetMatchingLevel()
2455 return n; in GetMatchingLevel()
2499 double ConvertData::ConvertToBase( double f, sal_Int16 n ) const in ConvertToBase()
2501 return ::rtl::math::pow10Exp( f / fConst, n ); in ConvertToBase()
2505 double ConvertData::ConvertFromBase( double f, sal_Int16 n ) const in ConvertFromBase()
2507 return ::rtl::math::pow10Exp( f * fConst, -n ); in ConvertFromBase()
2527 double ConvertDataLinear::ConvertToBase( double f, sal_Int16 n ) const in ConvertToBase()
2529 if( n ) in ConvertToBase()
2530 f = ::rtl::math::pow10Exp( f, n ); in ConvertToBase()
2539 double ConvertDataLinear::ConvertFromBase( double f, sal_Int16 n ) const in ConvertFromBase()
2544 if( n ) in ConvertFromBase()
2545 f = ::rtl::math::pow10Exp( f, -n ); in ConvertFromBase()
2761 sal_Int16 n = p->GetMatchingLevel( rFrom ); in Convert() local
2762 if( n != INV_MATCHLEV ) in Convert()
2764 if( n ) in Convert()
2767 nLevelFrom = n; in Convert()
2773 nLevelFrom = n; in Convert()
2780 sal_Int16 n = p->GetMatchingLevel( rTo ); in Convert() local
2781 if( n != INV_MATCHLEV ) in Convert()
2783 if( n ) in Convert()
2786 nLevelTo = n; in Convert()
2792 nLevelTo = n; in Convert()