Lines Matching defs:ptr1
580 char *ptr1, *ptr2, *dot1, *dot2;
583 ptr1 = revision1;
585 while (*ptr1 != '\0' && *ptr2 != '\0') {
586 dot1 = strchr(ptr1, '.');
589 dot1 = strchr(ptr1, '\0');
593 num1len = dot1 - ptr1;
602 ret = strncmp(ptr1, ptr2, num1len);
605 ptr1 = (*dot1 == '.') ? (dot1 + 1) : dot1;
609 if (*ptr1 != '\0' && *ptr2 == '\0')
611 if (*ptr1 == '\0' && *ptr2 != '\0')