| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dml/dcn30/ |
| D | display_mode_vba_30.c | 1858 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1885 for (k = 0; k < v->NumberOfActivePlanes; ++k) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1886 if (v->WritebackEnable[k]) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1889 v->WritebackPixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1890 v->PixelClock[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1891 v->WritebackHRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1892 v->WritebackVRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1893 v->WritebackHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1894 v->WritebackVTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1895 v->WritebackSourceWidth[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dml/dcn21/ |
| D | display_mode_vba_21.c | 1472 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1481 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1482 if (mode_lib->vba.WritebackEnable[k]) { in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1487 mode_lib->vba.WritebackPixelFormat[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1488 mode_lib->vba.PixelClock[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1489 mode_lib->vba.WritebackHRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1490 mode_lib->vba.WritebackVRatio[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1491 mode_lib->vba.WritebackLumaHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1492 mode_lib->vba.WritebackLumaVTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1493 mode_lib->vba.WritebackChromaHTaps[k], in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
| /openbsd/src/usr.sbin/nsd/ |
| D | lookup3.c | 109 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 215 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument 227 a += k[0]; in hashword() 228 b += k[1]; in hashword() 229 c += k[2]; in hashword() 232 k += 3; in hashword() 238 case 3 : c+=k[2]; in hashword() 240 case 2 : b+=k[1]; in hashword() 242 case 1 : a+=k[0]; in hashword() 263 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() argument [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/display/dc/dml/dcn20/ |
| D | display_mode_vba_20.c | 1088 unsigned int j, k; in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1097 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1098 if (mode_lib->vba.WritebackEnable[k]) { in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1103 mode_lib->vba.WritebackPixelFormat[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1104 mode_lib->vba.PixelClock[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1105 mode_lib->vba.WritebackHRatio[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1106 mode_lib->vba.WritebackVRatio[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1107 mode_lib->vba.WritebackLumaHTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1108 mode_lib->vba.WritebackLumaVTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1109 mode_lib->vba.WritebackChromaHTaps[k], in dml20_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
| D | display_mode_vba_20v2.c | 1148 unsigned int j, k; in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1157 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1158 if (mode_lib->vba.WritebackEnable[k]) { in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1163 mode_lib->vba.WritebackPixelFormat[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1164 mode_lib->vba.PixelClock[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1165 mode_lib->vba.WritebackHRatio[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1166 mode_lib->vba.WritebackVRatio[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1167 mode_lib->vba.WritebackLumaHTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1168 mode_lib->vba.WritebackLumaVTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1169 mode_lib->vba.WritebackChromaHTaps[k], in dml20v2_DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
| /openbsd/src/usr.sbin/unbound/util/storage/ |
| D | lookup3.c | 118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 233 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument 245 a += k[0]; in hashword() 246 b += k[1]; in hashword() 247 c += k[2]; in hashword() 250 k += 3; in hashword() 256 case 3 : c+=k[2]; in hashword() 259 case 2 : b+=k[1]; in hashword() 262 case 1 : a+=k[0]; in hashword() 285 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() argument [all …]
|
| /openbsd/src/sbin/unwind/libunbound/util/storage/ |
| D | lookup3.c | 118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 233 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument 245 a += k[0]; in hashword() 246 b += k[1]; in hashword() 247 c += k[2]; in hashword() 250 k += 3; in hashword() 256 case 3 : c+=k[2]; in hashword() 259 case 2 : b+=k[1]; in hashword() 262 case 1 : a+=k[0]; in hashword() 285 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() argument [all …]
|
| /openbsd/src/lib/libcrypto/camellia/ |
| D | camellia.c | 362 Camellia_Ekeygen(int keyBitLength, const u8 *rawKey, KEY_TABLE_TYPE k) in Camellia_Ekeygen() argument 366 k[0] = s0 = GETU32(rawKey); in Camellia_Ekeygen() 367 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen() 368 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen() 369 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen() 372 k[8] = s0 = GETU32(rawKey + 16); in Camellia_Ekeygen() 373 k[9] = s1 = GETU32(rawKey + 20); in Camellia_Ekeygen() 375 k[10] = s2 = ~s0; in Camellia_Ekeygen() 376 k[11] = s3 = ~s1; in Camellia_Ekeygen() 378 k[10] = s2 = GETU32(rawKey + 24); in Camellia_Ekeygen() [all …]
|
| /openbsd/src/lib/libc/string/ |
| D | memmem.c | 30 twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() argument 33 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem() 39 threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() argument 43 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem() 49 fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() argument 53 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem() 72 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 81 ip = -1; jp = 0; k = p = 1; in twoway_memmem() 82 while (jp+k<l) { in twoway_memmem() 83 if (n[ip+k] == n[jp+k]) { in twoway_memmem() [all …]
|
| D | strstr.c | 69 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local 79 ip = -1; jp = 0; k = p = 1; in twoway_strstr() 80 while (jp+k<l) { in twoway_strstr() 81 if (n[ip+k] == n[jp+k]) { in twoway_strstr() 82 if (k == p) { in twoway_strstr() 84 k = 1; in twoway_strstr() 85 } else k++; in twoway_strstr() 86 } else if (n[ip+k] > n[jp+k]) { in twoway_strstr() 87 jp += k; in twoway_strstr() 88 k = 1; in twoway_strstr() [all …]
|
| /openbsd/src/regress/usr.bin/ssh/ |
| D | hostkey-agent.sh | 21 for k in $SSH_KEYTYPES ; do 22 ${SSHKEYGEN} -qt $k -f $OBJ/agent-key.$k -N '' || fatal "ssh-keygen $k" 24 -I localhost-with-alias $OBJ/agent-key.$k.pub || \ 25 fatal "sign $k" 26 ${SSHADD} -k $OBJ/agent-key.$k >/dev/null 2>&1 || \ 27 fatal "couldn't load key $OBJ/agent-key.$k" 29 rm $OBJ/agent-key.$k || fatal "couldn't rm $OBJ/agent-key.$k" 35 for k in $SSH_KEYTYPES ; do 36 verbose "key type $k" 38 echo "HostKeyAlgorithms $k" >> $OBJ/sshd_proxy [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| D | loop-15.c | 16 int start, end, k; in main() local 21 for (k = 0; k < 5; k++) in main() 22 a[k] = k; in main() 26 for (k = 0; k <= start; k++) in main() 27 if (a[k] != k) in main() 30 for (k = start + 1; k <= end; k++) in main() 31 if (a[k] != k - 1) in main() 34 for (k = end + 1; k < 5; k++) in main() 35 if (a[k] != k) in main()
|
| /openbsd/src/gnu/gcc/libgomp/testsuite/libgomp.fortran/ |
| D | do2.f90 | 5 logical :: k variable 22 k = .false. 30 if (i .ne. j) k = .true. 43 if (i .ne. j) k = .true. 56 if (i .ne. j) k = .true. 69 if (i .ne. j) k = .true. 82 if (i .ne. j) k = .true. 89 if (any (a .ne. b) .or. k) call abort 91 k = .false. 99 if (i .ne. j) k = .true. [all …]
|
| D | reference1.f90 | 4 integer :: i, j, k variable 8 k = 0 10 call test (i, j, k, d) 12 if (iand (k, 255) .ne. 0) call abort 13 if (iand (k, 65280) .eq. 0) then 14 if (k .ne. 65536 * 4) call abort 17 subroutine test (i, j, k, d) argument 18 integer :: i, j, k local 22 if (i .ne. 6 .or. d .ne. 24.5 .or. k .ne. 0) k = k + 1 23 if (omp_get_num_threads () .ne. 4) k = k + 256 [all …]
|
| /openbsd/src/lib/libc/gdtoa/ |
| D | misc.c | 50 (k) int k; in Balloc() argument 52 (int k) 64 if (k <= Kmax && (rv = freelist[k]) !=0) { 65 freelist[k] = rv->next; 68 x = 1 << k; 76 if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) { 86 rv->k = k; 103 if (v->k > Kmax) 111 v->next = freelist[v->k]; 112 freelist[v->k] = v; [all …]
|
| D | smisc.c | 43 int i, k; local 47 for(k = 0, y = 1; x > y; y <<= 1, k++) ; 49 b = Balloc(k); 55 b = Balloc(k+1); 91 int k, ka, kb; local 95 k = ka - kb + ULbits*(a->wds - b->wds); 97 if (k > 0) { 98 word0(&da) += (k >> 2)*Exp_msk1; 99 if (k &= 3) 100 dval(&da) *= 1 << k; [all …]
|
| /openbsd/src/gnu/usr.bin/perl/t/op/ |
| D | each_array.t | 10 our (@array, @r, $k, $v, $c); 20 ($k, $v) = each @array; 21 is ($k, 1, "got expected index of next element"); 23 ($k, $v) = each @array; 24 is ($k, 2, "got expected index of remaining element"); 34 ($k) = each @array; 35 is ($k, 1, "got index when only index was assigned to variable"); 43 ($k, $v) = each @lex_array; 44 is ($k, 1, "got expected index of next element"); 46 ($k) = each @lex_array; [all …]
|
| /openbsd/src/sys/net/ |
| D | bpf_filter.c | 77 bpf_mem_ldw(const void *mem, u_int32_t k, int *err) in bpf_mem_ldw() argument 84 if (k + sizeof(v) > bm->len) in bpf_mem_ldw() 87 memcpy(&v, bm->pkt + k, sizeof(v)); in bpf_mem_ldw() 94 bpf_mem_ldh(const void *mem, u_int32_t k, int *err) in bpf_mem_ldh() argument 101 if (k + sizeof(v) > bm->len) in bpf_mem_ldh() 104 memcpy(&v, bm->pkt + k, sizeof(v)); in bpf_mem_ldh() 111 bpf_mem_ldb(const void *mem, u_int32_t k, int *err) in bpf_mem_ldb() argument 117 if (k >= bm->len) in bpf_mem_ldb() 121 return bm->pkt[k]; in bpf_mem_ldb() 146 u_int32_t k; in _bpf_filter() local [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/ |
| D | f90-intrinsic-bit.f | 15 integer*1 k, k2, k3, ka 40 k = 0 41 k = not(k) 42 do while ( (k.ne.0) .and. (ka.lt.127) ) 44 k = ishft(k,-1) 46 call c_i1(BIT_SIZE(k),ka,'BIT_SIZE(integer*1)') 59 k = 7 71 call c_l(BTEST(k,3),.true.,'BTEST(integer*1,integer)') 72 call c_l(BTEST(k,j2),.true.,'BTEST(integer*1,integer*2)') 73 call c_l(BTEST(k,k2),.true.,'BTEST(integer*1,integer*1)') [all …]
|
| /openbsd/src/regress/usr.bin/ssh/unittests/sshkey/ |
| D | common.c | 76 rsa_n(struct sshkey *k) in rsa_n() argument 80 ASSERT_PTR_NE(k, NULL); in rsa_n() 81 ASSERT_PTR_NE(k->pkey, NULL); in rsa_n() 82 RSA_get0_key(EVP_PKEY_get0_RSA(k->pkey), &n, NULL, NULL); in rsa_n() 87 rsa_e(struct sshkey *k) in rsa_e() argument 91 ASSERT_PTR_NE(k, NULL); in rsa_e() 92 ASSERT_PTR_NE(k->pkey, NULL); in rsa_e() 93 RSA_get0_key(EVP_PKEY_get0_RSA(k->pkey), NULL, &e, NULL); in rsa_e() 98 rsa_p(struct sshkey *k) in rsa_p() argument 102 ASSERT_PTR_NE(k, NULL); in rsa_p() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
| D | crc32.c | 176 local z_crc_t x2nmodp(z_off64_t n, unsigned k) { in x2nmodp() argument 182 p = multmodp(x2n_table[k & 31], p); in x2nmodp() 184 k++; in x2nmodp() 348 int k, n; in make_crc_table() local 407 for (k = 0; k < 8; k++) { in make_crc_table() 409 write_table(out, ltl[k], 256); in make_crc_table() 410 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() 416 for (k = 0; k < 8; k++) { in make_crc_table() 418 write_table64(out, big[k], 256); in make_crc_table() 419 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() [all …]
|
| /openbsd/src/sys/lib/libz/ |
| D | crc32.c | 174 local z_crc_t x2nmodp(z_off64_t n, unsigned k) { in x2nmodp() argument 180 p = multmodp(x2n_table[k & 31], p); in x2nmodp() 182 k++; in x2nmodp() 346 int k, n; in make_crc_table() local 405 for (k = 0; k < 8; k++) { in make_crc_table() 407 write_table(out, ltl[k], 256); in make_crc_table() 408 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() 414 for (k = 0; k < 8; k++) { in make_crc_table() 416 write_table64(out, big[k], 256); in make_crc_table() 417 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() [all …]
|
| /openbsd/src/lib/libz/ |
| D | crc32.c | 174 local z_crc_t x2nmodp(z_off64_t n, unsigned k) { in x2nmodp() argument 180 p = multmodp(x2n_table[k & 31], p); in x2nmodp() 182 k++; in x2nmodp() 346 int k, n; in make_crc_table() local 405 for (k = 0; k < 8; k++) { in make_crc_table() 407 write_table(out, ltl[k], 256); in make_crc_table() 408 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() 414 for (k = 0; k < 8; k++) { in make_crc_table() 416 write_table64(out, big[k], 256); in make_crc_table() 417 fprintf(out, "}%s", k < 7 ? ",\n" : ""); in make_crc_table() [all …]
|
| /openbsd/src/regress/sys/kern/mount/ |
| D | disktemplate | 2 /mnt/b 100k 3 /mnt/d 100k 4 /mnt/d/e 100k 5 /mnt/d/e/f 100k 6 /mnt/d/e/f/g 100k 7 /mnt/d/e/f/g/h 100k 8 /mnt/d/e/f/g/h/i 100k 9 /mnt/d/e/f/g/h/i/j 100k 10 /mnt/d/e/f/g/h/i/j/k 100k 11 /mnt/d/e/f/g/h/i/j/k/l 100k [all …]
|
| /openbsd/src/lib/libssl/test/ |
| D | times | 77 - Instead of sending one 102400 byte buffer, one 8k buffer is sent until 97 md2 131.02k 368.41k 500.57k 549.21k 566.09k 98 mdc2 535.60k 589.10k 595.88k 595.97k 594.54k 99 md5 1801.53k 9674.77k 17484.03k 21849.43k 23592.96k 100 sha 1261.63k 5533.25k 9285.63k 11187.88k 11913.90k 101 sha1 1103.13k 4782.53k 7933.78k 9472.34k 10070.70k 102 rc4 10722.53k 14443.93k 15215.79k 15299.24k 15219.59k 103 des cbc 3286.57k 3827.73k 3913.39k 3931.82k 3926.70k 104 des ede3 1443.50k 1549.08k 1561.17k 1566.38k 1564.67k 105 idea cbc 2203.64k 2508.16k 2538.33k 2543.62k 2547.71k [all …]
|