Lines Matching refs:fill
1389 /* int bsetstr (bstring b0, int pos, bstring b1, unsigned char fill)
1392 * the position pos is past the end of b0, then the character "fill" is
1396 int bsetstr (bstring b0, int pos, const_bstring b1, unsigned char fill) {
1423 /* Fill in "fill" character as necessary */
1425 bstr__memset (b0->data + b0->slen, (int) fill, (size_t) (pos - b0->slen));
1444 /* int binsert (bstring b1, int pos, bstring b2, unsigned char fill)
1447 * past the end of b1, then the character "fill" is appended as necessary to
1451 int binsert (bstring b1, int pos, const_bstring b2, unsigned char fill) {
1475 bstr__memset (b1->data + b1->slen, (int) fill, (size_t) (pos - b1->slen));
1493 * unsigned char fill)
1496 * fill is used is pos > b1->slen.
1499 unsigned char fill) {
1511 if ((ret = bsetstr (b1, pos, b2, fill)) < 0) return ret;
1695 /* int binsertch (bstring b, int pos, int len, unsigned char fill)
1697 * Inserts the character fill repeatedly into b at position pos for a
1699 * character "fill" is appended as necessary to make up the gap between the
1702 int binsertch (bstring b, int pos, int len, unsigned char fill) {
1727 for (i=pos; i < l; i++) b->data[i] = fill;