/bootable/libbootloader/gbl/toolchain/ |
D | BUILD.android_rust_prebuilts.bazel | 56 srcs = glob(["src/stdlibs/library/alloc/src/**/*.rs"]), 57 compile_data = glob(["src/stdlibs/library/alloc/src/**/*.md"]), 66 COMPILER_BUILTIN_X86_SRC = "src/stdlibs/vendor/compiler_builtins/src/x86.rs" 80 outs = ["src/stdlibs/vendor/compiler_builtins/src/x86/mod.rs"], 89 "src/stdlibs/vendor/compiler_builtins/src/**/*.rs", 90 "src/stdlibs/vendor/compiler_builtins/libm/src/**/*.rs", 94 compile_data = glob(["src/stdlibs/vendor/compiler_builtins/src/**/*.md"]), 111 "src/stdlibs/library/core/src/**/*.rs", 112 "src/stdlibs/library/stdarch/crates/core_arch/src/**/*.rs", 113 "src/stdlibs/library/portable-simd/crates/core_simd/src/**/*.rs", [all …]
|
/bootable/libbootloader/gbl/libefi/ |
D | BUILD | 89 # Copy the generated source to "src/defs.rs" in the output assembly, so that libefi can include it 94 outs = ["src/defs.rs"], 101 "src/allocation.rs", 102 "src/defs.rs", # Generated by :efi_defs_genrule 103 "src/lib.rs", 104 "src/protocol.rs", 105 "src/protocol/android_boot.rs", 106 "src/protocol/block_io.rs", 107 "src/protocol/device_path.rs", 108 "src/protocol/loaded_image.rs", [all …]
|
/bootable/libbootloader/gbl/third_party/libzbi/ |
D | README.md | 3 Rust version of [C library](src/firmware/lib/zbi) to work with ZBI format. 10 …gen` generated version from C headers: [`src/firmware/lib/zbi-rs/src/zbi_format.rs`](src/firmware/… 12 Another alternative is manually created version: [`src/sys/lib/fuchsia-zbi/abi`](src/sys/lib/fuchsi… 26 git sparse-checkout set --no-clone src/firmware/lib/zbi-rs
|
D | BUILD | 20 "src/lib.rs", 21 "src/zbi_format.rs",
|
/bootable/libbootloader/gbl/smoltcp/ |
D | BUILD.smoltcp.bazel | 26 outs = ["src/config.rs"], 53 outs = ["src/heapless.rs"], 59 srcs = ["src/heapless.rs"], 60 crate_root = "src/heapless.rs", 69 "src/lib.rs", 72 "src/fixup.rs", 73 "src/crate_root.rs", 87 exclude = ["src/lib.rs"], 89 "src/config.rs", 90 "src/crate_root.rs", [all …]
|
/bootable/libbootloader/gbl/efi/arch/riscv64/ |
D | deps.cpp | 39 void* memmove(void* dest, void const* src, size_t count) { in memmove() argument 41 const uint8_t* _src = static_cast<const uint8_t*>(src); in memmove() 42 if (dest < src) { in memmove() 69 void* memcpy(void* dest, const void* src, size_t num) { in memcpy() argument 70 return memmove(dest, src, num); in memcpy()
|
/bootable/deprecated-ota/tests/unit/host/ |
D | imgdiff_test.cpp | 83 static void GenerateTarget(const std::string& src, const std::string& patch, std::string* patched) { in GenerateTarget() argument 85 ASSERT_EQ(0, ApplyImagePatch(reinterpret_cast<const unsigned char*>(src.data()), src.size(), in GenerateTarget() 93 static void verify_patched_image(const std::string& src, const std::string& patch, in verify_patched_image() argument 96 GenerateTarget(src, patch, &patched); in verify_patched_image() 118 const std::string src("abcdefg"); in TEST() local 120 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); in TEST() 145 verify_patched_image(src, patch, tgt); in TEST() 180 std::string src; in TEST() local 181 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); in TEST() 194 verify_patched_image(src, patch, tgt); in TEST() [all …]
|
D | update_simulator_test.cpp | 71 static void CreateBsdiffPatch(const string& src, const string& tgt, string* patch) { in CreateBsdiffPatch() argument 73 ASSERT_EQ(0, bsdiff::bsdiff(reinterpret_cast<const uint8_t*>(src.data()), src.size(), in CreateBsdiffPatch()
|
/bootable/libbootloader/gbl/efi/ |
D | BUILD | 26 "src/android_boot.rs", 27 "src/avb.rs", 28 "src/error.rs", 29 "src/fastboot.rs", 30 "src/fuchsia_boot.rs", 31 "src/main.rs", 32 "src/net.rs", 33 "src/riscv64.rs", 34 "src/utils.rs",
|
/bootable/libbootloader/gbl/libabr/build/fuchsia/ |
D | BUILD.gn | 21 source_root = "../../src/lib.rs" 22 sources = [ "../../src/lib.rs" ] 32 source_root = "../../src/c_staticlib.rs" 34 "../../src/c_staticlib.rs", 35 "../../src/utils.rs",
|
/bootable/libbootloader/gbl/libstorage/ |
D | BUILD | 24 "src/gpt.rs", 25 "src/lib.rs", 26 "src/multi_blocks.rs", 27 "src/non_blocking.rs", 41 "src/testlib.rs",
|
/bootable/libbootloader/gbl/libabr/ |
D | BUILD | 23 srcs = ["src/lib.rs"], 36 "src/c_staticlib.rs", 37 "src/utils.rs", 40 crate_root = "src/c_staticlib.rs",
|
/bootable/libbootloader/gbl/libbootimg/ |
D | BUILD | 89 "src/bootimg.rs", 90 "src/defs.rs", 92 # Copy each src[i] to outs[i] 103 srcs = ["src/defs.rs"], 104 crate_root = "src/defs.rs", 112 "src/bootimg.rs", 113 "src/lib.rs",
|
/bootable/libbootloader/gbl/libefi/src/protocol/ |
D | simple_network.rs | 109 mut src: EfiMacAddress, in transmit() 124 &mut src, in transmit() 137 src: Option<&mut EfiMacAddress>, in receive() 151 option_ref_mut_to_pointer(src), in receive()
|
/bootable/deprecated-ota/updater/ |
D | blockimg.cpp | 482 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks() argument 484 for (const auto& [begin, end] : src) { in ReadBlocks() 584 RangeSet src = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks() local 585 if (!src) { in PrintHashForCorruptedSourceBlocks() 594 locs = RangeSet(std::vector<Range>{ Range{ 0, src.blocks() } }); in PrintHashForCorruptedSourceBlocks() 601 CHECK_EQ(src.blocks(), locs.blocks()); in PrintHashForCorruptedSourceBlocks() 604 LOG(INFO) << "printing hash in hex for " << src.blocks() << " source blocks"; in PrintHashForCorruptedSourceBlocks() 605 for (size_t i = 0; i < src.blocks(); i++) { in PrintHashForCorruptedSourceBlocks() 606 size_t block_num = src.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks() 621 const RangeSet& src) { in PrintHashForCorruptedStashedBlocks() argument [all …]
|
/bootable/libbootloader/gbl/libefi/defs/protocols/ |
D | simple_network_protocol.h | 123 void* buf, EfiMacAddress* src, EfiMacAddress* dest, uint16_t* protocol); 125 void* buf, EfiMacAddress* src, EfiMacAddress* dest, uint16_t* protocol);
|
/bootable/deprecated-ota/applypatch/ |
D | imgdiff.cpp | 332 bool ImageChunk::MakePatch(const ImageChunk& tgt, const ImageChunk& src, in MakePatch() argument 348 int r = bsdiff::bsdiff(src.DataForPatch(), src.DataLengthForPatch(), tgt.DataForPatch(), in MakePatch() 444 PatchChunk::PatchChunk(const ImageChunk& tgt, const ImageChunk& src, std::vector<uint8_t> data) in PatchChunk() argument 446 source_start_(src.GetStartOffset()), in PatchChunk() 447 source_len_(src.GetRawDataLength()), in PatchChunk() 448 source_uncompressed_len_(src.DataLengthForPatch()), in PatchChunk() 952 const ImageChunk* src = src_image.FindChunkByName(tgt->GetEntryName(), true); in SplitZipModeImageWithLimit() local 953 if (src == nullptr) { in SplitZipModeImageWithLimit() 959 size_t src_offset = src->GetStartOffset(); in SplitZipModeImageWithLimit() 960 size_t src_length = src->GetRawDataLength(); in SplitZipModeImageWithLimit() [all …]
|
/bootable/libbootloader/gbl/libfdt/ |
D | BUILD | 61 outs = ["src/libfdt_c_Def.rs"], 74 srcs = ["src/lib.rs"],
|
/bootable/libbootloader/gbl/libavb/src/ |
D | lib.rs | 96 src: *const core::ffi::c_void, in avb_memcpy() 100 unsafe { (src.cast::<u8>()).copy_to(dest as *mut _, n) }; in avb_memcpy()
|
/bootable/libbootloader/gbl/libefi/defs/ |
D | boot_service.h | 92 EfiDevicePathProtocol* path, void* src, size_t src_size, 123 void (*copy_mem)(void* dest, const void* src, size_t len);
|
/bootable/libbootloader/gbl/libbootconfig/ |
D | BUILD | 23 srcs = ["src/lib.rs"],
|
/bootable/libbootloader/gbl/libsafemath/ |
D | BUILD | 20 "src/lib.rs",
|
/bootable/libbootloader/gbl/libfastboot/ |
D | BUILD | 23 srcs = ["src/lib.rs"],
|
/bootable/libbootloader/gbl/libmisc/ |
D | BUILD | 23 srcs = ["src/lib.rs"],
|
/bootable/recovery/tools/recovery_l10n/ |
D | Android.bp | 30 "src/**/*.java",
|