Searched defs:ap_id1 (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) {
358 if (ap_id1 == NULL) {
362 return ((uchar_t)ap_id1[0]);
369 while (ap_id1[i] == ap_id2[i] && ap_id1[i] != '\0')
372 if ((ap_id1[i] == '\0') &&
376 !(strncmp(&ap_id1[i], LUN_COMP_SEP, strlen(LUN_COMP_SEP)))) {
384 if (isxdigit(ap_id1[
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c2205 cfga_list_data_t *ap_id1; local
2208 ap_id1 = (cfga_list_data_t *)ap1;
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])) {
3269 while ((i > 0) && isdigit(ap_id1[i - 1]))
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 86 milliseconds