/freebsd-current/usr.sbin/pw/ |
H A D | pw_log.c | 47 char nfmt[256], sname[32]; local 67 strcpy(sname, "unknown"); 82 *cp != '\0' && i < (int)sizeof(sname) - 1; cp++) { 84 if (i < (int)sizeof(sname) - 2) { 85 sname[i++] = '%'; 86 sname[i++] = '%'; 91 sname[i++] = *cp; 95 strcpy(sname, "unknown"); 97 sname[i] = '\0'; 106 "[%s:%s%s] %s\n", sname, Whic [all...] |
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | tasn_typ.c | 16 #define IMPLEMENT_ASN1_STRING_FUNCTIONS(sname) \ 17 IMPLEMENT_ASN1_TYPE(sname) \ 18 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(sname, sname, sname) \ 19 sname *sname##_new(void) \ 21 return ASN1_STRING_type_new(V_##sname); \ 23 void sname##_free(sname * [all...] |
H A D | tasn_prn.c | 106 const char *fname, const char *sname, 114 const char *fname, const char *sname, 118 const char *fname, const char *sname, 124 const char *sname; local 128 sname = NULL; 130 sname = it->sname; 131 return asn1_item_print_ctx(out, &ifld, indent, it, NULL, sname, 0, pctx); 136 const char *fname, const char *sname, 157 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pct 134 asn1_item_print_ctx(BIO *out, const ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, const char *fname, const char *sname, int nohdr, const ASN1_PCTX *pctx) argument 268 const char *sname, *fname; local 331 asn1_print_fsname(BIO *out, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument 433 asn1_primitive_print(BIO *out, const ASN1_VALUE **fld, const ASN1_ITEM *it, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument [all...] |
H A D | t_bitst.c | 51 if ((strcmp(bnam->sname, name) == 0)
|
H A D | asn1_item_list.c | 34 if (strcmp(it->sname, name) == 0)
|
/freebsd-current/crypto/heimdal/lib/gssapi/spnego/ |
H A D | cred_stubs.c | 139 spnego_name sname = NULL; local 148 sname = calloc(1, sizeof(*sname)); 149 if (sname == NULL) { 157 sname ? &sname->mech : NULL, 162 if (sname) 163 free(sname); 167 *name = (gss_name_t)sname; 182 spnego_name sname local [all...] |
/freebsd-current/sys/contrib/openzfs/scripts/ |
H A D | update_authors.pl | 109 my $sname = name_slug($name); 111 $authors_name{$semail} = $sname; 112 $authors_email{$sname} = $semail; 116 $display_name{$sname} = $name; 133 my $sname = name_slug($name); 135 $git_names{$semail}{$sname} = 1; 136 $git_emails{$sname}{$semail} = 1; 238 my $sname = name_slug($name); 246 my $cname = $display_name{$sname}; 249 $display_name{$sname} [all...] |
/freebsd-current/sys/kern/ |
H A D | imgact_shell.c | 106 struct sbuf *sname; local 173 sname = NULL; 175 sname = sbuf_new_auto(); 176 sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd); 177 sbuf_finish(sname); 178 fname = sbuf_data(sname); 198 if (sname != NULL) 199 sbuf_delete(sname); 240 if (sname != NULL) 241 sbuf_delete(sname); [all...] |
H A D | imgact_binmisc.c | 631 struct sbuf *sname; local 634 sname = NULL; 660 sname = sbuf_new_auto(); 661 sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd); 662 sbuf_finish(sname); 663 fname = sbuf_data(sname); 740 if (sname) 741 sbuf_delete(sname);
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | sock_principal.c | 39 const char *sname, 64 sname, 37 krb5_sock_to_principal(krb5_context context, int sock, const char *sname, int32_t type, krb5_principal *ret_princ) argument
|
H A D | build_ap_req.c | 57 copy_PrincipalName(&cred->server->name, &ap.ticket.sname);
|
H A D | mk_error.c | 76 msg.sname = server->name;
|
/freebsd-current/contrib/ldns/drill/ |
H A D | dnssec.c | 308 ldns_rdf *sname = NULL, *hashed_sname = NULL; local 346 sname = ldns_rdf_clone(qname); 347 if (sname == NULL) { 353 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); 385 ldns_rdf_deep_free(sname); 410 ldns_rdf *sname = NULL, *hashed_sname = NULL, *tmp; local 441 sname = ldns_rdf_clone(qname); 442 if (sname == NULL) { 454 while (ldns_dname_label_count(sname) > 0) { 460 ldns_rdf_print(stdout, sname); [all...] |
/freebsd-current/contrib/smbfs/lib/smb/ |
H A D | nb.c | 144 const char *sname, int level) 151 rc_getint(rcfile, sname, "nbtimeout", &ctx->nb_timo); 152 rc_getstringptr(rcfile, sname, "nbns", &p); 156 smb_error("invalid address specified in the section %s", 0, sname); 160 rc_getstringptr(rcfile, sname, "nbscope", &p); 143 nb_ctx_readrcsection(struct rcfile *rcfile, struct nb_ctx *ctx, const char *sname, int level) argument
|
H A D | ctx.c | 702 smb_ctx_readrcsection(struct smb_ctx *ctx, const char *sname, int level) argument 708 rc_getstringptr(smb_rc, sname, "charsets", &p); 712 smb_error("charset specification in the section '%s' ignored", error, sname); 716 rc_getint(smb_rc, sname, "timeout", &ctx->ct_ssn.ioc_timeout); 717 rc_getint(smb_rc, sname, "retry_count", &ctx->ct_ssn.ioc_retrycount); 720 rc_getstringptr(smb_rc, sname, "addr", &p); 724 smb_error("invalid address specified in the section %s", 0, sname); 730 rc_getstringptr(smb_rc, sname, "password", &p); 734 rc_getstringptr(smb_rc, sname, "workgroup", &p); 751 char sname[SMB_MAXSRVNAMELE local [all...] |
/freebsd-current/sys/rpc/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 286 rpc_gss_acquire_svc_cred(struct svc_rpc_gss_svc_name *sname) argument 294 oid_set.elements = sname->sn_mech; 296 namebuf.value = (void *) sname->sn_principal; 297 namebuf.length = strlen(sname->sn_principal); 304 if (sname->sn_cred != GSS_C_NO_CREDENTIAL) 305 gss_release_cred(&min_stat, &sname->sn_cred); 308 sname->sn_req_time, &oid_set, GSS_C_ACCEPT, &sname->sn_cred, 323 struct svc_rpc_gss_svc_name *sname; local 329 sname 346 SLIST_INSERT_HEAD(&KGSS_VNET(svc_rpc_gss_svc_names), sname, sn_link); local 356 struct svc_rpc_gss_svc_name *sname; local 362 SLIST_REMOVE(&KGSS_VNET(svc_rpc_gss_svc_names), sname, local 927 struct svc_rpc_gss_svc_name *sname; local [all...] |
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 505 char *sname; local 508 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); 509 if (sname == NULL) { 514 if (strcmp(sname, CTF_ELF_SCN_NAME) == 0) { 517 (strncmp(sname, ".stab", 5) == 0 || 518 strncmp(sname, ".debug", 6) == 0 || 519 strncmp(sname, ".rel.debug", 10) == 0 || 520 strncmp(sname, ".rela.debug", 11) == 0)) { 537 char *sname; local 569 sname [all...] |
/freebsd-current/crypto/heimdal/lib/asn1/ |
H A D | gen_length.c | 188 char *sname = NULL; local 202 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 204 length_type(n, t->subtype, variable, sname); 213 free(sname);
|
H A D | gen_encode.c | 356 char *sname = NULL; local 366 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 368 encode_type (n, t->subtype, sname); 374 free (sname);
|
/freebsd-current/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 187 parse_get_cname_target(struct rrset_parse* rrset, uint8_t** sname, argument 205 *sname = rrset->rr_first->ttl_data + sizeof(uint32_t) 210 if(!dname_valid(*sname, *snamelen)) 215 sldns_buffer_set_position(pkt, (size_t)(*sname - sldns_buffer_begin(pkt))); 229 /* we already know that sname is a strict subdomain of DNAME owner */ 252 synth_cname_rrset(uint8_t** sname, size_t* snamelen, uint8_t* alias, argument 267 /* CNAME from sname to alias */ 271 dname_pkt_copy(pkt, cn->dname, *sname); 303 *sname = cn->rr_first->ttl_data + sizeof(uint32_t)+sizeof(uint16_t); 310 pkt_strict_sub(sldns_buffer* pkt, uint8_t* sname, uint8_ argument 387 uint8_t* sname = qinfo->qname; local [all...] |
/freebsd-current/usr.sbin/ypserv/ |
H A D | yp_main.c | 341 char *sname; local 343 sname = malloc(NI_MAXSERV); 344 if (sname == NULL) { 351 memset(sname, 0, NI_MAXSERV); 361 free(sname); 366 sname, NI_MAXSERV, 373 free(sname); 376 servname = sname;
|
/freebsd-current/lib/librpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 187 struct svc_rpc_gss_svc_name *sname; local 216 sname = malloc(sizeof(struct svc_rpc_gss_svc_name)); 217 if (!sname) 219 sname->sn_principal = strdup(principal); 220 sname->sn_mech = mech_oid; 221 sname->sn_req_time = req_time; 222 sname->sn_cred = cred; 223 sname->sn_program = program; 224 sname->sn_version = version; 225 SLIST_INSERT_HEAD(&svc_rpc_gss_svc_names, sname, sn_lin 600 struct svc_rpc_gss_svc_name *sname; local [all...] |
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | v3_bitst.c | 73 if (strcmp(bnam->sname, val->name) == 0
|
/freebsd-current/crypto/openssl/apps/ |
H A D | ecparam.c | 80 const char *sname = OBJ_nid2sn(curves[n].nid); local 84 if (sname == NULL) 85 sname = ""; 87 BIO_printf(out, " %-10s: ", sname);
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_ctldir.h | 71 extern int zfsctl_snapdir_rename(struct inode *sdip, const char *sname,
|