Searched refs:gappos (Results 1 – 5 of 5) sorted by relevance
83 buf->gappos = 0; in sbuf_create()135 assert(buf->gappos <= buf->alloc);172 if (pos < buf->gappos) in sbuf_movegap()175 buf->gappos - pos); in sbuf_movegap()177 memmove(buf->block + buf->gappos, in sbuf_movegap()179 pos - buf->gappos); in sbuf_movegap()180 buf->gappos = pos; in sbuf_movegap()298 if (pos < buf->gappos)828 memcpy(buf->block + buf->gappos, s, n); in replace_mark_part()830 memset(buf->block + buf->gappos + n, ' ', w - n); in replace_mark_part()[all …]
174 q = buf->block + buf->gappos; in sbuf_linepos()185 p = buf->block + buf->gappos + gaplen; in sbuf_linepos()
120 size_t gappos; member181 : (int) (unsigned char) ((pos) < (buf)->gappos \
3165 int gappos = number_menus () * pulldownmenu_width; in cleargap() local3167 set_cursor (gappos, -1); in cleargap()3168 For i = gappos While i < flags_pos Step i ++ in cleargap()
8884 REGISTER INTBIG i, gapwid, gappos; in us_findnewplace() local8894 gappos = (low + high) / 2; in us_findnewplace()8900 gappos = (arr[i-1] + arr[i]) / 2; in us_findnewplace()8906 gappos = (low + arr[0]) / 2; in us_findnewplace()8911 gappos = (arr[count-1] + high) / 2; in us_findnewplace()8913 return(gappos); in us_findnewplace()