Searched refs:num (Results 1 - 25 of 449) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/port/gen/
H A Ddiv.c49 div(num, denom)
50 int num, denom;
54 r.quot = num / denom;
55 r.rem = num % denom;
66 * sign of num; if both are negative and r.quot has been
68 * have the opposite sign of num). These are considered
71 * If both are num and denom are positive, r will always
75 * if num >= 0, but r.rem < 0, we got the wrong answer.
79 if (num >= 0 && r.rem < 0) {
87 ldiv(num, deno
[all...]
H A Dcalloc.c41 calloc(size_t num, size_t size) argument
46 if (num == 0 || size == 0)
49 total = num * size;
52 if (total / num != size) {
H A Dcfree.c42 cfree(void *p, size_t num, size_t size) argument
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_log2.c47 __kdb2_log2(num)
48 u_int32_t num;
53 for (i = 0; limit < num; limit = limit << 1, i++);
/osnet-11/usr/src/lib/libmapmalloc/common/
H A Dcalloc.c35 calloc(size_t num, size_t size) argument
38 size_t total = num * size;
40 if (num != 0 && (total / num) != size) {
53 cfree(void *p, size_t num, size_t size) argument
H A Dllib-lmapmalloc34 void cfree(void *p, size_t num, size_t size);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dsyscallbyproc.d10 syscall:::entry { @num[execname] = count(); }
H A Dsyscallbysysc.d10 syscall:::entry { @num[probefunc] = count(); }
H A Dcswstat.d49 num = 0;
55 num++;
70 printf("%20Y %8d %12d %12d\n", walltimestamp, num, times/1000,
71 num == 0 ? 0 : times/(1000 * num));
73 num = 0;
H A Dintbycpu.d43 sdt:::interrupt-start { @num[cpu] = count(); }
48 printa("%-16d %@16d\n", @num);
H A Dsyscallbypid.d47 @num[pid, execname, probefunc] = count();
53 printa("%6d %-24s %-24s %@8d\n", @num);
H A Dxcallsbypid.d44 @num[pid, execname] = count();
50 printa("%6d %-16s %@16d\n", @num);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/
H A Dsyscallbyproc.d10 syscall:::entry { @num[execname] = count(); }
H A Dsyscallbypid.d47 @num[pid, execname, probefunc] = count();
53 printa("%6d %-24s %-24s %@8d\n", @num);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/System/
H A Dsyscallbysysc.d10 syscall:::entry { @num[probefunc] = count(); }
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_log2.c60 __db_log2(num)
61 u_int32_t num;
66 for (i = 0; limit < num; limit = limit << 1, i++)
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/
H A Dcswstat.d49 num = 0;
55 num++;
70 printf("%20Y %8d %12d %12d\n", walltimestamp, num, times/1000,
71 num == 0 ? 0 : times/(1000 * num));
73 num = 0;
/osnet-11/usr/src/lib/libcommputil/common/
H A Dcommp_util.c84 commp_atoi(const char *begin, const char *end, int *num) argument
88 *num = 0;
91 *num = (*num * 10) + (*begin - '0');
107 commp_strtoull(const char *begin, const char *end, uint64_t *num) argument
111 *num = 0;
114 *num = (*num * 10) + (*begin - '0');
130 commp_strtoub(const char *begin, const char *end, uint8_t *num) argument
134 *num
153 commp_atoui(const char *begin, const char *end, uint_t *num) argument
192 commp_time_to_secs(const char *begin, const char *end, uint64_t *num) argument
[all...]
/osnet-11/usr/src/lib/libnsl/dial/
H A Dgetargs.c87 int num; local
104 for (num = 0, cp = str;
107 num <<= 3;
108 num += *cp - '0';
112 if (num == 0) {
116 *to++ = (char)num;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Cpu/
H A Dintbycpu.d43 sdt:::interrupt-start { @num[cpu] = count(); }
48 printa("%-16d %@16d\n", @num);
H A Dxcallsbypid.d44 @num[pid, execname] = count();
50 printa("%6d %-16s %@16d\n", @num);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Simple/t/
H A Dbuffer.t17 for my $num (1..10) {
18 $tnum = $num * 2;
/osnet-11/usr/src/lib/libast/common/port/
H A Dmc.c275 mc->num = sfgetu(ip);
286 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0)))
290 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0)))
301 if (i > mc->num)
304 mc->set[i].num = n;
313 for (i = 1; i <= mc->num; i++)
314 for (j = 1; j <= mc->set[i].num; j++)
339 * return the <set,num> message in mc
345 mcget(register Mc_t* mc, int set, int num, const char* msg) argument
351 if (!mc || set < 0 || set > mc->num || nu
373 mcput(register Mc_t* mc, int set, int num, const char* msg) argument
[all...]
/osnet-11/usr/src/lib/libsocket/inet/
H A Dlink_addr.c69 unsigned char cval, num = 0; local
117 num = (num << 4) | (cval - '0');
119 num = (num << 4) |
122 netaddr[idx++] = num;
123 num = 0;
129 netaddr[idx++] = num;
/osnet-11/usr/src/lib/libcmd/common/
H A Dexpr.c172 long num; member in struct:Node_s
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0;
217 np->num = strlen(cp);
278 np->num = strtol(np->str,&ep,10);
309 sfsprintf(cp=state->buf,sizeof(state->buf),"%d",np->num);
310 np->num = 0;
323 np->num = strtol(np->str,&cp,10);
331 np->num = match[0].rm_eo - match[0].rm_so;
356 if (op && rp.num==0)
361 np->num *
[all...]

Completed in 24 milliseconds

1234567891011>>