Lines Matching refs:offsets
147 if (pstr->offsets != NULL)
149 int *new_offsets = re_realloc (pstr->offsets, int, new_buf_len);
152 pstr->offsets = new_offsets;
404 if (pstr->offsets == NULL)
406 pstr->offsets = re_malloc (int, pstr->bufs_len);
408 if (pstr->offsets == NULL)
414 pstr->offsets[i] = i;
420 pstr->offsets[byte_idx] = src_idx;
423 pstr->offsets[byte_idx + i]
446 pstr->offsets[byte_idx + i] = src_idx + i;
466 pstr->offsets[byte_idx] = src_idx;
612 if (pstr->offsets[mid] > offset)
614 else if (pstr->offsets[mid] < offset)
620 if (pstr->offsets[mid] < offset)
629 && mid == offset && pstr->offsets[mid] == offset)
637 pstr->offsets[low] = pstr->offsets[low + offset] - offset;
646 while (mid > 0 && pstr->offsets[mid - 1] == offset)
657 pstr->valid_len = pstr->offsets[mid] - offset;
853 off = pstr->offsets[off];
892 off = pstr->offsets[pstr->cur_idx];
913 re_free (pstr->offsets);