Searched refs:nlist (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/fs_manager/ |
D | cmp_partition.cpp | 62 static int TraversePartitionList(const PartitonList &nlist, const PartitonList &olist, PartitonList… in TraversePartitionList() argument 64 if (nlist.empty() || olist.empty()) { in TraversePartitionList() 70 for (auto& p : nlist) { in TraversePartitionList() 80 int RegisterUpdaterPartitionList(const PartitonList &nlist, const PartitonList &olist) in RegisterUpdaterPartitionList() argument 82 if (nlist.empty() || olist.empty()) { in RegisterUpdaterPartitionList() 87 int ret = TraversePartitionList(nlist, olist, g_updaterPlist); in RegisterUpdaterPartitionList()
|
D | do_partition.cpp | 204 static bool WriteDiskPartitionToMisc(PartitonList &nlist) in WriteDiskPartitionToMisc() argument 206 UPDATER_CHECK_ONLY_RETURN(nlist.empty() == 0, return false); in WriteDiskPartitionToMisc() 208 std::sort(nlist.begin(), nlist.end(), [](const struct Partition *a, const struct Partition *b) { in WriteDiskPartitionToMisc() 213 for (auto& p : nlist) { in WriteDiskPartitionToMisc() 313 int DoPartitions(PartitonList &nlist) in DoPartitions() argument 316 UPDATER_ERROR_CHECK(!nlist.empty(), "newpartitionlist is empty ", return 0); in DoPartitions() 332 int reg = RegisterUpdaterPartitionList(nlist, disk->partList); in DoPartitions() 349 WriteDiskPartitionToMisc(nlist); in DoPartitions()
|
/base/update/updater/services/include/fs_manager/ |
D | cmp_partition.h | 22 extern int RegisterUpdaterPartitionList(const PartitonList &nlist, const PartitonList &olist);
|
D | partitions.h | 113 extern int DoPartitions(PartitonList &nlist);
|