Lines Matching defs:lbuf
693 unsigned char lbuf[256], *p;
717 m = (int)read(ofd, lbuf, sizeof(lbuf) - 1);
720 lbuf[sizeof(lbuf) - 1] = '\0';
722 p = (unsigned char *)strchr((char *)lbuf, '\n');
724 m = lws_ptr_diff(p, lbuf);
725 lbuf[m] = '\0';
726 p = (unsigned char *)strchr((char *)lbuf, '\r');
728 m = lws_ptr_diff(p, lbuf);
729 lbuf[m] = '\0';
731 lws_json_purify(ebuf, (const char *)lbuf,