Home
last modified time | relevance | path

Searched refs:ck (Results 1 – 25 of 62) sorted by relevance

123

/openbsd/src/usr.bin/ftp/
Dcookie.c68 struct cookie *ck; in cookie_load() local
87 ck = calloc(1, sizeof(*ck)); in cookie_load()
88 if (ck == NULL) in cookie_load()
94 if (asprintf(&ck->domain, in cookie_load()
98 ck->domain = strdup(param); in cookie_load()
99 if (ck->domain == NULL) in cookie_load()
105 ck->flags |= F_TAILMATCH; in cookie_load()
112 ck->flags |= F_MATCHPATH; in cookie_load()
113 if (asprintf(&ck->path, in cookie_load()
120 ck->flags |= F_SECURE; in cookie_load()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
Dduff-2.c24 type32 ck = 0; in cksum() local
31 ck ^= (type32)*src++ << 24; in cksum()
34 ck ^= (type32)*src++ << 16; in cksum()
37 ck ^= (type32)*src++ << 8; in cksum()
40 ck ^= (type32)*src++; in cksum()
45 return ck; in cksum()
53 type32 ck; in main() local
55 ck = cksum ((const unsigned char *) testpat, sizeof (testpat)); in main()
56 if (ck != 925902908) in main()
/openbsd/src/usr.sbin/unbound/util/data/
Dpacked_rrset.c336 struct ub_packed_rrset_key* ck = regional_alloc(region, in packed_rrset_copy_region() local
343 if(!ck) in packed_rrset_copy_region()
345 ck->id = key->id; in packed_rrset_copy_region()
346 memset(&ck->entry, 0, sizeof(ck->entry)); in packed_rrset_copy_region()
347 ck->entry.hash = key->entry.hash; in packed_rrset_copy_region()
348 ck->entry.key = ck; in packed_rrset_copy_region()
349 ck->rk = key->rk; in packed_rrset_copy_region()
350 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in packed_rrset_copy_region()
352 if(!ck->rk.dname) in packed_rrset_copy_region()
358 ck->entry.data = d; in packed_rrset_copy_region()
[all …]
/openbsd/src/sbin/unwind/libunbound/util/data/
Dpacked_rrset.c336 struct ub_packed_rrset_key* ck = regional_alloc(region, in packed_rrset_copy_region() local
343 if(!ck) in packed_rrset_copy_region()
345 ck->id = key->id; in packed_rrset_copy_region()
346 memset(&ck->entry, 0, sizeof(ck->entry)); in packed_rrset_copy_region()
347 ck->entry.hash = key->entry.hash; in packed_rrset_copy_region()
348 ck->entry.key = ck; in packed_rrset_copy_region()
349 ck->rk = key->rk; in packed_rrset_copy_region()
350 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in packed_rrset_copy_region()
352 if(!ck->rk.dname) in packed_rrset_copy_region()
358 ck->entry.data = d; in packed_rrset_copy_region()
[all …]
/openbsd/src/gnu/usr.bin/perl/t/mro/
Disa_c3_utf8.t34 package ṭ화ckэ;
38 @ṭ화ckэ::ISA = ();
58 ṭ화ckэ => [qw(ṭ화ckэ)],
Disa_dfs_utf8.t31 package ṭ화ckэ;
34 @ṭ화ckэ::ISA = ();
54 ṭ화ckэ => [qw(ṭ화ckэ)],
/openbsd/src/sbin/unwind/libunbound/services/cache/
Ddns.c96 struct ub_packed_rrset_key* ck; in store_rrsets() local
101 ck = NULL; in store_rrsets()
102 else ck = packed_rrset_copy_region( in store_rrsets()
105 if(ck) { in store_rrsets()
107 qrep->rrsets[i] = ck; in store_rrsets()
745 struct ub_packed_rrset_key* ck; in synth_dname_msg() local
792 ck = (struct ub_packed_rrset_key*)regional_alloc(region, in synth_dname_msg()
794 if(!ck) in synth_dname_msg()
796 memset(&ck->entry, 0, sizeof(ck->entry)); in synth_dname_msg()
797 msg->rep->rrsets[1] = ck; in synth_dname_msg()
[all …]
/openbsd/src/usr.sbin/unbound/services/cache/
Ddns.c96 struct ub_packed_rrset_key* ck; in store_rrsets() local
101 ck = NULL; in store_rrsets()
102 else ck = packed_rrset_copy_region( in store_rrsets()
105 if(ck) { in store_rrsets()
107 qrep->rrsets[i] = ck; in store_rrsets()
745 struct ub_packed_rrset_key* ck; in synth_dname_msg() local
792 ck = (struct ub_packed_rrset_key*)regional_alloc(region, in synth_dname_msg()
794 if(!ck) in synth_dname_msg()
796 memset(&ck->entry, 0, sizeof(ck->entry)); in synth_dname_msg()
797 msg->rep->rrsets[1] = ck; in synth_dname_msg()
[all …]
/openbsd/src/sys/net/
Dwg_noise.c53 uint8_t ck[NOISE_HASH_LEN],
787 const uint8_t ck[NOISE_HASH_LEN]) in noise_kdf()
798 blake2s_hmac(sec, x, ck, BLAKE2S_HASH_SIZE, x_len, NOISE_HASH_LEN); in noise_kdf()
833 noise_mix_dh(uint8_t ck[NOISE_HASH_LEN], uint8_t key[NOISE_SYMMETRIC_KEY_LEN], in noise_mix_dh()
841 noise_kdf(ck, key, NULL, dh, in noise_mix_dh()
842 NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck); in noise_mix_dh()
848 noise_mix_ss(uint8_t ck[NOISE_HASH_LEN], uint8_t key[NOISE_SYMMETRIC_KEY_LEN], in noise_mix_ss()
854 noise_kdf(ck, key, NULL, ss, in noise_mix_ss()
855 NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck); in noise_mix_ss()
872 noise_mix_psk(uint8_t ck[NOISE_HASH_LEN], uint8_t hash[NOISE_HASH_LEN], in noise_mix_psk()
[all …]
/openbsd/src/usr.sbin/unbound/respip/
Drespip.c490 struct ub_packed_rrset_key* ck = regional_alloc(region, in respip_copy_rrset() local
499 if(!ck) in respip_copy_rrset()
501 ck->id = key->id; in respip_copy_rrset()
502 memset(&ck->entry, 0, sizeof(ck->entry)); in respip_copy_rrset()
503 ck->entry.hash = key->entry.hash; in respip_copy_rrset()
504 ck->entry.key = ck; in respip_copy_rrset()
505 ck->rk = key->rk; in respip_copy_rrset()
507 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in respip_copy_rrset()
509 if(!ck->rk.dname) in respip_copy_rrset()
511 ck->rk.dname_len = key->rk.dname_len; in respip_copy_rrset()
[all …]
/openbsd/src/sbin/unwind/libunbound/respip/
Drespip.c490 struct ub_packed_rrset_key* ck = regional_alloc(region, in respip_copy_rrset() local
499 if(!ck) in respip_copy_rrset()
501 ck->id = key->id; in respip_copy_rrset()
502 memset(&ck->entry, 0, sizeof(ck->entry)); in respip_copy_rrset()
503 ck->entry.hash = key->entry.hash; in respip_copy_rrset()
504 ck->entry.key = ck; in respip_copy_rrset()
505 ck->rk = key->rk; in respip_copy_rrset()
507 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in respip_copy_rrset()
509 if(!ck->rk.dname) in respip_copy_rrset()
511 ck->rk.dname_len = key->rk.dname_len; in respip_copy_rrset()
[all …]
/openbsd/src/gnu/usr.bin/perl/dist/Carp/t/
Derrno.t62 sub ck { Carp::croak("x") }
63 eval { ck($aa) };
/openbsd/src/sys/arch/arm64/arm64/
Dcpu.c2486 struct cpu_kstats *ck; in cpu_kstat_attach() local
2499 ck = malloc(sizeof(*ck), M_DEVBUF, M_WAITOK); in cpu_kstat_attach()
2513 kstat_kv_init(&ck->ck_impl, "impl", KSTAT_KV_T_ISTR); in cpu_kstat_attach()
2514 strlcpy(kstat_kv_istr(&ck->ck_impl), impl_name, in cpu_kstat_attach()
2515 sizeof(kstat_kv_istr(&ck->ck_impl))); in cpu_kstat_attach()
2517 kstat_kv_init(&ck->ck_impl, "impl", KSTAT_KV_T_NULL); in cpu_kstat_attach()
2527 kstat_kv_init(&ck->ck_part, "part", KSTAT_KV_T_ISTR); in cpu_kstat_attach()
2528 strlcpy(kstat_kv_istr(&ck->ck_part), part_name, in cpu_kstat_attach()
2529 sizeof(kstat_kv_istr(&ck->ck_part))); in cpu_kstat_attach()
2531 kstat_kv_init(&ck->ck_part, "part", KSTAT_KV_T_NULL); in cpu_kstat_attach()
[all …]
/openbsd/src/sys/arch/hppa/stand/mkboot/
Dmkboot.c310 cksum(int ck, int *p, int size) in cksum() argument
314 ck += betoh32(*p); in cksum()
316 return ck; in cksum()
/openbsd/src/regress/lib/libcrypto/x509/bettertls/certificates/
D3460.crt19 ck/r2vVnHUHfTcOGVkhcPYmwdnv9Yq8odSXJ6u21qCgUm+22YlDIdeG6kIGwG0TA
D1591.crt18 Z6Nt6otspMgQn9gQYUC4kFLAyYg/9s+6Uory1rY/D2YMLK9VcTHdRYcGeai5Q+ck
D1083.key26 ed9cB/igQYS8UU8bYCvweZ7EO27cMvimmzY57Xx1HVGFdyp0/ck=
/openbsd/src/gnu/usr.bin/perl/t/uni/
Dgv.t712 *ghèck = sub { 'lon' };
713 *$_ = \&ghèck;
790 sub grèck;
793 *$glob = *grèck;
/openbsd/src/gnu/usr.bin/perl/Porting/
Dcorelist-perldelta.pl342 for my $ck ([ 'new', $delta->new_modules, $added ],
345 my @delta = @{ $ck->[1] };
346 my @corelist = sort { lc $a->[0] cmp lc $b->[0] } values %{ $ck->[2] };
348 printf $ck->[0] . ":\n";
/openbsd/src/regress/usr.bin/mandoc/mdoc/Cm/
Dfont.out_ascii7 normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
/openbsd/src/regress/usr.bin/mandoc/mdoc/Cd/
Dfont.out_ascii7 normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
/openbsd/src/regress/usr.bin/mandoc/mdoc/Fl/
Dfont.out_ascii7 normal text --bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
/openbsd/src/regress/usr.bin/mandoc/mdoc/Nm/
Dfont.out_ascii7 normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
/openbsd/src/regress/usr.bin/mandoc/mdoc/Ic/
Dfont.out_ascii7 normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text
/openbsd/src/regress/usr.bin/mandoc/mdoc/Sy/
Dfont.out_ascii7 normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text

123