/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | files.c | 120 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
|
H A D | status.c | 515 parseFormList(char *formList, short *num) argument 546 *num = numForms; 549 *num = 0;
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 555 allocate(Map *ptr, int num) argument 560 * Allocates space for num Map elements. Calls malloc() if ptr is NULL and 566 ptr = (Map *)malloc(num * sizeof(Map)); 567 else ptr = (Map *)realloc(ptr, num * sizeof(Map));
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_door_legacy.c | 103 DWORD num = 0; local 106 (void) memcpy(&num, ctx->ptr, sizeof (DWORD)); 112 return (num); 118 int32_t num = 0; local 121 (void) memcpy(&num, ctx->ptr, sizeof (int32_t)); 127 return (num); 171 smb_dr_put_dword(smb_dr_ctx_t *ctx, DWORD num) argument 175 (void) memcpy(ctx->ptr, &num, sizeof (DWORD)); 184 smb_dr_put_int32(smb_dr_ctx_t *ctx, int32_t num) argument 188 (void) memcpy(ctx->ptr, &num, sizeo 197 smb_dr_put_uint32(smb_dr_ctx_t *ctx, uint32_t num) argument 236 int64_t num = 0; local 256 smb_dr_put_int64(smb_dr_ctx_t *ctx, int64_t num) argument 269 smb_dr_put_uint64(smb_dr_ctx_t *ctx, uint64_t num) argument 275 smb_dr_put_short(smb_dr_ctx_t *ctx, short num) argument 290 short num = 0; local 303 smb_dr_put_ushort(smb_dr_ctx_t *ctx, unsigned short num) argument 315 smb_dr_put_word(smb_dr_ctx_t *ctx, WORD num) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ksetpwd.c | 195 smb_krb5_get_kprincs(krb5_context ctx, char **names, size_t num, argument 200 if ((*krb5princs = calloc(num, sizeof (krb5_principal *))) == NULL) { 204 for (i = 0; i < num; i++) { 216 size_t num) 220 for (i = 0; i < num; i++) 215 smb_krb5_free_kprincs(krb5_context ctx, krb5_principal *krb5princs, size_t num) argument
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/ |
H A D | sharectl.c | 404 valid_proto(char **protos, int num, char *proto) argument 407 for (i = 0; i < num; i++)
|
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.c | 528 uint_t num; local 531 for (num = 0; num < cnum; num++) { 536 if (cdp[num].c_val == 0) 539 if ((err = get_str_desc(style, &cdp[num], &nstr)) != 0) 543 return (cdp[num].c_val); 546 return (cdp[num].c_val);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | printf.c | 61 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper); 172 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument 179 c = hex2ascii(num % base); 181 } while (num /= base); 222 uintmax_t num; local 229 num = 0; 299 num = (u_int)va_arg(ap, int); 301 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;) 304 if (num == 0) 309 if (num [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | multiboot.c | 420 int error, num, i; local 461 num = 0; 463 num++; 470 if (num == 0 || rootfs == 0) { 482 last_addr += roundup(sizeof(*mb_mod) * num, MULTIBOOT_INFO_ALIGN); 484 bzero(mb_mod, sizeof(*mb_mod) * num); 486 num = 0; 488 mb_mod[num].mod_start = mfp->f_addr; 489 mb_mod[num].mod_end = mfp->f_addr + mfp->f_size; 517 mb_mod[num] [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 114 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) argument 119 dprintf("ds=%p obj=%llx num=%d\n", ds, dn->dn_object, num); 121 for (int i = 0; i < num; i++, bp++) { 157 int off, num; local 166 num = end - start + 1; 169 ASSERT3U(num, >=, 0); 172 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT); 175 for (i = off; i < off+num; i++) { 202 "child=%p i=%d off=%d num [all...] |
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | util.c | 42 nicenum(uint64_t num, char *buf) argument 44 uint64_t n = num; 57 } else if (n < 10 && (num & (num - 1)) != 0) { 59 (double)num / (1ULL << 10 * index), u); 60 } else if (n < 100 && (num & (num - 1)) != 0) { 62 (double)num / (1ULL << 10 * index), u);
|
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 159 unsigned int num; local 179 num=(temp[0] * 256 * 256 * 256) + 186 sprintf(ret, "%u", num);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_tree.c | 403 int num; member in struct:profile_iterator 435 iter->num = 0; 486 skip_num = iter->num; 591 iter->num++;
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_parse_generic.c | 44 sip_atoi(_sip_header_t *sip_header, int *num) argument 48 *num = 0; 55 *num = (*num * 10) +
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 170 short num; member in union:__anon4215 173 test.num = 1;
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 667 unsigned int num; /* holds the number of entries in the list */ local 672 num = getnlookups(cp); 673 if (num == 0) 675 if ((listpp = malloc((num + 1) * sizeof (char *))) == NULL) 679 while (num--) {
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getdment.c | 353 * puts instance or -1 into *num. 356 dmap_exact_dev(devmap_t *dmap, char *dev, int *num) argument 364 if (sscanf(dv, "%d", num) != 1) 365 *num = -1;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | expr.c | 172 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...] |
H A D | tail.c | 352 num(register const char* s, char** e, int* f, int o) function 469 number = num(s, &s, &flags, n); 492 if (opt_info.num) 533 if ((number = num(s, &t, &flags, 0)) && i)
|
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 844 calloc(size_t num, size_t size) argument 849 if (num == 0 || size == 0) { 852 total = num * size; 855 if ((total / num) != size) { 1180 cfree(void *p, size_t num, size_t size) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | mb_info.h | 140 unsigned long num; member in struct:multiboot_info::__anon2211::__anon2213
|
H A D | stage2.c | 86 get_entry (char *list, int num, int nested) argument 90 for (i = 0; i < num; i++)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 198 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/cron/ |
H A D | crontab.c | 530 int num, num2; local 550 num = 0; 552 num = num*10 + (line[cursor]-'0'); 554 if ((num < lower) || (num > upper)) {
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 115 fatal("-n num\n", NULL); 264 int num; local 277 for (num = atoi(fls); num >= 0; num--) { 278 (void) sprintf(fls, "%.*d", fiwidth, num);
|