Searched refs:num (Results 1 - 25 of 1459) sorted by path

1234567891011>>

/freebsd-current/bin/dd/
H A Dargs.c491 uintmax_t num, mult, prevnum; local
495 num = strtoumax(val, &expr, 0);
504 prevnum = num;
505 num *= mult;
507 if (num / mult != prevnum)
519 prevnum = num;
520 num *= mult;
521 if (num / mult == prevnum)
528 return (num);
540 intmax_t num, mul local
[all...]
/freebsd-current/bin/df/
H A Ddf.c450 fsbtoblk(int64_t num, uint64_t fsbs, u_long bs) argument
452 return (num * (intmax_t) fsbs / (int64_t) bs);
/freebsd-current/bin/ls/
H A Dprint.c100 int num[2]; member in struct:__anon6
305 int num; local
330 for (p = dp->list, num = 0; p; p = p->fts_link)
332 array[num++] = p;
348 numrows = num / numcols;
349 if (num % numcols)
369 if (base >= num)
550 if (colors[c].num[0] != -1) {
551 ansiseq = tgoto(ansi_fgcol, 0, colors[c].num[0]);
555 if (colors[c].num[
[all...]
/freebsd-current/bin/pax/
H A Doptions.c1427 off_t num, t; local
1429 num = strtoq(val, &expr, 0);
1430 if ((num == QUAD_MAX) || (num <= 0) || (expr == val))
1435 t = num;
1436 num *= 512;
1437 if (t > num)
1442 t = num;
1443 num *= 1024;
1444 if (t > num)
[all...]
/freebsd-current/bin/sh/
H A Dexpand.c847 long num; local
850 num = strtol(name, NULL, 10);
851 if (errno != 0 || num > shellparam.nparam)
854 if (num == 0)
857 ap = shellparam.p[num - 1];
928 int num; local
943 num = rootpid;
946 num = oexitstatus;
949 num = shellparam.nparam;
952 num
1457 cvtnum(int num, char *buf) argument
[all...]
H A Dhistedit.c405 out1fmt("%5d ", he.num);
422 oldhistnum = he.num;
439 if (he.num == last)
538 return (he.num);
/freebsd-current/bin/sleep/
H A Dsleep.c61 double num; local
64 switch (sscanf(arg, "%lf%c%c", &num, &unit, &extra)) {
68 num *= 24;
71 num *= 60;
74 num *= 60;
77 if (!isnan(num))
78 return (num);
82 if (!isnan(num))
83 return (num);
/freebsd-current/bin/test/
H A Dtest.c461 int num; local
466 num = find_op(s);
467 if (((TOKEN_TYPE(num) == UNOP || TOKEN_TYPE(num) == BUNOP)
469 (num == LPAREN && islparenoperand()) ||
470 (num == RPAREN && isrparenoperand()))
472 return num;
480 int num; local
488 num = find_op(s);
489 return TOKEN_TYPE(num)
497 int num; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/lib/libcmdutils/common/
H A Dnicenum.c127 nicenum(uint64_t num, char *buf, size_t buflen) argument
129 nicenum_scale(num, 1, buf, buflen, 0);
/freebsd-current/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py114 def nicenum(num):
117 n = num;
126 elif n >= 100 or num & ((1024*index)-1) == 0:
134 s = "%.*f%c" % (i, float(num) / (1<<(10*index)), u)
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dalist.c58 uintptr_t num = (uintptr_t)el->ale_name; local
60 return (num % nbuckets);
H A Dctfmerge.c336 int num; local
346 wq->wq_ninqueue = num = fifo_len(wq->wq_donequeue);
347 while (num != 1) {
348 wq->wq_ninqueue += num / 2;
349 num = num / 2 + num % 2;
H A Dhash.c236 int num, i; local
238 for (num = 0, i = 0; i < hash->h_nbuckets; i++)
239 num += list_count(hash->h_buckets[i]);
241 return (num);
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathtest.c684 int do_op(char* q, unsigned* op, const char* name, int num, int sop_type) { argument
686 int n=num;
688 for(i = 0; i < num; i++) {
698 switch(num) {
1084 /* printf("macro: name=%s, num=%i, s1.i=0x%08x s1.f=%f\n",t.func->name, t.func->macro_name, s_arg1.i, (double)s_arg1.f); */
/freebsd-current/contrib/bc/
H A DMakefile.in51 HEADERS = $(INCDIR)/args.h $(INCDIR)/file.h $(INCDIR)/lang.h $(INCDIR)/lex.h $(INCDIR)/num.h $(INCDIR)/opt.h $(INCDIR)/parse.h $(INCDIR)/program.h $(INCDIR)/read.h $(INCDIR)/status.h $(INCDIR)/vector.h $(INCDIR)/vm.h
/freebsd-current/contrib/bc/include/
H A Dlang.h44 #include <num.h>
379 BcNum num; member in struct:BcConst
475 /// cap == 0 && num == NULL. The string's index into the strings vector is
H A Dlibrary.h47 #include <num.h>
132 #define BCL_NUM_ARRAY(bn) ((bn)->n.num)
139 #define BCL_NUM_ARRAY_NP(bn) ((bn).n.num)
181 #define BCL_NUM_ARRAY(bn) ((bn)->num)
182 #define BCL_NUM_ARRAY_NP(bn) ((bn).num)
356 * @param num The BcNum to free, as a void pointer.
359 bcl_num_destruct(void* num);
H A Dnum.h32 * Definitions for the num type.
118 BcDig* restrict num; member in struct:BcNum
198 #define BC_NUM_ONE(n) ((n)->len == 1 && (n)->rdx == 0 && (n)->num[0] == 1)
429 * Initializes (sets up) @a n with the preallocated limb array @a num that has
433 * @param num The preallocated limb array.
434 * @param cap The capacity of @a num.
437 bc_num_setup(BcNum* restrict n, BcDig* restrict num, size_t cap);
468 * simply clears some fields, including setting the num field to NULL.
475 * Frees @a num, which is a BcNum as a void pointer. This is a destructor.
476 * @param num Th
[all...]
H A Dprogram.h45 #include <num.h>
261 #define BC_PROG_STR(n) ((n)->num == NULL && !(n)->cap)
H A Drand.h49 #include <num.h>
H A Dvm.h57 #include <num.h>
813 * @param num The BcDig array to add to the temp array.
816 bc_vm_addTemp(BcDig* num);
/freebsd-current/contrib/bc/scripts/
H A Dkaratsuba.py68 num = "9" * mx variable
93 indata = indata.format(num, num).encode()
H A Dsqrt_random.bc60 num = irand(limit) + 1
68 num *= num
84 scale = length(num) + 5
85 num = 1/num
88 num >>= extra
92 num <<= extra
98 l = length(num)
104 num
[all...]
/freebsd-current/contrib/bc/src/
H A Dargs.c50 #include <num.h>
H A Dbc_parse.c46 #include <num.h>

Completed in 247 milliseconds

1234567891011>>