Home
last modified time | relevance | path

Searched refs:needlen (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/e2fsck/
Dlogfile.c38 int needlen; in append_string() local
43 needlen = s->end + len + 1; in append_string()
44 if (needlen > s->len) { in append_string()
47 if (s->len * 2 > needlen) in append_string()
48 needlen = s->len * 2; in append_string()
49 n = realloc(s->s, needlen); in append_string()
53 s->len = needlen; in append_string()
/external/libvncserver/libvncserver/
Dwebsockets.c535 int retlen = 0, n, i, avail, modlen, needlen; in webSocketsDecodeHixie() local
584 needlen = modlen; in webSocketsDecodeHixie()
585 if (needlen % 4) { in webSocketsDecodeHixie()
586 needlen += 4 - (needlen % 4); in webSocketsDecodeHixie()
589 if (needlen > avail) { in webSocketsDecodeHixie()
603 buf[needlen] = '\x00'; /* Replace end marker with end of string */ in webSocketsDecodeHixie()
614 i = ws_read(cl, buf, needlen); in webSocketsDecodeHixie()