/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | misc.c | 141 in_olist(num) 144 int num; /* should we print this page? */ 155 * Returns ON if num represents a page that we're supposed to print. If no ranges 165 if ( num >= olist[i] && num <= olist[i+1] )
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | primenumbers1.sh | 54 integer num=$1 57 (( max_pn=sqrt(num)+1. )) 60 (( num % pn[i] == 0 )) && return 1;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | readlink.c | 62 canonicalize = opt_info.num; 65 nonewline = opt_info.num; 68 verbose = opt_info.num;
|
/illumos-gate/usr/src/common/net/wanboot/crypt/ |
H A D | aes_test.c | 75 int num; local 83 num = sizeof (td) / sizeof (test_data_t); 84 for (i = 0; i < num; i++) {
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fssnapsup.c | 113 int num, usenum = 0; local 129 num = (int)strtol(n, NULL, 10); 195 if ((usenum && i != num) || 211 kstat_t *back, *num; local 218 /* load num kstat */ 220 num = kstat_lookup(kslib, SNAP_NAME, snapnum, FSSNAP_KSTAT_NUM); 221 if (num == NULL) 224 if (kstat_read(kslib, num, NULL) == -1) 275 numvalp = kstat_data_lookup(num, 335 numvalp = kstat_data_lookup(num, [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | delete.c | 122 int num = del_num; local 124 kmf_set_attr_at_index(delete_attlist, num, 126 num++; 128 rv = kmf_delete_key_from_keystore(handle, num, delete_attlist); 139 int num = numattr; local 144 kmf_set_attr_at_index(attlist, num, 146 num++; 148 rv = kmf_find_key(kmfhandle, num, attlist); 172 kmf_set_attr_at_index(attlist, num, 174 num 193 int num = numattr; local 263 int num = numattr; local 278 int num = numattr; local 293 int num = numattr; local 470 int num = numattr; local 485 int num = numattr; local 500 int num = numattr; local 656 int num = numattr; local 668 int num = numattr; local [all...] |
H A D | import.c | 94 int num = numattr; local 105 kmf_set_attr_at_index(attrlist, num, 108 num++; 110 kmf_set_attr_at_index(attrlist, num, 113 num++; 117 kmf_set_attr_at_index(attrlist, num, 121 num++; 123 kmf_set_attr_at_index(attrlist, num, 126 num++; 127 rv = kmf_store_cert(kmfhandle, num, attrlis 155 int num = numattr; local 268 int num = numattr; local 311 int num = numattr; local 536 int num = numattr; local 568 int num = numattr; local [all...] |
H A D | list.c | 366 int num = numattr; local 369 kmf_set_attr_at_index(attrlist, num, 372 num++; 376 kmf_set_attr_at_index(attrlist, num, 379 num++; 383 rv = pk_list_keys(kmfhandle, attrlist, num, 388 int num = numattr; local 391 kmf_set_attr_at_index(attrlist, num, 394 num++; 398 kmf_set_attr_at_index(attrlist, num, 416 int num = numattr; local 575 int num = numattr; local 591 int num = numattr; local 746 int num = numattr; local 760 int num = numattr; local 779 int num = numattr; local [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 88 Word num, ndx; local 92 num = (Word)(shdr->sh_size / shdr->sh_entsize); 98 for (ndx = 1, info++; ndx < num; ndx++, info++) {
|
/illumos-gate/usr/src/cmd/stat/arcstat/ |
H A D | arcstat.pl | 228 # Pretty print num. Arguments are width, scale, and num 231 my $num = $_[2] || 0; 238 return sprintf("%s", $num); 239 } elsif (($num > 0) && ($num < 1)) { #rounding error. return 0 240 $num = 0; 243 while ($num > $scale and $index < 5) { 244 $save = $num; 245 $num [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | double.c | 365 ficl2IntegerDivideFloored(ficl2Integer num, ficlInteger den) argument 373 if (ficl2IntegerIsNegative(num)) { 374 num = ficl2IntegerNegate(num); 384 FICL_2UNSIGNED_SET(FICL_2UNSIGNED_GET_HIGH(num), 385 FICL_2UNSIGNED_GET_LOW(num), u); 410 ficl2IntegerDivideSymmetric(ficl2Integer num, ficlInteger den) argument 418 if (ficl2IntegerIsNegative(num)) { 419 num = ficl2IntegerNegate(num); [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 80 int num = 0; local 107 num++; 176 return (num); 181 num++; 185 return (num);
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | ventel.c | 33 ven_dialer(char *num, char *acu) argument 47 logent(value(HOST), num, "ventel", "can't synch up"); local 59 for (cp = num; *cp; cp++) { 66 for (cp = num; *cp; cp++) { 82 logent(value(HOST), num, "ventel", line); local
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 89 __rpc_gss_qop_to_num(char *qop, char *mech, OM_uint32 *num) argument 91 if (__gss_qop_to_num(qop, mech, num) != GSS_S_COMPLETE) 97 __rpc_gss_num_to_qop(char *mech, OM_uint32 num) argument 101 if (__gss_num_to_qop(mech, num, &qop) != GSS_S_COMPLETE) 107 __rpc_gss_svc_to_num(char *svc, rpc_gss_service_t *num) argument 110 *num = rpc_gss_svc_integrity; 112 *num = rpc_gss_svc_privacy; 114 *num = rpc_gss_svc_none; 116 *num = rpc_gss_svc_default; 123 __rpc_gss_num_to_svc(rpc_gss_service_t num) argument [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | audio_link.c | 126 send_number(long num) argument 136 (void) snprintf(buf, sizeof (buf), "/dev/mixer%ld", num); 143 (void) ioctl(fd, SNDCTL_SUN_SEND_NUMBER, &num); 146 "sent devnum audio %ld to %s\n", num, buf); 189 long num; local 283 num = strtol(buf, &ep, 10); 289 (void) snprintf(linkdst, sizeof (linkdst), "sound/%ld", num); 294 (void) snprintf(linkdst, sizeof (linkdst), "sound/%ldctl", num); 299 (void) snprintf(linkdst, sizeof (linkdst), "dsp%ld", num); 304 (void) snprintf(linkdst, sizeof (linkdst), "mixer%ld", num); [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uusched.c | 59 short num, snumber; local 154 for (num=0, m=M; m->mach[0] != '\0'; m++, num++) { 155 DEBUG(5, "machine: %s, ", M[num].mach); 156 DEBUG(5, "job grade list: %s\n", M[num].jgrade); 158 DEBUG(5, "Execute num=%d \n", num); 159 while (num > 0) { 175 snumber = (time((time_t *) 0) % num); /* random num */ [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pem_encode.c | 104 ctx->num = 0; 150 if ((ctx->num+inl) < ctx->length) { 151 (void) memcpy(&(ctx->enc_data[ctx->num]), in, inl); 152 ctx->num += inl; 155 if (ctx->num != 0) { 156 i = ctx->length-ctx->num; 157 (void) memcpy(&(ctx->enc_data[ctx->num]), in, i); 161 ctx->num = 0; 180 ctx->num = inl; 189 if (ctx->num ! [all...] |
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_utils.c | 50 * This routine fetches qop and num from "/etc/gss/qop". 86 * File format : qopname num(int) 125 if (*name == '\0') { /* end of line, no num */ 129 num_str = name; /* will contain num (n) */ 135 qop_num_pairs[qop_num_pair_cnt].num = (OM_uint32)atoi(name); 167 OM_uint32 *num 173 if (!num) 178 *num = GSS_C_QOP_DEFAULT; 188 *num = qop_num_pairs[i].num; 197 __gss_num_to_qop( char *mech, OM_uint32 num, char **qop ) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | dimm_topo.c | 55 inhm_vrank(nvlist_t *vrank, int num, uint64_t dimm_base, uint64_t limit, argument 61 (void) snprintf(buf, sizeof (buf), "dimm-rank-base-%d", num); 63 (void) snprintf(buf, sizeof (buf), "dimm-rank-limit-%d", num); 67 num); 70 "dimm-socket-interleave-way-%d", num); 75 num); 78 "dimm-channel-interleave-way-%d", num); 83 num); 86 "dimm-rank-interleave-way-%d", num); 96 int num; local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | magic.c | 82 unsigned long num; member in union:Entry::__anon2644 487 unsigned long num; local 554 num = 0; 556 num = ep->offset + off; 561 num = strexpr(ep->expr, NiL, indirect, mp) + off; 564 num = st->st_atime; 568 num = iblocks(st); 572 num = st->st_ctime; 587 num = st->st_gid; 599 num [all...] |
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | Ancestor.cc | 124 Ancestor::getInstOffset(int num) argument 126 if (num < numInstances) 127 return (offsets[num]); 133 Ancestor::getPath(int num) argument 135 if (num < numInstances) 136 return (paths[num]);
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 186 tbl->size = (sizeof (itm_tbl_hdr_t)) + (obj_array.num *obj_size); 187 tbl->number = obj_array.num; 206 for (obj_array.num = 0, ol = obj_list; 207 ol; obj_array.num += 1, ol = ol->next) { 211 obj_array.obj = malloc_vital(hdr_size + (size * obj_array.num)); 213 if (obj_array.num == 0) 370 itm_num_t num; local 381 for (num = 0, ol = obj_list; ol; ol = ol->next, num++) { 399 if (num 436 itm_num_t num; local 516 itm_size_t num; local 946 map_table_indexed_fixed( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long resultlen, itm_num_t error_count) argument 1134 map_table_lookup_fixed( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long resultlen, itm_size_t num2) argument 1286 map_table_hash( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long hash_factor, long resultlen, itm_size_t num2, itm_num_t error_count) argument 1588 map_table_dense_encoding( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, unsigned long entry_num, unsigned char *byte_seq_min, unsigned char *byte_seq_max, long resultlen, itm_num_t error_count) argument 1982 itm_num_t num; local 2200 itm_num_t num; local 2241 itm_num_t num; local 2335 itm_num_t num; local [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 37 int num; member in struct:profile_string_list 50 list->num = 0; 75 list->num = list->max = 0; 88 if (list->num + 1 >= list->max) { 100 list->list[list->num++] = newstr; 101 list->list[list->num] = NULL;
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_init.c | 46 diskaddr_t num; local 51 if ((cnt = sscanf(str, "%llu%c", &num, &c)) < 1) { 55 if (num & (DEV_BSIZE - 1)) { 59 num = lbtodb(num); 63 num *= DEV_BSIZE / DEV_BSIZE; 67 num *= 1024 / DEV_BSIZE; 71 num *= 1024 * 1024 / DEV_BSIZE; 79 *interlacep = num; 278 ulong_t num; local [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_msgfmt.h | 72 unsigned int num; /* line number */ member in struct:loc 77 unsigned int num; /* line number */ member in struct:entry 89 unsigned int num; /* line number */ member in struct:messages
|