Searched refs:difference (Results 1 - 8 of 8) sorted by relevance

/haiku/src/tests/kits/locale/
H A DCollatorTest.cpp57 int difference = collator.Compare(tests[i].first, tests[i].second); local
58 CPPUNIT_ASSERT_EQUAL(tests[i].sign[strength - 1], difference);
62 if (difference == 0)
65 CPPUNIT_ASSERT(keydiff * difference > 0);
/haiku/src/system/kernel/scheduler/
H A Dlow_latency.cpp100 int32 difference = coreLoad - otherLoad - kLoadDifference;
101 ASSERT(difference > 0);
104 return difference >= threadLoad ? other : core;
/haiku/src/kits/network/libnetservices/
H A DNetworkCookie.cpp481 int32 difference = domain.Length() - cookieDomain.Length(); local
484 if (difference < 0)
495 const char* suffix = domain.String() + difference;
496 return (strcmp(suffix, cookieDomain.String()) == 0 && (difference == 0
497 || domain[difference - 1] == '.'));
534 int32 difference = domain.Length() - cookieDomain.Length(); local
535 if (difference < 0) {
537 const char* suffix = cookieDomain.String() + difference;
538 return (strcmp(suffix, domain.String()) == 0 && (difference == 0
539 || cookieDomain[difference
[all...]
/haiku/src/kits/support/
H A DJobQueue.cpp39 int32 difference = left->CountDependencies() - right->CountDependencies(); local
40 if (difference < 0)
42 if (difference > 0)
H A DString.cpp1585 int32 difference = withThisLength - replaceThisLength; local
1587 if (difference > 0) {
1588 if (!_OpenAtBy(pos, difference))
1590 } else if (difference < 0) {
1591 if (!_ShrinkAtBy(pos, -difference))
1737 int32 difference = withThisLength - replaceThisLength; local
1739 if (difference > 0) {
1740 if (!_OpenAtBy(pos, difference))
1742 } else if (difference < 0) {
1743 if (!_ShrinkAtBy(pos, -difference))
[all...]
/haiku/src/apps/deskbar/
H A DTimeView.cpp479 float difference = timeWidth - fMaxWidth; local
480 fDateLocation.x -= difference;
481 fTimeLocation.x -= difference;
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp1022 float difference = 0.0; local
1026 difference = point.y - visibleRect.top;
1028 difference = point.y - visibleRect.bottom;
1029 if (difference != 0.0) {
1030 factor = (int)(ceilf(difference / fLineHeight));
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp1816 float difference = 0.0; local
1820 difference = point.y - visibleRect.top;
1822 difference = point.y - visibleRect.bottom;
1823 if (difference != 0.0) {
1824 factor = (int)(ceilf(difference / fFontInfo->lineHeight));
1827 difference = 0.0;
1829 difference = point.x - visibleRect.left;
1831 difference = point.x - visibleRect.right;
1832 if (difference != 0.0) {
1833 factor = (int)(ceilf(difference / fCharacterWidt
[all...]

Completed in 108 milliseconds