/freebsd/crypto/heimdal/lib/krb5/ |
H A D | aname_to_localname.c | 63 if (aname->name.name_string.len == 1) in krb5_aname_to_localname() 64 res = aname->name.name_string.val[0]; in krb5_aname_to_localname() 65 else if (aname->name.name_string.len == 2 in krb5_aname_to_localname() 66 && strcmp (aname->name.name_string.val[1], "root") == 0) { in krb5_aname_to_localname()
|
H A D | parse-name-test.c | 98 if (t->ncomponents != princ->name.name_string.len) { in main() 101 princ->name.name_string.len, t->ncomponents, in main() 107 princ->name.name_string.val[i]) != 0) { in main() 111 princ->name.name_string.val[i], in main()
|
H A D | salt.c | 112 for (i = 0; i < principal->name.name_string.len; ++i) in krb5_get_pw_salt() 113 len += strlen(principal->name.name_string.val[i]); in krb5_get_pw_salt() 120 for (i = 0; i < principal->name.name_string.len; ++i) { in krb5_get_pw_salt() 122 principal->name.name_string.val[i], in krb5_get_pw_salt() 123 strlen(principal->name.name_string.val[i])); in krb5_get_pw_salt() 124 p += strlen(principal->name.name_string.val[i]); in krb5_get_pw_salt()
|
H A D | misc.c | 59 for (i = 0; i < self->name.name_string.len; i++) { in _krb5_s4u2self_to_checksumdata() 60 size = strlen(self->name.name_string.val[i]); in _krb5_s4u2self_to_checksumdata() 61 ssize = krb5_storage_write(sp, self->name.name_string.val[i], size); in _krb5_s4u2self_to_checksumdata()
|
H A D | keytab_file.c | 222 p->name.name_string.val = calloc(len, sizeof(*p->name.name_string.val)); in krb5_kt_ret_principal() 223 if(p->name.name_string.val == NULL) { in krb5_kt_ret_principal() 228 p->name.name_string.len = len; in krb5_kt_ret_principal() 229 for(i = 0; i < p->name.name_string.len; i++){ in krb5_kt_ret_principal() 230 ret = krb5_kt_ret_string(context, sp, p->name.name_string.val + i); in krb5_kt_ret_principal() 269 ret = krb5_store_int16(sp, p->name.name_string.len + 1); in krb5_kt_store_principal() 271 ret = krb5_store_int16(sp, p->name.name_string.len); in krb5_kt_store_principal() 275 for(i = 0; i < p->name.name_string.len; i++){ in krb5_kt_store_principal() 276 ret = krb5_kt_store_string(sp, p->name.name_string.val[i]); in krb5_kt_store_principal()
|
H A D | store.c | 915 ret = krb5_store_int32(sp, p->name.name_string.len + 1); in krb5_store_principal() 917 ret = krb5_store_int32(sp, p->name.name_string.len); in krb5_store_principal() 922 for(i = 0; i < p->name.name_string.len; i++){ in krb5_store_principal() 923 ret = krb5_store_string(sp, p->name.name_string.val[i]); in krb5_store_principal() 970 ret = size_too_large_num(sp, ncomp, sizeof(p->name.name_string.val[0])); in krb5_ret_principal() 976 p->name.name_string.len = ncomp; in krb5_ret_principal() 982 p->name.name_string.val = calloc(ncomp, sizeof(p->name.name_string.val[0])); in krb5_ret_principal() 983 if(p->name.name_string.val == NULL && ncomp != 0){ in krb5_ret_principal() 989 ret = krb5_ret_string(sp, &p->name.name_string.val[i]); in krb5_ret_principal() 992 free(p->name.name_string.val[i--]); in krb5_ret_principal()
|
H A D | principal.c | 60 #define princ_num_comp(P) ((P)->name.name_string.len) 62 #define princ_comp(P) ((P)->name.name_string.val) 63 #define princ_ncomp(P, N) ((P)->name.name_string.val[(N)]) 360 (*principal)->name.name_string.val = comp; in krb5_parse_name_flags() 936 if (princ_num_comp(princ1) != princ2->name_string.len) in _krb5_principal_compare_PrincipalName() 939 if(strcmp(princ_ncomp(princ1, i), princ2->name_string.val[i]) != 0) in _krb5_principal_compare_PrincipalName() 1133 return p->name.name_string.len == 2 && in krb5_principal_is_krbtgt() 1134 strcmp(p->name.name_string.val[0], KRB5_TGS_NAME) == 0; in krb5_principal_is_krbtgt()
|
H A D | replay.c | 189 for(i = 0; i < auth->cname.name_string.len; i++) in checksum_authenticator() 190 EVP_DigestUpdate(m, auth->cname.name_string.val[i], in checksum_authenticator() 191 strlen(auth->cname.name_string.val[i])); in checksum_authenticator()
|
H A D | get_cred.c | 522 krbtgt->server->name.name_string.val[1], in get_cred_kdc() 830 tgt_inst = tgt->server->name.name_string.val[1]; in get_cred_kdc_capath_worker() 935 if (in_creds->server->name.name_string.len < 2 && !flags.b.canonicalize) { in get_cred_kdc_referral() 1016 referral_realm = ticket.server->name.name_string.val[1]; in get_cred_kdc_referral()
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | import_name.c | 106 if (p->name.name_string.len == 0) in _gsskrb5_canon_name() 108 else if (p->name.name_string.len > 1) in _gsskrb5_canon_name() 109 hostname = p->name.name_string.val[1]; in _gsskrb5_canon_name() 111 service = p->name.name_string.val[0]; in _gsskrb5_canon_name()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | mit_dump.c | 172 for (i = 0; i < ent->principal->name.name_string.len; ++i) in fix_salt() 173 len += strlen(ent->principal->name.name_string.val[i]); in fix_salt() 178 for (i = 0; i < ent->principal->name.name_string.len; ++i) { in fix_salt() 180 ent->principal->name.name_string.val[i], in fix_salt() 181 strlen(ent->principal->name.name_string.val[i])); in fix_salt() 182 p += strlen(ent->principal->name.name_string.val[i]); in fix_salt()
|
H A D | misc.c | 67 if (principal->name.name_string.len != 1) { in _kdc_db_fetch() 72 principal->name.name_string.len); in _kdc_db_fetch() 76 ret = krb5_parse_name(context, principal->name.name_string.val[0], in _kdc_db_fetch()
|
H A D | kerberos5.c | 93 if (principal->name.name_string.len > 0 && in _kdc_is_weak_exception() 94 strcmp(principal->name.name_string.val[0], "afs") == 0 && in _kdc_is_weak_exception() 231 pn->name_string.len = 1; in _kdc_make_anonymous_principalname() 232 pn->name_string.val = malloc(sizeof(*pn->name_string.val)); in _kdc_make_anonymous_principalname() 233 if (pn->name_string.val == NULL) in _kdc_make_anonymous_principalname() 235 pn->name_string.val[0] = strdup("anonymous"); in _kdc_make_anonymous_principalname() 236 if (pn->name_string.val[0] == NULL) { in _kdc_make_anonymous_principalname() 237 free(pn->name_string.val); in _kdc_make_anonymous_principalname() 238 pn->name_string.val = NULL; in _kdc_make_anonymous_principalname() 944 principal->name.name_string.len != 2 || in _kdc_is_anonymous() [all …]
|
H A D | krb5tgs.c | 43 if(p->name_string.len == 2 in get_krbtgt_realm() 44 && strcmp(p->name_string.val[0], KRB5_TGS_NAME) == 0) in get_krbtgt_realm() 45 return p->name_string.val[1]; in get_krbtgt_realm() 1127 if (server->name.name_string.len == 1) in need_referral() 1128 name = server->name.name_string.val[0]; in need_referral() 1129 else if (server->name.name_string.len > 1) in need_referral() 1130 name = server->name.name_string.val[1]; in need_referral()
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | check-gen.c | 86 COMPARE_INTEGER(pa,pb,name.name_string.len); in cmp_principal() 88 for (i = 0; i < pa->name.name_string.len; i++) in cmp_principal() 89 COMPARE_STRING(pa,pb,name.name_string.val[i]); in cmp_principal() 157 COMPARE_INTEGER(aa,ab,cname.name_string.len); in cmp_authenticator() 159 for (i = 0; i < aa->cname.name_string.len; i++) in cmp_authenticator() 160 COMPARE_STRING(aa,ab,cname.name_string.val[i]); in cmp_authenticator() 246 COMPARE_INTEGER(aa,ab,sname.name_string.len); in cmp_KRB_ERROR() 247 for (i = 0; i < aa->sname.name_string.len; i++) in cmp_KRB_ERROR() 248 COMPARE_STRING(aa,ab,sname.name_string.val[i]); in cmp_KRB_ERROR()
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb-mitdb.c | 151 for (i = 0; i < ent->principal->name.name_string.len; ++i) in fix_salt() 152 len += strlen(ent->principal->name.name_string.val[i]); in fix_salt() 157 for (i = 0; i < ent->principal->name.name_string.len; ++i) { in fix_salt() 159 ent->principal->name.name_string.val[i], in fix_salt() 160 strlen(ent->principal->name.name_string.val[i])); in fix_salt() 161 p += strlen(ent->principal->name.name_string.val[i]); in fix_salt()
|
H A D | common.c | 111 if (principal->name.name_string.len != 1) { in _hdb_fetch_kvno() 115 principal->name.name_string.len); in _hdb_fetch_kvno() 118 ret = krb5_parse_name(context, principal->name.name_string.val[0], in _hdb_fetch_kvno()
|
/freebsd/contrib/ee/ |
H A D | create.make | 12 name_string="`uname`" 228 if [ "$name_string" = "Darwin" ]
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | ca.c | 628 p.principalName.name_string.val = in hx509_ca_tbs_add_san_pkinit() 629 calloc(n, sizeof(*p.principalName.name_string.val)); in hx509_ca_tbs_add_san_pkinit() 630 if (p.principalName.name_string.val == NULL) { in hx509_ca_tbs_add_san_pkinit() 635 p.principalName.name_string.len = n; in hx509_ca_tbs_add_san_pkinit() 654 p.principalName.name_string.val[n++] = q; in hx509_ca_tbs_add_san_pkinit() 675 if (p.principalName.name_string.val) in hx509_ca_tbs_add_san_pkinit() 676 free (p.principalName.name_string.val); in hx509_ca_tbs_add_san_pkinit()
|
H A D | print.c | 437 for (i = 0; i < kn.principalName.name_string.len; i++) { in check_pkinit_san() 439 kn.principalName.name_string.val[i]); in check_pkinit_san() 440 if (i + 1 < kn.principalName.name_string.len) in check_pkinit_san()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | sample_passwd_check.c | 78 strings[0] = principal->name.name_string.val[0]; /* XXX */ in check_cracklib()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | RegisterFlags.cpp | 307 std::string name_string = field.GetName() + ": "; in DumpEnums() local 308 size_t indent = name_string.size(); in DumpEnums() 311 strm << name_string; in DumpEnums()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangASTImporter.cpp | 1161 std::string name_string; in ImportDefinitionTo() local 1163 llvm::raw_string_ostream name_stream(name_string); in ImportDefinitionTo() 1172 from->getDeclKindName(), static_cast<void *>(to), name_string, in ImportDefinitionTo() 1293 std::string name_string; in Imported() local 1294 llvm::raw_string_ostream name_stream(name_string); in Imported() 1302 from->getDeclKindName(), to, name_string, from, user_id); in Imported()
|
H A D | ClangASTSource.cpp | 615 const char *name_string = type_sp->GetName().GetCString(); in FindExternalVisibleDecls() local 618 (name_string ? name_string : "<anonymous>")); in FindExternalVisibleDecls()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
H A D | PlatformPOSIX.cpp | 918 std::string name_string; in DoLoadImage() local 919 process->ReadCStringFromMemory(buffer_addr, name_string, utility_error); in DoLoadImage() 921 loaded_image->SetFile(name_string, llvm::sys::path::Style::posix); in DoLoadImage()
|