Lines Matching refs:offsets
148 if (pstr->offsets != NULL)
150 Idx *new_offsets = re_realloc (pstr->offsets, Idx, new_buf_len);
153 pstr->offsets = new_offsets;
402 if (pstr->offsets == NULL)
404 pstr->offsets = re_malloc (Idx, pstr->bufs_len);
406 if (pstr->offsets == NULL)
412 pstr->offsets[i] = i;
418 pstr->offsets[byte_idx] = src_idx;
421 pstr->offsets[byte_idx + i]
444 pstr->offsets[byte_idx + i] = src_idx + i;
463 pstr->offsets[byte_idx] = src_idx;
613 if (pstr->offsets[mid] > offset)
615 else if (pstr->offsets[mid] < offset)
621 if (pstr->offsets[mid] < offset)
630 && mid == offset && pstr->offsets[mid] == offset)
638 pstr->offsets[low] = pstr->offsets[low + offset] - offset;
647 while (mid > 0 && pstr->offsets[mid - 1] == offset)
658 pstr->valid_len = pstr->offsets[mid] - offset;
855 off = pstr->offsets[off];
895 off = pstr->offsets[pstr->cur_idx];
916 re_free (pstr->offsets);