Home
last modified time | relevance | path

Searched refs:index (Results 1 – 23 of 23) 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/libbootloader/gbl/libelf/
Drelocation_test.cpp82 uint64_t GetRelocatedAddr(size_t index) { return relocated_addr_table_[index]; } in GetRelocatedAddr() argument
84 void SetRelocationInfo(size_t index, uint64_t type, uint64_t addend) { in SetRelocationInfo() argument
85 ASSERT_LE(index, num_relocs); in SetRelocationInfo()
86 table_[index].r_info = type; in SetRelocationInfo()
87 SetAddend(table_[index], relocated_addr_table_[index], addend); in SetRelocationInfo()
/bootable/recovery/minui/
Dgraphics_fbdev.cpp46 void MinuiBackendFbdev::Blank(bool blank, DrmConnector index) { in Blank() argument
47 if (index == DRM_MAIN) { in Blank()
50 fprintf(stderr, "Unsupported multiple connectors, blank = %d, index = %d\n", blank, index); in Blank()
Dgraphics_drm.cpp172 void MinuiBackendDrm::Blank(bool blank, DrmConnector index) { in Blank() argument
175 switch (index) { in Blank()
183 fprintf(stderr, "Invalid index: %d\n", index); in Blank()
188 fprintf(stderr, "Unsupported. index = %d\n", index); in Blank()
199 active_display = index; in Blank()
Dgraphics.h41 virtual void Blank(bool blank, DrmConnector index) = 0;
Dgraphics_fbdev.h59 void Blank(bool blank, DrmConnector index) override;
Dgraphics_drm.h62 void Blank(bool blank, DrmConnector index) override;
Dgraphics.cpp498 void gr_fb_blank(bool blank, int index) { in gr_fb_blank() argument
499 gr_backend->Blank(blank, static_cast<MinuiBackend::DrmConnector>(index)); in gr_fb_blank()
/bootable/deprecated-ota/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/deprecated-ota/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/tools/image_generator/
DImageGenerator.java209 int index = text.indexOf(ANDROID_STRING); in addLine() local
210 attributedText.addAttribute(TextAttribute.FONT, fallbackFont, index, in addLine()
211 index + ANDROID_STRING.length()); in addLine()
218 int index = 0; in addLine() local
219 while ((index = text.indexOf(punctuation, index)) != -1) { in addLine()
220 attributedText.addAttribute(TextAttribute.FONT, fallbackFont, index, in addLine()
221 index + 1); in addLine()
222 index += 1; in addLine()
/bootable/deprecated-ota/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/deprecated-ota/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()
178 Command Command::Parse(const std::string& line, size_t index, std::string* err) { in Parse() argument
302 return Command(op, index, line, std::move(hash_tree_info)); in Parse()
308 return Command(op, index, line, patch_info, target_info, source_info, stash_info); in Parse()
376 os << command.index() << ": " << command.cmdline(); in operator <<()
/bootable/libbootloader/gbl/smoltcp/
DBUILD.smoltcp.bazel78 for index in $${!srcs[@]}; do cp $${srcs[$$index]} $${outs[$$index]}; done && \
/bootable/libbootloader/gbl/libbootimg/
DBUILD96 for index in $${!srcs[@]}; do cp $${srcs[$$index]} $${outs[$$index]}; done
/bootable/recovery/recovery_ui/
Dwear_ui.cpp162 const auto index = GetProgressFrameIndex(progress); in draw_circle_foreground_locked() local
163 const auto& frame = rtl_locale_ ? rtl_progress_frames_[index].get() in draw_circle_foreground_locked()
164 : progress_frames_[index].get(); in draw_circle_foreground_locked()
Dscreen_ui.cpp95 std::string TextMenu::TextItem(size_t index) const { in TextItem()
96 CHECK_LT(index, text_items_.size()); in TextItem()
98 return text_items_[index]; in TextItem()
/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs85 let mut index = 0; in name_to_str() localVariable
89 c if c.len_utf8() <= buffer[index..].len() => { in name_to_str()
90 index += c.encode_utf8(&mut buffer[index..]).len() in name_to_str()
98 unsafe { Ok(core::str::from_utf8_unchecked(&buffer[..index])) } in name_to_str()
/bootable/deprecated-ota/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/minui/include/minui/
Dminui.h131 void gr_fb_blank(bool blank, int index);
/bootable/libbootloader/gbl/libefi/defs/
Dboot_service.h73 EfiStatus (*wait_for_event)(size_t num_events, EfiEvent* event, size_t* index);
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h141 std::string TextItem(size_t index) const;