Lines Matching refs:good
240 bool good = true; in finalizeAndWrite() local
270 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1 && good; in finalizeAndWrite()
273 good = fwrite(&app, sizeof(app), 1, out) == 1 && good; in finalizeAndWrite()
276 good = fwrite(&bin[1], inf->codeAndDataSize, 1, out) == 1 && good; in finalizeAndWrite()
280 good = fwrite(inf->packedNanoReloc, inf->packedNanoRelocSize, 1, out) == 1 && good; in finalizeAndWrite()
284 if (!good) { in finalizeAndWrite()
301 return good ? 0 : 2; in finalizeAndWrite()
577 bool good = true; in handleKey() local
593 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey()
594 good = good && fwrite(&ki, sizeof(ki), 1, out) == 1; in handleKey()
595 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleKey()
597 return good ? 0 : 2; in handleKey()
603 bool good; in handleOs() local
625 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs()
627 good = fwrite(&os, sizeof(os), 1, out) == 1; in handleOs()
628 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleOs()
630 return good ? 0 : 2; in handleOs()