Home
last modified time | relevance | path

Searched refs:size_needed (Results 1 – 3 of 3) sorted by relevance

/device/google/coral/json-c/
Dprintbuf.c94 int size_needed; in printbuf_memset() local
98 size_needed = offset + len; in printbuf_memset()
99 if (pb->size < size_needed) in printbuf_memset()
101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset()
106 if (pb->bpos < size_needed) in printbuf_memset()
107 pb->bpos = size_needed; in printbuf_memset()
/device/google/crosshatch/json-c/
Dprintbuf.c94 int size_needed; in printbuf_memset() local
98 size_needed = offset + len; in printbuf_memset()
99 if (pb->size < size_needed) in printbuf_memset()
101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset()
106 if (pb->bpos < size_needed) in printbuf_memset()
107 pb->bpos = size_needed; in printbuf_memset()
/device/google/bonito/json-c/
Dprintbuf.c94 int size_needed; in printbuf_memset() local
98 size_needed = offset + len; in printbuf_memset()
99 if (pb->size < size_needed) in printbuf_memset()
101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset()
106 if (pb->bpos < size_needed) in printbuf_memset()
107 pb->bpos = size_needed; in printbuf_memset()