/openbsd/regress/sys/kern/nanosleep/ |
H A D | nanosleep.c | 71 struct timespec timeout, remainder; in trivial() local 76 remainder.tv_nsec = 4711; in trivial() 87 if (remainder.tv_sec != 0 || remainder.tv_nsec != 0) { in trivial() 89 (long long)remainder.tv_sec, remainder.tv_nsec); in trivial() 122 remainder.tv_sec = 0; in with_signal() 123 remainder.tv_nsec = 0; in with_signal() 129 if (remainder.tv_sec == 0 && remainder.tv_nsec == 0) { in with_signal() 209 remainder.tv_sec = 0; in time_elapsed_with_signal() 210 remainder.tv_nsec = 0; in time_elapsed_with_signal() 224 remainder.tv_sec = 0; in time_elapsed_with_signal() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/Adapter/ |
H A D | Identity.pm | 47 my $remainder = ''; 75 $remainder = substr($$in, $ind) ; 80 if (length $remainder && length $remainder < $self->{DataHdrSize}) { 81 $self->{Pending} = $remainder ; 82 $remainder = ''; 85 my $crc = unpack "V", substr($remainder, 4); 104 $$in .= substr($remainder, 0, 4) ; 105 $remainder = substr($remainder, 4); 112 $$in .= substr($remainder, 0, 4) ; 113 $remainder = substr($remainder, 4); [all …]
|
/openbsd/gnu/gcc/gcc/config/sparc/ |
H A D | lb1spc.asm | 254 ! remainder is positive 259 ! remainder is positive 264 ! remainder is positive 269 ! remainder is positive 275 ! remainder is negative 282 ! remainder is negative 287 ! remainder is positive 293 ! remainder is negative 299 ! remainder is negative 304 ! remainder is positive [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/config/sparc/ |
H A D | lb1spc.asm | 254 ! remainder is positive 259 ! remainder is positive 264 ! remainder is positive 269 ! remainder is positive 275 ! remainder is negative 282 ! remainder is negative 287 ! remainder is positive 293 ! remainder is negative 299 ! remainder is negative 304 ! remainder is positive [all …]
|
/openbsd/lib/libm/arch/amd64/ |
H A D | e_remainder.S | 11 ENTRY(remainder) 12 RETGUARD_SETUP(remainder, r11) 22 RETGUARD_CHECK(remainder, r11) 24 END_STD(remainder)
|
/openbsd/gnu/gcc/gcc/config/arm/ |
H A D | bpabi.c | 42 long long *remainder) in __gnu_ldivmod_helper() argument 47 *remainder = a - b * quotient; in __gnu_ldivmod_helper() 54 unsigned long long *remainder) in __gnu_uldivmod_helper() argument 59 *remainder = a - b * quotient; in __gnu_uldivmod_helper()
|
/openbsd/gnu/usr.bin/perl/cpan/Text-Tabs/lib/Text/ |
H A D | Wrap.pm | 50 my $remainder = ""; 60 $remainder = $2; 65 $remainder = defined($separator2) ? $separator2 : $separator; 70 $remainder = $2; 84 ? ($remainder eq "\n" 89 $r .= $remainder;
|
/openbsd/lib/libcrypto/bn/ |
H A D | bn_div.c | 266 if (remainder != NULL) { in BN_div_internal() 267 if (!bn_copy(remainder, numerator)) in BN_div_internal() 409 if (remainder != NULL) { in BN_div_internal() 416 BN_rshift(remainder, snum, norm_shift); in BN_div_internal() 417 BN_set_negative(remainder, neg); in BN_div_internal() 434 BN_div(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, in BN_div() argument 442 return BN_div_internal(quotient, remainder, numerator, divisor, ctx, ct); in BN_div() 447 BN_div_nonct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, in BN_div_nonct() argument 450 return BN_div_internal(quotient, remainder, numerator, divisor, ctx, 0); in BN_div_nonct() 454 BN_div_ct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, in BN_div_ct() argument [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/ |
H A D | dml_inline_defs.h | 129 unsigned int remainder; in dml_round_to_multiple() local 134 remainder = num % multiple; in dml_round_to_multiple() 136 if (remainder == 0) in dml_round_to_multiple() 140 return (num + multiple - remainder); in dml_round_to_multiple() 142 return (num - remainder); in dml_round_to_multiple()
|
/openbsd/gnu/gcc/gcc/config/avr/ |
H A D | libgcc.S | 316 sub r_rem,r_rem ; clear remainder and carry 320 rol r_rem ; shift dividend into remainder 321 cp r_rem,r_arg2 ; compare remainder & divisor 322 brcs __udivmodqi4_ep ; remainder <= divisor 323 sub r_rem,r_arg2 ; restore remainder 347 neg r_rem ; correct remainder sign 383 sub r_remH,r_remH ; clear remainder and carry 392 sub r_remL,r_arg2L ; restore remainder 404 mov_l r_arg1L, r_remL ; remainder 494 brcs __udivmodsi4_ep ; remainder <= divisor [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/config/avr/ |
H A D | libgcc.S | 316 sub r_rem,r_rem ; clear remainder and carry 320 rol r_rem ; shift dividend into remainder 321 cp r_rem,r_arg2 ; compare remainder & divisor 322 brcs __udivmodqi4_ep ; remainder <= divisor 323 sub r_rem,r_arg2 ; restore remainder 347 neg r_rem ; correct remainder sign 383 sub r_remH,r_remH ; clear remainder and carry 392 sub r_remL,r_arg2L ; restore remainder 404 mov_l r_arg1L, r_remL ; remainder 494 brcs __udivmodsi4_ep ; remainder <= divisor [all …]
|
/openbsd/lib/libm/arch/hppa/ |
H A D | e_remainder.c | 8 remainder(double x, double p) in remainder() function 14 DEF_STD(remainder); 15 LDBL_UNUSED_CLONE(remainder);
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/calcs/ |
H A D | bw_fixed.c | 64 uint64_t remainder; in bw_frc_to_fixed() local 73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder); in bw_frc_to_fixed() 82 remainder <<= 1; in bw_frc_to_fixed() 86 if (remainder >= arg2_value) { in bw_frc_to_fixed() 88 remainder -= arg2_value; in bw_frc_to_fixed() 95 uint64_t summand = (remainder << 1) >= arg2_value; in bw_frc_to_fixed()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/basics/ |
H A D | fixpt31_32.c | 50 unsigned long long *remainder) in complete_integer_division_u64() argument 56 result = div64_u64_rem(dividend, divisor, remainder); in complete_integer_division_u64() 81 unsigned long long remainder; in dc_fixpt_from_fraction() local 86 arg1_value, arg2_value, &remainder); in dc_fixpt_from_fraction() 95 remainder <<= 1; in dc_fixpt_from_fraction() 99 if (remainder >= arg2_value) { in dc_fixpt_from_fraction() 101 remainder -= arg2_value; in dc_fixpt_from_fraction() 108 unsigned long long summand = (remainder << 1) >= arg2_value; in dc_fixpt_from_fraction()
|
H A D | conversion.c | 106 uint32_t remainder = 0; in find_gcd() local 108 remainder = a % b; in find_gcd() 110 b = remainder; in find_gcd()
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/ |
H A D | udivmodti4.c | 107 utwords remainder; in __udivmodti4() local 115 remainder.s.high = 0; in __udivmodti4() 119 divisor.s.low, &remainder.s.low); in __udivmodti4() 127 divisor.s.low, &remainder.s.low); in __udivmodti4() 130 *rem = remainder.all; in __udivmodti4()
|
/openbsd/lib/libm/src/ |
H A D | e_remainder.c | 31 remainder(double x, double p) in remainder() function 71 DEF_STD(remainder); 72 LDBL_MAYBE_UNUSED_CLONE(remainder);
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/arm/ |
H A D | divmodsi4.S | 27 @ int __divmodsi4(int divident, int divisor, int *remainder) 28 @ Calculate the quotient and remainder of the (signed) division. The return 29 @ value is the quotient, the remainder is placed in the variable.
|
/openbsd/lib/libc/sys/ |
H A D | w_nanosleep.c | 22 nanosleep(const struct timespec *timeout, struct timespec *remainder) in nanosleep() argument 27 ret = HIDDEN(nanosleep)(timeout, remainder); in nanosleep()
|
/openbsd/lib/libm/arch/i387/ |
H A D | e_remainder.S | 9 ENTRY(remainder) 18 END_STD(remainder)
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | expmed.c | 3152 remainder 3155 remainder, 1, 3157 if (remainder) 3467 if (remainder) 3547 remainder 3676 remainder, 1)) 3773 remainder, 0)) 3949 remainder 3956 if (remainder == 0) 3966 remainder = 0; [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | expmed.c | 4031 remainder in expand_divmod() 4034 remainder, 1, in expand_divmod() 4036 if (remainder) in expand_divmod() 4190 if (remainder) in expand_divmod() 4350 if (remainder) in expand_divmod() 4435 remainder in expand_divmod() 4841 remainder in expand_divmod() 4848 if (remainder == 0) in expand_divmod() 4858 remainder = 0; in expand_divmod() 4861 if (remainder) in expand_divmod() [all …]
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | pow.t | 49 my $remainder = $bits_in_uv & 3; 51 cmp_ok ($remainder, '==', 0, 'Sanity check bits in UV calculation')
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/avr/ |
H A D | udivmodqi4.S | 24 sub r25, r25 ; Initialize the remainder to zero. 39 ret ; The uint8 remainder is returned via R25.
|
H A D | divmodhi4.S | 49 ret ; Return quotient via R23:R22 and remainder via R25:R24. 57 ret ; Return quotient via R23:R22 and remainder via R25:r24.
|