HomeSort by relevance Sort by last modified time
    Searched refs:Partition (Results 1 - 25 of 64) sorted by null

1 2 3

  /bootable/recovery/applypatch/include/applypatch/
applypatch.h 48 struct Partition {
49 Partition() = default;
51 Partition(const std::string& name, size_t size, const std::string& hash)
54 // Parses and returns the given string into a Partition object. The input string is of the form
55 // "EMMC:<device>:<size>:<hash>". Returns the parsed Partition, or an empty object on error.
56 static Partition Parse(const std::string& partition, std::string* err);
60 // Returns whether the current Partition object is valid.
70 std::ostream& operator<<(std::ostream& os, const Partition& partition);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/
Mbr.c 7 first sector of the active partition into memory and
26 #include "Partition.h"
59 if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) == 0) {
64 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA);
65 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1;
79 DEBUG((EFI_D_INFO, "PartitionValidMbr: Bad MBR partition size EndingLBA(%1x) > LastLBA(%1x)\n", EndingLBA, LastLba));
85 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) == 0) {
89 NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) - 1;
    [all...]
PartitionDxe.inf 2 # Modules that produces the logic Block I/O protocol for every partition via the physical Block I/O.
6 # The partition of physical BlockIo device supported is one of legacy MBR, GPT,
10 # This driver will have external input - disk partition.
49 Partition.c
50 Partition.h
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
EmmcDxe.c 156 DEBUG((DEBUG_INFO, " Boot partition size 0x%x\n", ExtCsd->BootSizeMult));
164 DEBUG((DEBUG_INFO, " Partition switching timing 0x%x\n", ExtCsd->PartitionSwitchTime));
176 DEBUG((DEBUG_INFO, " Partition configuration 0x%x\n", ExtCsd->PartitionConfig));
191 DEBUG((DEBUG_INFO, " General Purpose Partition 1 Size 0x%02x%02x%02x\n", \
193 DEBUG((DEBUG_INFO, " General Purpose Partition 2 Size 0x%02x%02x%02x\n", \
195 DEBUG((DEBUG_INFO, " General Purpose Partition 3 Size 0x%02x%02x%02x\n", \
197 DEBUG((DEBUG_INFO, " General Purpose Partition 4 Size 0x%02x%02x%02x\n", \
254 EMMC_PARTITION *Partition;
321 DEBUG ((EFI_D_ERROR, "The EMMC device doesn't support Partition Feature!!!\n"));
326 Partition = &Device->Partition[Index];
    [all...]
EmmcBlockIo.c 302 @param[in] Partition A pointer to the EMMC_PARTITION instance.
316 IN EMMC_PARTITION *Partition,
332 Device = Partition->Device;
343 InsertTailList (&Partition->Queue, &SetExtCsdReq->Link);
411 @param[in] Partition A pointer to the EMMC_PARTITION instance.
424 IN EMMC_PARTITION *Partition,
438 Device = Partition->Device;
449 InsertTailList (&Partition->Queue, &SetBlkCntReq->Link);
513 @param[in] Partition A pointer to the EMMC_PARTITION instance.
536 IN EMMC_PARTITION *Partition,
    [all...]
ComponentName.c 189 EMMC_PARTITION *Partition;
229 Partition = EMMC_PARTITION_DATA_FROM_BLKIO (BlockIo);
230 Device = Partition->Device;
  /device/linaro/bootloader/edk2/FatPkg/FatPei/
Part.c 2 Routines supporting partition discovery and
23 is ported from DXE partition driver.
41 is ported from DXE partition driver.
89 is ported from DXE partition driver.
281 // Register this partition
340 if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) == 0) {
345 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA);
346 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1;
363 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_INT32 (Mbr->Partition[Index2].SizeInLBA) == 0) {
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/cpu/
shape_partition_test.cc 96 typedef std::vector<std::pair<int64, int64>> Partition;
105 EXPECT_TRUE(absl::c_equal(Partition({{0, 5}}), iterator.GetPartition(0)));
111 EXPECT_TRUE(absl::c_equal(Partition({{0, 2}}), iterator.GetPartition(0)));
112 EXPECT_TRUE(absl::c_equal(Partition({{2, 3}}), iterator.GetPartition(1)));
118 EXPECT_TRUE(absl::c_equal(Partition({{0, 1}}), iterator.GetPartition(0)));
119 EXPECT_TRUE(absl::c_equal(Partition({{1, 1}}), iterator.GetPartition(1)));
120 EXPECT_TRUE(absl::c_equal(Partition({{2, 3}}), iterator.GetPartition(2)));
131 absl::c_equal(Partition({{0, 5}, {0, 3}}), iterator.GetPartition(0)));
138 absl::c_equal(Partition({{0, 2}, {0, 1}}), iterator.GetPartition(0)));
140 absl::c_equal(Partition({{0, 2}, {1, 2}}), iterator.GetPartition(1)))
    [all...]
  /bootable/recovery/tests/unit/
applypatch_test.cpp 61 source_partition = Partition(source_file, source_size, source_sha1);
62 target_partition = Partition(partition_file.path, target_size, target_sha1);
87 Partition source_partition;
88 Partition target_partition;
100 ASSERT_FALSE(CheckPartition(Partition(source_file, target_size, target_sha1)));
101 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size, bad_sha1_a)));
103 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size - 1, source_sha1)));
104 ASSERT_FALSE(CheckPartition(Partition(source_file, source_size + 1, source_sha1)));
111 PatchPartitionCheck(Partition(source_file, source_size - 1, source_sha1), source_partition));
114 PatchPartitionCheck(Partition(source_file, source_size + 1, source_sha1), source_partition))
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
Mbr.h 32 /// MBR Partition Entry
48 /// MBR Partition Table
54 MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS];
  /bootable/recovery/applypatch/
