Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 54) sorted by relevance

123

/haiku/src/build/libroot/
H A Dmisc.cpp48 snooze(bigtime_t amount) in snooze() argument
50 if (amount <= 0) in snooze()
53 int64 secs = amount / 1000000LL; in snooze()
54 int64 usecs = amount % 1000000LL; in snooze()
/haiku/src/kits/interface/
H A DGraphicsDefs.cpp54 mix_color(rgb_color color1, rgb_color color2, uint8 amount) in mix_color() argument
56 color1.red = (uint8)(((int16(color2.red) - int16(color1.red)) * amount) in mix_color()
59 * amount) / 255 + color1.green); in mix_color()
60 color1.blue = (uint8)(((int16(color2.blue) - int16(color1.blue)) * amount) in mix_color()
63 * amount) / 255 + color1.alpha ); in mix_color()
71 blend_color(rgb_color color1, rgb_color color2, uint8 amount) in blend_color() argument
74 - color1.alpha)) * amount) / 255 + (255 - color1.alpha)); in blend_color()
83 * amount) / 255 + color1.alpha); in blend_color()
/haiku/src/tools/fs_shell/
H A Dthread.cpp44 fssh_snooze(fssh_bigtime_t amount) in fssh_snooze() argument
46 return snooze(amount); in fssh_snooze()
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc271 int amount, buf_char *old_data) in adjust_markers() argument
276 amount <<= 1; in adjust_markers()
284 if (amount > 0) in adjust_markers()
286 if (mpos > high && mpos < high + amount) in adjust_markers()
287 mpos = high + amount; in adjust_markers()
291 if (mpos > low + amount && mpos <= low) in adjust_markers()
292 mpos = low + amount; in adjust_markers()
295 mpos += amount; in adjust_markers()
304 if (amount > 0) in adjust_markers()
306 if (mpos > high && mpos < high + amount) in adjust_markers()
[all …]
/haiku/docs/user/shared/
H A DMemoryRingIO.dox74 \return The amount of bytes read.
91 \return The amount of bytes written. If the ring buffer is filled or
119 \sa BytesAvailable() for the amount of data to be read.
140 \brief Get the amount of data stored in the object.
142 \return The amount of bytes ready to be read from the object.
147 \sa SpaceAvailable() for the amount of space left for writing in the object.
153 \brief Get the amount of space left in the object.
160 \sa BytesAvailable() for the amount of data ready to be read.
172 \sa SpaceAvailable() for the amount of space left for writing in the object.
173 \sa BytesAvailable() for the amount of data ready to be read.
[all …]
/haiku/src/tests/system/boot/heap/
H A DheapTest.cpp247 for (size_t amount = 32; amount < 1024; amount *= 2) { in main() local
248 int32 count = random_allocations(array, amount); in main()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A Dusb_davicom.settings44 ## transferred data amount.
50 ## transferred data amount.
/haiku/src/apps/deskbar/
H A DResourceSet.cpp299 ssize_t amount; in TStringBlock() local
300 while ((amount = data->Read(fStrings + pos, 1024)) == 1024) { in TStringBlock()
301 pos += amount; in TStringBlock()
304 if (amount > 0) in TStringBlock()
305 pos += amount; in TStringBlock()
307 fNumEntries = PreIndex(fStrings, amount); in TStringBlock()
309 MakeIndex(fStrings, amount, fNumEntries, fIndex); in TStringBlock()
/haiku/docs/user/support/
H A DBufferIO.dox93 \brief Read the specified amount of bytes at the given position.
97 \param size The amount of bytes to read.
99 \return The amount of bytes actually read, or an error code.
110 \brief Write the specified amount of bytes at the given position.
114 \param size The amount of bytes to write.
116 \return The amount of bytes actually written, or an error code.
186 \return The amount of bytes written, or if it failed it will return an
H A DDataIO.dox81 \return You should return the amount of bytes actually read, or an error
97 \return You should return the amount of bytes actually written, or an error
123 \brief Reads an exact amount of data from the object into a buffer.
150 \brief Writes an exact amount of data from a buffer to the object.
252 \return The amount of bytes actually read, or an error code.
266 \return The amount of bytes actually written, or an error code.
274 \brief Reads an exact amount of data from the object at the specified
303 \brief Writes an exact amount of data from a buffer to the object at the
463 \return The amount of read bytes or an error code.
479 \return The amount of bytes written or an error code.
H A DLocker.dox63 Flower::Water(int amount)
66 status_t status = Grow(amount * 2);
74 This code would work because BLocker keeps track of the amount of lock
/haiku/headers/private/fs_shell/
H A Dfssh_os.h176 extern fssh_status_t fssh_snooze(fssh_bigtime_t amount);
177 extern fssh_status_t fssh_snooze_etc(fssh_bigtime_t amount, int timeBase,
/haiku/docs/user/translation/
H A DBitmapStream.dox71 \param size The amount of data to be read.
73 \return The amount of data written if the result is >= 0 or an error code.
74 \retval B_BAD_VALUE \a buffer is \c NULL or \a pos is invalid or the amount
93 \return The amount of data written if the result is >= 0 or an error code.
/haiku/src/kits/interface/textview_support/
H A DTextGapBuffer.h30 int32 amount, int32 atIndex);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A Dusb_asix.settings32 ## transferred data amount and media state.
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp32 atomic_add_if_greater(int32* value, int32 amount, int32 testValue) in atomic_add_if_greater() argument
36 int32 old = atomic_test_and_set(value, current + amount, current); in atomic_add_if_greater()
/haiku/headers/os/interface/
H A DGraphicsDefs.h115 rgb_color mix_color(rgb_color color1, rgb_color color2, uint8 amount);
116 rgb_color blend_color(rgb_color color1, rgb_color color2, uint8 amount);
/haiku/docs/develop/servers/app_server/
H A DLayer.rst111 amount
113 1. offset the frame by the specified amount
119 Resizes the layer by the specified amount and all children as
122 1) resize the frame by the specified amount
125 appropriate amount if it is necessary.
H A DWinBorder.rst147 7. if is_moving_window() is true, calculate the amount the mouse has moved and call decorator->Move…
148 8. if is_resizing_window() is true, calculate the amount the mouse has moved and call decorator->Re…
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dpll.cpp521 uint32 amount = ((pll->feedbackDiv * 10) + pll->feedbackDivFrac); in pll_compute() local
522 amount *= pll->ssPercentage; in pll_compute()
523 amount /= pll->ssPercentageDiv * 100; in pll_compute()
524 pll->ssAmount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in pll_compute()
525 pll->ssAmount |= ((amount - (amount / 10)) in pll_compute()
531 pll->ssStep = (centerSpreadMultiplier * amount * pll->referenceDiv in pll_compute()
/haiku/docs/user/interface/
H A DFont.dox582 \brief The amount of vertical space surrounding a character.
636 The amount of horizontal space to surround a visible glyph character with.
645 The amount of horizontal space to surround a whitespace character with, for
1467 \brief Determines the amount of space required to draw \a string in the
1480 \brief Determines the amount of space required to draw \a string in the
1495 \brief Determines the amount of space required to draw each string in
1531 - \c nonspace The amount of horizontal space to surround a visible glyph
1533 - \c space The amount of horizontal space to surround a whitespace character
1554 - \c nonspace The amount of horizontal space to surround a visible glyph
1556 - \c space The amount of horizontal space to surround a whitespace character
[all …]
H A DGraphicsDefs.dox261 \fn rgb_color mix_color(rgb_color color1, rgb_color color2, uint8 amount)
266 \param amount The relative weight of \a color1 to mix in.
275 \fn rgb_color blend_color(rgb_color color1, rgb_color color2, uint8 amount)
280 \param amount The relative weight of \a color1 to mix in.
H A DGroupLayout.dox88 \brief Get the amount of spacing (in pixels) between each item.
96 \brief Set the amount of spacing (in pixels) between each item.
/haiku/headers/cpp/
H A Deditbuf.h166 int amount, buf_char *old_data);
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp347 swap_space_reserve(off_t amount) in swap_space_reserve() argument
350 if (sAvailSwapSpace >= amount) in swap_space_reserve()
351 sAvailSwapSpace -= amount; in swap_space_reserve()
353 amount = sAvailSwapSpace; in swap_space_reserve()
358 return amount; in swap_space_reserve()
363 swap_space_unreserve(off_t amount) in swap_space_unreserve() argument
366 sAvailSwapSpace += amount; in swap_space_unreserve()

123