Searched refs:grow (Results 1 – 2 of 2) sorted by relevance
72 uint32_t len = 0, grow = 16384, total = 0; in loadFile() local81 len += grow; dst = reallocOrDie(dst, len); in loadFile()83 block = fread(dst + total, 1, grow, f); in loadFile()85 } while (block == grow); in loadFile()
328 uint32_t grow = sizeof(*secHdr); in handleSign() local331 buf = reallocOrDie(buf, bufUsed + grow); in handleSign()338 memmove((uint8_t*)&image[1] + grow, &image[1], bufUsed - sizeof(*image)); in handleSign()340 bufUsed += grow; in handleSign()