Lines Matching refs:entrysize
77 int failrc, entrysize; in pcre2_substring_copy_byname() local
80 entrysize = pcre2_substring_nametable_scan(match_data->code, stringname, in pcre2_substring_copy_byname()
82 if (entrysize < 0) return entrysize; in pcre2_substring_copy_byname()
84 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_copy_byname()
165 int failrc, entrysize; in pcre2_substring_get_byname() local
168 entrysize = pcre2_substring_nametable_scan(match_data->code, stringname, in pcre2_substring_get_byname()
170 if (entrysize < 0) return entrysize; in pcre2_substring_get_byname()
172 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_get_byname()
272 int failrc, entrysize; in pcre2_substring_length_byname() local
275 entrysize = pcre2_substring_nametable_scan(match_data->code, stringname, in pcre2_substring_length_byname()
277 if (entrysize < 0) return entrysize; in pcre2_substring_length_byname()
279 for (entry = first; entry <= last; entry += entrysize) in pcre2_substring_length_byname()
488 uint16_t entrysize = code->name_entry_size; in pcre2_substring_nametable_scan() local
494 PCRE2_SPTR entry = nametable + entrysize*mid; in pcre2_substring_nametable_scan()
501 lastentry = nametable + entrysize * (code->name_count - 1); in pcre2_substring_nametable_scan()
505 if (PRIV(strcmp)(stringname, (first - entrysize + IMM2_SIZE)) != 0) break; in pcre2_substring_nametable_scan()
506 first -= entrysize; in pcre2_substring_nametable_scan()
510 if (PRIV(strcmp)(stringname, (last + entrysize + IMM2_SIZE)) != 0) break; in pcre2_substring_nametable_scan()
511 last += entrysize; in pcre2_substring_nametable_scan()
517 return entrysize; in pcre2_substring_nametable_scan()