Lines Matching refs:bp
163 char *bp, *obp; in set_selection() local
298 bp = kmalloc(((sel_end-sel_start)/2+1)*multiplier, GFP_KERNEL); in set_selection()
299 if (!bp) { in set_selection()
305 sel_buffer = bp; in set_selection()
307 obp = bp; in set_selection()
311 bp += store_utf8(c, bp); in set_selection()
313 *bp++ = c; in set_selection()
315 obp = bp; in set_selection()
319 if (obp != bp) { in set_selection()
320 bp = obp; in set_selection()
321 *bp++ = '\r'; in set_selection()
323 obp = bp; in set_selection()
326 sel_buffer_lth = bp - sel_buffer; in set_selection()