Searched refs:temp_filename (Results 1 – 2 of 2) sorted by relevance
/system/bt/osi/src/ |
D | config.c | 298 char *temp_filename = osi_calloc(temp_filename_len); in config_save() local 299 snprintf(temp_filename, temp_filename_len, "%s%s", filename, temp_file_ext); in config_save() 315 fp = fopen(temp_filename, "wt"); in config_save() 317 … LOG_ERROR(LOG_TAG, "%s unable to write file '%s': %s", __func__, temp_filename, strerror(errno)); in config_save() 324 …LOG_ERROR(LOG_TAG, "%s unable to write to file '%s': %s", __func__, temp_filename, strerror(errno)… in config_save() 331 …LOG_ERROR(LOG_TAG, "%s unable to write to file '%s': %s", __func__, temp_filename, strerror(errno)… in config_save() 339 …LOG_ERROR(LOG_TAG, "%s unable to write to file '%s': %s", __func__, temp_filename, strerror(errno)… in config_save() 347 LOG_WARN(LOG_TAG, "%s unable to fsync file '%s': %s", __func__, temp_filename, strerror(errno)); in config_save() 351 … LOG_ERROR(LOG_TAG, "%s unable to close file '%s': %s", __func__, temp_filename, strerror(errno)); in config_save() 357 if (chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP) == -1) { in config_save() [all …]
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 1124 string temp_filename; in PerformBsdiffOperation() local 1126 &temp_filename, in PerformBsdiffOperation() 1128 ScopedPathUnlinker path_unlinker(temp_filename); in PerformBsdiffOperation() 1130 int fd = open(temp_filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); in PerformBsdiffOperation() 1140 vector<string> cmd{kBspatchPath, target_path_, target_path_, temp_filename, in PerformBsdiffOperation() 1210 string temp_filename; in PerformSourceBsdiffOperation() local 1212 &temp_filename, in PerformSourceBsdiffOperation() 1214 ScopedPathUnlinker path_unlinker(temp_filename); in PerformSourceBsdiffOperation() 1216 int fd = open(temp_filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); in PerformSourceBsdiffOperation() 1226 vector<string> cmd{kBspatchPath, source_path_, target_path_, temp_filename, in PerformSourceBsdiffOperation()
|