Home
last modified time | relevance | path

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

12345678910>>...41

/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/cron/
H A Delm.c139 struct key *kprev, *k; local
160 k = (struct key *)xmalloc(sizeof (struct key));
161 k->time = LB;
162 k->numnote = 1;
163 k->notice = n;
164 k->left = NULL;
165 kprev = k;
167 n->key = k;
180 k = (struct key *)xmalloc(sizeof (struct key));
181 k->time = t;
[all …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/filebench/workloads/
H A Dnetworkfs.f42 {50, 9k, 15k},
43 {14, 17k, 23k},
44 {14, 33k, 39k},
45 {12, 65k, 71k},
46 {10, 129k, 135k}
51 { 8, 17k, 23k},
52 { 4, 33k, 39k},
53 { 2, 65k, 71k},
54 { 1, 129k, 135k}
59 {21, 1k, 3k},
[all …]
H A Drandomfileaccess.f38 {15, 8k, 64k}
43 {21, 1k, 3k},
44 {13, 3k, 5k},
45 {10, 5k, 11k},
46 {08, 11k, 21k},
47 {05, 21k, 43k},
48 {04, 43k, 85k},
49 {03, 85k, 171k},
50 {02, 171k, 341k},
51 {01, 341k, 1707k}
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DRefHash.pm90 my($s, $k) = @_;
91 if (ref $k) {
92 my $kstr = overload::StrVal($k);
101 $s->[1]{$k};
106 my($s, $k, $v) = @_;
107 if (ref $k) {
108 $s->[0]{overload::StrVal($k)} = [$k, $v];
111 $s->[1]{$k} = $v;
117 my($s, $k) = @_;
118 (ref $k) ? delete($s->[0]{overload::StrVal($k)}) : delete($s->[1]{$k});
[all …]
/onnv-gate/usr/src/common/openssl/crypto/cast/
H A Dc_enc.c64 register CAST_LONG l,r,*k,t; in CAST_encrypt() local
66 k= &(key->data[0]); in CAST_encrypt()
70 E_CAST( 0,k,l,r,+,^,-); in CAST_encrypt()
71 E_CAST( 1,k,r,l,^,-,+); in CAST_encrypt()
72 E_CAST( 2,k,l,r,-,+,^); in CAST_encrypt()
73 E_CAST( 3,k,r,l,+,^,-); in CAST_encrypt()
74 E_CAST( 4,k,l,r,^,-,+); in CAST_encrypt()
75 E_CAST( 5,k,r,l,-,+,^); in CAST_encrypt()
76 E_CAST( 6,k,l,r,+,^,-); in CAST_encrypt()
77 E_CAST( 7,k,r,l,^,-,+); in CAST_encrypt()
[all …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/common/openssl/crypto/bf/
H A Dbf_enc.c111 register BF_LONG l,r,t,*k; in BF_encrypt()
115 k=(BF_LONG*)key; in BF_encrypt()
117 l^=k[0]; in BF_encrypt()
118 BF_ENC(r,l,k, 1); in BF_encrypt()
119 BF_ENC(l,r,k, 2); in BF_encrypt()
120 BF_ENC(r,l,k, 3); in BF_encrypt()
121 BF_ENC(l,r,k, 4); in BF_encrypt()
122 BF_ENC(r,l,k, 5); in BF_encrypt()
123 BF_ENC(l,r,k, 6); in BF_encrypt()
124 BF_ENC(r,l,k, 7); in BF_encrypt()
[all …]
/onnv-gate/usr/src/cmd/troff/nroff.d/
H A Dn6.c61 int i, k; local
68 k = absmot(j);
70 k = -k;
71 return(k);
91 k = t.Char * csi_width[cs(j)];
94 k = 0;
97 widthp = k;
98 return(k);
107 k = t.width[i] * t.Char;
108 widthp = k;
[all …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/troff/troff.d/
H A Dt6.c72 int i, k; local
79 k = absmot(j);
81 k = -k;
82 return(k);
104 k = widcache[i-32].width;
106 k = getcw(i-32);
108 k += (bd - 1) * HOR;
110 k = cs;
112 widthp = k;
113 return(k);
[all …]
/onnv-gate/usr/src/common/openssl/crypto/des/
H A Ddes_old.h150 #define des_cbc_cksum(i,o,l,k,iv)\ argument
151 DES_cbc_cksum((i),(o),(l),&(k),(iv))
152 #define des_cbc_encrypt(i,o,l,k,iv,e)\ argument
153 DES_cbc_encrypt((i),(o),(l),&(k),(iv),(e))
154 #define des_ncbc_encrypt(i,o,l,k,iv,e)\ argument
155 DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
156 #define des_xcbc_encrypt(i,o,l,k,iv,inw,outw,e)\ argument
157 DES_xcbc_encrypt((i),(o),(l),&(k),(iv),(inw),(outw),(e))
158 #define des_cfb_encrypt(i,o,n,l,k,iv,e)\ argument
159 DES_cfb_encrypt((i),(o),(n),(l),&(k),(iv),(e))
[all …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dreadline.t23 foreach my $k (1, 82) {
26 prog => "\$x = q(k) x $k; \$a{\$x} = qw(v); \$_ = <> foreach keys %a; print qw(end)",
29 is ($result, "end", '[perl #21614] for length ' . length('k' x $k));
33 foreach my $k (1, 21) {
36 prog => "\$x = q(perl) x $k; \$a{\$x} = q(v); foreach (keys %a) {\$_ .= <>; print}",
39 is ($result, ('perl' x $k) . " rules", 'rcatline to shared sv for length ' . length('perl' x $k));
47 my $k = $l;
48 $k = 'k' x $k;
49 my $copy = $k;
50 $k = <DATA>;
[all …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/fs.d/cachefs/common/
H A Dstats_create.c93 cachefs_kstat_key_t *k; in stats_create_mountpath() local
113 k = (cachefs_kstat_key_t *)key->ks_data; in stats_create_mountpath()
125 k[i].ks_mountpoint += (uintptr_t)k; in stats_create_mountpath()
126 k[i].ks_backfs += (uintptr_t)k; in stats_create_mountpath()
127 k[i].ks_cachedir += (uintptr_t)k; in stats_create_mountpath()
128 k[i].ks_cacheid += (uintptr_t)k; in stats_create_mountpath()
130 if (! k[i].ks_mounted) in stats_create_mountpath()
133 if ((stat64((char *)(uintptr_t)k[i].ks_mountpoint, &s) == 0) && in stats_create_mountpath()
145 st->st_fsid = k[i].ks_id; in stats_create_mountpath()
165 cachefs_kstat_key_t *k, *prc = NULL, *rc = NULL; in stats_next() local
[all …]
/onnv-gate/usr/src/lib/libsqlite/src/
H A Dwhere.c572 int k; in sqliteWhereBegin() local
573 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin()
574 if( pIdx->aiColumn[k]==iColumn ){ in sqliteWhereBegin()
577 if( k==0 ) inMask |= 1; in sqliteWhereBegin()
581 eqMask |= 1<<k; in sqliteWhereBegin()
586 ltMask |= 1<<k; in sqliteWhereBegin()
591 gtMask |= 1<<k; in sqliteWhereBegin()
607 int k; in sqliteWhereBegin() local
608 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin()
609 if( pIdx->aiColumn[k]==iColumn ){ in sqliteWhereBegin()
[all …]

12345678910>>...41