applypatch.cpp 49 static bool GenerateTarget(const Partition& target, const FileContents& source_file,
69 // Reads the contents of a Partition to the given FileContents buffer.
70 static bool ReadPartitionToBuffer(const Partition& partition, FileContents* out,
73 if (ParseSha1(partition.hash, expected_sha1) != 0) {
74 LOG(ERROR) << "Failed to parse target hash \"" << partition.hash << "\"";
78 android::base::unique_fd dev(open(partition.name.c_str(), O_RDONLY));
80 PLOG(ERROR) << "Failed to open eMMC partition \"" << partition << "\"";
82 std::vector<unsigned char> buffer(partition.size)
149 PLOG(ERROR) << "Failed to seek to " << start << " on \\"" << partition << "\\""; local
    [all...]
applypatch_modes.cpp 40 auto target = Partition::Parse(target_emmc, &err);
50 auto target = Partition::Parse(target_emmc, &err);
61 auto target = Partition::Parse(target_emmc, &err);
67 auto source = Partition::Parse(source_emmc, &err);
  /external/llvm/include/llvm/Transforms/Scalar/
SROA.h 32 class Partition;
117 sroa::Partition &P);
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
SROA.h 43 class Partition;
129 sroa::Partition &P);
  /external/tensorflow/tensorflow/core/graph/
graph_partition.h 50 // partitioned and replicated into each resulting partition graphs.
81 // Partition "input" graph into a set of graphs, one per location.
83 // New nodes added by Partition use "opts.new_name(old_name)" to
87 Status Partition(const PartitionOptions& opts, Graph* input,
graph_partition_test.cc 76 void Partition(const GraphDef& graph_def,
97 Status s = Partition(popts, &g, partitions);
112 Partition(graph_def, &partitions);
244 Partition(ToGraphDef(), &partitions_);
257 Partition(ToGraphDef(), &partitions_);
278 Partition(ToGraphDef(), &partitions_);
302 Partition(ToGraphDef(), &partitions_);
325 Partition(ToGraphDef(), &partitions_);
350 Partition(ToGraphDef(), &partitions_);
398 Partition(ToGraphDef(), &partitions)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopDistribute.cpp 80 /// \brief Maintains the set of instructions of the loop for a partition before
91 /// \brief Returns whether this partition contains a dependence cycle.
94 /// \brief Adds an instruction to this partition.
104 /// \brief Moves this partition into \p Other. This partition becomes empty
112 /// \brief Populates the partition with a transitive closure of all the
148 /// \brief The cloned loop. If this partition is mapped to the original loop,
152 /// \brief Returns the loop where this partition ends up after distribution.
153 /// If this partition is mapped to the original loop then use the block from
168 /// \brief Based on the set of instructions selected for this partition,
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
BuildVersionTest.java 89 List<Build.Partition> partitions = Build.getFingerprintedPartitions();
91 for (Build.Partition partition : partitions) {
92 verifyFingerprintStructure(partition.getFingerprint());
93 assertTrue(partition.getBuildTimeMillis() > 0);
94 boolean unique = seenPartitions.add(partition.getName());
95 assertTrue("partitions not unique, " + partition.getName() + " is duplicated", unique);
97 assertTrue(seenPartitions.contains(Build.Partition.PARTITION_NAME_SYSTEM));
  /external/llvm/tools/lli/
OrcLazyJIT.h 138 std::set<Function*> Partition;
139 Partition.insert(&F);
140 return Partition;
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
AbstractCustomVirtualView.java 75 private final ArrayMap<String, Partition> mPartitionsByName = new ArrayMap<>();
182 * Creates a new partition with the given name.
184 * @throws IllegalArgumentException if such partition already exists.
186 public Partition addPartition(String name) {
189 "Partition with such name already exists.");
190 Partition partition = new Partition(name); local
191 mPartitionsByName.put(name, partition);
192 return partition;
    [all...]
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
AbstractCustomVirtualView.java 75 private final ArrayMap<String, Partition> mPartitionsByName = new ArrayMap<>();
182 * Creates a new partition with the given name.
184 * @throws IllegalArgumentException if such partition already exists.
186 public Partition addPartition(String name) {
189 "Partition with such name already exists.");
190 Partition partition = new Partition(name); local
191 mPartitionsByName.put(name, partition);
192 return partition;
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopDistribute.cpp 114 /// Maintains the set of instructions of the loop for a partition before
125 /// Returns whether this partition contains a dependence cycle.
128 /// Adds an instruction to this partition.
138 /// Moves this partition into \p Other. This partition becomes empty
146 /// Populates the partition with a transitive closure of all the
182 /// The cloned loop. If this partition is mapped to the original loop,
186 /// Returns the loop where this partition ends up after distribution.
187 /// If this partition is mapped to the original loop then use the block from
202 /// Based on the set of instructions selected for this partition,
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
MultiplePartitionsActivity.java 33 * <p>It has multiple partitions, but only accepts autofill on each partition at time.
42 * - Use different background color (or borders) for each partition.
50 private CustomVirtualView.Partition mCredentialsPartition;
51 private CustomVirtualView.Partition mCcPartition;
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
MultiplePartitionsActivity.java 33 * <p>It has multiple partitions, but only accepts autofill on each partition at time.
42 * - Use different background color (or borders) for each partition.
50 private CustomVirtualView.Partition mCredentialsPartition;
51 private CustomVirtualView.Partition mCcPartition;
  /external/tensorflow/tensorflow/lite/
graph_info.cc 51 // partitioner.Partition();
66 // Actually partition the graph.
67 void Partition() {
68 // Initialize here to make Partition() re-entrant.
229 .Partition();

Completed in 943 milliseconds

1 2 3