/kernel/linux/linux-5.10/arch/mips/mti-malta/ |
H A D | malta-time.c | 51 static unsigned int freqround(unsigned int freq, unsigned int amount) in freqround() argument 53 freq += amount; in freqround() 54 freq -= freq % (amount*2); in freqround()
|
/kernel/linux/linux-6.6/arch/mips/mti-malta/ |
H A D | malta-time.c | 51 static unsigned int freqround(unsigned int freq, unsigned int amount) in freqround() argument 53 freq += amount; in freqround() 54 freq -= freq % (amount*2); in freqround()
|
/third_party/curl/tests/libtest/ |
H A D | lib1527.c | 38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 39 if(amount < strlen(data)) { in read_callback()
|
H A D | lib1526.c | 38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 39 if(amount < strlen(data)) { in read_callback()
|
H A D | lib1525.c | 39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 40 if(amount < strlen(data)) { in read_callback()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | threads_none.c | 128 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() argument 130 *val += amount; in CRYPTO_atomic_add()
|
/third_party/openssl/crypto/ |
H A D | threads_none.c | 128 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() argument 130 *val += amount; in CRYPTO_atomic_add()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_tree.py | 44 # (type, delta, num, amount) 51 for ty, delta, num, amount in tests: 55 res = tree.wheel_event(event, _Widget(SCROLL, amount, "units"))
|
/third_party/node/deps/v8/src/base/ |
H A D | atomic-utils.h | 240 std::atomic<T>* number, T amount, in CheckedIncrement() 242 const T old = number->fetch_add(amount, order); in CheckedIncrement() 243 DCHECK_GE(old + amount, old); in CheckedIncrement() 250 std::atomic<T>* number, T amount, in CheckedDecrement() 252 const T old = number->fetch_sub(amount, order); in CheckedDecrement() 253 DCHECK_GE(old, amount); in CheckedDecrement() 239 CheckedIncrement( std::atomic<T>* number, T amount, std::memory_order order = std::memory_order_seq_cst) CheckedIncrement() argument 249 CheckedDecrement( std::atomic<T>* number, T amount, std::memory_order order = std::memory_order_seq_cst) CheckedDecrement() argument
|
/third_party/icu/icu4c/source/i18n/ |
H A D | calendar.cpp | 1827 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status) in roll() argument 1829 roll((UCalendarDateFields)field, amount, status); in roll() 1832 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument 1834 if (amount == 0) { in roll() 1859 int32_t value = internalGet(field) + amount; in roll() 1884 int32_t newHour = (oldHour + amount) % (max + 1); in roll() 1899 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1916 // * If era==0 and years go backwards in time, change sign of amount. in roll() 1924 amount = -amount; in roll() 2172 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 2178 add(UCalendarDateFields field, int32_t amount, UErrorCode& status) add() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | calendar.cpp | 1729 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status) in roll() argument 1731 roll((UCalendarDateFields)field, amount, status); in roll() 1734 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) UPRV_NO_SANITIZE_UNDEFINED { 1735 if (amount == 0) { 1764 int32_t value = internalGet(field) + amount; 1789 int32_t newHour = (oldHour + amount) % (max + 1); 1805 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); 1822 // * If era==0 and years go backwards in time, change sign of amount. 1830 amount = -amount; 2087 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 2093 add(UCalendarDateFields field, int32_t amount, UErrorCode& status) add() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | calendar.cpp | 1753 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status) in roll() argument 1755 roll((UCalendarDateFields)field, amount, status); in roll() 1758 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() argument 1760 if (amount == 0) { in roll() 1785 int32_t value = internalGet(field) + amount; in roll() 1810 int32_t newHour = (oldHour + amount) % (max + 1); in roll() 1825 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1842 // * If era==0 and years go backwards in time, change sign of amount. in roll() 1850 amount = -amount; in roll() 2098 add(EDateFields field, int32_t amount, UErrorCode& status) add() argument 2104 add(UCalendarDateFields field, int32_t amount, UErrorCode& status) add() argument [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | af_bluetooth.c | 503 long amount; in bt_sock_ioctl() local 513 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl() 514 if (amount < 0) in bt_sock_ioctl() 515 amount = 0; in bt_sock_ioctl() 516 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl() 525 amount = skb ? skb->len : 0; in bt_sock_ioctl() 528 err = put_user(amount, (int __user *)arg); in bt_sock_ioctl()
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | af_bluetooth.c | 548 long amount; in bt_sock_ioctl() local 558 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl() 559 if (amount < 0) in bt_sock_ioctl() 560 amount = 0; in bt_sock_ioctl() 561 err = put_user(amount, (int __user *)arg); in bt_sock_ioctl() 570 amount = skb ? skb->len : 0; in bt_sock_ioctl() 573 err = put_user(amount, (int __user *)arg); in bt_sock_ioctl()
|
/third_party/node/deps/v8/src/execution/arm64/ |
H A D | pointer-auth-arm64.cc | 42 uint64_t RotCell(uint64_t in_cell, int amount) { in RotCell() argument 43 DCHECK((amount >= 1) && (amount <= 3)); in RotCell() 47 return static_cast<uint64_t>((temp >> (4 - amount)) & 0xf); in RotCell()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_crtc.c | 293 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss() 866 /* calculate ss amount and step size */ in amdgpu_atombios_crtc_set_pll() 868 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local 871 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll() 872 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll() 875 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 878 step_size = (2 * amount * ref_di in amdgpu_atombios_crtc_set_pll() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_crtc.c | 292 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss() 865 /* calculate ss amount and step size */ in amdgpu_atombios_crtc_set_pll() 867 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local 870 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll() 871 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll() 874 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 877 step_size = (2 * amount * ref_di in amdgpu_atombios_crtc_set_pll() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_hexdump.c | 100 size_t amount = strlen(q); in test_hexdump_prepare_test() local 102 memcpy(p, q, amount); in test_hexdump_prepare_test() 103 p += amount; in test_hexdump_prepare_test()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_hexdump.c | 100 size_t amount = strlen(q); in test_hexdump_prepare_test() local 102 memcpy(p, q, amount); in test_hexdump_prepare_test() 103 p += amount; in test_hexdump_prepare_test()
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk.h | 87 size_t amount); 160 // Approximate amount of physical memory committed for this chunk. 169 size_t amount); 172 size_t amount);
|
/third_party/skia/gm/ |
H A D | coloremoji.cpp | 58 static sk_sp<SkImageFilter> make_blur(float amount, sk_sp<SkImageFilter> input) { in make_blur() argument 59 return SkImageFilters::Blur(amount, amount, std::move(input)); in make_blur()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | Calendar.java | 2739 * Rolls (up/down) a specified amount time on the given field. For 2798 * @param amount the amount by which the field should be rolled. 2806 public void roll(int field, int amount) { in roll() argument 2808 if (amount == 0) { in roll() 2830 int value = internalGet(field) + amount; in roll() 2855 int newHour = (oldHour + amount) % (max + 1); in roll() 2870 int mon = (internalGet(MONTH) + amount) % (max+1); in roll() 2886 // * If era==0 and years go backwards in time, change sign of amount. in roll() 2895 amount in roll() 3185 add(int field, int amount) add() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | Calendar.java | 2642 * Rolls (up/down) a specified amount time on the given field. For 2701 * @param amount the amount by which the field should be rolled. 2708 public void roll(int field, int amount) { in roll() argument 2710 if (amount == 0) { in roll() 2732 int value = internalGet(field) + amount; in roll() 2757 int newHour = (oldHour + amount) % (max + 1); in roll() 2772 int mon = (internalGet(MONTH) + amount) % (max+1); in roll() 2788 // * If era==0 and years go backwards in time, change sign of amount. in roll() 2797 amount in roll() 3086 add(int field, int amount) add() argument [all...] |
/third_party/curl/lib/ |
H A D | progress.c | 126 pgrsSetDownloadCounter() - amount of data currently downloaded 127 pgrsSetUploadCounter() - amount of data currently uploaded 270 * The way it works is by having a "starting point" (time & amount of data 276 * This function takes the current amount of data transferred, the amount at 415 int countindex; /* amount of seconds stored in the speeder array */ in progress_calc() 441 curl_off_t amount; in progress_calc() local 454 amount = p->speeder[nowindex]- p->speeder[checkindex]; in progress_calc() 456 if(amount > CURL_OFF_T_C(4294967) /* 0xffffffff/1000 */) in progress_calc() 457 /* the 'amount' valu in progress_calc() [all...] |
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
H A D | CalendarFrame.java | 331 AddAction(int field, int amount) { in AddAction() argument 333 this.amount = amount; in AddAction() 337 calendarPanel.add(field, amount); in actionPerformed() 341 private int field, amount; field in CalendarFrame.AddAction
|