/freebsd-10.1-release/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-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | tasn_prn.c | 159 const char *fname, const char *sname, 167 const char *fname, const char *sname, 171 const char *fname, const char *sname, 177 const char *sname; local 181 sname = NULL; 183 sname = it->sname; 184 return asn1_item_print_ctx(out, &ifld, indent, it, NULL, sname, 0, pctx); 189 const char *fname, const char *sname, 209 if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pct 187 asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, const char *fname, const char *sname, int nohdr, const ASN1_PCTX *pctx) argument 324 const char *sname, *fname; local 375 asn1_print_fsname(BIO *out, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument 484 asn1_primitive_print(BIO *out, ASN1_VALUE **fld, const ASN1_ITEM *it, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_new.c | 104 if (it->sname) 105 CRYPTO_push_info(it->sname); 147 if (it->sname) 172 if (it->sname) 196 if (it->sname) 204 if (it->sname) 213 if (it->sname) 289 if (it->sname)
|
H A D | t_bitst.c | 101 if (!strcmp(bnam->sname, name) || !strcmp(bnam->lname, name))
|
H A D | asn1t.h | 573 const char *sname; /* Structure name */ member in struct:ASN1_ITEM_st 791 # define IMPLEMENT_COMPAT_ASN1(sname) IMPLEMENT_COMPAT_ASN1_type(sname, V_ASN1_SEQUENCE) 793 # define IMPLEMENT_COMPAT_ASN1_type(sname, tag) \ 794 static const ASN1_COMPAT_FUNCS sname##_ff = { \ 795 (ASN1_new_func *)sname##_new, \ 796 (ASN1_free_func *)sname##_free, \ 797 (ASN1_d2i_func *)d2i_##sname, \ 798 (ASN1_i2d_func *)i2d_##sname, \ 800 ASN1_ITEM_start(sname) \ [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | imgact_shell.c | 108 struct sbuf *sname; local 175 sname = NULL; 177 sname = sbuf_new_auto(); 178 sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd); 179 sbuf_finish(sname); 180 fname = sbuf_data(sname); 199 if (sname != NULL) 200 sbuf_delete(sname); 249 if (sname != NULL) 250 sbuf_delete(sname); [all...] |
/freebsd-10.1-release/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-10.1-release/contrib/ldns/drill/ |
H A D | dnssec.c | 295 ldns_rdf *sname = NULL, *hashed_sname = NULL; local 333 sname = ldns_rdf_clone(qname); 334 if (sname == NULL) { 340 hashed_sname = ldns_nsec3_hash_name(sname, algorithm, iterations, salt_length, salt); 372 ldns_rdf_deep_free(sname); 397 ldns_rdf *sname = NULL, *hashed_sname = NULL, *tmp; local 428 sname = ldns_rdf_clone(qname); 429 if (sname == NULL) { 441 while (ldns_dname_label_count(sname) > 0) { 447 ldns_rdf_print(stdout, sname); [all...] |
/freebsd-10.1-release/usr.bin/make/ |
H A D | arch.c | 143 char sname[AR_NAMSIZ + 1]; /* short name */ member in struct:arfile 533 * On a successful return sname contains the truncated member name and 586 strlcpy(ar->sname, ar->hdr.ar_name, AR_NAMSIZ + 1); 587 for (ptr = ar->sname + AR_NAMSIZ; ptr > ar->sname; ptr--) 611 if (strcmp(ar->sname, BSD_NAMEMAG) == 0 || 612 strcmp(ar->sname, SVR4_NAMEMAG) == 0) { 665 if (strcmp(ar->sname, BSD_RANLIBMAG) == 0 || 666 strcmp(ar->sname, SVR4_RANLIBMAG) == 0) { 669 ar->sname[ [all...] |
/freebsd-10.1-release/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 | 696 smb_ctx_readrcsection(struct smb_ctx *ctx, const char *sname, int level) argument 702 rc_getstringptr(smb_rc, sname, "charsets", &p); 706 smb_error("charset specification in the section '%s' ignored", error, sname); 710 rc_getint(smb_rc, sname, "timeout", &ctx->ct_ssn.ioc_timeout); 711 rc_getint(smb_rc, sname, "retry_count", &ctx->ct_ssn.ioc_retrycount); 714 rc_getstringptr(smb_rc, sname, "addr", &p); 718 smb_error("invalid address specified in the section %s", 0, sname); 724 rc_getstringptr(smb_rc, sname, "password", &p); 728 rc_getstringptr(smb_rc, sname, "workgroup", &p); 745 char sname[SMB_MAXSRVNAMELE local [all...] |
/freebsd-10.1-release/sys/rpc/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 231 rpc_gss_acquire_svc_cred(struct svc_rpc_gss_svc_name *sname) argument 239 oid_set.elements = sname->sn_mech; 241 namebuf.value = (void *) sname->sn_principal; 242 namebuf.length = strlen(sname->sn_principal); 249 if (sname->sn_cred != GSS_C_NO_CREDENTIAL) 250 gss_release_cred(&min_stat, &sname->sn_cred); 253 sname->sn_req_time, &oid_set, GSS_C_ACCEPT, &sname->sn_cred, 268 struct svc_rpc_gss_svc_name *sname; local 274 sname 301 struct svc_rpc_gss_svc_name *sname; local 826 struct svc_rpc_gss_svc_name *sname; local [all...] |
/freebsd-10.1-release/sys/geom/ |
H A D | geom_pc98.c | 66 char sname[17]; local 68 strncpy(sname, dp->dp_name, 16); 69 sname[16] = '\0'; 76 printf(" sname:%s\n", sname); 234 char sname[17]; local 243 strncpy(sname, dp.dp_name, 16); 244 sname[16] = '\0'; 247 sbuf_printf(sb, " sn %s", sname); 251 sbuf_printf(sb, "%s<sname> [all...] |
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 508 char *sname; local 511 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); 512 if (sname == NULL) { 517 if (strcmp(sname, CTF_ELF_SCN_NAME) == 0) { 520 (strncmp(sname, ".stab", 5) == 0 || 521 strncmp(sname, ".debug", 6) == 0 || 522 strncmp(sname, ".rel.debug", 10) == 0 || 523 strncmp(sname, ".rela.debug", 11) == 0)) { 534 curnmoff += strlen(sname) + 1; 541 char *sname; local [all...] |
/freebsd-10.1-release/contrib/ntp/lib/isc/unix/ |
H A D | entropy.c | 535 struct sockaddr_un sname; local 537 memset(&sname, 0, sizeof(sname)); 538 sname.sun_family = AF_UNIX; 539 strncpy(sname.sun_path, fname, sizeof(sname.sun_path)); 540 sname.sun_path[sizeof(sname.sun_path)-1] = '0'; 546 sname.sun_len = SUN_LEN(&sname); [all...] |
/freebsd-10.1-release/contrib/binutils/bfd/ |
H A D | netbsd-core.c | 90 const char *sname; local 113 sname = ".reg"; 117 sname = ".data"; 121 sname = ".stack"; 125 sname = ".unknown"; 129 asect = bfd_make_section_anyway_with_flags (abfd, sname, flags);
|
H A D | section.c | 912 char *sname; local 915 sname = bfd_malloc (len + 8); 916 if (sname == NULL) 918 memcpy (sname, templat, len); 928 sprintf (sname + len, ".%d", num++); 930 while (section_hash_lookup (&abfd->section_htab, sname, FALSE, FALSE)); 934 return sname;
|
/freebsd-10.1-release/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 187 parse_get_cname_target(struct rrset_parse* rrset, uint8_t** sname, argument 204 *sname = rrset->rr_first->ttl_data + sizeof(uint32_t) 215 /* we already know that sname is a strict subdomain of DNAME owner */ 234 synth_cname_rrset(uint8_t** sname, size_t* snamelen, uint8_t* alias, argument 249 /* CNAME from sname to alias */ 253 dname_pkt_copy(pkt, cn->dname, *sname); 284 *sname = cn->rr_first->ttl_data + sizeof(uint32_t)+sizeof(uint16_t); 291 pkt_strict_sub(sldns_buffer* pkt, uint8_t* sname, uint8_t* dr) argument 296 dname_pkt_copy(pkt, buf1, sname); 334 uint8_t* sname local [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/asn1/ |
H A D | gen_length.c | 186 char *sname = NULL; local 200 if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL) 202 length_type(n, t->subtype, variable, sname); 211 free(sname);
|
/freebsd-10.1-release/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-10.1-release/usr.sbin/ypserv/ |
H A D | yp_main.c | 344 char *sname; local 346 sname = malloc(NI_MAXSERV); 347 if (sname == NULL) { 354 memset(sname, 0, NI_MAXSERV); 364 free(sname); 369 sname, NI_MAXSERV, 376 free(sname); 379 servname = sname;
|
/freebsd-10.1-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_bitst.c | 122 if (!strcmp(bnam->sname, val->name) ||
|
/freebsd-10.1-release/usr.sbin/ndiscvt/ |
H A D | inf.c | 737 char sname[256]; local 761 snprintf(sname, sizeof(sname), "%s.%s", 763 sec = find_section(sname); 779 sprintf(sname, "%s.NTx86", assign->vals[0]); 780 dev = find_assign(sname, "AddReg"); 782 sprintf(sname, "%s.NT", 784 dev = find_assign(sname, "AddReg"); 790 sprintf(sname, "%s.NT", assign->vals[0]); 791 dev = find_assign(sname, "AddRe [all...] |