Lines Matching defs:readPtr
1755 /* int breada (bstring b, bNread readPtr, void * parm)
1757 * Use a finite buffer fread-like function readPtr to concatenate to the
1761 int breada (bstring b, bNread readPtr, void * parm) {
1765 b->mlen <= 0 || readPtr == NULL) return BSTR_ERR;
1770 l = (int) readPtr ((void *) (b->data + i), 1, n - i, parm);
1780 /* bstring bread (bNread readPtr, void * parm)
1782 * Use a finite buffer fread-like function readPtr to create a bstring
1786 bstring bread (bNread readPtr, void * parm) {
1789 if (0 > breada (buff = bfromcstr (""), readPtr, parm)) {
1901 /* struct bStream * bsopen (bNread readPtr, void * parm)
1907 struct bStream * bsopen (bNread readPtr, void * parm) {
1910 if (readPtr == NULL) return NULL;
1915 s->readFnPtr = readPtr;