Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 25 of 39) sorted by relevance

12

/bootable/recovery/tests/unit/
Drangeset_test.cpp29 RangeSet rs(std::vector<Range>{ Range{ 8, 10 }, Range{ 1, 5 } }); in TEST() local
30 ASSERT_TRUE(rs); in TEST()
40 RangeSet rs = RangeSet::Parse("2,1,10"); in TEST() local
41 ASSERT_EQ(static_cast<size_t>(1), rs.size()); in TEST()
42 ASSERT_EQ((Range{ 1, 10 }), rs[0]); in TEST()
43 ASSERT_EQ(static_cast<size_t>(9), rs.blocks()); in TEST()
52 ASSERT_EQ(rs, RangeSet::Parse(" 2, 1, 10")); in TEST()
77 RangeSet rs = RangeSet::Parse("2,1,6"); in TEST() local
78 ASSERT_TRUE(rs); in TEST()
79 rs.Clear(); in TEST()
[all …]
/bootable/libbootloader/gbl/smoltcp/
DBUILD.smoltcp.bazel21 # Upstream smoltcp uses a custom script in the cargo build flow to generate a `config.rs`
26 outs = ["src/config.rs"],
52 srcs = ["@gbl//smoltcp:heapless.rs"],
53 outs = ["src/heapless.rs"],
59 srcs = ["src/heapless.rs"],
60 crate_root = "src/heapless.rs",
64 # Add fixup.rs to build and use our own crate root that imports it.
68 "@gbl//smoltcp:fixup.rs",
69 "src/lib.rs",
72 "src/fixup.rs",
[all …]
/bootable/libbootloader/gbl/libefi/
DBUILD89 # 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/toolchain/
DBUILD.android_rust_prebuilts.bazel56 srcs = glob(["src/stdlibs/library/alloc/src/**/*.rs"]),
66 COMPILER_BUILTIN_X86_SRC = "src/stdlibs/vendor/compiler_builtins/src/x86.rs"
78 # Bazel does not let us override the same x86.rs. But module name needs to be the same. Thus we
79 # output as "x86/mod.rs" instead.
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",
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",
/bootable/libbootloader/gbl/third_party/libzbi/
DREADME.md10 …sion from C headers: [`src/firmware/lib/zbi-rs/src/zbi_format.rs`](src/firmware/lib/zbi-rs/src/zbi…
22 To get just `zbi-rs` from Fuchsia following commands can be used:
26 git sparse-checkout set --no-clone src/firmware/lib/zbi-rs
DBUILD20 "src/lib.rs",
21 "src/zbi_format.rs",
/bootable/libbootloader/gbl/efi/
DBUILD26 "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/
DBUILD.gn21 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/libbootimg/
DBUILD39 # checked-in version platform/system/tools/mkbootimg/rust/bootimg_priv.rs.
85 "@mkbootimg//:rust/bootimg.rs",
89 "src/bootimg.rs",
90 "src/defs.rs",
101 # The naming is expected by "@mkbootimg//:rust/bootimg.rs".
103 srcs = ["src/defs.rs"],
104 crate_root = "src/defs.rs",
112 "src/bootimg.rs",
113 "src/lib.rs",
/bootable/libbootloader/gbl/libstorage/
DBUILD24 "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/
DBUILD23 srcs = ["src/lib.rs"],
36 "src/c_staticlib.rs",
37 "src/utils.rs",
40 crate_root = "src/c_staticlib.rs",
/bootable/recovery/otautil/
Drangeset.cpp245 SortedRangeSet rs({ to_insert }); in Insert() local
246 Insert(rs); in Insert()
250 void SortedRangeSet::Insert(const SortedRangeSet& rs) { in Insert() argument
251 if (rs.size() == 0) { in Insert()
256 std::copy(rs.begin(), rs.end(), std::back_inserter(temp)); in Insert()
282 RangeSet rs({ { start / kBlockSize, (start + len - 1) / kBlockSize + 1 } }); in Overlaps() local
283 return Overlaps(rs); in Overlaps()
/bootable/libbootloader/gbl/android_external_rust_crates/
DBUILD.proc-macro2.bazel25 srcs = glob(["**/*.rs"]),
37 srcs = glob(["**/*.rs"]),
39 crate_root = "build.rs",
DBUILD.crc32fast.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.byteorder.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.zerocopy.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.unicode-ident.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.zerocopy-derive.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.hex.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.cfg-if.bazel19 srcs = glob(["**/*.rs"]),
DBUILD.bitflags.bazel19 srcs = glob(["**/*.rs"]),
/bootable/libbootloader/gbl/patches/
Drust-libcompiler-builtins-enable-chkstk-on-uefi.patch1 --- /tmp/x86.rs 2024-04-25 23:47:26.697256628 +0000
2 +++ x86.rs 2024-04-25 23:47:33.253251743 +0000
/bootable/libbootloader/gbl/libgbl/
DBUILD20 ["**/*.rs"],
21 exclude = ["tests/**/*.rs"],
71 srcs = ["tests/integration_tests.rs"],
/bootable/libbootloader/gbl/libfdt/
DBUILD61 outs = ["src/libfdt_c_Def.rs"],
74 srcs = ["src/lib.rs"],
/bootable/libbootloader/gbl/libbootconfig/
DBUILD23 srcs = ["src/lib.rs"],

12