| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | authfile.c | 116 struct sshkey **keyp, char **commentp) in sshkey_load_private_type() argument 120 if (keyp != NULL) in sshkey_load_private_type() 121 *keyp = NULL; in sshkey_load_private_type() 132 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type() 133 if (r == 0 && keyp && *keyp) in sshkey_load_private_type() 134 r = sshkey_set_filename(*keyp, filename); in sshkey_load_private_type() 142 struct sshkey **keyp, char **commentp) in sshkey_load_private() argument 145 keyp, commentp); in sshkey_load_private() 150 struct sshkey **keyp, char **commentp) in sshkey_load_private_type_fd() argument 155 if (keyp != NULL) in sshkey_load_private_type_fd() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| H A D | zfs_context.h | 143 #define tsd_create(keyp, destructor) do { \ argument 144 *(keyp) = osd_thread_register((destructor)); \ 145 KASSERT(*(keyp) > 0, ("cannot register OSD")); \ 147 #define tsd_destroy(keyp) osd_thread_deregister(*(keyp)) argument 188 tsd_create(uint_t *keyp, void (*func)(void *)) 192 error = lwp_specific_key_create(keyp, func); 197 tsd_destroy(uint_t *keyp) 200 lwp_specific_key_delete(*keyp);
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/include/dst/ |
| H A D | dst.h | 378 const char *directory, isc_mem_t *mctx, dst_key_t **keyp); 393 * \li "keyp" is not NULL and "*keyp" is NULL. 400 * \li If successful, *keyp will contain a valid key. 405 isc_mem_t *mctx, dst_key_t **keyp); 421 * \li "keyp" is not NULL and "*keyp" is NULL. 428 * \li If successful, *keyp will contain a valid key. 433 dst_key_t **keyp); 441 * \li "keyp" i [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dst/ |
| H A D | dst.h | 367 const char *directory, isc_mem_t *mctx, dst_key_t **keyp); 394 isc_mem_t *mctx, dst_key_t **keyp); 422 dst_key_t **keyp); 443 dst_key_read_state(const char *filename, isc_mem_t *mctx, dst_key_t **keyp); 478 dst_key_t **keyp); 481 isc_buffer_t *source, isc_mem_t *mctx, dst_key_t **keyp); 520 isc_buffer_t *source, isc_mem_t *mctx, dst_key_t **keyp); 591 isc_mem_t *mctx, dst_key_t **keyp, isc_region_t *intoken); 615 void *data, isc_mem_t *mctx, dst_key_t **keyp); 622 isc_mem_t *mctx, dst_key_t **keyp); [all …]
|
| /netbsd-src/sys/net/ |
| H A D | toeplitz.c | 261 toeplitz_vhash(const uint8_t *keyp, size_t keylen, ...) in toeplitz_vhash() argument 269 keyend = keyp + keylen; in toeplitz_vhash() 272 v = *keyp++; in toeplitz_vhash() 274 v |= *keyp++; in toeplitz_vhash() 276 v |= *keyp++; in toeplitz_vhash() 278 v |= *keyp++; in toeplitz_vhash() 286 if (keyp < keyend) in toeplitz_vhash() 287 key = *keyp++; in toeplitz_vhash()
|
| /netbsd-src/usr.bin/sort/ |
| H A D | fsort.c | 85 RECHEADER **keypos, **keyp; in fsort() local 164 for (keyp = &keypos[-1]; keyp >= keylist; keyp--) in fsort() 165 *keyp = nbuffer + (*keyp - buffer); in fsort()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | dst_api.c | 170 dst_key_t **keyp); 533 const char *directory, isc_mem_t *mctx, dst_key_t **keyp) { in dst_key_fromfile() argument 543 REQUIRE(keyp != NULL && *keyp == NULL); in dst_key_fromfile() 572 *keyp = key; in dst_key_fromfile() 585 isc_mem_t *mctx, dst_key_t **keyp) { in dst_key_fromnamedfile() argument 596 REQUIRE(keyp != NULL && *keyp == NULL); in dst_key_fromnamedfile() 646 *keyp = pubkey; in dst_key_fromnamedfile() 701 *keyp in dst_key_fromnamedfile() 758 dst_key_fromdns(const dns_name_t * name,dns_rdataclass_t rdclass,isc_buffer_t * source,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_fromdns() argument 765 dst_key_fromdns_ex(const dns_name_t * name,dns_rdataclass_t rdclass,isc_buffer_t * source,isc_mem_t * mctx,bool no_rdata,dst_key_t ** keyp) dst_key_fromdns_ex() argument 810 dst_key_frombuffer(const dns_name_t * name,unsigned int alg,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,isc_buffer_t * source,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_frombuffer() argument 880 dst_key_fromgssapi(const dns_name_t * name,dns_gss_ctx_id_t gssctx,isc_mem_t * mctx,dst_key_t ** keyp,isc_region_t * intoken) dst_key_fromgssapi() argument 977 dst_key_buildinternal(const dns_name_t * name,unsigned int alg,unsigned int bits,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,void * data,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_buildinternal() argument 1011 dst_key_fromlabel(const dns_name_t * name,int alg,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,const char * engine,const char * label,const char * pin,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_fromlabel() argument 1052 dst_key_generate(const dns_name_t * name,unsigned int alg,unsigned int bits,unsigned int param,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,isc_mem_t * mctx,dst_key_t ** keyp,void (* callback)(int)) dst_key_generate() argument 1406 dst_key_free(dst_key_t ** keyp) dst_key_free() argument 1558 dst_key_restore(dns_name_t * name,unsigned int alg,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,isc_mem_t * mctx,const char * keystr,dst_key_t ** keyp) dst_key_restore() argument 1652 dst_key_read_public(const char * filename,int type,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_read_public() argument 1822 dst_key_read_state(const char * filename,isc_mem_t * mctx,dst_key_t ** keyp) dst_key_read_state() argument 2365 frombuffer(const dns_name_t * name,unsigned int alg,unsigned int flags,unsigned int protocol,dns_rdataclass_t rdclass,isc_buffer_t * source,isc_mem_t * mctx,bool no_rdata,dst_key_t ** keyp) frombuffer() argument [all...] |
| H A D | tsec.c | |
| H A D | kasp.c | 405 dns_kasp_key_create(dns_kasp_t *kasp, dns_kasp_key_t **keyp) { in dns_kasp_key_size() 410 REQUIRE(keyp != NULL && *keyp == NULL); in dns_kasp_key_size() 420 *keyp = key; in dns_kasp_key_size() 362 dns_kasp_key_create(dns_kasp_t * kasp,dns_kasp_key_t ** keyp) dns_kasp_key_create() argument
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | dst_api.c | 170 dst_key_t **keyp); 554 const char *directory, isc_mem_t *mctx, dst_key_t **keyp) { in dst_key_fromfile() argument 564 REQUIRE(keyp != NULL && *keyp == NULL); in dst_key_fromfile() 593 *keyp = key; in dst_key_fromfile() 606 isc_mem_t *mctx, dst_key_t **keyp) { in dst_key_fromnamedfile() argument 617 REQUIRE(keyp != NULL && *keyp == NULL); in dst_key_fromnamedfile() 673 *keyp = pubkey; in dst_key_fromnamedfile() 727 *keyp = key; in dst_key_fromnamedfile() 785 isc_buffer_t *source, isc_mem_t *mctx, dst_key_t **keyp) { in dst_key_fromdns() argument 786 return (dst_key_fromdns_ex(name, rdclass, source, mctx, false, keyp)); in dst_key_fromdns() [all …]
|
| H A D | tsec.c | 139 dns_tsec_getkey(dns_tsec_t *tsec, void *keyp) { in dns_tsec_getkey() argument 141 REQUIRE(keyp != NULL); in dns_tsec_getkey() 145 dns_tsigkey_attach(tsec->ukey.tsigkey, (dns_tsigkey_t **)keyp); in dns_tsec_getkey() 148 *(dst_key_t **)keyp = tsec->ukey.key; in dns_tsec_getkey()
|
| H A D | kasp.c | 374 dns_kasp_key_create(dns_kasp_t *kasp, dns_kasp_key_t **keyp) { in dns_kasp_key_create() argument 378 REQUIRE(keyp != NULL && *keyp == NULL); in dns_kasp_key_create() 390 *keyp = key; in dns_kasp_key_create()
|
| /netbsd-src/sys/kern/ |
| H A D | subr_optstr.c | 59 const char *keyp; in optstr_get_pointer() local 62 keyp = key; in optstr_get_pointer() 63 while (*optstr == *keyp) { in optstr_get_pointer() 65 keyp++; in optstr_get_pointer() 68 if (*optstr == '=' && *keyp == '\0') in optstr_get_pointer()
|
| H A D | subr_lwp_specificdata.c | 53 lwp_specific_key_create(specificdata_key_t *keyp, specificdata_dtor_t dtor) in lwp_specific_key_create() argument 56 return (specificdata_key_create(lwp_specificdata_domain, keyp, dtor)); in lwp_specific_key_create()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | apple_smc_fan.c | 328 struct apple_smc_key **keyp; in apple_smc_fan_attach_sensor() local 341 keyp = &sc->sc_fans[fan].sensors[sensor].sensor_key; in apple_smc_fan_attach_sensor() 343 keyp); in apple_smc_fan_attach_sensor() 363 fail1: apple_smc_release_key(sc->sc_smc, *keyp); in apple_smc_fan_attach_sensor() 364 fail0: *keyp = NULL; in apple_smc_fan_attach_sensor() 427 struct apple_smc_key **const keyp = in apple_smc_fan_release_keys() local 429 if (*keyp != NULL) { in apple_smc_fan_release_keys() 430 apple_smc_release_key(sc->sc_smc, *keyp); in apple_smc_fan_release_keys() 431 *keyp = NULL; in apple_smc_fan_release_keys()
|
| H A D | apple_smc.c | 368 const char type[4 + 1], struct apple_smc_key **keyp) in apple_smc_nth_key() argument 408 *keyp = key; in apple_smc_nth_key() 417 const char type[4 + 1], struct apple_smc_key **keyp) in apple_smc_named_key() argument 455 *keyp = key; in apple_smc_named_key()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/property/ |
| H A D | property_query.c | 14 static int property_idx_cmp(const void *keyp, const void *compare) in property_idx_cmp() argument 16 OSSL_PROPERTY_IDX key = *(const OSSL_PROPERTY_IDX *)keyp; in property_idx_cmp()
|
| /netbsd-src/usr.sbin/pwd_mkdb/ |
| H A D | pwd_mkdb.c | 899 deldbent(struct pwddb *db, int type, void *keyp) in deldbent() argument 910 len = strlen((char *)keyp); in deldbent() 911 (void)memcpy(tbuf + 1, keyp, len); in deldbent() 917 x = *(int *)keyp; in deldbent() 930 getdbent(struct pwddb *db, int type, void *keyp, struct passwd **tpwd) in getdbent() argument 946 len = strlen((char *)keyp); in getdbent() 947 (void)memcpy(tbuf + 1, keyp, len); in getdbent() 953 x = *(int *)keyp; in getdbent()
|
| /netbsd-src/external/bsd/openldap/dist/clients/tools/ |
| H A D | ldapsearch.c | 331 char *keyp, *key2; in parse_vlv() local 334 keyp = cvalue; in parse_vlv() 335 if ( sscanf( keyp, "%d/%d", &num1, &num2 ) != 2 ) { in parse_vlv() 343 keyp = strchr( keyp, '/' ) + 1; in parse_vlv() 344 key2 = strchr( keyp, '/' ); in parse_vlv() 346 keyp = key2 + 1; in parse_vlv() 347 if ( sscanf( keyp, "%d/%d", &num1, &num2 ) != 2 ) { in parse_vlv() 357 key2 = strchr( keyp, ':' ); in parse_vlv() 543 char *keyp; in handle_private_option() local 554 keyp = cvalue; in handle_private_option() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | thr_nt.c | 225 ldap_pvt_thread_key_create( ldap_pvt_thread_key_t *keyp ) in ldap_pvt_thread_key_create() argument 229 *keyp = key; in ldap_pvt_thread_key_create()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/ |
| H A D | gthr-vxworks-tls.c | 239 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 259 *keyp = key; in __gthread_key_create()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/ |
| H A D | vxlib-tls.c | 239 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 259 *keyp = key; in __gthread_key_create()
|
| H A D | gthr-vxworks-tls.c | 231 __gthread_key_create (__gthread_key_t *keyp, tls_dtor dtor) in __gthread_key_create() argument 251 *keyp = key; in __gthread_key_create()
|
| /netbsd-src/external/gpl2/groff/dist/src/include/ |
| H A D | ptable.h | 162 int PTABLE_ITERATOR(T)::next(const char **keyp, T **valp) \ 168 *keyp = v[i].key; \
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | keyring.c | 991 pgp_key_t *keyp; in getkeybyname() local 1022 for (keyp = &keyring->keys[*from]; *from < keyring->keyc; *from += 1, keyp++) { in getkeybyname() 1023 uidp = keyp->uids; in getkeybyname() 1024 for (i = 0 ; i < keyp->uidc; i++, uidp++) { in getkeybyname() 1032 return keyp; in getkeybyname()
|