Home
last modified time | relevance | path

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

/device/google/contexthub/lib/nanohub/
Dnanoapp.c27 void *reallocOrDie(void *buf, size_t bufSz) in reallocOrDie() argument
29 void *newBuf = realloc(buf, bufSz); in reallocOrDie()
31 fprintf(stderr, "Failed to allocate %zu bytes\n", bufSz); in reallocOrDie()
/device/google/contexthub/lib/include/nanohub/
Dnanoapp.h23 void *reallocOrDie(void *buf, size_t bufSz);
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c105 uint32_t bufSz = bufUsed * 3 /2; in handleApp() local
108 buf = reallocOrDie(buf, bufSz); in handleApp()
398 assertMem(bufUsed, bufSz); in handleApp()
449 assertMem(bufUsed + hdrDiff, bufSz); in handleApp()