Lines Matching defs:vp
63 int memcache_get(VSTREAM *stream, VSTRING *vp, ssize_t bound)
68 last_char = (bound == 0 ? vstring_get(vp, stream) :
69 vstring_get_bound(vp, stream, bound));
79 VSTRING_ADDCH(vp, '\n');
91 LEN(vp) < bound ? "EOF" : "input too long");
99 vstring_truncate(vp, VSTRING_LEN(vp) - 1);
100 if (VSTRING_LEN(vp) > 0 && vstring_end(vp)[-1] == '\r')
101 vstring_truncate(vp, VSTRING_LEN(vp) - 1);
102 VSTRING_TERMINATE(vp);
104 msg_info("%s got: %s", VSTREAM_PATH(stream), STR(vp));