Home
last modified time | relevance | path

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

123456

/netbsd-src/usr.bin/xlint/lint1/
H A Dcksnprintb.c104 check_bit(checker *ck, uint64_t dir_lsb, uint64_t width, in check_bit() argument
107 unsigned lsb = (unsigned)(ck->new_style ? dir_lsb : dir_lsb - 1); in check_bit()
113 if (ck->covered & field_mask & bit(i)) { in check_bit()
117 ck->covered_len[i], ck->covered_start[i], in check_bit()
118 ck->new_style ? i : i + 1); in check_bit()
123 ck->covered |= field_mask; in check_bit()
126 ck->covered_start[i] = start; in check_bit()
127 ck->covered_len[i] = len; in check_bit()
131 if (!(ck->possible_value_bits & field_mask)) in check_bit()
137 parse_description(checker *ck, const quoted_iterator *dir) in parse_description() argument
[all …]
H A Dckgetopt.c76 } ck; variable
118 if (opt == ':' && ck.options[0] != ':') in check_unlisted_option()
121 char *optptr = strchr(ck.options, opt); in check_unlisted_option()
133 for (const char *opt = ck.options; *opt != '\0'; opt++) { in check_unhandled_option()
138 warning_at(338, &ck.options_pos, *opt); in check_unhandled_option()
146 if (ck.while_level == 0) { in check_getopt_begin_while()
147 if (!is_getopt_condition(tn, &ck.options)) in check_getopt_begin_while()
149 ck.options_pos = curr_pos; in check_getopt_begin_while()
151 ck.while_level++; in check_getopt_begin_while()
157 if (ck.while_level > 0) in check_getopt_begin_switch()
[all …]
/netbsd-src/sys/fs/puffs/
H A Dpuffs_node.c57 puffs_getvnode1(struct mount *mp, puffs_cookie_t ck, enum vtype type, in puffs_getvnode1() argument
69 "bad node type", ck); in puffs_getvnode1()
74 "VSIZENOTSET is not a valid size", ck); in puffs_getvnode1()
79 error = vcache_get(mp, &ck, sizeof(ck), &vp); in puffs_getvnode1()
135 puffs_getvnode(struct mount *mp, puffs_cookie_t ck, enum vtype type, in puffs_getvnode() argument
139 return puffs_getvnode1(mp, ck, type, vsize, rdev, true, vpp); in puffs_getvnode()
145 puffs_cookie_t ck, struct componentname *cnp, in puffs_newnode() argument
152 if (ck == NULL) in puffs_newnode()
160 if (ck == pmp->pmp_root_cookie) { in puffs_newnode()
162 "cookie exists", ck); in puffs_newnode()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dadd1.c291 mp_size_t ck; in mpfr_add1() local
295 ck = cn - difw; in mpfr_add1()
298 if (difs == 0 && ck == 0) in mpfr_add1()
301 cprev = ck == cn ? 0 : cp[ck]; in mpfr_add1()
310 if (--ck >= 0) in mpfr_add1()
312 cprev = cp[ck]; in mpfr_add1()
317 cc = cp[--ck]; in mpfr_add1()
359 if (ck < 0) in mpfr_add1()
362 if (--ck >= 0) in mpfr_add1()
364 cprev = cp[ck]; in mpfr_add1()
[all …]
H A Dgamma.c333 int underflow = 0, sgn, ck; in mpfr_gamma() local
356 MPFR_DBGRES (ck = mpfr_ui_sub (tmp, 2, x, MPFR_RNDN)); in mpfr_gamma()
357 MPFR_ASSERTD (ck == 0); /* tmp = 2-x exactly */ in mpfr_gamma()
411 int ck; in mpfr_gamma() local
416 ck = mpfr_ui_sub (xp, 2, x, MPFR_RNDN); /* 2-x, exact */ in mpfr_gamma()
417 MPFR_ASSERTD(ck == 0); (void) ck; /* use ck to avoid a warning */ in mpfr_gamma()
439 ck = mpfr_sub_ui (xp, x, 1, MPFR_RNDN); /* x-1, exact */ in mpfr_gamma()
440 MPFR_ASSERTD(ck == 0); (void) ck; /* use ck to avoid a warning */ in mpfr_gamma()
/netbsd-src/external/lgpl3/mpfr/dist/
H A DMakefile.am58 tools/check_mparam.c tools/ck-clz_tab tools/ck-copyright-notice \
59 tools/ck-mparam tools/ck-news tools/ck-version-info tools/get_patches.sh \
77 cd $(srcdir) && tools/ck-version-info
78 cd $(srcdir) && tools/ck-copyright-notice
79 cd $(srcdir) && tools/ck-news
80 cd $(srcdir) && tools/ck-clz_tab
81 $(srcdir)/tools/ck-mparam
H A DMakefile.in420 tools/check_mparam.c tools/ck-clz_tab tools/ck-copyright-notice \
421 tools/ck-mparam tools/ck-news tools/ck-version-info tools/get_patches.sh \
977 cd $(srcdir) && tools/ck-version-info
978 cd $(srcdir) && tools/ck-copyright-notice
979 cd $(srcdir) && tools/ck-news
980 cd $(srcdir) && tools/ck-clz_tab
981 $(srcdir)/tools/ck-mparam
/netbsd-src/external/bsd/wpa/dist/src/crypto/
H A Dmilenage.c89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) in milenage_f2345() argument
121 if (ck) { in milenage_f2345()
126 if (aes_128_encrypt_block(k, tmp1, ck)) in milenage_f2345()
129 ck[i] ^= opc[i]; in milenage_f2345()
175 u8 *ck, u8 *res, size_t *res_len) in milenage_generate() argument
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) { in milenage_generate()
237 u8 res[8], ck[16], ik[16]; in gsm_milenage() local
240 if (milenage_f2345(opc, k, _rand, res, ck, ik, NULL, NULL)) in gsm_milenage()
244 kc[i] = ck[i] ^ ck[i + 8] ^ ik[i] ^ ik[i + 8]; in gsm_milenage()
271 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, in milenage_check() argument
[all …]
H A Dmilenage.h14 u8 *ck, u8 *res, size_t *res_len);
20 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
25 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dldapsync.c250 struct sync_cookie *ck, in slap_insert_csn_sids() argument
257 ck->numcsns++; in slap_insert_csn_sids()
258 ck->ctxcsn = ch_realloc( ck->ctxcsn, in slap_insert_csn_sids()
259 (ck->numcsns+1) * sizeof(struct berval)); in slap_insert_csn_sids()
260 BER_BVZERO( &ck->ctxcsn[ck->numcsns] ); in slap_insert_csn_sids()
261 ck->sids = ch_realloc( ck->sids, ck->numcsns * sizeof(int)); in slap_insert_csn_sids()
262 for ( i = ck->numcsns-1; i > pos; i-- ) { in slap_insert_csn_sids()
263 ck->ctxcsn[i] = ck->ctxcsn[i-1]; in slap_insert_csn_sids()
264 ck->sids[i] = ck->sids[i-1]; in slap_insert_csn_sids()
266 ck->sids[i] = sid; in slap_insert_csn_sids()
[all …]
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dpacked_rrset.c333 struct ub_packed_rrset_key* ck = regional_alloc(region, in packed_rrset_copy_region() local
340 if(!ck) in packed_rrset_copy_region()
342 ck->id = key->id; in packed_rrset_copy_region()
343 memset(&ck->entry, 0, sizeof(ck->entry)); in packed_rrset_copy_region()
344 ck->entry.hash = key->entry.hash; in packed_rrset_copy_region()
345 ck->entry.key = ck; in packed_rrset_copy_region()
346 ck->rk = key->rk; in packed_rrset_copy_region()
347 ck->rk.dname = regional_alloc_init(region, key->rk.dname, in packed_rrset_copy_region()
349 if(!ck->rk.dname) in packed_rrset_copy_region()
355 ck->entry.data = d; in packed_rrset_copy_region()
[all …]
/netbsd-src/sys/net/npf/
H A Dnpf_conndb.c164 npf_conndb_lookup(npf_t *npf, const npf_connkey_t *ck, npf_flow_t *flow) in npf_conndb_lookup() argument
167 const unsigned keylen = NPF_CONNKEY_LEN(ck); in npf_conndb_lookup()
175 val = thmap_get(cd->cd_map, ck->ck_key, keylen); in npf_conndb_lookup()
203 npf_conndb_insert(npf_conndb_t *cd, const npf_connkey_t *ck, in npf_conndb_insert() argument
206 const unsigned keylen = NPF_CONNKEY_LEN(ck); in npf_conndb_insert()
218 ok = thmap_put(cd->cd_map, ck->ck_key, keylen, val) == val; in npf_conndb_insert()
229 npf_conndb_remove(npf_conndb_t *cd, npf_connkey_t *ck) in npf_conndb_remove() argument
231 const unsigned keylen = NPF_CONNKEY_LEN(ck); in npf_conndb_remove()
235 val = thmap_del(cd->cd_map, ck->ck_key, keylen); in npf_conndb_remove()
/netbsd-src/lib/libtelnet/
H A Dsra.c64 DesData ck; variable
190 common_key(ska, pkb, &ik, &ck); in sra_is()
199 pk_decode(xuser, user, &ck); in sra_is()
204 pk_encode(passprompt, xpassprompt, &ck); in sra_is()
215 pk_decode(xpass, pass, &ck); in sra_is()
224 skey.data = ck; in sra_is()
236 pk_encode(passprompt, xpassprompt, &ck); in sra_is()
278 common_key(ska, pkb, &ik, &ck); in sra_reply()
302 pk_encode(user, xuser, &ck); in sra_reply()
324 pk_decode(xpassprompt, passprompt, &ck); in sra_reply()
[all …]
H A Dpk.c66 extractideakey(BIGNUM *ck, IdeaData *ideakey) in extractideakey() argument
78 BN_add(a, ck, z); in extractideakey()
100 extractdeskey(BIGNUM *ck, DesData *deskey) in extractdeskey() argument
112 BN_add(a, ck, z); in extractdeskey()
/netbsd-src/external/bsd/unbound/dist/services/cache/
H A Ddns.c95 struct ub_packed_rrset_key* ck; in store_rrsets() local
99 ck = NULL; in store_rrsets()
100 else ck = packed_rrset_copy_region( in store_rrsets()
103 if(ck) { in store_rrsets()
105 qrep->rrsets[i] = ck; in store_rrsets()
752 struct ub_packed_rrset_key* ck; in synth_dname_msg() local
799 ck = (struct ub_packed_rrset_key*)regional_alloc(region, in synth_dname_msg()
801 if(!ck) in synth_dname_msg()
803 memset(&ck->entry, 0, sizeof(ck->entry)); in synth_dname_msg()
804 msg->rep->rrsets[1] = ck; in synth_dname_msg()
[all …]
/netbsd-src/external/bsd/unbound/dist/respip/
H A 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/aria/
H A Daria.c543 const uint32_t *ck; in ossl_aria_set_encrypt_key() local
557 ck = &Key_RC[(bits - 128) / 64][0]; in ossl_aria_set_encrypt_key()
564 reg0 = w0[0] ^ ck[0]; in ossl_aria_set_encrypt_key()
565 reg1 = w0[1] ^ ck[1]; in ossl_aria_set_encrypt_key()
566 reg2 = w0[2] ^ ck[2]; in ossl_aria_set_encrypt_key()
567 reg3 = w0[3] ^ ck[3]; in ossl_aria_set_encrypt_key()
596 reg0 ^= ck[4]; in ossl_aria_set_encrypt_key()
597 reg1 ^= ck[5]; in ossl_aria_set_encrypt_key()
598 reg2 ^= ck[6]; in ossl_aria_set_encrypt_key()
599 reg3 ^= ck[7]; in ossl_aria_set_encrypt_key()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/aria/
H A Daria.c543 const uint32_t *ck; in aria_set_encrypt_key() local
557 ck = &Key_RC[(bits - 128) / 64][0]; in aria_set_encrypt_key()
564 reg0 = w0[0] ^ ck[0]; in aria_set_encrypt_key()
565 reg1 = w0[1] ^ ck[1]; in aria_set_encrypt_key()
566 reg2 = w0[2] ^ ck[2]; in aria_set_encrypt_key()
567 reg3 = w0[3] ^ ck[3]; in aria_set_encrypt_key()
596 reg0 ^= ck[4]; in aria_set_encrypt_key()
597 reg1 ^= ck[5]; in aria_set_encrypt_key()
598 reg2 ^= ck[6]; in aria_set_encrypt_key()
599 reg3 ^= ck[7]; in aria_set_encrypt_key()
[all …]
/netbsd-src/external/bsd/wpa/dist/src/eap_common/
H A Deap_pax_common.c130 u8 *mk, u8 *ck, u8 *ick, u8 *mid) in eap_pax_initial_key_derivation() argument
136 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_CK_LEN, ck) || in eap_pax_initial_key_derivation()
145 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: CK", ck, EAP_PAX_CK_LEN); in eap_pax_initial_key_derivation()
H A Deap_sim_common.h79 const u8 *ik, const u8 *ck, u8 *mk);
93 const u8 *ik, const u8 *ck, u8 *k_encr,
104 void eap_aka_prime_derive_ck_ik_prime(u8 *ck, u8 *ik, const u8 *sqn_ak,
110 const u8 *ik, const u8 *ck, in eap_aka_prime_derive_keys() argument
/netbsd-src/external/historical/nawk/dist/testdir/
H A Dt.time8 ck %= l
9 totck += ck
/netbsd-src/sys/arch/vax/vax/
H A Dctu.c282 unsigned short ck = 0; in cturintr() local
308 ck = (c & 0xff); in cturintr()
310 ck |= ((c & 0xff) << 8); in cturintr()
314 if (tck != ck) { in cturintr()
317 printf("Bad cksum: tck %x != ck %x\n", tck, ck); in cturintr()
/netbsd-src/sys/arch/x86/x86/
H A Dx86_autoconf.c119 int i, ck, error, m, n; in matchbiosdisks() local
189 for (ck = i = 0; i < DEV_BSIZE; i++) in matchbiosdisks()
190 ck += mbr[i]; in matchbiosdisks()
195 DPRINTF(("matched with %d dev ck %x bios ck %x\n", in matchbiosdisks()
196 i, ck, be->cksum)); in matchbiosdisks()
197 if (be->cksum == ck && memcmp(&mbr[MBR_PART_OFFSET], in matchbiosdisks()
/netbsd-src/libexec/lfs_cleanerd/
H A Dlfs_cleanerd.c453 u_int32_t ck, vers; in parse_pseg() local
482 ck = cksum((char *)ssp + sumstart, lfs_sb_getsumsize(fs) - sumstart); in parse_pseg()
483 if (ck != lfs_ss_getsumsum(fs, ssp)) { in parse_pseg()
486 (intmax_t)daddr, lfs_ss_getsumsum(fs, ssp), ck); in parse_pseg()
491 ck = 0; in parse_pseg()
519 ck = lfs_cksum_part(cp, sizeof(u_int32_t), ck); in parse_pseg()
615 ck = lfs_cksum_part(cp, sizeof(u_int32_t), ck); in parse_pseg()
641 ck = lfs_cksum_part(cp, sizeof(u_int32_t), ck); in parse_pseg()
654 if (lfs_ss_getdatasum(fs, ssp) != ck) { in parse_pseg()
658 lfs_ss_getdatasum(fs, ssp), ck); in parse_pseg()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/
H A Dqcs404-evb-4000.dts81 tx-ck {
87 rx-ck {

123456