Searched refs:num (Results 201 - 225 of 825) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c171 Format_num(char *str, int num, int length) argument
173 if (num >= 100000) {
174 (void) snprintf(str, length, ".%1dM", num/100000);
176 if (num >= 1000)
177 (void) snprintf(str, length, "%2dK", num/1000);
179 (void) snprintf(str, length, "%3d", num);
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdssubr.c68 rds_increment_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) argument
72 ksnp->value.ul += num;
78 rds_decrement_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) argument
82 ksnp->value.ul -= num;
88 rds_set_kstat(kstat_named_t *ksnp, boolean_t lock, ulong_t num) argument
92 ksnp->value.ul = num;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dencode.c155 ber_put_int_or_enum( BerElement *ber, ber_int_t num, ber_tag_t tag ) argument
161 sign = (num < 0);
172 if ( (num & mask) != mask )
176 if ( num & mask )
185 mask = (num & (_MASK << (i * 8)));
197 netnum = LBER_HTONL( num );
208 ber_put_enum( BerElement *ber, ber_int_t num, ber_tag_t tag ) argument
213 return( ber_put_int_or_enum( ber, num, tag ) );
218 ber_put_int( BerElement *ber, ber_int_t num, ber_tag_t tag ) argument
223 return( ber_put_int_or_enum( ber, num, ta
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rip.c316 int blen, num; local
336 num = get_numtokens(
340 &rep->rip_token[num];
341 if (num > 0) {
346 num--;
351 while (num > 0) {
358 num--;
411 int num = 0; local
414 num++;
417 return (num);
[all...]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm450 # Allow for ! operator, usernames must begin with alpha-num,
451 # and contain alpha-num, '_', digits, '.', or '-'.
702 my $num;
747 ($num, $modifier, $unit) =
750 if (!defined($num)) {
761 } elsif ($num eq "OVERFLOW") {
766 $ref->[0] = $num;
803 ($num, $modifier, $unit) =
807 if (!defined($num)) {
822 } elsif ($num e
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c92 nge_tx_dmah_pop(nge_dmah_list_t *src, nge_dmah_list_t *dst, size_t num) argument
96 for (node = src->head; node != NULL && --num != 0; node = node->next)
99 if (num == 0) {
110 return (num);
131 uint64_t num; local
134 num = bds * txd_size;
136 if (start + num <= end)
137 (void) ddi_dma_sync(srp->desc.dma_hdl, start, num, type);
141 (void) ddi_dma_sync(srp->desc.dma_hdl, 0, start + num - end,
279 nge_tx_alloc(nge_t *ngep, uint32_t num) argument
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dcopylet.c79 int num; local
106 num = ((k < sizeof(buf)) ? k+1 : sizeof(buf));
107 if (fgets (buf, num, tmpf) == NULL) {
284 num = ((k < sizeof(buf)) ? k+1 : sizeof(buf));
285 if (fgets (buf, num, tmpf) == NULL) {
380 num = ((k < sizeof(buf)) ? k : sizeof(buf));
381 if ((n = fread (buf, 1, num, tmpf)) <= 0) {
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c120 char num[STRSIZE(MOST_FILES) + 1]; local
229 sprintf(num, "%d", count--);
230 path = makestr(Lp_Temp, "/F", p, "-", num, (char *)0);
339 int num,
360 if (num > BIGGEST_REQID)
380 while (num--) {
381 sprintf (cp, "%d", num + plus);
338 _alloc_files( int num, char * prefix, uid_t uid, gid_t gid ) argument
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c316 mdb_printf("thread num %d\n", group->rdc_thrnum);
1098 int num; local
1103 num = (int)mdb_strtoull(argv[0].a_un.a_str);
1104 num = FBA_TO_LOG_NUM(num);
1105 mdb_printf("LOG NUM: %d (0x%x)", num, num);
1114 int num; local
1119 num = (int)mdb_strtoull(argv[0].a_un.a_str);
1120 num
1130 int i, num; local
1170 int num, st, i; local
1234 int num; local
1250 int num; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c804 ** num -- default three digit SMTP reply code.
818 fmtmsg(eb, to, num, enhsc, eno, fmt, ap)
821 const char *num;
835 num = fmt;
838 if (num[3] == '-')
842 if (SoftBounce && num[0] == '5')
845 (void) sm_snprintf(eb, spaceleft, "4%2.2s%c", num + 1, del);
848 (void) sm_snprintf(eb, spaceleft, "%3.3s%c", num, del);
901 (strncmp(num, "050", 3) == 0 ||
902 strncmp(num, "25
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_config.c91 int i, num, size; local
109 num = _nscd_cfg_num_nsw_db;
115 num = _nscd_cfg_num_nsw_src_all;
121 num = _nscd_cfg_num_param;
127 num = _nscd_cfg_num_stat;
138 size = sizeof (nscd_cfg_list_t) + sizeof (nscd_cfg_id_t *) * (num + 1);
144 ret->num = num;
149 for (i = 0; i <= num; i++)
152 for (i = 0; i <= num;
320 int i, j, idx, rc, num; local
1022 int i, num, skip_bk; local
1620 int num; local
1758 int i, num; local
1807 int num; local
1888 int num, i = 0; local
2124 int i, num, is_group = 0; local
[all...]
/illumos-gate/usr/src/cmd/expr/
H A Dexpr.c121 long long num; local
142 (void) sscanf(buf, "%lld", &num);
143 (void) sprintf(buf, "%lld", num);
399 int num; local
422 num = braelist[0] - p;
423 if ((num > MSIZE - 1) || (num < 0))
425 (void) strncpy(Mstring[0], p, num);
426 Mstring[0][num] = '\0';
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c374 int num; local
378 if ((num = swapctl(SC_GETNSWP, NULL)) == -1) {
382 if (num == 0) {
387 if ((st = malloc(num * sizeof (swapent_t) + sizeof (int)))
394 if ((path = malloc(num * MAXPATHLEN)) == NULL) {
401 for (i = 0; i < num; i++, swapent++) {
406 st->swt_n = num;
407 if ((num = swapctl(SC_LIST, st)) == -1) {
431 for (i = 0; i < num; i++, swapent++) {
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dgetopts.c117 switch(opt_info.index>=0 && opt_info.index<=argc?(opt_info.num= LONG_MIN,flag=optget(argv,options)):0)
172 if(opt_info.num == LONG_MIN)
174 else if (opt_info.arg && opt_info.num > 0 && isalpha((char)opt_info.num) && !isdigit(opt_info.arg[0]) && opt_info.arg[0] != '-' && opt_info.arg[0] != '+')
176 key[0] = (char)opt_info.num;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c207 int num; local
282 num = dm_get_swapentries(&st, &err);
283 if (num < 0) {
288 for (i = 0, swapent = st->swt_ent; i < num; i++, swapent++) {
335 if (num)
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfds.c181 char num[64]; local
196 details = opt_info.num;
199 unit = opt_info.num;
324 sfsprintf(s = num, sizeof(num), "family.%d", addr.sin_family);
H A Duniq.c267 switch ((int)opt_info.num)
289 fields = opt_info.num;
291 chars = opt_info.num;
294 chars = opt_info.num;
297 width = opt_info.num;
/illumos-gate/usr/src/common/crypto/sha1/amd64/
H A Dsha1-x86_64.pl50 my ($code, $ctx, $inp, $num, $xi, $t0, $t1, $i, @V, $A, $B, $C, $D, $E, $T);
62 $num="%rdx"; # 3rd arg
67 $num="%r10";
96 mov %rdx,$num # reassigned argument
269 sub \$1,$num
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcmp.s69 ! Count > 48. We will byte compare (8 + num of bytes to dbl align)
78 sub %o4, 8, %o4 ! o4 = -(num of bytes to dbl align)
80 sub %o3, %o4, %o3 ! o3 = 8 + (num of bytes to dbl align)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c198 char num[32]; /* 2^64 is 20 chars decimal, 22 octal */ local
328 num[0] = va_arg(args, int);
329 num[1] = 0;
330 str = num;
338 (void) slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff,
340 str = num;
432 mstr = num + sizeof(num);
434 while (mstr > num
[all...]
/illumos-gate/usr/src/cmd/sgs/include/
H A Delfedit.h933 elfedit32_obj_state_t *obj_state, Elf32_Cap **cap, Elf32_Word *num);
935 elfedit64_obj_state_t *obj_state, Elf64_Cap **cap, Elf64_Word *num);
938 elfedit32_obj_state_t *obj_state, Elf32_Dyn **dyn, Elf32_Word *num);
940 elfedit64_obj_state_t *obj_state, Elf64_Dyn **dyn, Elf64_Word *num);
948 elfedit32_obj_state_t *obj_state, Elf32_Syminfo **syminfo, Elf32_Word *num);
950 elfedit64_obj_state_t *obj_state, Elf64_Syminfo **syminfo, Elf64_Word *num);
954 const char *name, Elf32_Sym **sym, Elf32_Word *num,
958 const char *name, Elf64_Sym **sym, Elf64_Word *num,
963 Elf32_Versym **versym, Elf32_Word *num);
966 Elf64_Versym **versym, Elf64_Word *num);
[all...]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l78 yylval.num = strtoul(yytext, (char **)NULL, 10);
82 {OCTAL} { yylval.num = strtoul(yytext, (char **)NULL, 8);
97 {MAPTYPE_NAME} { yylval.num = at_name_to_token(yytext);
103 {NAME} { yylval.num = at_name_to_token(yytext);
104 if (0 != yylval.num) {
105 return (yylval.num);
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c29 v831_dialer(char *num, char *acu) argument
52 timelim = 5 * strlen(num);
62 exit(dialit(num, acu) != 'A');
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssapi_ext.h82 OM_uint32 num; member in struct:_qop_num
90 OM_uint32 *num /* output qop num */
96 OM_uint32 num, /* input qop num */
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch.c589 int num = (int)(intptr_t)arg; local
592 if (num >= (sizeof (ip->i_ic) / sizeof (av1394_ic_t))) {
597 if (ip->i_ic[num] == NULL) {
601 return (ip->i_ic[num]);
660 int num; local
667 num = recv.rx_handle;
668 if (num >= (sizeof (ip->i_ic) / sizeof (av1394_ic_t))) {
673 icp = ip->i_ic[num];
702 int num; local
709 num
[all...]

Completed in 206 milliseconds

1234567891011>>