Home
last modified time | relevance | path

Searched refs:count (Results 1 – 23 of 23) sorted by relevance

/bootable/libbootloader/gbl/efi/arch/riscv64/
Ddeps.cpp27 int memcmp(const void* s1, const void* s2, size_t count) { in memcmp() argument
30 for (size_t i = 0; i < count; i++) { in memcmp()
39 void* memmove(void* dest, void const* src, size_t count) { in memmove() argument
43 for (size_t i = 0; i < count; i++) { in memmove()
47 for (size_t i = count; i > 0; i--) { in memmove()
/bootable/libbootloader/gbl/libstorage/test/
Dgen_gpt_test_bin.sh29 dd if=/dev/urandom bs=1024 count=${BOOT_A_SIZE_KB} > ${BOOT_A_PART_FILE}
30 dd if=/dev/urandom bs=1024 count=${BOOT_B_SIZE_KB} > ${BOOT_B_PART_FILE}
45 dd if=/dev/urandom bs=1024 count=${VENDOR_BOOT_A_SIZE_KB} > ${VENDOR_BOOT_A_PART_FILE}
46 dd if=/dev/urandom bs=1024 count=${VENDOR_BOOT_B_SIZE_KB} > ${VENDOR_BOOT_B_PART_FILE}
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DFileDownloader.java77 int count = input.read(data, 0, needToRead); in download() local
78 if (count <= 0) { in download()
81 output.write(data, 0, count); in download()
82 total += count; in download()
/bootable/libbootloader/gbl/libc/src/
Dlib.rs27 count: core::ffi::c_ulong, in memchr()
32 for i in 0..count { in memchr()
/bootable/libbootloader/gbl/libgbl/src/
Dslots.rs282 count: usize, field
289 Self { count: 0, slot_getter: intf } in new()
297 let maybe_slot = self.slot_getter.get_slot_by_number(self.count).ok(); in next()
299 self.count += 1; in next()
/bootable/deprecated-ota/applypatch/
Dfreecache.cpp66 int count = readlink(fd_path.c_str(), link, sizeof(link)-1); in EliminateOpenFiles() local
67 if (count >= 0) { in EliminateOpenFiles()
68 link[count] = '\0'; in EliminateOpenFiles()
Dimgdiff.cpp786 int count = 0; in AddZipEntryToChunks() local
789 std::string name = entry_name + "-" + std::to_string(count); in AddZipEntryToChunks()
790 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks()
793 count++; in AddZipEntryToChunks()
/bootable/libbootloader/gbl/libc/include/
Dstring.h23 void *memchr(const void *ptr, int ch, size_t count);
/bootable/deprecated-ota/edify/
Dparser.yy45 static Expr* Build(Function fn, YYLTYPE loc, size_t count, ...) {
47 va_start(v, count);
49 for (size_t i = 0; i < count; ++i) {
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp126 int count = ItemsCount(); in Select() local
131 selection_ = count - 1; in Select()
132 } else if (sel >= count) { in Select()
143 } else if (sel >= count) { in Select()
144 selection_ = count - 1; in Select()
219 int count = graphic_items_.size(); in Select() local
223 selection_ = count - 1; in Select()
224 } else if (sel >= count) { in Select()
746 size_t count = 0; in draw_menu_and_text_buffer_locked() local
747 for (int ty = ScreenHeight() - margin_height_ - char_height_; ty >= y && count < text_rows_; in draw_menu_and_text_buffer_locked()
[all …]
Dui.cpp432 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey() argument
437 if (key_last_down == key_code && key_down_count == count) { in TimeKey()
/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs1919 assert_eq!(container_check.iter().count(), 2); in zbi_test_container_extend_new()
1920 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_new()
1921 assert_eq!(container_1.iter().count(), 1); in zbi_test_container_extend_new()
1943 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_with_empty()
1945 assert_eq!(container_0.iter().count(), 1); in zbi_test_container_extend_with_empty()
2197 assert_eq!(container.iter().count(), 1); in zbi_test_container_new_entry_iterate()
2245 assert_eq!(container.iter().count(), 2); in zbi_test_container_parse_new_entry_mut_iterate()
2261 assert_eq!(ZbiContainer::parse(&buffer.0[..]).unwrap().iter().count(), 0); in zbi_test_container_iterate_empty()
2263 assert_eq!(container.iter().count(), 0); in zbi_test_container_iterate_empty()
2264 assert_eq!(container.iter_mut().count(), 0); in zbi_test_container_iterate_empty()
[all …]
/bootable/recovery/uncrypt/
Duncrypt.cpp533 int count = static_cast<int>(duration.count()); in uncrypt_wrapper() local
535 std::string uncrypt_message = android::base::StringPrintf("uncrypt_time: %d\n", count); in uncrypt_wrapper()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dui.h233 void TimeKey(int key_code, int count);
/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs436 assert_eq!(dev.partition_iter().count(), 2); in test_new_from_buffer()
467 assert_eq!(dev.partition_iter().count(), 2); in test_load_gpt_primary()
485 assert_eq!(dev.partition_iter().count(), 2); in test_load_gpt_secondary()
/bootable/libbootloader/gbl/libefi/defs/
Dboot_service.h99 EfiStatus (*get_next_monotonic_count)(uint64_t* count);
/bootable/recovery/minadbd/
Dminadbd_services.cpp156 .count(); in WaitForSocketClose()
/bootable/recovery/install/
Dinstall.cpp665 int time_total = static_cast<int>(duration.count()); in InstallPackage()
738 ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); in verify_package()
/bootable/recovery/
Drecovery_main.cpp292 std::chrono::duration_cast<std::chrono::duration<double>>(now - start).count(); in redirect_stdio()
/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs432 assert_eq!(sb.slots_iter().count(), MAX_SLOTS.into()); in test_slot_block_slot_count_saturates()
/bootable/deprecated-ota/tests/unit/host/
Dimgdiff_test.cpp704 static void GenerateAndCheckSplitTarget(const std::string& debug_dir, size_t count, in GenerateAndCheckSplitTarget() argument
707 for (size_t i = 0; i < count; i++) { in GenerateAndCheckSplitTarget()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs873 if args.clone().count() < 3 { in fetch()
/bootable/recovery/tests/testdata/
Drecovery_body117 vidc.enc.dcvs.extra-buff-count=2