Searched refs:mult (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/
H A Dscalarmult_curve25519.h6 int (*mult)(unsigned char *q, const unsigned char *n, member in struct:crypto_scalarmult_curve25519_implementation
H A Dscalarmult_curve25519.c21 if (implementation->mult(q, n, p) != 0) {
/freebsd-current/crypto/heimdal/lib/roken/
H A Dparse_units.c50 int (*func)(int res, int val, unsigned mult),
63 def_mult = u->mult;
116 res = (*func)(res, val, u->mult);
129 res = (*func)(res, val, partial_unit->mult);
147 acc_units(int res, int val, unsigned mult) argument
149 return res + val * mult;
166 acc_flags(int res, int val, unsigned mult) argument
169 return res | mult;
171 return res & ~mult;
173 return mult;
48 parse_something(const char *s, const struct units *units, const char *def_unit, int (*func)(int res, int val, unsigned mult), int init, int accept_no_val_p) argument
234 update_unit(int in, unsigned mult) argument
240 update_unit_approx(int in, unsigned mult) argument
306 update_flag(int in, unsigned mult) argument
[all...]
H A Dparse_units.h54 unsigned mult; member in struct:units
/freebsd-current/sys/dev/clk/
H A Dclk_fixed.h43 uint32_t mult; member in struct:clk_fixed_def
H A Dclk_fixed.c60 uint32_t mult; member in struct:clknode_fixed_sc
92 if ((sc->mult != 0) && (sc->div != 0))
93 *freq = (*freq / sc->div) * sc->mult;
106 if (sc->mult == 0 || sc->div == 0) {
115 *fout = (*fout / sc->mult) * sc->div;
132 sc->mult = clkdef->mult;
203 rv = OF_getencprop(node, "clock-mult", &def->mult, sizeof(def->mult));
[all...]
/freebsd-current/bin/dd/
H A Dargs.c437 intmax_t mult; local
439 mult = 0;
443 mult = 512;
447 mult = 1 << 10;
451 mult = 1 << 20;
455 mult = 1 << 30;
459 mult = (uintmax_t)1 << 40;
463 mult = (uintmax_t)1 << 50;
467 mult = sizeof(int);
471 return (mult);
491 uintmax_t num, mult, prevnum; local
540 intmax_t num, mult, prevnum; local
[all...]
/freebsd-current/crypto/openssh/
H A Dsmult_curve25519_ref.c62 static void mult(unsigned int out[32],const unsigned int a[32],const unsigned int b[32]) function
162 mult(b1,a1,a0 + 32);
163 mult(b1 + 32,a1 + 32,a0);
170 mult(xznb,b0,b0 + 32);
171 mult(xznb + 32,s,u);
173 mult(xzn1b + 32,r,work);
197 /* 9 */ mult(z9,t0,z);
198 /* 11 */ mult(z11,z9,z2);
200 /* 2^5 - 2^0 = 31 */ mult(z2_5_0,t0,z9);
207 /* 2^10 - 2^0 */ mult(z2_10_
[all...]
/freebsd-current/contrib/arm-optimized-routines/math/
H A Dtgamma128.c315 long double mult; local
318 mult = (x-1);
325 mult = 3.75L+t*(4.0L+t);
328 mult = 13.125L+t*(17.75L+t*(7.5L+t));
331 mult = 59.0625L+t*(93.0L+t*(51.50L+t*(12.0L+t)));
334 mult = 324.84375L+t*(570.5625L+t*(376.250L+t*(
338 mult = 2111.484375L+t*(4033.5L+t*(3016.1875L+t*(
344 g = tgamma_central(x - (i-1)) * mult;
/freebsd-current/sys/dev/clk/xilinx/
H A Dzynqmp_clk_fixed.c58 uint32_t mult, div; local
62 rv = ZYNQMP_FIRMWARE_CLOCK_GET_FIXEDFACTOR(sc->firmware, sc->id, &mult, &div);
70 *freq = (*freq * mult) / div;
/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_control.c152 au_timetosec(time_t *seconds, u_long value, char mult) argument
157 switch(mult) {
190 au_spacetobytes(size_t *bytes, u_long value, char mult) argument
195 switch(mult) {
475 char mult; local
500 nparsed = sscanf(str, "%ju%c", (uintmax_t *)&val, &mult);
505 mult = 'B';
508 if (au_spacetobytes(filesz_val, val, mult) == 0)
612 setexpirecond(time_t *age, size_t *size, u_long value, char mult) argument
615 if (isupper(mult) || ' '
[all...]
/freebsd-current/lib/csu/riscv/
H A Dcrt1_s.S41 slli t0, a0, 3 # mult by arg size
/freebsd-current/contrib/libucl/src/
H A Ducl_sexp.c52 mult = 1; \
65 uint64_t len = 0, mult = 1; local
144 len += (*p - '0') * mult;
145 mult *= 10;
/freebsd-current/sbin/geom/misc/
H A Dsubr.c123 off_t number, mult, unit; local
134 mult = 1;
140 mult *= 1024;
143 mult *= 1024;
146 mult *= 1024;
149 mult *= 1024;
152 mult *= 1024;
155 mult *= 1024;
179 if ((OFF_MAX / unit) < mult || (OFF_MAX / mult / uni
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmkfile.c61 size_t mult = 1; local
98 mult = KILOBYTE;
102 mult = BLOCKSIZE;
106 mult = MEGABYTE;
110 mult = GIGABYTE;
127 size = ((off_t)atoll(argv[1]) * (off_t)mult);
/freebsd-current/lib/libutil/
H A Dlogin_cap.c669 rlim_t mult = 1; local
686 mult = 60;
689 mult = 60L * 60L;
692 mult = 60L * 60L * 24L;
695 mult = 60L * 60L * 24L * 7L;
698 mult = 60L * 60L * 24L * 365L;
704 tot += rmultiply(tim, mult);
842 rlim_t mult = 1; local
856 mult = 512;
859 mult
[all...]
/freebsd-current/contrib/ntp/sntp/libopts/
H A Dparse-duration.c496 unsigned int mult; local
511 mult = SEC_PER_YEAR;
518 mult = SEC_PER_MONTH;
525 mult = SEC_PER_WEEK;
532 mult = SEC_PER_DAY;
539 mult = SEC_PER_HR;
546 mult = SEC_PER_MIN;
551 mult = 1;
556 res = scale_n_add (res, val, mult);
/freebsd-current/usr.bin/dc/
H A Dinout.c363 BIGNUM *mult, *stop; local
368 mult = BN_new();
369 bn_checkp(mult);
370 bn_check(BN_one(mult));
377 while (BN_cmp(mult, stop) < 0) {
395 bn_check(BN_mul_word(mult, base));
398 BN_free(mult);
/freebsd-current/sys/cddl/dev/profile/
H A Dprofile.c324 hrtime_t val = 0, mult = 1, len = 0; local
338 hrtime_t mult; member in struct:__anon6
419 val += (name[j] - '0') * mult;
420 mult *= (hrtime_t)10;
429 for (i = 0, mult = 0; suffixes[i].name != NULL; i++) {
431 mult = suffixes[i].mult;
439 if (mult == 0) {
445 val *= mult;
/freebsd-current/usr.bin/limits/
H A Dlimits.c629 rlim_t mult, tim = strtoq(s, &e, 0); local
636 mult = 1;
639 mult = 512;
642 mult = 1024;
645 mult = 1024 * 1024;
648 mult = 1024 * 1024 * 1024;
651 mult = 1024LL * 1024LL * 1024LL * 1024LL;
655 res += (tim * mult);
/freebsd-current/sys/arm/mv/
H A Dmv_ap806_clock.c76 .mult = 1,
86 .mult = 1,
H A Dmv_cp110_clock.c66 .mult = 1,
73 .mult = 1,
83 .mult = 1,
90 .mult = 2,
/freebsd-current/sys/arm/mv/clk/
H A Dperiph_clk_mux_gate.c77 fixed.mult = 1;
129 fixed1->mult = 1;
H A Dperiph_clk_fixed.c76 fixed_def.mult = 1;
/freebsd-current/sys/powerpc/cpufreq/
H A Dmpc85xx_jog.c240 int mult; member in struct:jog_rv_args
254 reg |= PMJCR_CORE_MULT(args->mult, args->cpu);
295 args.mult = set->spec[0];

Completed in 231 milliseconds

123