Home
last modified time | relevance | path

Searched refs:name1 (Results 1 – 25 of 33) sorted by relevance

12

/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_dlist_util.c300 char *name1 = (char *)str1; in compare_device_names() local
309 if (*name1 != '/' || *name2 != '/') { in compare_device_names()
311 char *short1 = strrchr(name1, '/'); in compare_device_names()
315 short1 = name1; in compare_device_names()
331 val = string_case_compare(name2, name1); in compare_device_names()
383 char *name1 = NULL; in compare_descriptor_names() local
389 (void) get_name((uintptr_t)desc1, &name1); in compare_descriptor_names()
392 return (string_case_compare(name1, name2)); in compare_descriptor_names()
413 char *name1, *name2; in compare_slices_on_same_hba() local
416 if (devconfig_get_name((devconfig_t *)slice1, &name1) == 0 && in compare_slices_on_same_hba()
[all …]
H A Dlayout_slice.c1909 char *name1 = NULL; in compare_modslice_names() local
1916 ((modslice_t *)obj1)->slice_devcfg, &name1); in compare_modslice_names()
1920 return (string_case_compare(name1, name2)); in compare_modslice_names()
H A Dlayout_discovery.c2448 char *name1 = NULL; in compare_desc_display_names() local
2454 (void) get_display_name((uintptr_t)desc1, &name1); in compare_desc_display_names()
2457 return (string_case_compare(name1, name2)); in compare_desc_display_names()
/titanic_41/usr/src/lib/libgss/
H A Dg_compare_name.c40 gss_name_t name1, in val_comp_name_args() argument
52 if (name1 == GSS_C_NO_NAME || name2 == GSS_C_NO_NAME) in val_comp_name_args()
63 name1, in gss_compare_name() argument
68 const gss_name_t name1;
79 name1, name2, name_equal);
83 union_name1 = (gss_union_name_t)name1;
92 union_name2 = (gss_union_name_t)name1;
191 union_name2 = (gss_union_name_t)name1;
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcompare_name.c32 krb5_gss_compare_name(minor_status, name1, name2, name_equal) in krb5_gss_compare_name() argument
34 gss_name_t name1;
41 if (! kg_validate_name(name1)) {
58 *name_equal = krb5_principal_compare(context, (krb5_principal) name1,
H A Dkrb5_gss_glue.c637 k5glue_compare_name(ctx, minor_status, name1, name2, name_equal) in k5glue_compare_name() argument
640 gss_name_t name1;
644 return(krb5_gss_compare_name(minor_status, name1,
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c63 check_regsyms(Sym *sym1, const char *name1, Sym *sym2, const char *name2) in check_regsyms() argument
80 if (strcmp(name1, name2) != 0) in check_regsyms()
85 } else if (strcmp(name1, name2) == 0) in check_regsyms()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c519 char *name1 = NULL; in meta_check_samedrive() local
575 name1 = np1->bname; in meta_check_samedrive()
578 if ((name1 == NULL) || ((strl1 = strlen(name1)) == 0) || in meta_check_samedrive()
582 if ((strl1 == strl2) && (strcmp(name1, name2) == 0)) { in meta_check_samedrive()
587 if (is_metaname(name1) || is_metaname(name2)) in meta_check_samedrive()
606 if (!devid1_found && (strcmp(dnlp->dev_name, name1) == 0)) { in meta_check_samedrive()
635 if ((fd1 = open(name1, O_RDONLY | O_NDELAY)) < 0) { in meta_check_samedrive()
642 add_to_devname_list(name1, devid1); in meta_check_samedrive()
H A Dmeta_error.c2135 char *name1 = ""; in mde_vsperror() local
2148 name1 = ep->name; in mde_vsperror()
2154 host1, host2, extra1, extra2, name1, name2); in mde_vsperror()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c482 kmf_compare_rdns(KMF_X509_NAME *name1, KMF_X509_NAME *name2) in kmf_compare_rdns() argument
489 if (name1 == NULL || name2 == NULL) in kmf_compare_rdns()
492 if (name1->numberOfRDNs != name2->numberOfRDNs) in kmf_compare_rdns()
495 for (i = 0; i < name1->numberOfRDNs; i++) { in kmf_compare_rdns()
496 r1 = (KMF_X509_RDN *)&name1->RelativeDistinguishedName[i]; in kmf_compare_rdns()
/titanic_41/usr/src/cmd/cron/
H A Datq.c498 char *name1, *name2; in execution() local
502 name1 = (*d1)->d_name; in execution()
504 if ((p1 = strchr(name1, '.')) == NULL) in execution()
513 time1 = num(&name1); in execution()
/titanic_41/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c766 dummy_gss_compare_name(ctx, minor_status, name1, name2, name_equal) in dummy_gss_compare_name() argument
769 gss_name_t name1;
773 dummy_name_t name_1 = (dummy_name_t)name1;
1104 dummy_name_t name1, name2; local
1110 name1 = (dummy_name_t)
1112 name1->buffer = (gss_buffer_t)malloc(sizeof (gss_buffer_desc));
1113 name1->buffer->length = dummy_context_name_len;
1114 name1->buffer->value = make_dummy_token("dummy context name");
1116 (gss_OID) GSS_C_NT_USER_NAME, &(name1->type));
1120 *initiator_name = (gss_name_t)name1;
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/
H A DAttributeList.java75 public void alias(String name1, String name2) { in alias() argument
76 aliasTable.put(name1, name2); in alias()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c187 int namecmp(char *name1, char *name2);
1139 namecmp(char *name1, char *name2) in namecmp() argument
1146 c1 = *name1++; in namecmp()
1170 for (name1--; isdigit(*name1); name1++) in namecmp()
1172 if (*name1 == '\0' && alphaseen) { in namecmp()
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c68 gss_name_t name1, /* First name to compare */ in __dh_gss_compare_name() argument
79 if (name1 == 0 || name2 == 0) { in __dh_gss_compare_name()
84 *equal = (strcmp((char *)name1, (char *)name2) == 0); in __dh_gss_compare_name()
/titanic_41/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c171 sas_name_comp(const char *name1, const char *name2);
2755 sas_name_comp(const char *name1, const char *name2) in sas_name_comp() argument
2759 if (name1 == name2) in sas_name_comp()
2762 while ((name1[i] == name2[i]) && (name1[i] != '\0')) in sas_name_comp()
2766 if (isdigit(name1[i]) && isdigit(name2[i])) in sas_name_comp()
2767 return (atoi(&name1[i]) - atoi(&name2[i])); in sas_name_comp()
2770 return (name1[i] - name2[i]); in sas_name_comp()
/titanic_41/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c746 char name1[KSTAT_STRLEN], name2[KSTAT_STRLEN]; in iodev_cmp() local
749 get_path_info(io1, mod1, sizeof (mod1), &type1, &inst1, name1, in iodev_cmp()
750 sizeof (name1)); in iodev_cmp()
784 return (strcmp(name1, name2)); in iodev_cmp()
/titanic_41/usr/src/cmd/geniconvtbl/
H A Dgeniconvtbl.c1468 #define EVAL_OP_BIN_PROTO(op, name, name0, name1) \ in eval_expr() argument
1469 case ITM_EXPR_##name##_##name0##_##name1: \ in eval_expr()
1470 return (EVAL_EXPR_##name0(0) op EVAL_EXPR_##name1(1)); in eval_expr()
1496 #define EVAL_OP_BIN_PROTECT_PROTO(op, name, name0, name1) \ in eval_expr() argument
1497 case ITM_EXPR_##name##_##name0##_##name1: \ in eval_expr()
1498 num = EVAL_EXPR_##name1(1); \ in eval_expr()
/titanic_41/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_memerr.c87 char *name, *name1, *name2; in find_fault_fru() local
116 &name1); in find_fault_fru()
120 if (strcmp(name1, name2) != 0 || strcmp(id1, id2) != 0) { in find_fault_fru()
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dfhtab.c1021 char *name1 = NULL; in nfslog_LOOKUP_calc() local
1048 name1 = name; in nfslog_LOOKUP_calc()
1053 if (name1 != NULL) in nfslog_LOOKUP_calc()
1054 free(name1); in nfslog_LOOKUP_calc()
1063 if (name1 != NULL) in nfslog_LOOKUP_calc()
1064 free(name1); in nfslog_LOOKUP_calc()
/titanic_41/usr/src/lib/libpool/common/
H A Dpool.c2811 char *name1, *name2; in pool_elem_compare_name() local
2847 (void) pool_value_get_string(&val, (const char **)&name1); in pool_elem_compare_name()
2848 if ((name1 = strdup(name1)) == NULL) { in pool_elem_compare_name()
2857 retval = strcmp(name1, name2); in pool_elem_compare_name()
2858 free(name1); in pool_elem_compare_name()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dsyms.c848 const char *name1, *name2, *name3; in sym_undef_entry() local
865 name1 = sap->sa_rfile; in sym_undef_entry()
868 name1 = ifl->ifl_name; in sym_undef_entry()
871 name1 = sap->sa_rfile; in sym_undef_entry()
875 name1 = sap->sa_rfile; in sym_undef_entry()
884 demangle(sdp->sd_name), name1, name2, name3); in sym_undef_entry()
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab.c2151 sym_prefer(GElf_Sym *sym1, char *name1, GElf_Sym *sym2, char *name2) in sym_prefer() argument
2164 return (byaddr_cmp_common(sym1, name1, sym2, name2) <= 0 ? sym1 : sym2); in sym_prefer()
2399 char *name1 = NULL; in i_Pxlookup_by_addr() local
2423 name1 = fptr->file_symtab.sym_strs + sym1.st_name; in i_Pxlookup_by_addr()
2427 if ((symp = sym_prefer(sym1p, name1, sym2p, name2)) == NULL) in i_Pxlookup_by_addr()
2430 name = (symp == sym1p) ? name1 : name2; in i_Pxlookup_by_addr()
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c2143 const gss_name_t name1, in glue_spnego_gss_compare_name() argument
2148 name1, in glue_spnego_gss_compare_name()
2156 const gss_name_t name1, in spnego_gss_compare_name() argument
2163 status = gss_compare_name(minor_status, name1, name2, name_equal); in spnego_gss_compare_name()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c1397 char name1[32]; in load_associations() local
1411 found = sscanf(buf, "%31s %31s", name1, assoc_name); in load_associations()

12