Home
last modified time | relevance | path

Searched refs:index (Results 1 – 10 of 10) sorted by relevance

/bootable/recovery/update_verifier/
Dcare_map_generator.py49 for index in range(0, len(lines), step):
51 info.name = lines[index]
52 info.ranges = lines[index + 1]
54 info.id = lines[index + 2]
55 info.fingerprint = lines[index + 3]
/bootable/recovery/applypatch/
Dfreecache.cpp126 unsigned int index; in GetLogIndex() local
127 if (sscanf(log_name.c_str(), "last_log.%u", &index) == 1 || in GetLogIndex()
128 sscanf(log_name.c_str(), "last_kmsg.%u", &index) == 1) { in GetLogIndex()
129 return index; in GetLogIndex()
Dimgdiff.cpp288 void ImageChunk::Dump(size_t index) const { in Dump()
289 LOG(INFO) << "chunk: " << index << ", type: " << type_ << ", start: " << start_ in Dump()
499 size_t PatchChunk::WriteHeaderToFd(int fd, size_t offset, size_t index) const { in WriteHeaderToFd()
503 LOG(INFO) << android::base::StringPrintf("chunk %zu: normal (%10zu, %10zu) %10zu", index, in WriteHeaderToFd()
510 LOG(INFO) << android::base::StringPrintf("chunk %zu: deflate (%10zu, %10zu) %10zu", index, in WriteHeaderToFd()
524 LOG(INFO) << android::base::StringPrintf("chunk %zu: raw (%10zu, %10zu)", index, in WriteHeaderToFd()
/bootable/recovery/tests/unit/
Dcommands_test.cpp200 ASSERT_EQ(1, command.index()); in TEST()
220 ASSERT_EQ(2, command.index()); in TEST()
236 ASSERT_EQ(3, command.index()); in TEST()
257 ASSERT_EQ(4, command.index()); in TEST()
279 ASSERT_EQ(5, command.index()); in TEST()
299 ASSERT_EQ(6, command.index()); in TEST()
315 ASSERT_EQ(7, command.index()); in TEST()
331 ASSERT_EQ(8, command.index()); in TEST()
347 ASSERT_EQ(9, command.index()); in TEST()
/bootable/recovery/updater/include/private/
Dcommands.h305 Command(Type type, size_t index, std::string cmdline, PatchInfo patch, TargetInfo target, in Command() argument
308 index_(index), in Command()
315 Command(Type type, size_t index, std::string cmdline, HashTreeInfo hash_tree_info);
320 static Command Parse(const std::string& line, size_t index, std::string* err);
329 size_t index() const { in index() function
/bootable/recovery/tools/image_generator/
DImageGenerator.java213 int index = text.indexOf(ANDROID_STRING); in addLine() local
214 attributedText.addAttribute(TextAttribute.FONT, fallbackFont, index, in addLine()
215 index + ANDROID_STRING.length()); in addLine()
222 int index = 0; in addLine() local
223 while ((index = text.indexOf(punctuation, index)) != -1) { in addLine()
224 attributedText.addAttribute(TextAttribute.FONT, fallbackFont, index, in addLine()
225 index + 1); in addLine()
226 index += 1; in addLine()
/bootable/recovery/updater/
Dcommands.cpp40 Command::Command(Type type, size_t index, std::string cmdline, HashTreeInfo hash_tree_info) in Command() argument
42 index_(index), in Command()
179 Command Command::Parse(const std::string& line, size_t index, std::string* err) { in Parse() argument
303 return Command(op, index, line, std::move(hash_tree_info)); in Parse()
309 return Command(op, index, line, patch_info, target_info, source_info, stash_info); in Parse()
377 os << command.index() << ": " << command.cmdline(); in operator <<()
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h67 void Dump(size_t index) const;
141 size_t WriteHeaderToFd(int fd, size_t offset, size_t index) const;
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h141 std::string TextItem(size_t index) const;
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp89 std::string TextMenu::TextItem(size_t index) const { in TextItem()
90 CHECK_LT(index, text_items_.size()); in TextItem()
92 return text_items_[index]; in TextItem()