Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c240 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()
[all …]
Dpostprocess_elf.c838 bool good = true; in handleKey() local
854 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey()
855 good = good && fwrite(&ki, sizeof(ki), 1, out) == 1; in handleKey()
856 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleKey()
858 return good ? 0 : 2; in handleKey()
864 bool good; in handleOs() local
886 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs()
888 good = fwrite(&os, sizeof(os), 1, out) == 1; in handleOs()
889 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleOs()
891 return good ? 0 : 2; in handleOs()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_config.cc51 if(!file_out.good()) { in WriteEnvironment()
/device/google/cuttlefish/tools/
Dcreate_base_image_hostlib.sh149 echo Test and if this looks good, consider releasing it via:
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c232 bool good = true; in osSecretKeyDelete() local
243 good = eeDataEraseOldVersion(EE_DATA_NAME_ENCR_KEY, addr) && good; in osSecretKeyDelete()
248 return count == 0 ? APP_SEC_KEY_NOT_FOUND : good ? APP_SEC_NO_ERROR : APP_SEC_BAD; in osSecretKeyDelete()