Home
last modified time | relevance | path

Searched refs:second (Results 1 – 12 of 12) sorted by relevance

/bootable/recovery/otautil/
Drangeset.cpp75 size_t second; in Parse() local
77 !android::base::ParseUint(pieces[i + 2], &second, static_cast<size_t>(INT_MAX))) { in Parse()
80 pairs.emplace_back(first, second); in Parse()
86 if (range.first >= range.second) { in PushBack()
87 LOG(ERROR) << "Empty or negative range: " << range.first << ", " << range.second; in PushBack()
90 size_t sz = range.second - range.first; in PushBack()
127 size_t range_blocks = range.second - range.first; in Split()
211 if (it->first <= to_insert.second) { in Insert()
212 to_insert.second = std::max(to_insert.second, it->second); in Insert()
215 blocks_ += (to_insert.second - to_insert.first); in Insert()
[all …]
/bootable/recovery/recovery_ui/
Ddevice.cpp59 [action](const auto& entry) { return entry.second == action; })); in RemoveMenuItemForAction()
71 return g_menu_actions[menu_position].second; in InvokeMenuItem()
Dscreen_ui.cpp564 gr_texticon(text_x, text_y, p.second.get()); in SelectAndShowBackgroundText()
565 text_y += gr_get_height(p.second.get()); in SelectAndShowBackgroundText()
/bootable/recovery/edify/
DREADME.md66 one of the second and third, depending on whether the first one is
89 second argument only if it's needed to determine the truth of the
110 (first_step(); second_step();), # second ; is optional
/bootable/recovery/fastboot/
Dfastboot.cpp80 return kFastbootMenuActions[chosen_item].second; in StartFastboot()
/bootable/recovery/applypatch/
Dimgdiff.cpp700 [](auto& entry1, auto& entry2) { return entry1.second.offset < entry2.second.offset; }); in InitializeChunks()
707 if (!AddZipEntryToChunks(handle, entry.first, &entry.second)) { in InitializeChunks()
716 entries_end = static_cast<size_t>(temp_entries.back().second.offset + in InitializeChunks()
717 temp_entries.back().second.compressed_length); in InitializeChunks()
732 static_cast<off64_t>(pos) == temp_entries[nextentry].second.offset) { in InitializeChunks()
735 if (!AddZipEntryToChunks(handle, entry_name, &temp_entries[nextentry].second)) { in InitializeChunks()
740 pos += temp_entries[nextentry].second.compressed_length; in InitializeChunks()
748 raw_data_len = temp_entries[nextentry].second.offset - pos; in InitializeChunks()
1045 size_t end = std::min(src_image.file_content_.size(), r.second * BLOCK_SIZE); in AddSplitImageFromChunkList()
/bootable/recovery/tests/component/
Dupdater_test.cpp95 if (!entry.second.empty()) { in BuildUpdatePackage()
96 ASSERT_EQ(0, zip_writer.WriteBytes(entry.second.data(), entry.second.size())); in BuildUpdatePackage()
/bootable/recovery/updater/
Ddynamic_partitions.cpp407 if (!it->second(params)) { in UpdateDynamicPartitionsFn()
Dcommands.cpp325 size_t blocks = it->second - it->first; in MoveRange()
Dblockimg.cpp302 current_range_left_ = (range.second - range.first) * BLOCKSIZE; in SeekToOutputRange()
965 size_t blocks = it->second - it->first; in MoveRange()
/bootable/recovery/install/
Dinstall.cpp108 return (it == metadata.end()) ? "" : it->second; in get_value()
/bootable/recovery/updater_sample/
DREADME.md78 callback. The second problem is solved by adding `PAUSED` updater state.