/titanic_50/usr/src/lib/libc/port/fp/ |
H A D | aconvert.c | 62 } a, c; in __aconvert() local 66 a.d = arg; in __aconvert() 67 *sign = s = a.i[0] >> 31; in __aconvert() 68 ha = a.i[0] & ~0x80000000; in __aconvert() 73 __infnanstring((ha == 0x7ff00000 && a.i[1] == 0)? in __aconvert() 80 if ((ha | a.i[1]) == 0) { in __aconvert() 94 a.i[0] = ha; in __aconvert() 95 a.d = (double)a.l; in __aconvert() 97 a.d = -a.d; in __aconvert() 98 ha = a.i[0] & ~0x80000000; in __aconvert() [all …]
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/tracemem/ |
H A D | tst.dynsize.d.out | 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 13 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 24 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 35 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 46 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 57 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 68 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 79 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 90 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 101 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef [all …]
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | sftp-common.c | 53 attrib_clear(Attrib *a) in attrib_clear() argument 55 a->flags = 0; in attrib_clear() 56 a->size = 0; in attrib_clear() 57 a->uid = 0; in attrib_clear() 58 a->gid = 0; in attrib_clear() 59 a->perm = 0; in attrib_clear() 60 a->atime = 0; in attrib_clear() 61 a->mtime = 0; in attrib_clear() 66 stat_to_attrib(const struct stat *st, Attrib *a) in stat_to_attrib() argument 68 attrib_clear(a); in stat_to_attrib() [all …]
|
/titanic_50/usr/src/uts/common/zmod/ |
H A D | adler32.c | 23 # define MOD(a) \ argument 25 if (a >= (BASE << 16)) a -= (BASE << 16); \ 26 if (a >= (BASE << 15)) a -= (BASE << 15); \ 27 if (a >= (BASE << 14)) a -= (BASE << 14); \ 28 if (a >= (BASE << 13)) a -= (BASE << 13); \ 29 if (a >= (BASE << 12)) a -= (BASE << 12); \ 30 if (a >= (BASE << 11)) a -= (BASE << 11); \ 31 if (a >= (BASE << 10)) a -= (BASE << 10); \ 32 if (a >= (BASE << 9)) a -= (BASE << 9); \ 33 if (a >= (BASE << 8)) a -= (BASE << 8); \ [all …]
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 321 ipmon_action_t *a; local 326 a = (ipmon_action_t *)calloc(1, sizeof(*a)); 327 if (a == NULL) 337 if (macflags[i][1] & a->ac_mflag) { 347 a->ac_mflag |= macflags[i][1]; 352 a->ac_direction = o->o_num; 355 a->ac_dip = o->o_ip.s_addr; 356 a->ac_dmsk = htonl(0xffffffff << (32 - o->o_num)); 359 a->ac_dport = htons(o->o_num); 362 a->ac_exec = o->o_str; [all …]
|
/titanic_50/usr/src/lib/libsum/common/ |
H A D | sum-sha1.c | 99 static void do_R01(uint32_t *a, uint32_t *b, uint32_t *c, 101 static void do_R2(uint32_t *a, uint32_t *b, uint32_t *c, 103 static void do_R3(uint32_t *a, uint32_t *b, uint32_t *c, 105 static void do_R4(uint32_t *a, uint32_t *b, uint32_t *c, 115 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, in do_R01() argument 118 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); in do_R01() 119 nR0(c,d,e,a,b, 3); nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); in do_R01() 120 nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); nR0(c,d,e,a,b, 8); in do_R01() 121 nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01() 122 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); in do_R01() [all …]
|
H A D | sum-md5.c | 177 #define FF(a, b, c, d, x, s, ac) { \ argument 178 (a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \ 179 (a) = ROTATE_LEFT ((a), (s)); \ 180 (a) += (b); \ 182 #define GG(a, b, c, d, x, s, ac) { \ argument 183 (a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \ 184 (a) = ROTATE_LEFT ((a), (s)); \ 185 (a) += (b); \ 187 #define HH(a, b, c, d, x, s, ac) { \ argument 188 (a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \ [all …]
|
/titanic_50/usr/src/uts/common/inet/ip/ |
H A D | ip_listutils.c | 66 lists_are_different(const slist_t *a, const slist_t *b) in lists_are_different() argument 69 int acnt = SLIST_CNT(a); in lists_are_different() 83 &a->sl_addr[i], &b->sl_addr[j])) { in lists_are_different() 99 list_has_addr(const slist_t *a, const in6_addr_t *addr) in list_has_addr() argument 103 if (SLIST_IS_EMPTY(a)) in list_has_addr() 106 ASSERT(a->sl_numsrc <= MAX_FILTER_SIZE); in list_has_addr() 108 for (i = 0; i < a->sl_numsrc; i++) { in list_has_addr() 109 if (IN6_ARE_ADDR_EQUAL(&a->sl_addr[i], addr)) in list_has_addr() 122 l_intersection(const slist_t *a, const slist_t *b, slist_t *target) in l_intersection() argument 128 if (SLIST_IS_EMPTY(a) || SLIST_IS_EMPTY(b)) in l_intersection() [all …]
|
/titanic_50/usr/src/cmd/tail/tests/ |
H A D | tailtests.sh | 81 a=`echo -e "abcd" | $PROG +2c` 82 checktest "$a" "$o" 1 85 a=`echo "abcd" | $PROG +8c` 86 checktest "$a" "$o" 2 89 a=`echo "abcd" | $PROG -9c` 90 checktest "$a" "$o" 3 93 a=`echo -e "x" | $PROG -1l` 94 checktest "$a" "$o" 4 97 a=`echo -e "x\ny\n" | $PROG -1l` 98 checktest "$a" "$o" 5 [all …]
|
/titanic_50/usr/src/grub/grub-0.97/netboot/ |
H A D | tlan.h | 392 #define CIRC_INC( a, b ) if ( ++a >= b ) a = 0 argument 485 inline u32 TLan_HashFunc(u8 * a) in TLan_HashFunc() argument 489 hash = (a[0] ^ a[3]); /* & 077 */ in TLan_HashFunc() 490 hash ^= ((a[0] ^ a[3]) >> 6); /* & 003 */ in TLan_HashFunc() 491 hash ^= ((a[1] ^ a[4]) << 2); /* & 074 */ in TLan_HashFunc() 492 hash ^= ((a[1] ^ a[4]) >> 4); /* & 017 */ in TLan_HashFunc() 493 hash ^= ((a[2] ^ a[5]) << 4); /* & 060 */ in TLan_HashFunc() 494 hash ^= ((a[2] ^ a[5]) >> 2); /* & 077 */ in TLan_HashFunc() 501 inline u32 xor(u32 a, u32 b) in xor() argument 503 return ((a && !b) || (!a && b)); in xor() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_dh/backend/crypto/ |
H A D | md5.c | 80 #define FF(a, b, c, d, x, s, ac) \ argument 81 {(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \ 82 (a) = ROTATE_LEFT ((a), (s)); \ 83 (a) += (b); \ 85 #define GG(a, b, c, d, x, s, ac) \ argument 86 {(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \ 87 (a) = ROTATE_LEFT ((a), (s)); \ 88 (a) += (b); \ 90 #define HH(a, b, c, d, x, s, ac) \ argument 91 {(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \ [all …]
|
/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ecp_384.c | 59 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_mod() argument 62 int a_bits = mpl_significant_bits(a); in ec_GFp_nistp384_mod() 90 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod() 93 s[0][i] = MP_DIGIT(a, i); in ec_GFp_nistp384_mod() 99 s[1][4] = MP_DIGIT(a, 21); in ec_GFp_nistp384_mod() 100 s[1][5] = MP_DIGIT(a, 22); in ec_GFp_nistp384_mod() 101 s[1][6] = MP_DIGIT(a, 23); in ec_GFp_nistp384_mod() 108 s[2][i] = MP_DIGIT(a, i+12); in ec_GFp_nistp384_mod() 110 s[3][0] = MP_DIGIT(a, 21); in ec_GFp_nistp384_mod() 111 s[3][1] = MP_DIGIT(a, 22); in ec_GFp_nistp384_mod() [all …]
|
/titanic_50/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 45 ap_getncm(apd_t *a, sbd_comp_type_t type, int *ncm) in ap_getncm() argument 50 if (a->fd == -1 || a->ctl == NULL) in ap_getncm() 53 ctl = (sbd_ioctl_arg_t *)a->ctl; in ap_getncm() 60 DBG("ioctl(%d SBD_CMD_GETNCM, 0x%p)\n", a->fd, (void *)ctl); in ap_getncm() 62 if (ioctl(a->fd, SBD_CMD_GETNCM, ctl) == -1) { in ap_getncm() 63 ap_err(a, ERR_CMD_FAIL, CMD_GETNCM); in ap_getncm() 78 ap_stat(apd_t *a, int all) in ap_stat() argument 92 DBG("ap_stat(%s)\n", a->path); in ap_stat() 95 if (a->fd == -1) { in ap_stat() 96 DBG("open(%s)\n", a->path); in ap_stat() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/crypto/md4/ |
H A D | md4.c | 71 #define FF(a, b, c, d, x, s) \ argument 72 {(a) += F ((b), (c), (d)) + (x); \ 73 (a) &= 0xffffffff; \ 74 (a) = ROTATE_LEFT ((a), (s));} 75 #define GG(a, b, c, d, x, s) \ argument 76 {(a) += G ((b), (c), (d)) + (x) + 013240474631UL; \ 77 (a) &= 0xffffffff; \ 78 (a) = ROTATE_LEFT ((a), (s));} 79 #define HH(a, b, c, d, x, s) \ argument 80 {(a) += H ((b), (c), (d)) + (x) + 015666365641UL; \ [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | db_swap.h | 51 #define M_32_SWAP(a) { \ argument 53 _tmp = a; \ 54 ((u_int8_t *)&a)[0] = ((u_int8_t *)&_tmp)[3]; \ 55 ((u_int8_t *)&a)[1] = ((u_int8_t *)&_tmp)[2]; \ 56 ((u_int8_t *)&a)[2] = ((u_int8_t *)&_tmp)[1]; \ 57 ((u_int8_t *)&a)[3] = ((u_int8_t *)&_tmp)[0]; \ 59 #define P_32_COPY(a, b) { \ argument 60 ((u_int8_t *)b)[0] = ((u_int8_t *)a)[0]; \ 61 ((u_int8_t *)b)[1] = ((u_int8_t *)a)[1]; \ 62 ((u_int8_t *)b)[2] = ((u_int8_t *)a)[2]; \ [all …]
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | charray.c | 36 char ***a, in ldap_charray_add() argument 42 if ( *a == NULL ) { in ldap_charray_add() 43 *a = (char **)NSLDAPI_MALLOC( 2 * sizeof(char *) ); in ldap_charray_add() 44 if ( *a == NULL ) { in ldap_charray_add() 49 for ( n = 0; *a != NULL && (*a)[n] != NULL; n++ ) { in ldap_charray_add() 53 *a = (char **)NSLDAPI_REALLOC( (char *) *a, in ldap_charray_add() 55 if ( *a == NULL ) { in ldap_charray_add() 60 (*a)[n++] = s; in ldap_charray_add() 61 (*a)[n] = NULL; in ldap_charray_add() 72 char ***a, in ldap_charray_merge() argument [all …]
|
/titanic_50/usr/src/lib/libast/common/uwin/ |
H A D | gamma.c | 156 return(__exp__D(u.a, u.b)); 190 u.a -= one; 191 v.a = (x -= .5); 192 TRUNC(v.a); 193 v.b = x - v.a; 194 t.a = v.a*u.a; /* t = (x-.5)*(log(x)-1) */ 195 t.b = v.b*u.a + x*u.b; 198 u.a = lns2pi_hi + t.b; u.a += t.a; 199 u.b = t.a - u.a; 217 return (yy.a + yy.b); [all …]
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | l3.c | 44 register char *a, *b; in ltol3() local 46 a = cp; in ltol3() 51 *a++ = *b++; in ltol3() 52 *a++ = *b++; in ltol3() 53 *a++ = *b++; in ltol3() 56 *a++ = *b++; in ltol3() 57 *a++ = *b++; in ltol3() 58 *a++ = *b++; in ltol3() 62 *a++ = *b++; in ltol3() 64 *a++ = *b++; in ltol3() [all …]
|
/titanic_50/usr/src/lib/libsqlite/test/ |
H A D | in.test | 7 # a legal notice, here is a blessing: 31 CREATE TABLE t1(a int, b int); 41 execsql {SELECT a FROM t1 WHERE b BETWEEN 10 AND 50 ORDER BY a} 44 execsql {SELECT a FROM t1 WHERE b NOT BETWEEN 10 AND 50 ORDER BY a} 47 execsql {SELECT a FROM t1 WHERE b BETWEEN a AND a*5 ORDER BY a} 50 execsql {SELECT a FROM t1 WHERE b NOT BETWEEN a AND a*5 ORDER BY a} 53 execsql {SELECT a FROM t1 WHERE b BETWEEN a AND a*5 OR b=512 ORDER BY a} 56 execsql {SELECT a+ 100*(a BETWEEN 1 and 3) FROM t1 ORDER BY b} 63 execsql {SELECT a FROM t1 WHERE b IN (8,12,16,24,32) ORDER BY a} 66 execsql {SELECT a FROM t1 WHERE b NOT IN (8,12,16,24,32) ORDER BY a} [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | machelf.h | 151 #define EC_ADDR(a) ((Elf64_Addr)(a)) /* "ull" */ argument 152 #define EC_OFF(a) ((Elf64_Off)(a)) /* "ull" */ argument 153 #define EC_HALF(a) ((Elf64_Half)(a)) /* "d" */ argument 154 #define EC_WORD(a) ((Elf64_Word)(a)) /* "u" */ argument 155 #define EC_SWORD(a) ((Elf64_Sword)(a)) /* "d" */ argument 156 #define EC_XWORD(a) ((Elf64_Xword)(a)) /* "ull" */ argument 157 #define EC_SXWORD(a) ((Elf64_Sxword)(a)) /* "ll" */ argument 158 #define EC_LWORD(a) ((Elf64_Lword)(a)) /* "ull" */ argument 166 #define EC_NATPTR(a) ((Elf64_Xword)(uintptr_t)(a)) /* "ull" */ argument 168 #define EC_ADDR(a) ((u_longlong_t)(a)) argument [all …]
|
/titanic_50/usr/src/uts/common/sys/tsol/ |
H A D | priv.h | 49 #define PRIV_ASSERT(a, b) (priv_addset(a, b)) argument 54 #define PRIV_CLEAR(a, b) (priv_delset(a, b)) argument 59 #define PRIV_EQUAL(a, b) (priv_isequalset(a, b)) argument 60 #define PRIV_EMPTY(a) (priv_emptyset(a)) argument 61 #define PRIV_FILL(a) (priv_fillset(a)) argument 66 #define PRIV_ISASSERT(a, b) (priv_ismember(a, b)) argument 67 #define PRIV_ISEMPTY(a) (priv_isemptyset(a)) argument 68 #define PRIV_ISFULL(a) (priv_isfullset(a)) argument 74 #define PRIV_ISSUBSET(a, b) (priv_issubset(a, b)) argument 79 #define PRIV_INTERSECT(a, b) (priv_intersect(a, b)) argument [all …]
|
/titanic_50/usr/src/common/crypto/md4/ |
H A D | md4.c | 86 #define FF(a, b, c, d, x, s) { \ argument 87 (a) += F((b), (c), (d)) + (x); \ 88 (a) = ROTATE_LEFT((a), (s)); \ 90 #define GG(a, b, c, d, x, s) { \ argument 91 (a) += G((b), (c), (d)) + (x) + (uint32_t)0x5a827999; \ 92 (a) = ROTATE_LEFT((a), (s)); \ 94 #define HH(a, b, c, d, x, s) { \ argument 95 (a) += H((b), (c), (d)) + (x) + (uint32_t)0x6ed9eba1; \ 96 (a) = ROTATE_LEFT((a), (s)); \ 193 uint32_t a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in MD4Transform() local [all …]
|
/titanic_50/usr/src/cmd/oawk/ |
H A D | parse.c | 44 NODE *exptostat(a) NODE *a; in exptostat() argument 46 a->ntype = NSTAT; 47 return (a); 53 NODE *node0(a) in node0() argument 58 x->nobj = a; in node0() 65 NODE *node1(a, b) NODE *b; in node1() argument 70 x->nobj = a; 78 NODE *node2(a, b, c) NODE *b, *c; in node2() argument 83 x->nobj = a; 92 NODE *node3(a, b, c, d) NODE *b, *c, *d; in node3() argument [all …]
|
/titanic_50/usr/src/cmd/sendmail/aux/ |
H A D | Makefile | 78 vacation: vacation.o convtime.o rfc2047.o ../libsm/libsm.a 80 ../libsm/libsm.a 83 mail.local: mail.local.o ../libsmutil/libsmutil.a ../libsm/libsm.a 84 $(LINK.c) mail.local.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \ 85 ../libsm/libsm.a 88 smrsh: smrsh.o ../libsm/libsm.a 89 $(LINK.c) smrsh.o -o $@ $(LDLIBS) ../libsm/libsm.a 92 makemap: makemap.o ../libsmutil/libsmutil.a ../libsmdb/libsmdb.a \ 93 ../db/libdb.a ../libsm/libsm.a 94 $(LINK.c) makemap.o -o $@ $(LDLIBS) ../libsmdb/libsmdb.a \ [all …]
|
/titanic_50/usr/src/lib/libmp/common/ |
H A D | old_mp.c | 29 void gcd(MINT *a, MINT *b, MINT *c) { mp_gcd(a, b, c); } in gcd() argument 31 void madd(MINT *a, MINT *b, MINT *c) { mp_madd(a, b, c); } in madd() argument 33 void msub(MINT *a, MINT *b, MINT *c) { mp_msub(a, b, c); } in msub() argument 35 void mdiv(MINT *a, MINT *b, MINT *q, MINT *r) { mp_mdiv(a, b, q, r); } in mdiv() argument 37 void sdiv(MINT *a, short n, MINT *q, short *r) { mp_sdiv(a, n, q, r); } in sdiv() argument 39 int min(MINT *a) { return (mp_min(a)); } in min() argument 41 void mout(MINT *a) { mp_mout(a); } in mout() argument 43 int msqrt(MINT *a, MINT *b, MINT *r) { return (mp_msqrt(a, b, r)); } in msqrt() argument 45 void mult(MINT *a, MINT *b, MINT *c) { mp_mult(a, b, c); } in mult() argument 47 void pow(MINT *a, MINT *b, MINT *c, MINT *d) { mp_pow(a, b, c, d); } in pow() argument [all …]
|