Lines Matching +defs:top +defs:pos
258 /* Is the word starting at position pos in buf a whole word? */
259 bool is_whole_word(size_t pos, const char *buf, const char *word)
262 size_t word_end = pos + strlen(word);
265 assert(buf != NULL && pos <= strlen(buf) && word != NULL);
267 parse_mbchar(buf + move_mbleft(buf, pos), p, NULL);
274 retval = (pos == 0 || !is_word_mbchar(p, FALSE)) &&
528 /* Set top_x and bot_x to the top and bottom x-coordinates of the mark,
529 * respectively, based on the locations of top and bot. If
533 void mark_order(const filestruct **top, size_t *top_x, const filestruct
536 assert(top != NULL && top_x != NULL && bot != NULL && bot_x != NULL);
541 *top = openfile->mark_begin;
550 *top = openfile->current;