Searched refs:old_name (Results 1 – 4 of 4) sorted by relevance
48 bool RenameKeyDir(const std::string& old_name, const std::string& new_name);
277 bool RenameKeyDir(const std::string& old_name, const std::string& new_name) { in RenameKeyDir() argument285 if (IsSameFile(old_name, *it)) break; in RenameKeyDir()288 if (rename(old_name.c_str(), new_name.c_str()) != 0) { in RenameKeyDir()289 PLOG(ERROR) << "Failed to rename key directory \"" << old_name << "\" to \"" << new_name in RenameKeyDir()
1021 let old_name = service.GetOldNameInterface(); in test_renamed_interface() localVariable1022 assert!(old_name.is_ok()); in test_renamed_interface()1027 f(old_name.unwrap(), new_name.unwrap()); in test_renamed_interface()1032 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_old()1038 let real_name = old_name.RealName(); in test_renamed_interface_old_as_old()1058 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_new()1059 let new_name = old_name.as_binder().into_interface::<dyn INewName::INewName>(); in test_renamed_interface_old_as_new()1070 let old_name = new_name.as_binder().into_interface::<dyn IOldName::IOldName>(); in test_renamed_interface_new_as_old() localVariable1071 assert!(old_name.is_ok()); in test_renamed_interface_new_as_old()1073 let real_name = old_name.unwrap().RealName(); in test_renamed_interface_new_as_old()
709 auto old_name = GetOtherPartitionName(name); in MapSourceDevice() local716 .partition_name = old_name, in MapSourceDevice()