Searched defs:ap_id2 (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c348 cfga_ap_id_cmp(const char *ap_id1, const char *ap_id2) argument
353 if (ap_id1 == ap_id2) {
357 if (ap_id1 == NULL || ap_id2 == NULL) {
360 return (0 - (uchar_t)ap_id2[0]);
369 while (ap_id1[i] == ap_id2[i] && ap_id1[i] != '\0')
373 !(strncmp(&ap_id2[i], LUN_COMP_SEP, strlen(LUN_COMP_SEP)))) {
375 } else if ((ap_id2[i] == '\0') &&
384 if (isxdigit(ap_id1[i]) || isxdigit(ap_id2[i])) {
388 if (isxdigit(ap_id1[i]) && isxdigit(ap_id2[i])) {
390 (strtoll((ap_id2
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c2206 cfga_list_data_t *ap_id2; local
2209 ap_id2 = (cfga_list_data_t *)ap2;
2211 return (config_ap_id_cmp(ap_id1->ap_log_id, ap_id2->ap_log_id));
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c287 static int default_ap_id_cmp(const char *ap_id1, const char *ap_id2);
3254 default_ap_id_cmp(const char *ap_id1, const char *ap_id2) argument
3261 while (ap_id1[i] == ap_id2[i] && ap_id1[i] != '\0')
3268 if (isdigit(ap_id1[i]) || isdigit(ap_id2[i])) {
3272 if (isdigit(ap_id1[i]) && isdigit(ap_id2[i]))
3273 return (atoi(ap_id1 + i) - atoi(ap_id2 + i));
3277 return (ap_id1[i] - ap_id2[i]);

Completed in 267 milliseconds