Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 161) sorted by relevance

1234567

/trunk/main/stoc/source/uriproc/
H A DUriReferenceFactory.cxx469 abs->clearFragment(); in makeAbsolute()
471 return abs; in makeAbsolute()
474 abs.append(static_cast< sal_Unicode >(':')); in makeAbsolute()
477 abs.append(uriReference->getAuthority()); in makeAbsolute()
507 abs.append(segment); in makeAbsolute()
517 abs.append(segment); in makeAbsolute()
550 abs.append(uriReference->getPath()); in makeAbsolute()
553 abs.append(static_cast< sal_Unicode >('?')); in makeAbsolute()
554 abs.append(uriReference->getQuery()); in makeAbsolute()
558 abs.append(uriReference->getFragment()); in makeAbsolute()
[all …]
/trunk/main/sw/source/ui/sidebar/
H A DPageMarginControl.cxx273 abs(mnPageRightMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
274 abs(mnPageTopMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
275 abs(mnPageBottomMargin - SWPAGE_NARROW_VALUE) <= cTolerance && in SelectValueSetItem()
281 abs(mnPageRightMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
282 abs(mnPageTopMargin - SWPAGE_NORMAL_VALUE) <= cTolerance && in SelectValueSetItem()
289 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE2) <= cTolerance && in SelectValueSetItem()
290 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
291 abs(mnPageBottomMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
297 abs(mnPageRightMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
298 abs(mnPageTopMargin - SWPAGE_WIDE_VALUE1) <= cTolerance && in SelectValueSetItem()
[all …]
H A DPagePropertyPanel.cxx685 abs(mpPageLRMarginItem->GetRight() - SWPAGE_NARROW_VALUE) <= cTolerance && in ChangeMarginImage()
686 abs(mpPageULMarginItem->GetUpper() - SWPAGE_NARROW_VALUE) <= cTolerance && in ChangeMarginImage()
687 abs(mpPageULMarginItem->GetLower() - SWPAGE_NARROW_VALUE) <= cTolerance && in ChangeMarginImage()
692 abs(mpPageLRMarginItem->GetRight() - SWPAGE_NORMAL_VALUE) <= cTolerance && in ChangeMarginImage()
693 abs(mpPageULMarginItem->GetUpper() - SWPAGE_NORMAL_VALUE) <= cTolerance && in ChangeMarginImage()
699 abs(mpPageLRMarginItem->GetRight() - SWPAGE_WIDE_VALUE2) <= cTolerance && in ChangeMarginImage()
700 abs(mpPageULMarginItem->GetUpper() - SWPAGE_WIDE_VALUE1) <= cTolerance && in ChangeMarginImage()
701 abs(mpPageULMarginItem->GetLower() - SWPAGE_WIDE_VALUE1) <= cTolerance && in ChangeMarginImage()
706 abs(mpPageLRMarginItem->GetRight() - SWPAGE_WIDE_VALUE1) <= cTolerance && in ChangeMarginImage()
707 abs(mpPageULMarginItem->GetUpper() - SWPAGE_WIDE_VALUE1) <= cTolerance && in ChangeMarginImage()
[all …]
/trunk/main/vigra/
H A Dvigra1.6.0.patch615 -using VIGRA_CSTD::abs;
627 -using VIGRA_CSTD::abs;
755 // import abs(float), abs(double), abs(long double) from <cmath>
756 // and abs(int), abs(long), abs(long long) from <cstdlib>
757 -using std::abs;
758 +//using std::abs;
778 + inline T abs(T t) { return (T)abs(t); }
1088 #include <cstdlib> // abs(int)
1094 -using VIGRA_CSTD::abs;
1432 #include <cstdlib> // abs(int)
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/accessibility/
H A D_XAccessibleValue.java159 result &= Math.abs(newVal - resVal) < 0.00001; in _setCurrentValue()
166 result &= Math.abs(minVal - resVal) < 0.00001; in _setCurrentValue()
167 log.println("\t works: "+(Math.abs(minVal - resVal) < 0.00001)); in _setCurrentValue()
173 partResult = Math.abs(maxVal - resVal) < 0.00001; in _setCurrentValue()
191 result &= Math.abs(minVal - resVal) < 0.00001; in _setCurrentValue()
192 log.println("\t works: "+(Math.abs(minVal - resVal) < 0.00001)); in _setCurrentValue()
198 partResult = Math.abs(maxVal - resVal) < 0.00001; in _setCurrentValue()
/trunk/main/desktop/source/pkgchk/unopkg/
H A Dunopkg_misc.cxx232 OUString abs; in makeAbsoluteFileUrl() local
234 base_url.pData, file_url.pData, &abs.pData ) != osl_File_E_None) in makeAbsoluteFileUrl()
250 return abs[ abs.getLength() -1 ] == '/' in makeAbsoluteFileUrl()
251 ? abs.copy( 0, abs.getLength() -1 ) : abs; in makeAbsoluteFileUrl()
/trunk/main/sal/osl/all/
H A Dloadmodulerelative.cxx52 ::rtl::OUString abs; in osl_loadModuleRelative()
54 abs = ::rtl::Uri::convertRelToAbs(base, relativePath); in osl_loadModuleRelative()
64 return ::osl_loadModule(abs.pData, mode); in osl_loadModuleRelative()
/trunk/main/vcl/aqua/source/gdi/
H A Dsalmathutils.cxx125 nMax = (unsigned long)abs( nDX ); in Euclidian2Norm()
126 nMed = (unsigned long)abs( nDY ); in Euclidian2Norm()
127 nMin = (unsigned long)abs( nDZ ); in Euclidian2Norm()
/trunk/main/reportdesign/source/ui/inc/
H A DViewsWindow.hxx75 … return abs(m_aRefPoint.X() - lhs.Center().X()) < abs(m_aRefPoint.X() - rhs.Center().X()); in operator ()()
77 … return abs(lhs.Center().Y() - m_aRefPoint.Y()) < abs(rhs.Center().Y() - m_aRefPoint.Y()); in operator ()()
/trunk/main/writerfilter/source/resourcemodel/
H A DFraction.cxx70 return abs(a * b) / gcd(abs(a), abs(b)); in lcm()
/trunk/main/embedserv/source/embed/
H A Dtracker.cxx501 int nAbsWidth = m_bAllowInvert ? abs(nNewWidth) : nNewWidth; in AdjustRect()
513 int nAbsHeight = m_bAllowInvert ? abs(nNewHeight) : nNewHeight; in AdjustRect()
702 int sizeMax = min(abs(lpRect->right - lpRect->left), in GetHandleSize()
703 abs(lpRect->bottom - lpRect->top)); in GetHandleSize()
715 if (abs(m_rect.right - m_rect.left) - size > 4) in GetHandleMask()
717 if (abs(m_rect.bottom - m_rect.top) - size > 4) in GetHandleMask()
/trunk/main/chart2/source/view/diagram/
H A DVDiagram.cxx777 aNewPos.X += abs(nDiffLeft); in adjustInnerSize()
778 else if( nDiffRight > abs(nDeltaWidth) ) in adjustInnerSize()
781 aNewPos.X += abs(nDeltaWidth); in adjustInnerSize()
791 aNewPos.Y += abs(nDiffUp); in adjustInnerSize()
792 else if( nDiffDown > abs(nDeltaHeight) ) in adjustInnerSize()
795 aNewPos.Y += abs(nDeltaHeight); in adjustInnerSize()
/trunk/main/basebmp/inc/basebmp/
H A Dcolor.hxx69 Color operator-( Color col ) const { return Color((sal_uInt8)abs((int)getRed()-col.getRed()), in operator -()
70 … (sal_uInt8)abs((int)getGreen()-col.getGreen()), in operator -()
71 … (sal_uInt8)abs((int)getBlue()-col.getBlue())); } in operator -()
/trunk/main/svtools/source/filter/
H A Dsgvspln.cxx138 #define abs(X) ((X) >= 0 ? (X) : -(X)) /* Absolutbetrag von X */ macro
139 #define sign(X, Y) (Y < 0 ? -abs(X) : abs(X)) /* Vorzeichen von */
673 if (abs(Marg01)>=MAXROOT) { in ParaSpline()
680 if (abs(MargN1)>=MAXROOT) { in ParaSpline()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/
H A DBorderRemover.java105 if (Math.abs(red1 - red2) < nTolerable) in compareColorWithTolerance()
107 if (Math.abs(green1 - green2) < nTolerable) in compareColorWithTolerance()
109 if (Math.abs(blue1 - blue2) < nTolerable) in compareColorWithTolerance()
/trunk/main/fpicker/source/win32/filepicker/
H A Ddibpreview.cxx264 cyDib = abs (pbmi->bmiHeader.biHeight); in onPaint()
271 int nX = abs(nWidth - cxDib) / 2; in onPaint()
272 int nY = abs(nHeight - cyDib) / 2; in onPaint()
/trunk/main/chart2/source/view/charttypes/
H A DSplines.cxx468 fDiffMax = (abs(dx)>abs(dy)) ? abs(dx) : abs(dy); in createParameterT()
/trunk/main/cli_ure/source/climaker/
H A Dclimaker_app.cxx238 OUString abs; in path_make_absolute_file_url() local
240 path_get_working_dir().pData, file_url.pData, &abs.pData ); in path_make_absolute_file_url()
243 return abs; in path_make_absolute_file_url()
/trunk/main/sd/source/ui/slidesorter/controller/
H A DSlsVisibleAreaManager.cxx279 if (abs(aStart.X()-aEnd.X()) > gnMaxScrollDistance) in VisibleAreaScroller()
286 if (abs(aStart.Y()-aEnd.Y()) > gnMaxScrollDistance) in VisibleAreaScroller()
/trunk/main/i18npool/source/calendar/
H A Dcalendar_gregorian.cxx83 nMillis = ::std::abs(nMillis); in debug_cal_millis_to_time()
485 sal_uInt16 nMillis = static_cast<sal_uInt16>( abs( nValue - nTrunc * 60000)); in lcl_setCombinedOffsetFieldValues()
724 abs( value - nMinutes * 60000))); in getValue()
732 abs( value - nMinutes * 60000))); in getValue()
H A Dcalendar_hijri.cxx89 fieldSetValue[CalendarFieldIndex::YEAR] = (sal_Int16) abs(year); in mapToGregorian()
110 fieldValue[CalendarFieldIndex::YEAR] = (sal_Int16) abs(year); in mapFromGregorian()
/trunk/main/sal/qa/rtl/random/
H A Drtl_random.cxx188 m_nMinDeviation = std::min(m_nMinDeviation, abs(m_nAverage - m_nDispensation[i])); in build()
189 m_nMaxDeviation = std::max(m_nMaxDeviation, abs(m_nAverage - m_nDispensation[i])); in build()
/trunk/main/offapi/com/sun/star/ucb/
H A DPackageContentProvider.idl70 package-URL = "vnd.sun.star.pkg://" orig-URL [ abs-path ]
73 abs-path = "/" path-segments
/trunk/main/sal/osl/os2/
H A Dsystem.h88 #ifndef abs
89 #define abs(x) ((x) >= 0 ? (x) : -(x)) macro
/trunk/main/sal/qa/rtl_strings/
H A Drtl_String_Utils.cxx216 if ( abs( (int)(actNum - expNum) ) <= eps ) in AStringToFloatCompare()
244 if ( abs( (int)(actNum - expNum) ) <= eps ) in AStringToDoubleCompare()

Completed in 133 milliseconds

1234567