Home
last modified time | relevance | path

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

12345678910>>...50

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathkey.c126 n = memsum(k, strlen(k), n); in pathkey_20100601()
133 n = memsum(k, strlen(k), n); in pathkey_20100601()
142 n = memsum(k, strlen(k), n); in pathkey_20100601()
156 n = memsum(k, strlen(k), n); in pathkey_20100601()
181 while (*k && (*k == ':' || *k == ' ')) in pathkey_20100601()
186 while (*k && *k != ':' && *k != ' ') in pathkey_20100601()
221 for (k = *p; *k && *k == *s; k++, s++); in pathkey_20100601()
238 for (k = *p; *k && *s++ == *k; k++); in pathkey_20100601()
239 if ((s - buf) > 2 && k[0] == 'V' && k[1] == 'E' && k[2] == 'R' && k[3] == '=') in pathkey_20100601()
248 for (k = *p; *k && *k == *s; k++, s++); in pathkey_20100601()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dsched.c107 k = k->right; in il_shift()
359 k = k->left; in el_add()
361 k = k->right; in el_add()
485 if (k != NULL && k->count == 1) { in el_remove()
487 k->left->right = k->right; in el_remove()
488 k->right->left = k->left; in el_remove()
493 k->notice->key = k; in el_remove()
494 k->time = k->notice->time; in el_remove()
512 k->left->right = k; in el_remove()
586 k->left->right = k->right; in el_first()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Delm.c257 while (k->time > time) k = k->left; in el_add()
258 k = k->right; in el_add()
283 k->numnote = k->numnote + 1; in el_add()
323 (k->left)->right = k->right; in el_remove()
324 (k->right)->left = k->left; in el_remove()
372 while (k->left != NULL) k = k->left; in el_remove()
428 while (k->time < next_int) k = k->right; in el_first()
466 k->numnote = k->numnote - 1; in el_first()
469 (k->left)->right = k->right; in el_first()
470 (k->right)->left = k->left; in el_first()
[all …]
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daeskey.c123 { kef6(k, i); \
165 { kef8(k, i); \
278 k[v(40, (4 * (i)) + 4)] = ss[4] ^= k[v(40, (4 * (i)))]; \
279 k[v(40, (4 * (i)) + 5)] = ss[4] ^= k[v(40, (4 * (i)) + 1)]; \
280 k[v(40, (4 * (i)) + 6)] = ss[4] ^= k[v(40, (4 * (i)) + 2)]; \
281 k[v(40, (4 * (i)) + 7)] = ss[4] ^= k[v(40, (4 * (i)) + 3)]; \
307 k[v(40, (4 * (i)) + 4)] = ss[4] ^= k[v(40, (4 * (i)))]; \
367 { k6ef(k, i); \
385 k[v(48, (6 * (i)) + 6)] = ss[6] ^= k[v(48, (6 * (i)))]; \
454 { k8ef(k, i); \
[all …]
/illumos-gate/usr/src/tools/smatch/src/cwchash/
H A Dtester.c36 return (((k->one_ip << 17) | (k->one_ip >> 15)) ^ k->two_ip) + in hashfromkey()
37 (k->one_port * 17) + (k->two_port * 13 * 29); in hashfromkey()
50 struct key *k, *kk; in main() local
65 if (NULL == k) { in main()
69 k->one_ip = 0xcfccee40 + i; in main()
71 k->one_port = 22 + (7 * i); in main()
85 if (NULL == k) { in main()
162 free(k); in main()
184 if (!insert_some(h,k,v)) in main()
197 if (NULL == k) { in main()
[all …]
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c174 k = pc->k; in bpf_filter()
193 k = pc->k; in bpf_filter()
212 k = pc->k; in bpf_filter()
228 A = p[k]; in bpf_filter()
240 k = X + pc->k; in bpf_filter()
259 k = X + pc->k; in bpf_filter()
278 k = X + pc->k; in bpf_filter()
294 A = p[k]; in bpf_filter()
298 k = pc->k; in bpf_filter()
318 A = pc->k; in bpf_filter()
[all …]
/illumos-gate/usr/src/lib/libm/common/R/
H A Drintf.c69 int hx, k; in aintf() local
74 if (k < 150) { 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()
96 k = j + j - 1; in anintf()
114 int hx, k; in irintf() local
129 if (((k - 126) ^ (k - 150)) < 0) { in nintf()
131 m = 149 - k; in nintf()
144 int hx, k; in rintf() local
[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()
88 int hx, k, j, ix; in floorf() local
92 k = ix >> 23; in floorf()
93 if (((k - 127) ^ (k - 150)) < 0) { in floorf()
94 k = (1 << (150 - k)) - 1; in floorf()
95 if ((k & hx) != 0) in floorf()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.h397 #define KEY_PUB_RSA(k) \ argument
415 #define KEY_PUB_DSA(k) \ argument
437 #define KEY_PUB_DH(k) \ argument
455 #define KEY_PUB_DH942(k) \ argument
477 #define KEY_PUB_EC(k) \ argument
490 #define KEY_PRI_RSA(k) \ argument
528 #define KEY_PRI_DSA(k) \ argument
550 #define KEY_PRI_DH(k) \ argument
595 #define KEY_PRI_EC(k) \ argument
607 #define KEY_DOM_DSA(k) \ argument
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dscalbnl.c38 (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
65 if (k == 0) { in scalbnl()
71 k += n; in scalbnl()
72 if (k > 0x7ffe) in scalbnl()
76 if (k > 0) { in scalbnl()
77 XSET_EXP(k, x); 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 …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dscalblnl.c37 (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
49 #define ISINFNANL(k, x) (k == 0x7fff) argument
60 if (ISINFNANL(k, x)) in scalblnl()
64 if (k == 0) { in scalblnl()
68 k += (int) n; in scalblnl()
73 if (k > 0) { in scalblnl()
74 XSET_EXP(k, x); in scalblnl()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dcrypt.c492 for (k = 0; k < chars_out*8; k++) { /* each output bit position */ in init_perm()
500 perm[i][j].b[k>>3] |= 1<<(k&07); in init_perm()
530 if ((k%28) < Rotates[0]) k -= 28; in init_des()
531 k = PC1[k]; in init_des()
534 k = (k|07) - (k&07); in init_des()
560 if ((k%28) <= j) k -= 28; in init_des()
581 k = (k|07) - (k&07); in init_des()
599 k = (k|07) - (k&07); in init_des()
622 k = S[tableno][k]; in init_des()
623 k = (((k >> 3)&01) << 0)| in init_des()
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Dcrc32.c368 for (k = 0; k < 8; k++) { in make_crc_table()
377 for (k = 0; k < 8; k++) { in make_crc_table()
394 for (k = 0; k < 4; k++) { in make_crc_table()
403 for (k = 0; k < 4; k++) { in make_crc_table()
441 int k;
458 int k;
510 for (k = 0; k < w; k++) {
713 for (k = 0; k < W; k++) in crc_word()
721 for (k = 0; k < W; k++) in crc_word_big()
854 for (k = 1; k < W; k++) { in crc32_z()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h268 #define KEY_PUB_RSA(k) \ argument
272 #define KEY_PUB_RSA_MOD(k) \ argument
287 #define KEY_PUB_DSA(k) \ argument
299 #define KEY_PUB_DSA_BASE(k) \ argument
310 #define KEY_PUB_DH(k) \ argument
318 #define KEY_PUB_DH_BASE(k) \ argument
340 #define KEY_PRI_RSA(k) \ argument
344 #define KEY_PRI_RSA_MOD(k) \ argument
378 #define KEY_PRI_DSA(k) \ argument
400 #define KEY_PRI_DH(k) \ argument
[all …]
/illumos-gate/usr/src/cmd/troff/nroff.d/
H A Dn6.c60 int i, k; local
69 k = -k;
145 int k; local
147 if ((k = i - '0') >= 0 && k <= nfonts && k < smnt)
149 for (k = 0; fontlab[k] != i; k++)
294 k = -k; in setwd()
355 int k; in sethl()
430 k = 0; in casebd()
433 if (k) in casebd()
442 if (k) { in casebd()
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dt6.c70 int i, k; local
79 k = -k;
136 int k; local
225 int k; local
293 int k; local
295 if ((k = i - '0') >= 0 && k <= nfonts && k < smnt)
297 for (k = 0; fontlab[k] != i; k++)
523 k = -k; in setwd()
584 int k; in sethl()
688 int k; local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c976 for (k = khash_bins[i]; k != NULL; k = knext) { in kern_flush_ifp()
1002 for (k = khash_bins[i]; k; k = k->k_next) { in kern_rewire_ifp()
1073 addrname(k->k_dst, k->k_mask, 0), naddr_ntoa(k->k_gate)); in kern_ioctl()
1105 rtioctl(action, k->k_dst, k->k_gate, k->k_mask, k->k_ifp, in kern_ioctl()
1356 for (k = khash_bins[i]; k != NULL; k = k->k_next) { in sync_kern()
1540 for (k = khash_bins[i]; k != NULL; k = k->k_next) { in sync_kern()
1556 del_static(k->k_dst, k->k_mask, k->k_gate, in sync_kern()
2101 for (k = khash_bins[i]; k != NULL; k = knext) { in fix_kern()
2131 k->k_mask, k->k_gate, k->k_ifp, in fix_kern()
2218 for (k = khash_bins[i]; k != NULL; k = k->k_next) { in del_redirects()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d82 end = j = k = 0;
91 command[i + k].haspos = 1;
93 k++;
99 k++;
105 k++;
111 k++;
117 k++;
123 k++;
129 k++;
135 k++;
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_func.c78 k = key;
79 e = k + len;
81 c = *k++;
82 if (!c && k > e)
105 const u_int8_t *k; local
113 k = key;
159 const u_int8_t *k; local
169 k = key;
226 k = key;
227 e = k + len;
[all …]
/illumos-gate/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()
59 ((int *)&ans)[HIWORD] = k; in nextafter()
63 ((int *)&ans)[HIWORD] = k; in nextafter()
69 ((int *)&ans)[HIWORD] = k; in nextafter()
76 k = (k >> 20) & 0x7ff; in nextafter()
77 if (k == 0x7ff) { in nextafter()
[all …]
H A Dscalbn.c77 int *px, ix, hx, k; in scalbn() local
82 k = hx >> 20; in scalbn()
87 if (k == 0) { in scalbn()
99 k += n; in scalbn()
101 k = -100; in scalbn()
104 k += n; in scalbn()
106 k = 0x7ff; in scalbn()
109 if (k > 0x7fe) in scalbn()
111 if (k < 1) { in scalbn()
112 if (k <= -54) in scalbn()
[all …]
/illumos-gate/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 …]
/illumos-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()
607 int k; in sqliteWhereBegin() local
608 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin()
724 int j, k; in sqliteWhereBegin() local
788 for(k=0; k<nExpr; k++){ in sqliteWhereBegin()
889 aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT, brk); in sqliteWhereBegin()
908 if( aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT ){ in sqliteWhereBegin()
960 for(k=0; k<nExpr; k++){ in sqliteWhereBegin()
1004 for(k=0; k<nExpr; k++){ in sqliteWhereBegin()
[all …]

12345678910>>...50