/bootable/recovery/edify/ |
D | yydefs.h | 22 int start, end; member 29 (Current).end = YYRHSLOC(Rhs, N).end; \ 32 (Current).end = YYRHSLOC(Rhs, 0).end; \
|
D | parser.yy | 47 Expr* e = new Expr(fn, "(operator)", loc.start, loc.end); 92 $$ = new Expr(Literal, $1, @$.start, @$.end); 94 | '(' expr ')' { $$ = $2; $$->start=@$.start; $$->end=@$.end; } 95 | expr ';' { $$ = $1; $$->start=@1.start; $$->end=@1.end; } 97 | error ';' expr { $$ = $3; $$->start=@$.start; $$->end=@$.end; } 113 $$ = new Expr(fn, $1, @$.start, @$.end);
|
D | lexer.ll | 31 #define ADVANCE do {yylloc.start=gPos; yylloc.end=gPos+yyleng; \ 59 yylloc.end = gPos;
|
D | expr.cpp | 131 int len = argv[i]->end - argv[i]->start; in AssertFn() 325 if (fn_table.find(name) == fn_table.end()) { in FindFunction()
|
D | README.md | 40 - Comments start with "#" and run to the end of the line.
|
/bootable/recovery/otautil/ |
D | rangeset.cpp | 151 for (const auto& [begin, end] : ranges_) { in ToString() 152 result += android::base::StringPrintf(",%zu,%zu", begin, end); in ToString() 162 for (const auto& [begin, end] : ranges_) { in GetBlockNumber() 163 if (idx < end - begin) { in GetBlockNumber() 166 idx -= (end - begin); in GetBlockNumber() 176 for (const auto& [begin, end] : ranges_) { in Overlaps() 179 if (!(other_begin >= end || begin >= other_end)) { in Overlaps() 189 std::sort(ranges_.begin(), ranges_.end()); in SortedRangeSet() 204 std::copy(rs.begin(), rs.end(), std::back_inserter(temp)); in Insert() 205 std::sort(temp.begin(), temp.end()); in Insert() [all …]
|
D | sysutil.cpp | 83 uint64_t start, end; in ParseBlockMapFile() local 84 if (sscanf(line.c_str(), "%" SCNu64 "%" SCNu64, &start, &end) != 2) { in ParseBlockMapFile() 88 uint64_t range_blocks = end - start; in ParseBlockMapFile() 89 if (end <= start || range_blocks > remaining_blocks) { in ParseBlockMapFile() 90 LOG(ERROR) << "Invalid range: " << start << " " << end; in ParseBlockMapFile() 93 ranges.PushBack({ start, end }); in ParseBlockMapFile() 152 for (const auto& [start, end] : block_map_data.block_ranges()) { in MapBlockFile() 153 size_t range_size = (end - start) * blksize; in MapBlockFile() 157 PLOG(ERROR) << "failed to map range " << start << ": " << end; in MapBlockFile()
|
/bootable/recovery/otautil/include/otautil/ |
D | rangeset.h | 82 std::vector<Range>::iterator end() { in end() function 83 return ranges_.end(); in end() 90 std::vector<Range>::const_iterator end() const { in end() function 91 return ranges_.end(); in end()
|
/bootable/recovery/tests/unit/ |
D | parse_install_logs_test.cpp | 38 ASSERT_EQ(metrics.end(), metrics.find("ota_sideload")); in TEST() 42 ASSERT_NE(metrics.end(), metrics.find("ota_sideload")); in TEST()
|
D | package_test.cpp | 68 ASSERT_EQ(file_content_, std::string(buffer.begin(), buffer.end())); in TEST_F() 71 ASSERT_EQ(file_content_.substr(10), std::string(buffer.begin(), buffer.end() - 10)); in TEST_F() 115 ASSERT_EQ(entry_name, std::string(extracted.begin(), extracted.end())); in TEST_F()
|
/bootable/recovery/install/ |
D | fuse_sdcard_install.cpp | 82 std::sort(dirs.begin(), dirs.end()); in BrowseDirectory() 83 std::sort(entries.begin(), entries.end()); in BrowseDirectory() 86 entries.insert(entries.end(), dirs.begin(), dirs.end()); in BrowseDirectory()
|
/bootable/recovery/tests/component/ |
D | update_verifier_test.cpp | 66 if (partition.find("name") != partition.end()) { in ConstructProto() 69 if (partition.find("ranges") != partition.end()) { in ConstructProto() 72 if (partition.find("id") != partition.end()) { in ConstructProto() 75 if (partition.find("fingerprint") != partition.end()) { in ConstructProto()
|
D | verifier_test.cpp | 48 std::vector<uint8_t>(testkey_string.begin(), testkey_string.end()), cert)); in LoadKeyFromFile() 54 Package::CreateMemoryPackage(std::vector<uint8_t>(content.begin(), content.end()), nullptr); in VerifyFile() 103 std::vector<uint8_t>(testkey_string.begin(), testkey_string.end()), &cert)); in TEST()
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 77 int start, end; member 79 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 83 end(end) {} in Expr()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 479 for (const auto& [begin, end] : src) { in ReadBlocks() 484 size_t size = (end - begin) * BLOCKSIZE; in ReadBlocks() 499 for (const auto& [begin, end] : tgt) { in WriteBlocks() 501 size_t size = (end - begin) * BLOCKSIZE; in WriteBlocks() 633 if (stash_map.find(id) == stash_map.end()) { in PrintHashForMissingStashedBlocks() 735 if (stash_map.find(id) != stash_map.end()) { in LoadStash() 790 if (stash_map.find(id) == stash_map.end()) { in LoadStash() 1285 for (const auto& [begin, end] : tgt) { in PerformCommandZero() 1287 size_t size = (end - begin) * BLOCKSIZE; in PerformCommandZero() 1296 for (size_t j = begin; j < end; ++j) { in PerformCommandZero() [all …]
|
D | dynamic_partitions.cpp | 87 std::transform(args.begin(), args.end(), std::back_inserter(ret), in ReadStringArgs() 297 std::transform(partitions.begin(), partitions.end(), std::back_inserter(partition_names), in ListPartitionNamesInGroup() 400 if (it == op_map.end()) { in UpdateDynamicPartitionsFn()
|
/bootable/recovery/recovery_ui/ |
D | device.cpp | 58 std::remove_if(g_menu_actions.begin(), g_menu_actions.end(), in RemoveMenuItemForAction()
|
D | screen_ui.cpp | 801 double end = now(); in ProgressThreadLoop() local 803 double delay = interval - (end - start); in ProgressThreadLoop() 949 std::sort(intro_frame_names.begin(), intro_frame_names.end()); in LoadAnimation() 950 std::sort(loop_frame_names.begin(), loop_frame_names.end()); in LoadAnimation()
|
/bootable/recovery/applypatch/ |
D | freecache.cpp | 116 return std::vector<std::string>(files.begin(), files.end()); in FindExpendableFiles() 223 std::sort(files.begin(), files.end(), comparator); in RemoveFilesInDirectory()
|
D | imgdiff.cpp | 309 uncompressed_data_.insert(uncompressed_data_.end(), bonus_data.begin(), bonus_data.end()); in SetBonusData() 609 chunks_.erase(chunks_.begin() + merged_last, chunks_.end()); in MergeAdjacentNormalChunks() 699 std::sort(temp_entries.begin(), temp_entries.end(), in InitializeChunks() 1024 aligned_tgt_chunks.insert(aligned_tgt_chunks.end(), split_tgt_chunks.begin() + i + 1, in AddSplitImageFromChunkList() 1025 split_tgt_chunks.end()); in AddSplitImageFromChunkList() 1045 size_t end = std::min(src_image.file_content_.size(), r.second * BLOCK_SIZE); in AddSplitImageFromChunkList() local 1046 src_content.insert(src_content.end(), src_image.file_content_.begin() + r.first * BLOCK_SIZE, in AddSplitImageFromChunkList() 1047 src_image.file_content_.begin() + end); in AddSplitImageFromChunkList()
|
D | applypatch.cpp | 64 file->data = std::vector<unsigned char>(data.begin(), data.end()); in LoadFileContents() 369 patched.data.insert(patched.data.end(), data, data + len); in GenerateTarget()
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 413 for (int end = lineBoundary.next(); end != BreakIterator.DONE; in wrapText() 414 start = end, end = lineBoundary.next()) { in wrapText() 415 String token = text.substring(start, end); in wrapText()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | imgdiff_image.h | 181 std::vector<ImageChunk>::iterator end() { in end() function 182 return chunks_.end(); in end()
|
/bootable/recovery/ |
D | recovery_main.cpp | 123 for (auto it = tokens.begin() + 1; it != tokens.end(); it++) { in get_args() 141 for (auto it = tokens.begin(); it != tokens.end(); it++) { in get_args()
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 164 auto allowed = kGetpropAllowedProps.find(prop) != kGetpropAllowedProps.end(); in RescueGetpropHostService()
|