Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp336 char ptemp[] = "/data/local/tmp/imgdiff-patch-XXXXXX"; in MakePatch() local
338 char ptemp[] = "/tmp/imgdiff-patch-XXXXXX"; in MakePatch()
341 int fd = mkstemp(ptemp); in MakePatch()
349 tgt.DataLengthForPatch(), ptemp, bsdiff_cache); in MakePatch()
355 android::base::unique_fd patch_fd(open(ptemp, O_RDONLY)); in MakePatch()
357 PLOG(ERROR) << "Failed to open " << ptemp; in MakePatch()
362 PLOG(ERROR) << "Failed to stat patch file " << ptemp; in MakePatch()
370 PLOG(ERROR) << "Failed to read " << ptemp; in MakePatch()
371 unlink(ptemp); in MakePatch()
375 unlink(ptemp); in MakePatch()