Searched refs:min_size (Results 1 – 4 of 4) sorted by relevance
/device/google/coral/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument 62 if (p->size >= min_size) in printbuf_extend() 66 if (new_size < min_size + 8) in printbuf_extend() 67 new_size = min_size + 8; in printbuf_extend() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend()
|
/device/google/crosshatch/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument 62 if (p->size >= min_size) in printbuf_extend() 66 if (new_size < min_size + 8) in printbuf_extend() 67 new_size = min_size + 8; in printbuf_extend() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend()
|
/device/google/bonito/json-c/ |
D | printbuf.c | 31 static int printbuf_extend(struct printbuf *p, int min_size); 57 static int printbuf_extend(struct printbuf *p, int min_size) in printbuf_extend() argument 62 if (p->size >= min_size) in printbuf_extend() 66 if (new_size < min_size + 8) in printbuf_extend() 67 new_size = min_size + 8; in printbuf_extend() 71 p->bpos, min_size, p->size, new_size); in printbuf_extend()
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.cpp | 187 unsigned int min_size = (sizeof(struct SensorEventHeader) + in SizeIsValid() local 189 if (event_data.size() < min_size) { in SizeIsValid() 191 event_data.size(), min_size); in SizeIsValid()
|