Lines Matching +defs:top +defs:pos

1265  * Remove top level double quotes; convert backslashed chars.
1539 pos_T *pos;
1571 pos = off2pos(buf->bufp, off);
1572 if (!pos)
1580 first = *pos;
1583 pos = off2pos(buf->bufp, off+count-1);
1584 if (!pos)
1592 last = *pos;
1740 pos_T *pos;
1751 pos = off2pos(curbuf, off);
1752 if (pos != NULL)
1754 if (pos->lnum <= 0)
1757 lnum_start = pos->lnum;
1803 && ((pos != NULL && pos->col > 0)
2212 pos_T *pos;
2234 pos = get_off_or_lnum(buf->bufp, &args);
2235 if (pos)
2237 curwin->w_cursor = *pos;
2387 pos_T *pos;
2407 pos = get_off_or_lnum(buf->bufp, &args);
2423 if (pos)
2426 serNum, pos->lnum, typeNum, buf->bufp->b_fnum);
2466 pos_T *pos;
2488 pos = off2pos(buf->bufp, off);
2490 if (!pos)
2491 nbdebug((" no such start pos in %s, %ld\n", cmd, off));
2494 first = *pos;
2495 pos = off2pos(buf->bufp, off + len - 1);
2496 if (pos != NULL && pos->col == 0)
2503 pos = off2pos(buf->bufp, off + len - 2);
2505 if (!pos)
2506 nbdebug((" no such end pos in %s, %ld\n",
2511 last = *pos;
3184 pos_T pos;
3200 pos.lnum = linenr;
3201 pos.col = col;
3202 off = pos2off(bufp, &pos);
3234 pos_T pos;
3252 pos.lnum = linenr;
3253 pos.col = col;
3255 off = pos2off(bufp, &pos);
3439 * See if the lines are guarded. The top and bot parameters are from
3444 netbeans_is_guarded(linenr_T top, linenr_T bot)
3454 for (lnum = top + 1; lnum < bot; lnum++)
3760 static pos_T pos;
3762 pos.lnum = 0;
3763 pos.col = 0;
3765 pos.coladd = 0;
3772 pos.lnum = lnum;
3773 pos.col = offset;
3776 return &pos;
3811 pos2off(buf_T *buf, pos_T *pos)
3817 if ((offset = ml_find_line_or_offset(buf, pos->lnum, 0)) < 0)
3819 offset += pos->col;