| /freebsd-10-stable/tools/regression/ccd/layout/ |
| D | ccd0.sh | 17 foo 128k 128k 128k 128k 0 0 18 foo 128k 128k 128k 128k 0 4 19 foo 128k 128k 128k 128k 4 0 20 foo 128k 128k 128k 128k 4 2 21 foo 128k 128k 128k 128k 4 4 23 foo 256k 128k 128k 128k 0 0 24 foo 256k 128k 128k 128k 0 4 25 foo 256k 128k 128k 128k 4 0 26 foo 256k 128k 128k 128k 4 2 27 foo 256k 128k 128k 128k 4 4 [all …]
|
| /freebsd-10-stable/sys/libkern/ |
| D | jenkins_hash.c | 45 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 151 const uint32_t *k, /* the key, an array of uint32_t values */ in jenkins_hash32() argument 163 a += k[0]; in jenkins_hash32() 164 b += k[1]; in jenkins_hash32() 165 c += k[2]; in jenkins_hash32() 168 k += 3; in jenkins_hash32() 174 case 3 : c+=k[2]; in jenkins_hash32() 175 case 2 : b+=k[1]; in jenkins_hash32() 176 case 1 : a+=k[0]; in jenkins_hash32() 223 const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ in jenkins_hash() local [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/camellia/ |
| D | camellia.c | 363 int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey, KEY_TABLE_TYPE k) in Camellia_Ekeygen() argument 367 k[0] = s0 = GETU32(rawKey); in Camellia_Ekeygen() 368 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen() 369 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen() 370 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen() 373 k[8] = s0 = GETU32(rawKey + 16); in Camellia_Ekeygen() 374 k[9] = s1 = GETU32(rawKey + 20); in Camellia_Ekeygen() 376 k[10] = s2 = ~s0; in Camellia_Ekeygen() 377 k[11] = s3 = ~s1; in Camellia_Ekeygen() 379 k[10] = s2 = GETU32(rawKey + 24); in Camellia_Ekeygen() [all …]
|
| /freebsd-10-stable/contrib/unbound/util/storage/ |
| D | lookup3.c | 108 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 214 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument 226 a += k[0]; in hashword() 227 b += k[1]; in hashword() 228 c += k[2]; in hashword() 231 k += 3; in hashword() 237 case 3 : c+=k[2]; in hashword() 238 case 2 : b+=k[1]; in hashword() 239 case 1 : a+=k[0]; in hashword() 260 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() argument [all …]
|
| /freebsd-10-stable/bin/ps/ |
| D | print.c | 101 arguments(KINFO *k, VARENT *ve) in arguments() argument 105 if ((vis_args = malloc(strlen(k->ki_args) * 4 + 1)) == NULL) in arguments() 107 strvis(vis_args, k->ki_args, VIS_TAB | VIS_NL | VIS_NOSLASH); in arguments() 116 command(KINFO *k, VARENT *ve) in command() argument 124 k->ki_d.prefix ? k->ki_d.prefix : "", in command() 125 k->ki_p->ki_comm, in command() 126 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in command() 127 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : "", in command() 128 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_moretdname : ""); in command() 130 str = strdup(k->ki_p->ki_comm); in command() [all …]
|
| /freebsd-10-stable/sys/net/ |
| D | bpf_filter.c | 75 #define MINDEX(m, k) \ argument 79 while (k >= len) { \ 80 k -= len; \ 88 static u_int16_t m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err); 89 static u_int32_t m_xword(struct mbuf *m, bpf_u_int32 k, int *err); 92 m_xword(struct mbuf *m, bpf_u_int32 k, int *err) in m_xword() argument 99 while (k >= len) { in m_xword() 100 k -= len; in m_xword() 106 cp = mtod(m, u_char *) + k; in m_xword() 107 if (len - k >= 4) { in m_xword() [all …]
|
| /freebsd-10-stable/contrib/ipfilter/ |
| D | bpf_filter.c | 120 m_xword(m, k, err) in m_xword() argument 122 register int k, *err; 128 MINDEX(len, m, k); 129 cp = MTOD(m, u_char *) + k; 130 if (len - k >= 4) { 135 if (m0 == NULL || M_LEN(m0) + len - k < 4) 139 switch (len - k) { 156 m_xhalf(m, k, err) in m_xhalf() argument 158 register int k, *err; 164 MINDEX(len, m, k); [all …]
|
| /freebsd-10-stable/usr.sbin/sa/tests/ |
| D | v2-sparc64-u.out | 1 0 0.019 cpu 163k mem 0 io accton 2 0 1.644 cpu 272k mem 0 io awk 3 0 0.029 cpu 175k mem 0 io time 4 0 0.019 cpu 163k mem 0 io sleep 5 0 0.032 cpu 214k mem 35 io fsck_ufs 6 0 0.028 cpu 213k mem 10 io fsck_ufs 7 0 0.028 cpu 189k mem 8 io fsck_ufs 8 0 0.028 cpu 196k mem 7 io fsck_ufs 9 0 0.055 cpu 168k mem 0 io fsck 10 0 0.008 cpu 204k mem 0 io sh* [all …]
|
| D | v1-amd64-u.out | 1 0 0.000 cpu 0k mem 0 io accton 2 0 0.172 cpu 41k mem 0 io awk 3 0 0.000 cpu 140k mem 0 io time 4 0 3.031 cpu 45k mem 1 io egrep 5 0 0.000 cpu 0k mem 0 io time 6 0 0.250 cpu 42k mem 1087 io find 7 0 0.000 cpu 0k mem 0 io time 8 0 0.000 cpu 0k mem 0 io sleep 9 0 0.000 cpu 57k mem 0 io time 10 0 0.016 cpu 31k mem 16 io dd [all …]
|
| D | v1-i386-u.out | 1 0 0.000 cpu 264k mem 0 io accton 2 0 0.453 cpu 41k mem 0 io awk 3 0 0.000 cpu 0k mem 0 io time 4 0 4.984 cpu 41k mem 28 io egrep 5 0 0.000 cpu 140k mem 0 io time 6 0 0.266 cpu 36k mem 3921 io find 7 0 0.000 cpu 0k mem 0 io time 8 0 0.000 cpu 0k mem 0 io sleep 9 0 0.000 cpu 0k mem 0 io time 10 0 0.016 cpu 25k mem 16 io dd [all …]
|
| D | v1-sparc64-u.out | 1 0 0.016 cpu 162k mem 0 io accton 2 0 1.609 cpu 273k mem 0 io awk 3 0 0.016 cpu 174k mem 0 io time 4 0 29.750 cpu 233k mem 26 io egrep 5 0 0.016 cpu 161k mem 0 io time 6 0 5.516 cpu 184k mem 4437 io find 7 0 0.016 cpu 156k mem 0 io time 8 0 0.000 cpu 136k mem 0 io sleep 9 0 0.016 cpu 152k mem 0 io time 10 0 0.562 cpu 161k mem 16 io dd [all …]
|
| D | v2-i386-u.out | 1 0 0.001 cpu 0k mem 0 io accton 2 0 0.448 cpu 112k mem 0 io awk 3 0 0.001 cpu 0k mem 0 io time 4 0 6.680 cpu 110k mem 0 io egrep 5 0 0.001 cpu 0k mem 0 io time 6 0 0.248 cpu 108k mem 0 io find 7 0 0.001 cpu 0k mem 0 io time 8 0 0.001 cpu 0k mem 0 io sleep 9 0 0.001 cpu 0k mem 0 io time 10 0 0.025 cpu 103k mem 16 io dd [all …]
|
| D | v2-amd64-u.out | 1 0 0.002 cpu 68k mem 0 io accton 2 0 0.163 cpu 35k mem 0 io awk 3 0 0.003 cpu 0k mem 0 io time 4 0 3.247 cpu 29k mem 26 io egrep 5 0 0.003 cpu 93k mem 0 io time 6 0 0.822 cpu 19k mem 4472 io find 7 0 0.003 cpu 0k mem 0 io time 8 0 0.002 cpu 0k mem 0 io sleep 9 0 0.004 cpu 88k mem 0 io time 10 0 0.076 cpu 18k mem 16 io dd [all …]
|
| /freebsd-10-stable/contrib/libpcap/bpf/net/ |
| D | bpf_filter.c | 142 m_xword(m, k, err) in m_xword() argument 144 register int k, *err; 150 MINDEX(len, m, k); 151 cp = mtod(m, u_char *) + k; 152 if (len - k >= 4) { 157 if (m0 == 0 || MLEN(m0) + len - k < 4) 161 switch (len - k) { 178 m_xhalf(m, k, err) in m_xhalf() argument 180 register int k, *err; 186 MINDEX(len, m, k); [all …]
|
| /freebsd-10-stable/crypto/openssl/engines/ccgost/ |
| D | gost89.c | 249 n2 ^= f(c, n1 + c->k[0]); in gostcrypt() 250 n1 ^= f(c, n2 + c->k[1]); in gostcrypt() 251 n2 ^= f(c, n1 + c->k[2]); in gostcrypt() 252 n1 ^= f(c, n2 + c->k[3]); in gostcrypt() 253 n2 ^= f(c, n1 + c->k[4]); in gostcrypt() 254 n1 ^= f(c, n2 + c->k[5]); in gostcrypt() 255 n2 ^= f(c, n1 + c->k[6]); in gostcrypt() 256 n1 ^= f(c, n2 + c->k[7]); in gostcrypt() 258 n2 ^= f(c, n1 + c->k[0]); in gostcrypt() 259 n1 ^= f(c, n2 + c->k[1]); in gostcrypt() [all …]
|
| /freebsd-10-stable/contrib/ldns/ |
| D | keys.c | 86 ldns_key_new_frm_fp(ldns_key **k, FILE *fp) in ldns_key_new_frm_fp() argument 88 return ldns_key_new_frm_fp_l(k, fp, NULL); in ldns_key_new_frm_fp() 95 ldns_key *k; in ldns_key_new_frm_engine() local 97 k = ldns_key_new(); in ldns_key_new_frm_engine() 98 if(!k) return LDNS_STATUS_MEM_ERR; in ldns_key_new_frm_engine() 100 k->_key.key = ENGINE_load_private_key(e, key_id, UI_OpenSSL(), NULL); in ldns_key_new_frm_engine() 101 if(!k->_key.key) { in ldns_key_new_frm_engine() 102 ldns_key_free(k); in ldns_key_new_frm_engine() 105 ldns_key_set_algorithm(k, (ldns_signing_algorithm) alg); in ldns_key_new_frm_engine() 106 if (!k->_key.key) { in ldns_key_new_frm_engine() [all …]
|
| /freebsd-10-stable/sys/ofed/include/linux/ |
| D | jhash.h | 47 const u8 *k = key; in jhash() local 54 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 55 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 56 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 60 k += 12; in jhash() 66 case 11: c += ((u32)k[10]<<24); in jhash() 67 case 10: c += ((u32)k[9]<<16); in jhash() 68 case 9 : c += ((u32)k[8]<<8); in jhash() 69 case 8 : b += ((u32)k[7]<<24); in jhash() 70 case 7 : b += ((u32)k[6]<<16); in jhash() [all …]
|
| /freebsd-10-stable/sys/dev/cxgb/common/ |
| D | jhash.h | 44 const u8 *k = key; in jhash() local 51 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 52 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 53 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 57 k += 12; in jhash() 63 case 11: c += ((u32)k[10]<<24); in jhash() 64 case 10: c += ((u32)k[9]<<16); in jhash() 65 case 9 : c += ((u32)k[8]<<8); in jhash() 66 case 8 : b += ((u32)k[7]<<24); in jhash() 67 case 7 : b += ((u32)k[6]<<16); in jhash() [all …]
|
| /freebsd-10-stable/crypto/heimdal/lib/asn1/ |
| D | der_free.c | 92 der_free_bmp_string (heim_bmp_string *k) in der_free_bmp_string() argument 94 free(k->data); in der_free_bmp_string() 95 k->data = NULL; in der_free_bmp_string() 96 k->length = 0; in der_free_bmp_string() 100 der_free_universal_string (heim_universal_string *k) in der_free_universal_string() argument 102 free(k->data); in der_free_universal_string() 103 k->data = NULL; in der_free_universal_string() 104 k->length = 0; in der_free_universal_string() 115 der_free_octet_string (heim_octet_string *k) in der_free_octet_string() argument 117 free(k->data); in der_free_octet_string() [all …]
|
| /freebsd-10-stable/contrib/gdtoa/ |
| D | misc.c | 46 (k) int k; in Balloc() argument 48 (int k) 60 if (k <= Kmax && (rv = freelist[k]) !=0) { 61 freelist[k] = rv->next; 64 x = 1 << k; 70 if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) { 77 rv->k = k; 94 if (v->k > Kmax) 102 v->next = freelist[v->k]; 103 freelist[v->k] = v; [all …]
|
| /freebsd-10-stable/contrib/libyaml/tests/ |
| D | test-reader.c | 121 int k; in check_utf8_sequences() local 123 for (k = 0; utf8_sequences[k].test; k++) { in check_utf8_sequences() 124 char *title = utf8_sequences[k].title; in check_utf8_sequences() 125 int check = utf8_sequences[k].result; in check_utf8_sequences() 127 char *start = utf8_sequences[k].test; in check_utf8_sequences() 169 int k; in check_boms() local 171 for (k = 0; boms[k].test; k++) { in check_boms() 172 char *title = boms[k].title; in check_boms() 173 int check = boms[k].result; in check_boms() 175 char *start = boms[k].test; in check_boms() [all …]
|
| /freebsd-10-stable/contrib/ofed/management/libibcommon/src/ |
| D | hash.c | 111 fhash(uint8_t *k, int length, uint32_t initval) in fhash() argument 122 a += (k[0] + ((uint32_t)k[1]<<8) + in fhash() 123 ((uint32_t)k[2]<<16) + ((uint32_t)k[3]<<24)); in fhash() 124 b += (k[4] + ((uint32_t)k[5]<<8) + ((uint32_t)k[6]<<16) + in fhash() 125 ((uint32_t)k[7]<<24)); in fhash() 126 c += (k[8] + ((uint32_t)k[9]<<8) + ((uint32_t)k[10]<<16) + in fhash() 127 ((uint32_t)k[11]<<24)); in fhash() 129 k += 12; len -= 12; in fhash() 135 case 11: c += ((uint32_t)k[10]<<24); in fhash() 136 case 10: c += ((uint32_t)k[9]<<16); in fhash() [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/cast/ |
| D | c_enc.c | 65 const register CAST_LONG *k; in CAST_encrypt() local 67 k = &(key->data[0]); in CAST_encrypt() 71 E_CAST(0, k, l, r, +, ^, -); in CAST_encrypt() 72 E_CAST(1, k, r, l, ^, -, +); in CAST_encrypt() 73 E_CAST(2, k, l, r, -, +, ^); in CAST_encrypt() 74 E_CAST(3, k, r, l, +, ^, -); in CAST_encrypt() 75 E_CAST(4, k, l, r, ^, -, +); in CAST_encrypt() 76 E_CAST(5, k, r, l, -, +, ^); in CAST_encrypt() 77 E_CAST(6, k, l, r, +, ^, -); in CAST_encrypt() 78 E_CAST(7, k, r, l, ^, -, +); in CAST_encrypt() [all …]
|
| /freebsd-10-stable/sys/dev/ath/ |
| D | if_ath_keycache.c | 120 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, in ath_keyset_tkip() argument 127 KASSERT(k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP, in ath_keyset_tkip() 128 ("got a non-TKIP key, cipher %u", k->wk_cipher->ic_cipher)); in ath_keyset_tkip() 129 if ((k->wk_flags & IEEE80211_KEY_XR) == IEEE80211_KEY_XR) { in ath_keyset_tkip() 135 memcpy(hk->kv_mic, k->wk_txmic, sizeof(hk->kv_mic)); in ath_keyset_tkip() 136 KEYPRINTF(sc, k->wk_keyix, hk, zerobssid); in ath_keyset_tkip() 137 if (!ath_hal_keyset(ah, k->wk_keyix, hk, zerobssid)) in ath_keyset_tkip() 140 memcpy(hk->kv_mic, k->wk_rxmic, sizeof(hk->kv_mic)); in ath_keyset_tkip() 141 KEYPRINTF(sc, k->wk_keyix+32, hk, mac); in ath_keyset_tkip() 143 return ath_hal_keyset(ah, k->wk_keyix+32, hk, mac); in ath_keyset_tkip() [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/bf/ |
| D | bf_enc.c | 112 register BF_LONG l, r, t, *k; in BF_encrypt() 116 k = (BF_LONG *)key; in BF_encrypt() 118 l ^= k[0]; in BF_encrypt() 119 BF_ENC(r, l, k, 1); in BF_encrypt() 120 BF_ENC(l, r, k, 2); in BF_encrypt() 121 BF_ENC(r, l, k, 3); in BF_encrypt() 122 BF_ENC(l, r, k, 4); in BF_encrypt() 123 BF_ENC(r, l, k, 5); in BF_encrypt() 124 BF_ENC(l, r, k, 6); in BF_encrypt() 125 BF_ENC(r, l, k, 7); in BF_encrypt() [all …]
|