/haiku/src/build/libroot/ |
H A D | misc.cpp | 48 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 D | GraphicsDefs.cpp | 54 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 D | thread.cpp | 44 fssh_snooze(fssh_bigtime_t amount) in fssh_snooze() argument 46 return snooze(amount); in fssh_snooze()
|
/haiku/src/libs/stdc++/legacy/ |
H A D | editbuf.cc | 271 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 D | MemoryRingIO.dox | 74 \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 D | heapTest.cpp | 247 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 D | usb_davicom.settings | 44 ## transferred data amount. 50 ## transferred data amount.
|
/haiku/src/apps/deskbar/ |
H A D | ResourceSet.cpp | 299 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 D | BufferIO.dox | 93 \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 D | DataIO.dox | 81 \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 D | Locker.dox | 63 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 D | fssh_os.h | 176 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 D | BitmapStream.dox | 71 \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 D | TextGapBuffer.h | 30 int32 amount, int32 atIndex);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | usb_asix.settings | 32 ## transferred data amount and media state.
|
/haiku/src/system/libroot/posix/ |
H A D | semaphore.cpp | 32 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 D | GraphicsDefs.h | 115 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 D | Layer.rst | 111 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 D | WinBorder.rst | 147 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 D | pll.cpp | 521 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 D | Font.dox | 582 \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 D | GraphicsDefs.dox | 261 \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 D | GroupLayout.dox | 88 \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 D | editbuf.h | 166 int amount, buf_char *old_data);
|
/haiku/src/system/kernel/vm/ |
H A D | VMAnonymousCache.cpp | 347 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()
|