Searched refs:abs (Results 51 - 75 of 84) sorted by relevance

1234

/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DBTree.cpp202 if (length < 0 && abs(length) >= SpaceUsed())
477 if (abs(level) >= fTree->RootLevel())
489 to = abs(level);
/haiku/src/libs/x86emu/
H A Dprim_ops.c2349 if (abs(div) > 0x7f) {
2373 if (abs(div) > 0x7fff) {
2403 if (abs(div) > 0x7fffffff) {
2478 if (abs(div) > 0xff) {
2502 if (abs(div) > 0xffff) {
2532 if (abs(div) > 0xffffffff) {
/haiku/headers/libs/agg/
H A Dagg_scanline_storage_bin.h168 sp.len = (int32)abs((int)(span_iterator->len));
H A Dagg_scanline_storage_aa.h315 int len = abs(int(sp.len));
/haiku/src/servers/app/drawing/Painter/
H A Dagg_scanline_storage_subpix.h179 int len = abs(int(sp.len));
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9280_attach.c768 if ((abs(cur_vit_mask - bin)) < 75) {
774 mask_m[abs(cur_vit_mask / 100)] = mask_amt;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_attach.c778 if ((abs(cur_vit_mask - bin)) < 75) {
784 mask_m[abs(cur_vit_mask / 100)] = mask_amt;
/haiku/src/servers/app/
H A DServerFont.cpp1132 float minDelta = abs(face->available_sizes[0].size - pixelSize);
1137 float delta = abs(face->available_sizes[i].size - pixelSize);
/haiku/src/apps/terminal/
H A DTermViewStates.cpp523 } while (abs((int)(where.x - p.x)) < 4
524 && abs((int)(where.y - p.y)) < 4);
H A DTermView.cpp1509 i += abs(count);
1819 steps = abs((int)deltaY);
1824 steps = 3 * abs((int)deltaY);
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp148 #define abs(x) (((x)>0)?(x):-(x)) macro
1704 dist = (abs(dx) + abs(dy) + abs(dz))*factor[index];
1784 dx = (s->z-0.8 + 0.04 * (float)(fCrcAlea & 15)) * (2.0 - abs(s->y - 0.5)) * (0.025*0.5);
2644 if (abs(x0) > abs(y0)) {
/haiku/src/apps/magnify/
H A DMagnify.cpp1140 (int32)pt2.x, (int32)pt2.y, abs((int)(pt1.y - pt2.y)));
1153 (int32)pt1.x, (int32)pt1.y, abs((int)(pt1.x - pt2.x)));
2178 pixelCount = abs(atoi(argv[1]));
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstdlib.h743 extern int abs (int __x) __THROW __attribute__ ((__const__));
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dif_bwivar.h701 #define abs(a) __builtin_abs(a) macro
H A Dbwirf.c1063 d = abs(q - f);
1609 if (abs(lo.ctrl_lo) < 9 && abs(lo.ctrl_hi) < 9) {
/haiku/src/kits/shared/
H A DExpressionParser.cpp614 if (strcasecmp("abs", token.string.String()) == 0) {
616 return _ParseFactorial(values[0].abs());
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVCodecEncoder.cpp450 int currentDiff = abs(wantedBitRate - kBitRates[i]);
/haiku/src/preferences/filetypes/
H A DIconView.cpp904 && (abs((int32)(where.x - fDragPoint.x)) > 3
905 || abs((int32)(where.y - fDragPoint.y)) > 3)) {
/haiku/src/kits/interface/
H A DColumnListView.cpp2985 if (abs((int32)(position.x - (fClickPoint.x
2987 || abs((int32)(position.y - (fClickPoint.y
3987 if (abs((int)(position.x - fClickPoint.x)) > kRowDragSensitivity
3988 || abs((int)(position.y - fClickPoint.y))
4079 && abs((int)fClickPoint.x - (int)position.x)
4081 && abs((int)fClickPoint.y - (int)position.y)
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_scan_sta.c887 if (abs(weight) > 1)
900 if (abs(rssib - rssia) < 5) {
/haiku/src/apps/mediaplayer/
H A DController.cpp846 && abs(value - currentFrame) > 5) {
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp55 return abs(x - y) <= 1;
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2001 int32 nslots = abs(previousSlot - currentSlot);
2270 int32 nslots = abs(newIndex - oldIndex);
/haiku/src/apps/serialconnect/libvterm/src/
H A Dstate.c88 int height = rect.end_row - rect.start_row - abs(downward);
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_reset.c1109 if (abs(freq_offset) < range) {
5453 int32_t abs_i = abs(in_re);
5454 int32_t abs_q = abs(in_im);
5857 /* find average (exclude max abs value) */

Completed in 581 milliseconds

1234