Searched refs:path_tmp (Results 1 – 2 of 2) sorted by relevance
40 char* path_tmp = strdup(path.c_str()); in BaseName() local41 assert(path_tmp); in BaseName()42 string result(basename(path_tmp)); in BaseName()43 free(path_tmp); in BaseName()48 char* path_tmp = strdup(path.c_str()); in DirName() local49 assert(path_tmp); in DirName()50 string result(dirname(path_tmp)); in DirName()51 free(path_tmp); in DirName()
125 path_tmp = '{}.{}'.format(path, id(path))126 fd = _os.open(path_tmp,133 _os.replace(path_tmp, path)136 _os.unlink(path_tmp)