Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/syslinux/
Dmovebits.c318 addr_t needlen; in move_chunk() local
324 needlen = f->dst - f->src; in move_chunk()
328 needlen = f->src - f->dst; in move_chunk()
331 needlen = f->len; in move_chunk()
338 dprintf("Q: copylen = 0x%08x, needlen = 0x%08x\n", copylen, needlen); in move_chunk()
340 if (copylen < needlen) { in move_chunk()
394 addr_t needbase, needlen, copysrc, copydst, copylen; in syslinux_compute_movelist() local
456 needlen = o->dst - o->src; in syslinux_compute_movelist()
457 needbase = o->dst + (o->len - needlen); in syslinux_compute_movelist()
462 needlen = o->src - o->dst; in syslinux_compute_movelist()
[all …]
/external/e2fsprogs/e2fsck/
Dlogfile.c41 int needlen; in append_string() local
46 needlen = s->end + len + 1; in append_string()
47 if (needlen > s->len) { in append_string()
50 if (s->len * 2 > needlen) in append_string()
51 needlen = s->len * 2; in append_string()
52 n = realloc(s->s, needlen); in append_string()
56 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()
/external/pcre/dist2/src/
Dpcre2test.c5539 size_t needlen; in process_data() local
5611 needlen = (size_t)((len+1) * code_unit_size); in process_data()
5612 if (dbuffer == NULL || needlen >= dbuffer_size) in process_data()
5614 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()
5669 needlen += replen * i; in process_data()
5671 if (needlen >= dbuffer_size) in process_data()
5673 while (needlen >= dbuffer_size) dbuffer_size *= 2; in process_data()