Lines Matching refs:bp
95 char const *ap, *bp; in strnatcmp_ex() local
106 bp = b; in strnatcmp_ex()
108 ca = *ap; cb = *bp; in strnatcmp_ex()
115 while (leading && cb == '0' && (bp+1 < bend) && isdigit((int)(unsigned char)*(bp+1))) { in strnatcmp_ex()
116 cb = *++bp; in strnatcmp_ex()
127 cb = *++bp; in strnatcmp_ex()
135 result = compare_left(&ap, aend, &bp, bend); in strnatcmp_ex()
137 result = compare_right(&ap, aend, &bp, bend); in strnatcmp_ex()
141 else if (ap == aend && bp == bend) in strnatcmp_ex()
146 ca = *ap; cb = *bp; in strnatcmp_ex()
160 ++ap; ++bp; in strnatcmp_ex()
161 if (ap >= aend && bp >= bend) in strnatcmp_ex()
167 else if (bp >= bend) in strnatcmp_ex()