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

/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c349 cfga_ap_id_cmp(const char *ap_id1, const char *ap_id2) argument
354 if (ap_id1 == ap_id2) {
358 if (ap_id1 == NULL || ap_id2 == NULL) {
361 return (0 - (uchar_t)ap_id2[0]);
370 while (ap_id1[i] == ap_id2[i] && ap_id1[i] != '\0')
374 !(strncmp(&ap_id2[i], LUN_COMP_SEP, strlen(LUN_COMP_SEP)))) {
376 } else if ((ap_id2[i] == '\0') &&
385 if (isxdigit(ap_id1[i]) || isxdigit(ap_id2[i])) {
389 if (isxdigit(ap_id1[i]) && isxdigit(ap_id2[i])) {
391 (strtoll((ap_id2
[all...]
/osnet-11/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c286 static int default_ap_id_cmp(const char *ap_id1, const char *ap_id2);
3253 default_ap_id_cmp(const char *ap_id1, const char *ap_id2) argument
3260 while (ap_id1[i] == ap_id2[i] && ap_id1[i] != '\0')
3267 if (isdigit(ap_id1[i]) || isdigit(ap_id2[i])) {
3271 if (isdigit(ap_id1[i]) && isdigit(ap_id2[i]))
3272 return (atoi(ap_id1 + i) - atoi(ap_id2 + i));
3276 return (ap_id1[i] - ap_id2[i]);

Completed in 27 milliseconds