Lines Matching refs:paths
150 const std::vector<std::string>& paths, std::string* ce_key_path) { in get_ce_key_new_path() argument
151 if (paths.empty()) { in get_ce_key_new_path()
157 if (paths[0] < candidate) { in get_ce_key_new_path()
168 const std::vector<std::string>& paths) { in fixate_user_ce_key() argument
169 for (auto const other_path : paths) { in fixate_user_ce_key()
189 auto const paths = get_ce_key_paths(directory_path); in read_and_fixate_user_ce_key() local
190 for (auto const ce_key_path : paths) { in read_and_fixate_user_ce_key()
194 fixate_user_ce_key(directory_path, ce_key_path, paths); in read_and_fixate_user_ce_key()
245 auto const paths = get_ce_key_paths(directory_path); in create_and_install_user_keys() local
247 if (!get_ce_key_new_path(directory_path, paths, &ce_key_path)) return false; in create_and_install_user_keys()
251 fixate_user_ce_key(directory_path, ce_key_path, paths); in create_and_install_user_keys()
569 auto const paths = get_ce_key_paths(directory_path); in fscrypt_add_user_key_auth() local
571 if (!get_ce_key_new_path(directory_path, paths, &ce_key_path)) return false; in fscrypt_add_user_key_auth()
582 auto const paths = get_ce_key_paths(directory_path); in fscrypt_fixate_newest_user_key_auth() local
583 if (paths.empty()) { in fscrypt_fixate_newest_user_key_auth()
587 fixate_user_ce_key(directory_path, paths[0], paths); in fscrypt_fixate_newest_user_key_auth()