/illumos-gate/usr/src/lib/libbc/libc/gen/common/sparc/ |
H A D | isinf.c | 36 isinf( d0, d1 ) 37 unsigned d0,d1; 40 if (d1 != 0 ) return 0; /* nope -- low-order must be all zeros */ 46 isnan( d0,d1 ) 47 unsigned d0,d1; 53 if ((d0 & ~(EXPONENT|SIGN)) == 0 && d1 == 0 ) return 0; /* must have bits */
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | dup2.c | 35 dup2(int d1, int d2) 39 if (d1 == d2) return(d1); 43 return(fcntl(d1, F_DUPFD, d2));
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_builtin_poll.sh | 47 compound d1=( 55 cat /dev/zero | { redirect 5<&0 ; poll -e d1.res -t 5. d1.u ; } || err_exit "poll returned non-zero exit code $?" 56 [[ "${d1.u[x].revents}" == "POLLIN" ]] || err_exit "d1.u[x].revents contains '${d1.u[x].revents}', not POLLIN" 57 [[ "${d1.u[y].revents}" == "POLLIN" ]] || err_exit "d1.u[y].revents contains '${d1.u[y].revents}', not POLLIN" 58 [[ "${d1 [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_debug.h | 50 #define IGB_DEBUGLOG_1(adapter, fmt, d1) \ 51 igb_log((adapter), (IGB_LOG_INFO), (fmt), (d1)) 52 #define IGB_DEBUGLOG_2(adapter, fmt, d1, d2) \ 53 igb_log((adapter), (IGB_LOG_INFO), (fmt), (d1), (d2)) 54 #define IGB_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ 55 igb_log((adapter), (IGB_LOG_INFO), (fmt), (d1), (d2), (d3))
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.h | 78 #define E1000G_DEBUGLOG_1(Adapter, Level, fmt, d1) \ 79 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1)) 81 #define E1000G_DEBUGLOG_2(Adapter, Level, fmt, d1, d2) \ 82 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1), (d2)) 84 #define E1000G_DEBUGLOG_3(Adapter, Level, fmt, d1, d2, d3) \ 85 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1),\ 88 #define E1000G_DEBUGLOG_4(Adapter, Level, fmt, d1, d2, d3, d4) \ 89 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1),\ 92 #define E1000G_DEBUGLOG_5(Adapter, Level, fmt, d1, d2, d3, d4, d5) \ 93 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1),\ [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fenv_inlines.h | 345 sse_cvtss2sd(float *f1, double *d1) argument 352 : "=m" (*d1), "=x" (tmp) 432 sse_cmpeqsd(double *d1, double *d2, long long *ll1) argument 437 : "=m" (*ll1), "+x" (*d1) 442 sse_cmpltsd(double *d1, double *d2, long long *ll1) argument 447 : "=m" (*ll1), "+x" (*d1) 452 sse_cmplesd(double *d1, double *d2, long long *ll1) argument 457 : "=m" (*ll1), "+x" (*d1) 462 sse_cmpunordsd(double *d1, double *d2, long long *ll1) argument 467 : "=m" (*ll1), "+x" (*d1) 473 sse_minsd(double *d1, double *d2, double *d3) argument 483 sse_maxsd(double *d1, double *d2, double *d3) argument 493 sse_addsd(double *d1, double *d2, double *d3) argument 503 sse_subsd(double *d1, double *d2, double *d3) argument 513 sse_mulsd(double *d1, double *d2, double *d3) argument 523 sse_divsd(double *d1, double *d2, double *d3) argument 533 sse_sqrtsd(double *d1, double *d2) argument 545 sse_ucomisd(double *d1, double *d2) argument 551 sse_comisd(double *d1, double *d2) argument 557 sse_cvtsd2ss(double *d1, float *f1) argument 569 sse_cvtsi2sd(int *i1, double *d1) argument 580 sse_cvttsd2si(double *d1, int *i1) argument 592 sse_cvtsd2si(double *d1, int *i1) argument 605 sse_cvtsi2sdq(long long *ll1, double *d1) argument 617 sse_cvttsd2siq(double *d1, long long *ll1) argument 629 sse_cvtsd2siq(double *d1, long long *ll1) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | ef_crypto.c | 23 crypto_data_t d1, d2; local 30 bzero(&d1, sizeof (d1)); 33 d1.cd_format = CRYPTO_DATA_RAW; 34 d1.cd_offset = 0; 35 d1.cd_length = length; 36 d1.cd_raw.iov_base = (char *)in; 37 d1.cd_raw.iov_len = length; 62 rv = crypto_encrypt(&mech, &d1, 68 rv = crypto_decrypt(&mech, &d1, [all...] |
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | rmdirp.c | 35 * The remaining path, which is not removed for some reason, is stored in "d1". 36 * If nothing remains, "d1" is empty. 54 rmdirp(char *d, char *d1) argument 72 (void) strcpy(d1, d); 93 (void) strcpy(d1, d); 101 (void) strcpy(d1, d); 108 (void) strcpy(d1, d); 117 (void) strcpy(d1, d); 130 *d1 = '\0';
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_debug.h | 49 #define IXGBE_DEBUGLOG_1(adapter, fmt, d1) \ 50 ixgbe_log((adapter), (fmt), (d1)) 51 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d2) \ 52 ixgbe_log((adapter), (fmt), (d1), (d2)) 53 #define IXGBE_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ 54 ixgbe_log((adapter), (fmt), (d1), (d2), (d3)) 55 #define IXGBE_DEBUGLOG_6(adapter, fmt, d1, d2, d3, d4, d5, d6) \ 56 ixgbe_log((adapter), (fmt), (d1), (d2), (d3), (d4), (d5), (d6)) 64 #define IXGBE_DEBUGLOG_1(adapter, fmt, d1) 65 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
H A D | hash_kef_generic.c | 23 crypto_data_t d1, d2; local 29 bzero(&d1, sizeof (d1)); 59 d1.cd_length = input[i].length; 60 d1.cd_format = CRYPTO_DATA_RAW; 61 d1.cd_offset = 0; 62 d1.cd_raw = v1; 64 rv = crypto_digest_update(ctxp, &d1, NULL); 96 crypto_data_t d1, d2; local 108 bzero(&d1, sizeo [all...] |
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 278 struct diff *d1, *d2, *d3; local 282 d1 = d13; 285 for (; (t1 = d1 < d13+m1) | (t2 = d2 < d23+m2); ) { 288 d1->old.from, d1->old.to, 289 d1->new.from, d1->new.to, 295 if (!t2 || t1 && d1->new.to < d2->new.from) { 299 change(1, &d1->old, 0); 300 keep(2, &d1 [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ftrace.h | 106 #define FTRACE_1(fmt, d1) \ 109 ftrace_1(fmt, d1, caller()); \ 111 #define FTRACE_2(fmt, d1, d2) \ 114 ftrace_2(fmt, d1, d2, caller()); \ 116 #define FTRACE_3(fmt, d1, d2, d3) \ 119 ftrace_3(fmt, d1, d2, d3, caller()); \
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | walkers.c | 112 iodev_walk(struct iodev_snapshot *d1, struct iodev_snapshot *d2, argument 117 while (d1 && d2) { 118 if (strcmp(d1->is_name, d2->is_name) < 0) { 120 cb(d1, NULL, data); 121 (void) iodev_walk(d1->is_children, NULL, cb, data); 122 d1 = d1->is_next; 123 } else if (strcmp(d1->is_name, d2->is_name) > 0) { 129 cb(d1, d2, data); 130 changed |= iodev_walk(d1 304 iodev_report(struct iodev_snapshot *d1, struct iodev_snapshot *d2) argument [all...] |
/illumos-gate/usr/src/cmd/eqn/ |
H A D | shift.c | 23 int shval, d1, h1, b1, h2, b2; local 43 d1 = VERT(EM(0.5, effps2)); 45 d1 = VERT(1); 47 shval = - d1 + h2 - b2; 48 if (d1+b1 > h2) /* move little sub down */ 50 ebase[yyval] = b1 + max(0, h2-b1-d1); 51 eht[yyval] = h1 + max(0, h2-b1-d1); 61 d1 = VERT(EM(0.2, effps)); 63 d1 = VERT(1); 73 shval = -(h1-b1) + h2-b2 - d1; 114 int effps, h1, h2, h3, b1, b2, b3, subsh, d1, d2, supsh, treg; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 84 krb5_data d1, d2, d3, salt, plaintext, checksum, ciphertext, confounder; local 96 * d1 is the contents buffer for key k1. 99 d1.length=keybytes; 100 d1.data=MALLOC(d1.length); 101 if (d1.data == NULL) 104 k1.length=d1.length; 105 k1.contents= (void *) d1.data; 109 * checksum field. 'd2' == 'd1' when not using the exportable 117 FREE(d1 280 krb5_data d1,d2,d3,salt,ciphertext,plaintext,checksum; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | moddiv.c | 77 UWtype d0, d1, n0, n1, n2; local 82 d1 = dd.s.high; 86 if (d1 == 0) 121 if (d1 > n1) 140 count_leading_zeros (bm, d1); 143 /* From (n1 >= d1) /\ (the most significant bit of d1 is set), 150 n1 >= d1 (true due to program flow). */ 151 if (n1 > d1 || n0 >= d0) 154 sub_ddmmss (n1, n0, n1, n0, d1, d [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_encrypt.c | 67 krb5_data d1, d2; local 100 d1.length = blocksize; 101 d1.data = (char *) plaintext; 103 if ((ret = krb5_c_random_make_octets(context, &d1))) 112 d1.length = plainlen; 113 d1.data = (char *) plaintext; 122 ivec, &d1, &d2)))) 138 if ((ret = krb5_hmac(context, derived_hmac_key, &d1, &d2))) { 144 1, &d1, &d2))) { 231 krb5_data d1, d local [all...] |
H A D | dk_decrypt.c | 87 krb5_data d1, d2; local 129 d1.length = enclen; 130 d1.data = input->data; 136 ivec, &d1, &d2))) != 0) 140 cn = (unsigned char *) d1.data + d1.length - blocksize; 151 d1.length = hashsize; 152 d1.data = (char *) cksum; 155 if ((ret = krb5_hmac(context, derived_hmac_key, &d2, &d1)) != 0) 159 1, &d2, &d1)) ! [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclfrutree.h | 53 #define FRUTREE_DEBUG1(lvl, fmt, d1) \ 55 syslog(LOG_DEBUG, fmt, d1); \ 57 #define FRUTREE_DEBUG2(lvl, fmt, d1, d2) \ 59 syslog(LOG_DEBUG, fmt, d1, d2); \ 61 #define FRUTREE_DEBUG3(lvl, fmt, d1, d2, d3) \ 63 syslog(LOG_DEBUG, fmt, d1, d2, d3); \ 65 #define FRUTREE_DEBUG4(lvl, fmt, d1, d2, d3, d4) \ 67 syslog(LOG_DEBUG, fmt, d1, d2, d3, d4); \
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | crypt.c | 276 #define ZERO(d,d0,d1) d0 = 0, d1 = 0 277 #define LOAD(d,d0,d1,bl) d0 = (bl).b32.i0, d1 = (bl).b32.i1 278 #define LOADREG(d,d0,d1,s,s0,s1) d0 = s0, d1 = s1 279 #define OR(d,d0,d1,bl) d0 |= (bl).b32.i0, d1 |= (bl).b32.i1 281 #define DCL_BLOCK(d,d0,d1) long d0, d1 [all...] |
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_ccmp.c | 236 crypto_data_t d1, d2; local 260 bzero(&d1, sizeof (d1)); 263 d1.cd_format = CRYPTO_DATA_RAW; 264 d1.cd_offset = 0; 265 d1.cd_length = plain_len; 266 d1.cd_raw.iov_base = (char *)plaintext; 267 d1.cd_raw.iov_len = plain_len; 276 rv = crypto_encrypt(&mech, &d1, &crkey, NULL, &d2, NULL); 289 crypto_data_t d1, d local [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_helper.c | 59 directory_t d1 = NULL; local 78 de = directory_open(&d1); 82 d1 = d; 85 de = directory_get_v(d1, &ret_list, &name, 1, type, attrs); 121 directory_close(d1); 170 directory_t d1 = NULL; local 194 de = directory_open(&d1); 198 d1 = d; 201 de = directory_get_v(d1, &ret_list, &id, 1, id_type, attrs); 234 directory_close(d1); [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | funcs.c | 64 days_btwn(int m1, int d1, int y1, int m2, int d2, int y2) argument 68 * m1/d1/y1 and m2/d2/y2. 76 if ((m1 == m2) && (d1 == d2) && (y1 == y2)) 78 if ((m1 == m2) && (d1 < d2)) { 80 * In case of d2==29 ,d1==28 and m1==m2==Feb and year is not 88 return (p*365 + d2-d1-1); 90 return (d2-d1-1); 93 days = (days_in_mon(m1, y1)-d1) + (d2-1);
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LogDistribution.java | 157 double d1 = v1.doubleValue(); 159 int cmp = (d1 < d2 ? -1 : (d1 > d2 ? 1 : 0));
|
/illumos-gate/usr/src/lib/libm/amd64/src/ |
H A D | libm_inlines.h | 131 copysign(double d1, double d2) argument 140 : "+&x" (d1), "=&x" (tmpd) 143 return (d1);
|