Home
last modified time | relevance | path

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

/external/bluetooth/glib/glib/
Dgconvert.c610 gsize outbuf_size; in g_convert_with_iconv() local
622 outbuf_size = len + 1; /* + 1 for nul in case len == 1 */ in g_convert_with_iconv()
624 outbytes_remaining = outbuf_size - 1; /* -1 for nul */ in g_convert_with_iconv()
625 outp = dest = g_malloc (outbuf_size); in g_convert_with_iconv()
646 outbuf_size *= 2; in g_convert_with_iconv()
647 dest = g_realloc (dest, outbuf_size); in g_convert_with_iconv()
650 outbytes_remaining = outbuf_size - used - 1; /* -1 for nul */ in g_convert_with_iconv()
842 gsize outbuf_size; in g_convert_with_fallback() local
908 outbuf_size = len + 1; /* + 1 for nul in case len == 1 */ in g_convert_with_fallback()
909 outbytes_remaining = outbuf_size - 1; /* -1 for nul */ in g_convert_with_fallback()
[all …]
/external/qemu/
Dqemu-char.c2329 size_t outbuf_size; member
2340 if (d->outbuf_capacity < d->outbuf_size + len) { in mem_chr_write()
2347 memcpy(d->outbuf + d->outbuf_size, buf, len); in mem_chr_write()
2348 d->outbuf_size += len; in mem_chr_write()
2358 d->outbuf_size = 0; in qemu_chr_init_mem()
2370 return qstring_from_substr((char *) d->outbuf, 0, d->outbuf_size - 1); in qemu_chr_mem_to_qs()
2387 return d->outbuf_size; in qemu_chr_mem_osize()