Lines Matching refs:bp
94 char const *ap, *bp; in strnatcmp_ex() local
105 bp = b; in strnatcmp_ex()
107 ca = *ap; cb = *bp; in strnatcmp_ex()
114 while (leading && cb == '0' && (bp+1 < bend) && isdigit((int)(unsigned char)*(bp+1))) { in strnatcmp_ex()
115 cb = *++bp; in strnatcmp_ex()
126 cb = *++bp; in strnatcmp_ex()
134 result = compare_left(&ap, aend, &bp, bend); in strnatcmp_ex()
136 result = compare_right(&ap, aend, &bp, bend); in strnatcmp_ex()
140 else if (ap == aend && bp == bend) in strnatcmp_ex()
145 else if (bp == bend) in strnatcmp_ex()
149 ca = *ap; cb = *bp; in strnatcmp_ex()
163 ++ap; ++bp; in strnatcmp_ex()
164 if (ap >= aend && bp >= bend) in strnatcmp_ex()
170 else if (bp >= bend) in strnatcmp_ex()