Home
last modified time | relevance | path

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

/hardware/qcom/msm8998/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()