Lines Matching defs:top
81 int top, bot;
85 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
87 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
95 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
97 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
105 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
107 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
116 while (top > bot)
118 int mid = (top + bot) / 2;
123 if (c > 0) bot = mid + 1; else top = mid;
164 int top, bot;
168 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
170 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
178 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
180 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
188 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
190 if (top <= 0) return PCRE_ERROR_NOSUBSTRING;
198 lastentry = nametable + entrysize * (top - 1);
200 while (top > bot)
202 int mid = (top + bot) / 2;
234 if (c > 0) bot = mid + 1; else top = mid;