Home
last modified time | relevance | path

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

/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/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/recovery/otautil/include/otautil/
Drangeset.h157 void Insert(const SortedRangeSet& rs);
/bootable/recovery/updater/
Dblockimg.cpp2106 RangeSet rs = RangeSet::Parse(ranges->data); in RangeSha1Fn() local
2107 CHECK(static_cast<bool>(rs)); in RangeSha1Fn()
2113 for (const auto& [begin, end] : rs) { in RangeSha1Fn()
2231 RangeSet rs = RangeSet::Parse(ranges->data); in BlockImageRecoverFn() local
2232 if (!rs) { in BlockImageRecoverFn()
2268 for (const auto& [begin, end] : rs) { in BlockImageRecoverFn()
/bootable/recovery/tests/testdata/
Drecovery_body3762 "8�$2~����,��Ȗ�)IdJ�[Z[�*Sg�\9~<��`]�4L��]ti��S�c.��rs��y�br�&1ɐ]�d�������^h��1��…
4001 …b��L�h{�;��k�w�x�~���#OM~��*�N�P���/�1#���o�+o�?������kk�$�Ȍ?<U�oG�������OL��R�1��rs{3DE8G�
4024 < ��<>e��^��1u9 ̓X9�-ס�r˒�����(����U3$Kb5�rs�$ �<y�@�t�]���C�$ --Ɋ���r٥C.XE���?i,…
4045 …��C�lD���%�(HL�WS��Y�΅"+Bh�^����[<�ts�"#��Iޡ��Y�K�(gKh�C��P�wb��o=rs[��~�(�*-]Ҹ�|Ӿ����…
4226 …|�C2���F�Q�����C������g�yS>�U�@�"�VW��"fAy���q��b��'P�o�I@�[��~rs�w�X\lA� xt�����>�…
4798 ….�Z�4c2��.'�LF�7�!j��i��l���ゎB�~8KH�y��㰣W%��=o���t<lYAp-�B���>i�rs~�p�� ]J�pN�Yi�u�Z8�@…
5123 "��=nh�U��q���X�ǃ�♜�_Z���J�����X�C i�0$M͐�]#lgH���2�N�n����������rs ��-���>�Ɔ��-z�1�"��>j�ʪ2…