Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/titanic_50/usr/src/lib/libast/common/path/
H A Dpathkey.c45 register char* k; in pathkey() local
65 k = key; in pathkey()
67 *k++ = let[n & 0xf]; in pathkey()
68 *k = 0; in pathkey()
106 if (k = getenv(PR_BASE)) in pathkey()
108 if (s = strrchr(k, '/')) in pathkey()
109 k = s + 1; in pathkey()
110 n = memsum(k, strlen(k), n); in pathkey()
115 if ((k = getenv("VIRTUAL_ROOT")) && *k == '/') in pathkey()
117 n = memsum(k, strlen(k), n); in pathkey()
[all …]
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dsched.c85 el_key_t *fk, *k; in il_shift() local
89 k = il[icurr]; in il_shift()
90 while (k->time < t) { in il_shift()
91 fk = k; in il_shift()
92 fn = k->notice; in il_shift()
100 k = il[(icurr + DU - 1) % DU]; in il_shift()
101 if (k->time < INFINITY - DT) { in il_shift()
102 nt = k->time + DT; /* next key time */ in il_shift()
106 while (k->time < nt) { in il_shift()
107 k = k->right; in il_shift()
[all …]
/titanic_50/usr/src/cmd/cron/
H A Delm.c138 struct key *kprev, *k; local
159 k = (struct key *)xmalloc(sizeof (struct key));
160 k->time = LB;
161 k->numnote = 1;
162 k->notice = n;
163 k->left = NULL;
164 kprev = k;
166 n->key = k;
179 k = (struct key *)xmalloc(sizeof (struct key));
180 k->time = t;
[all …]
/titanic_50/usr/src/common/crypto/aes/amd64/
H A Daeskey.c81 #define ke4(k, i) \ argument
82 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
83 k[4 * (i) + 5] = ss[1] ^= ss[0]; \
84 k[4 * (i) + 6] = ss[2] ^= ss[1]; \
85 k[4 * (i) + 7] = ss[3] ^= ss[2]; \
115 #define kef6(k, i) \ argument
116 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \
117 k[6 * (i) + 7] = ss[1] ^= ss[0]; \
118 k[6 * (i) + 8] = ss[2] ^= ss[1]; \
119 k[6 * (i) + 9] = ss[3] ^= ss[2]; \
[all …]
/titanic_50/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c55 #define MINDEX(len, m, k) \ argument
58 while (k >= len) { \
59 k -= len; \
71 m_xword(mblk_t *m, uint32_t k, int *err) in m_xword() argument
78 MINDEX(len, m, k); in m_xword()
79 cp = mtod(m, uchar_t *) + k; in m_xword()
80 if (len >= k + 4) { in m_xword()
85 if (m0 == 0 || M_LEN(m0) + len - k < 4) { in m_xword()
86 DTRACE_PROBE3(mblk_xword_fail, mblk_t *, m0, int, len, int, k); in m_xword()
91 switch (len - k) { in m_xword()
[all …]
/titanic_50/usr/src/lib/libm/common/R/
H A Drintf.c69 int hx, k; in aintf() local
73 k = (hx & ~0x80000000) >> 23; in aintf()
74 if (k < 150) { in aintf()
80 return (((k - 127) & hx) < 0 ? -y : y); in aintf()
89 int hx, k, j, ix; in anintf() local
93 k = ix >> 23; in anintf()
94 if (((k - 127) ^ (k - 150)) < 0) { in anintf()
95 j = 1 << (149 - k); in anintf()
96 k = j + j - 1; in anintf()
97 if ((k & hx) != 0) in anintf()
[all …]
H A Dfloorf.c60 int hx, k, j, ix; in ceilf() local
64 k = ix >> 23; in ceilf()
65 if (((k - 127) ^ (k - 150)) < 0) { in ceilf()
66 k = (1 << (150 - k)) - 1; in ceilf()
67 if ((k & hx) != 0) in ceilf()
69 j = k & (~(hx >> 31)); in ceilf()
70 *(int *) &x = (hx + j) & ~k; in ceilf()
72 } else if (k <= 126) { in ceilf()
88 int hx, k, j, ix; in floorf() local
92 k = ix >> 23; in floorf()
[all …]
/titanic_50/usr/src/lib/libm/common/m9x/
H A Dscalblnl.c36 #define XSET_EXP(k, x) ((int *) &x)[0] = (((int *) &x)[0] & ~0x7fff0000) | \ argument
37 (k << 16)
38 #define ISINFNANL(k, x) (k == 0x7fff) argument
44 #define XSET_EXP(k, x) ((int *) &x)[2] = (((int *) &x)[2] & ~0x7fff) | k argument
46 #define ISINFNANL(k, x) (k == 0x7fff || \ argument
47 (k != 0 && (((int *) &x)[1] & 0x80000000) == 0))
49 #define ISINFNANL(k, x) (k == 0x7fff) argument
58 int k = XBIASED_EXP(x); in scalblnl() local
60 if (ISINFNANL(k, x)) in scalblnl()
64 if (k == 0) { in scalblnl()
[all …]
/titanic_50/usr/src/lib/libm/common/Q/
H A Dscalbnl.c37 #define XSET_EXP(k, x) ((int *) &x)[0] = (((int *) &x)[0] & ~0x7fff0000) | \ argument
38 (k << 16)
39 #define ISINFNANL(k, x) (k == 0x7fff) argument
45 #define XSET_EXP(k, x) ((int *) &x)[2] = (((int *) &x)[2] & ~0x7fff) | k argument
47 #define ISINFNANL(k, x) (k == 0x7fff || k != 0 && \ argument
50 #define ISINFNANL(k, x) (k == 0x7fff) argument
59 int k = XBIASED_EXP(x); in scalbnl() local
61 if (ISINFNANL(k, x)) in scalbnl()
65 if (k == 0) { in scalbnl()
67 k = XBIASED_EXP(x) - XTWOT_OFFSET; in scalbnl()
[all …]
H A Dilogbl.c36 #define ISNORMALL(k, x) (k != 0x7fff) /* assuming k != 0 */ argument
37 #define X86PDNRM(k, x) argument
45 #define X86PDNRM(k, x) if (k == 0 && (((int *) &x)[1] & 0x80000000) != 0) \ argument
46 ((int *) &x)[2] |= k = 1
48 #define ISNORMALL(k, x) (k != 0x7fff && (((int *) &x)[1] & 0x80000000) != 0) argument
50 #define ISNORMALL(k, x) (k != 0x7fff) argument
71 int k = XBIASED_EXP(x); in ilogbl() local
73 X86PDNRM(k, x); in ilogbl()
74 if (k == 0) { in ilogbl()
81 } else if (ISNORMALL(k, x)) in ilogbl()
[all …]
H A Dlogbl.c37 #define ISNORMALL(k, x) (k != 0x7fff) /* assuming k != 0 */ argument
38 #define X86PDNRM(k, x) argument
46 #define X86PDNRM(k, x) if (k == 0 && (((int *) &x)[1] & 0x80000000) != 0) \ argument
47 ((int *) &x)[2] |= k = 1
49 #define ISNORMALL(k, x) (k != 0x7fff && (((int *) &x)[1] & 0x80000000) != 0) argument
51 #define ISNORMALL(k, x) (k != 0x7fff) argument
66 int k = XBIASED_EXP(x); in logbl() local
68 X86PDNRM(k, x); in logbl()
69 if (k == 0) { in logbl()
77 } else if (ISNORMALL(k, x)) in logbl()
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.h393 #define KEY_PUB_RSA(k) \ argument
394 &((k)->key_type_u.rsa_pub_key)
397 #define KEY_PUB_RSA_MOD(k) \ argument
398 &((k)->key_type_u.rsa_pub_key.modulus)
401 #define KEY_PUB_RSA_PUBEXPO(k) \ argument
402 &((k)->key_type_u.rsa_pub_key.pub_exponent)
405 #define KEY_PUB_RSA_MOD_BITS(k) \ argument
406 ((k)->key_type_u.rsa_pub_key.modulus_bits)
411 #define KEY_PUB_DSA(k) \ argument
412 &((k)->key_type_u.dsa_pub_key)
[all …]
/titanic_50/usr/src/lib/libast/common/uwin/
H A Dcrypt.c490 register int i, j, k, l; in init_perm() local
492 for (k = 0; k < chars_out*8; k++) { /* each output bit position */ in init_perm()
493 l = p[k] - 1; /* where this bit comes from */ in init_perm()
500 perm[i][j].b[k>>3] |= 1<<(k&07); in init_perm()
511 register long k; in init_des() local
527 if ((k = PC2[i]) == 0) in init_des()
529 k += Rotates[0]-1; in init_des()
530 if ((k%28) < Rotates[0]) k -= 28; in init_des()
531 k = PC1[k]; in init_des()
532 if (k > 0) { in init_des()
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h268 #define KEY_PUB_RSA(k) \ argument
269 &((k)->key_type_u.rsa_pub_key)
272 #define KEY_PUB_RSA_MOD(k) \ argument
273 &((k)->key_type_u.rsa_pub_key.modulus)
276 #define KEY_PUB_RSA_PUBEXPO(k) \ argument
277 &((k)->key_type_u.rsa_pub_key.pub_exponent)
280 #define KEY_PUB_RSA_MOD_BITS(k) \ argument
281 ((k)->key_type_u.rsa_pub_key.modulus_bits)
287 #define KEY_PUB_DSA(k) \ argument
288 &((k)->key_type_u.dsa_pub_key)
[all …]
/titanic_50/usr/src/cmd/troff/nroff.d/
H A Dn6.c59 int i, k; local
66 k = absmot(j);
68 k = -k;
69 return(k);
89 k = t.Char * csi_width[cs(j)];
92 k = 0;
95 widthp = k;
96 return(k);
105 k = t.width[i] * t.Char;
106 widthp = k;
[all …]
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dkey.c54 Key *k; in key_new() local
57 k = xmalloc(sizeof(*k)); in key_new()
58 k->type = type; in key_new()
59 k->flags = 0; in key_new()
60 k->dsa = NULL; in key_new()
61 k->rsa = NULL; in key_new()
62 switch (k->type) { in key_new()
71 k->rsa = rsa; in key_new()
84 k->dsa = dsa; in key_new()
89 fatal("key_new: bad key type %d", k->type); in key_new()
[all …]
/titanic_50/usr/src/cmd/troff/troff.d/
H A Dt6.c70 int i, k; local
77 k = absmot(j);
79 k = -k;
80 return(k);
102 k = widcache[i-32].width;
104 k = getcw(i-32);
106 k += (bd - 1) * HOR;
108 k = cs;
110 widthp = k;
111 return(k);
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d82 end = j = k = 0;
89 command[i + k].str = command[j].str;
90 command[i + k].substr = command[j].substr;
91 command[i + k].haspos = 1;
92 command[i + k].position = -400;
93 k++;
95 command[i + k].str = command[j].str;
96 command[i + k].substr = command[j].substr;
97 command[i + k].haspos = 1;
98 command[i + k].position = -1;
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c907 struct khash *k, **pk; in kern_find() local
909 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { in kern_find()
910 if (k->k_dst == dst && k->k_mask == mask && in kern_find()
911 (gate == 0 || k->k_gate == gate) && in kern_find()
912 (ifp == NULL || k->k_ifp == ifp)) { in kern_find()
918 return (k); in kern_find()
930 struct khash *k, **pk; in kern_alternate() local
932 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { in kern_alternate()
933 if (k->k_dst == dst && k->k_mask == mask && in kern_alternate()
934 (k->k_gate != gate) && in kern_alternate()
[all …]
/titanic_50/usr/src/lib/libm/common/C/
H A Dnextafter.c37 int hx, hy, k; in nextafter() local
45 k = (hx & ~0x80000000) | lx; in nextafter()
51 if (k == 0) { /* x = 0 */ in nextafter()
52 k = hy & 0x80000000; in nextafter()
53 ((int *)&ans)[HIWORD] = k; in nextafter()
58 k = (lx == 0)? hx - 1 : hx; in nextafter()
59 ((int *)&ans)[HIWORD] = k; in nextafter()
62 k = (lx == 0xffffffff)? hx + 1 : hx; in nextafter()
63 ((int *)&ans)[HIWORD] = k; in nextafter()
68 k = (lx == 0)? hx - 1 : hx; in nextafter()
[all …]
H A Dscalbn.c77 int *px, ix, hx, k; in scalbn() local
82 k = hx >> 20; in scalbn()
84 if (k == 0x7ff) /* x is inf or NaN */ in scalbn()
87 if (k == 0) { in scalbn()
93 k = ((ix & ~0x80000000) >> 20) - 52; in scalbn()
95 k = ilogb_biased((unsigned *)px); in scalbn()
99 k += n; in scalbn()
100 if (k > n) /* integer overflow occurred */ in scalbn()
101 k = -100; in scalbn()
104 k += n; in scalbn()
[all …]
/titanic_50/usr/src/cmd/sendmail/db/hash/
H A Dhash_func.c81 const u_int8_t *e, *k; local
85 k = key;
86 e = k + len;
87 for (h = 0; k != e;) {
88 c = *k++;
89 if (!c && k > e)
112 const u_int8_t *k; local
118 #define HASHC n = *k++ + 65599 * n
120 k = key;
159 const u_int8_t *k; local
[all …]
/titanic_50/usr/src/lib/libm/common/LD/
H A Dlogbl.c37 #define ISNORMALL(k, x) (k != 0x7fff) /* assuming k != 0 */ argument
38 #define X86PDNRM(k, x) argument
46 #define X86PDNRM(k, x) if (k == 0 && (((int *) &x)[1] & 0x80000000) != 0) \ argument
47 ((int *) &x)[2] |= k = 1
49 #define ISNORMALL(k, x) (k != 0x7fff && (((int *) &x)[1] & 0x80000000) != 0) argument
51 #define ISNORMALL(k, x) (k != 0x7fff) argument
66 int k = XBIASED_EXP(x); in logbl() local
68 X86PDNRM(k, x); in logbl()
69 if (k == 0) { in logbl()
77 } else if (ISNORMALL(k, x)) in logbl()
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dfmod.c70 long *px = (long *) &x, k; in ilogb() local
71 k = px[n0] & 0x7ff00000; in ilogb()
72 if (k == 0) { in ilogb()
79 } else if (k != 0x7ff00000) in ilogb()
80 return (k >> 20) - 1023; in ilogb()
88 long *px = (long *) &x, k; in scalbn() local
90 k = (px[n0] & 0x7ff00000) >> 20; in scalbn()
91 if (k == 0x7ff) in scalbn()
95 if (k == 0) { in scalbn()
97 k = ((px[n0] & 0x7ff00000) >> 20) - 52; in scalbn()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dnet80211_crypto.h212 #define KEY_UNDEFINED(k) \ argument
213 ((k).wk_cipher == &ieee80211_cipher_none)
215 #define DEV_KEY_ALLOC(ic, k, kix, rkix) \ argument
216 (ic)->ic_crypto.cs_key_alloc(ic, k, kix, rkix)
217 #define DEV_KEY_DELETE(ic, k) \ argument
218 (ic)->ic_crypto.cs_key_delete(ic, k)
219 #define DEV_KEY_SET(ic, k, m) \ argument
220 (ic)->ic_crypto.cs_key_set(ic, k, m)
222 #define CIPHER_DETACH(k) \ argument
223 (k)->wk_cipher->ic_detach(k)
[all …]

12345678910>>...42