/haiku/headers/os/drivers/ |
H A D | cpufreq.h | 26 status_t (*cpufreq_increase_performance)(int delta); 27 status_t (*cpufreq_decrease_performance)(int delta);
|
/haiku/src/servers/app/decorator/ |
H A D | WindowBehaviour.cpp | 33 WindowBehaviour::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
|
H A D | MagneticBorder.cpp | 28 MagneticBorder::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument 35 return AlterDeltaForSnap(window->Screen(), frame, delta, now); 41 BPoint& delta, bigtime_t now) 43 // Alter the delta (which is a proposed offset used while dragging a 60 frame.OffsetBy(delta); 71 delta.x = screenFrame.left - originalFrame.left; 73 delta.x = screenFrame.right - originalFrame.right; 79 delta.y = screenFrame.top - originalFrame.top; 81 delta.y = screenFrame.bottom - originalFrame.bottom; 40 AlterDeltaForSnap(const Screen* screen, BRect& frame, BPoint& delta, bigtime_t now) argument
|
H A D | MagneticBorder.h | 24 bool AlterDeltaForSnap(Window* window, BPoint& delta, 27 BRect& frame, BPoint& delta, bigtime_t now);
|
H A D | DefaultWindowBehaviour.cpp | 162 BPoint delta = where - fLastMousePosition; local 163 // NOTE: "delta" is later used to change fLastMousePosition. 164 // If for some reason no change should take effect, delta 174 fMouseMoveDistance += delta.x * delta.x + delta.y * delta.y; 179 delta = B_ORIGIN; 182 // perform the action (this also updates the delta) 183 MouseMovedAction(delta, no 189 MouseMovedAction(BPoint& delta, bigtime_t now) argument 237 MouseMovedAction(BPoint& delta, bigtime_t now) argument 279 MouseMovedAction(BPoint& delta, bigtime_t now) argument 319 MouseMovedAction(BPoint& delta, bigtime_t now) argument 458 MouseMovedAction(BPoint& delta, bigtime_t now) argument 1005 AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument [all...] |
/haiku/src/kits/shared/ |
H A D | ShakeTrackingFilter.cpp | 74 BPoint delta = fLowPass.Output(); local 77 float norm = delta.x * delta.x + delta.y * delta.y; 79 delta.x /= norm; 80 delta.y /= norm; 89 float dot = delta.x * fLastDelta.x + delta.y * fLastDelta.y;
|
H A D | DragTrackingFilter.cpp | 66 BPoint delta(fClickPoint - where); 67 float squaredDelta = (delta.x * delta.x) + (delta.y * delta.y);
|
H A D | LongAndDragTrackingFilter.cpp | 113 BPoint delta(fClickPoint - where); 114 float squaredDelta = (delta.x * delta.x) + (delta.y * delta.y);
|
/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.cpp | 115 float radius, x0, y0, x, y, dist, delta; local 141 delta = radius - dist + 0.5; 142 if (delta >= 1.0) { 147 else if (delta > 0.5) { 148 *color_offset++ = (uint8)(7.499 - 16.0 * (1.0 - delta) * (1.0 - delta) + ROUNDING); 152 else if (delta > 0) { 153 color = (uint8)(16.0 * delta * delta); 169 delta 271 int32 delta; local [all...] |
/haiku/src/tests/kits/interface/bfont/ |
H A D | GetBoundingBoxesTest.cpp | 25 escapement_delta delta = { 0.0, 0.0 }; local 26 font->GetBoundingBoxesAsString(string, numChars, B_SCREEN_METRIC, &delta, rectArray); 41 escapement_delta delta = { 0.0, 0.0 }; local 42 font->GetBoundingBoxesForStrings(stringArray, numStrings, B_SCREEN_METRIC, &delta, rectArray);
|
/haiku/src/tools/cppunit/cppunit/ |
H A D | TestAssert.cpp | 45 double delta, 49 if (fabs (expected - actual) > delta) 61 double delta, 64 Asserter::failNotEqualIf( fabs( expected - actual ) > delta, 43 assertEquals( double expected, double actual, double delta, long lineNumber, string fileName ) argument
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Spark.h | 43 float delta[3]; member in struct:Spark
|
H A D | Smoke.h | 56 floatToVector delta[3]; member in struct:SmokeParticleV
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_time.c | 40 struct timeval tv, delta; local 44 delta = tv; 45 timevalsub(&delta, lasttime); 51 if (timevalcmp(&delta, mininterval, >=) ||
|
/haiku/headers/private/interface/ |
H A D | TextViewSupportBuffer.h | 68 int32 delta = inNumItems * sizeof(T); local 70 if ((logSize + delta) >= fBufferCount) { 71 fBufferCount = logSize + delta + (fExtraCount * sizeof(T)); 80 memcpy((void*)loc, (void*)inItem, delta); 101 int32 delta = inNumItems * sizeof(T); local 103 uint32 extraSize = fBufferCount - (logSize - delta); 105 fBufferCount = (logSize - delta) + (fExtraCount * sizeof(T));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9287_olc.c | 70 int32_t delta, currPDADC, slope; local 91 delta = 0; 93 delta = ((currPDADC - AH5416(ah)->initPDADC)*4) / slope; 96 AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta); 98 AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP, delta); 100 HALDEBUG(ah, HAL_DEBUG_PERCAL, "%s: delta=%d\n", __func__, delta);
|
/haiku/headers/libs/agg/ |
H A D | agg_rasterizer_cells_aa.h | 220 int delta, p, first, dx; local 233 delta = y2 - y1; 234 m_curr_cell.cover += delta; 235 m_curr_cell.area += (fx1 + fx2) * delta; 255 delta = p / dx; 260 delta--; 264 m_curr_cell.cover += delta; 265 m_curr_cell.area += (fx1 + first) * delta; 269 y1 += delta; 273 p = poly_subpixel_scale * (y2 - y1 + delta); 339 int p, rem, mod, lift, delta, first, incr; local [all...] |
H A D | agg_span_interpolator_persp.h | 115 const double delta = 1/double(subpixel_scale); local 116 dx = xt + delta; 123 dy = yt + delta; 134 dx = xt + delta; 141 dy = yt + delta; 164 const double delta = 1/double(subpixel_scale); local 169 dx = xt + delta; 178 dy = yt + delta; 328 const double delta = 1/double(subpixel_scale); local 331 dx = xt + delta; 394 const double delta = 1/double(subpixel_scale); local [all...] |
/haiku/headers/private/shared/ |
H A D | Array.h | 55 bool _Resize(int32 index, int32 delta); 246 Array<Element>::_Resize(int32 index, int32 delta) argument 249 int32 newSize = fSize + delta; 257 if (delta > 0) { 258 // leave a gap of delta elements 259 memmove(fElements + index + delta, fElements + index, 261 } else if (index < fSize + delta) { 262 // drop -delta elements 263 memcpy(fElements + index, fElements + index - delta, 264 (fSize - index + delta) * sizeo [all...] |
/haiku/src/kits/interface/textview_support/ |
H A D | LineBuffer.h | 39 void BumpOrigin(float delta, int32 index); 40 void BumpOffset(int32 delta, int32 index);
|
H A D | LineBuffer.cpp | 97 BTextView::LineBuffer::BumpOrigin(float delta, int32 index) argument 100 fBuffer[i].origin += delta; 105 BTextView::LineBuffer::BumpOffset(int32 delta, int32 index) argument 108 fBuffer[i].offset += delta;
|
/haiku/src/libs/libfdt/ |
H A D | fdt_overlay.c | 107 * @delta: offset to apply 117 const char *name, uint32_t delta) 131 if ((adj_val + delta) < adj_val) 134 adj_val += delta; 145 * @delta: Offset to shift the phandles of 157 uint32_t delta) 162 ret = overlay_phandle_add_offset(fdto, node, "phandle", delta); 166 ret = overlay_phandle_add_offset(fdto, node, "linux,phandle", delta); 171 ret = overlay_adjust_node_phandles(fdto, child, delta); 182 * @delta 116 overlay_phandle_add_offset(void *fdt, int node, const char *name, uint32_t delta) argument 156 overlay_adjust_node_phandles(void *fdto, int node, uint32_t delta) argument 193 overlay_adjust_local_phandles(void *fdto, uint32_t delta) argument 220 overlay_update_local_node_references(void *fdto, int tree_node, int fixup_node, uint32_t delta) argument 325 overlay_update_local_references(void *fdto, uint32_t delta) argument 832 uint32_t delta; local [all...] |
/haiku/src/add-ons/screen_savers/icons/ |
H A D | IconDisplay.h | 35 void DrawOn(BView* view, uint32 delta);
|
/haiku/src/kits/locale/ |
H A D | RelativeDateTimeFormat.cpp | 136 int delta = 0; local 141 delta = fCalendar->fieldDifference(UTimeValue, 147 if (abs(delta) >= offset) { 157 fFormatter->formatNumeric(delta, unit, unicodeResult, icuStatus);
|
/haiku/src/libs/print/libprint/ |
H A D | HalftoneView.cpp | 35 const int delta = height / 4; local 36 const float red_bottom = delta - 1; 37 const float green_bottom = red_bottom + delta; 38 const float blue_bottom = green_bottom + delta; 141 const int delta = height / 4; local 143 const float green_top = delta; 144 const float blue_top = green_top + delta; 145 const float gray_top = r.bottom - delta;
|