Searched refs:ptemp (Results 1 – 1 of 1) sorted by relevance
336 char ptemp[] = "/data/local/tmp/imgdiff-patch-XXXXXX"; in MakePatch() local338 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()