/bootable/recovery/edify/ |
D | yydefs.h | 22 int start, end; member 28 (Current).start = YYRHSLOC(Rhs, 1).start; \ 31 (Current).start = YYRHSLOC(Rhs, 0).start; \
|
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 | expr.cpp | 131 int len = argv[i]->end - argv[i]->start; in AssertFn() 132 state->errmsg = "assert failed: " + state->script.substr(argv[i]->start, len); in AssertFn() 358 std::vector<std::string>* args, size_t start, size_t len) { in ReadArgs() argument 362 if (start + len > argv.size()) { in ReadArgs() 365 for (size_t i = start; i < start + len; ++i) { in ReadArgs() 384 std::vector<std::unique_ptr<Value>>* args, size_t start, size_t len) { in ReadValueArgs() argument 388 if (len == 0 || start + len > argv.size()) { in ReadValueArgs() 391 for (size_t i = start; i < start + len; ++i) { in ReadValueArgs()
|
D | lexer.ll | 31 #define ADVANCE do {yylloc.start=gPos; yylloc.end=gPos+yyleng; \ 48 yylloc.start = gPos;
|
D | README.md | 40 - Comments start with "#" and run to the end of the line.
|
/bootable/recovery/otautil/ |
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() 157 for (const auto& [start, end] : block_map_data.block_ranges()) { in MapBlockFile() 158 size_t range_size = (end - start) * blksize; in MapBlockFile() 160 static_cast<off_t>(start) * blksize); in MapBlockFile() 162 PLOG(ERROR) << "failed to map range " << start << ": " << end; in MapBlockFile()
|
D | rangeset.cpp | 276 void SortedRangeSet::Insert(size_t start, size_t len) { in Insert() argument 277 Range to_insert{ start / kBlockSize, (start + len - 1) / kBlockSize + 1 }; in Insert() 281 bool SortedRangeSet::Overlaps(size_t start, size_t len) const { in Overlaps() argument 282 RangeSet rs({ { start / kBlockSize, (start + len - 1) / kBlockSize + 1 } }); in Overlaps() 299 for (const auto& [start, end] : ranges_) { in GetOffsetInRangeSet() 302 new_block_start += (end - start); in GetOffsetInRangeSet() 303 } else if (old_block_start >= start) { in GetOffsetInRangeSet() 304 new_block_start += (old_block_start - start); in GetOffsetInRangeSet()
|
/bootable/recovery/install/ |
D | package.cpp | 61 bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start, 109 bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start, 187 uint64_t start, uint64_t length) { in UpdateHashAtOffset() argument 188 if (length > package_size_ || start > package_size_ - length) { in UpdateHashAtOffset() 189 LOG(ERROR) << "Out of bound read, offset: " << start << ", size: " << length in UpdateHashAtOffset() 195 hasher(addr_ + start, length); in UpdateHashAtOffset() 243 uint64_t start, uint64_t length) { in UpdateHashAtOffset() argument 244 if (length > package_size_ || start > package_size_ - length) { in UpdateHashAtOffset() 245 LOG(ERROR) << "Out of bound read, offset: " << start << ", size: " << length in UpdateHashAtOffset() 254 if (!ReadFullyAtOffset(buffer.data(), read_size, start + so_far)) { in UpdateHashAtOffset()
|
D | install.cpp | 566 auto start = std::chrono::system_clock::now(); in InstallPackage() local 592 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in InstallPackage()
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 78 int start, end; member 80 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 83 start(start), in Expr() 133 std::vector<std::string>* args, size_t start, size_t len); 140 std::vector<std::unique_ptr<Value>>* args, size_t start, size_t len);
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 139 size_t start = 0; in WriteBufferToPartition() local 148 if (TEMP_FAILURE_RETRY(lseek(fd, start, SEEK_SET)) == -1) { in WriteBufferToPartition() 149 PLOG(ERROR) << "Failed to seek to " << start << " on \"" << partition << "\""; in WriteBufferToPartition() 153 if (!android::base::WriteFully(fd, data + start, len - start)) { in WriteBufferToPartition() 154 PLOG(ERROR) << "Failed to write " << len - start << " bytes to \"" << partition << "\""; in WriteBufferToPartition() 190 start = len; in WriteBufferToPartition() 204 start = p; in WriteBufferToPartition() 209 if (start == len) { in WriteBufferToPartition()
|
D | imgdiff.cpp | 197 static bool AlignHead(size_t* start, size_t* length) { in AlignHead() argument 198 size_t residual = (*start % BLOCK_SIZE == 0) ? 0 : BLOCK_SIZE - *start % BLOCK_SIZE; in AlignHead() 206 *start += residual; in AlignHead() 211 static bool AlignTail(size_t* start, size_t* length) { in AlignTail() argument 212 size_t residual = (*start + *length) % BLOCK_SIZE; in AlignTail() 226 static bool RemoveUsedBlocks(size_t* start, size_t* length, const SortedRangeSet& used_ranges) { in RemoveUsedBlocks() argument 227 if (!used_ranges.Overlaps(*start, *length)) { in RemoveUsedBlocks() 232 LOG(INFO) << "Removing block " << used_ranges.ToString() << " from " << *start << " - " in RemoveUsedBlocks() 233 << *start + *length - 1; in RemoveUsedBlocks() 237 if (AlignHead(start, length) && !used_ranges.Overlaps(*start, *length)) { in RemoveUsedBlocks() [all …]
|
/bootable/recovery/otautil/include/otautil/ |
D | rangeset.h | 160 void Insert(size_t start, size_t len); 164 bool Overlaps(size_t start, size_t len) const;
|
/bootable/recovery/minadbd/ |
D | README.md | 11 - The start / stop of `adbd` is managed via system property `sys.usb.config`, when setting to `adb` 17 - When requested to start `minadbd`, `recovery` stops `adbd` first, if it's running; it then forks
|
/bootable/recovery/ |
D | recovery_main.cpp | 267 auto start = std::chrono::steady_clock::now(); in redirect_stdio() local 288 std::chrono::duration_cast<std::chrono::duration<double>>(now - start).count(); in redirect_stdio() 333 time_t start = time(nullptr); in main() local 454 LOG(INFO) << "Starting recovery (pid " << getpid() << ") on " << ctime(&start); in main()
|
D | README.md | 87 start log as below. 103 # Always start adbd on userdebug and eng builds 106 start adbd
|
/bootable/recovery/etc/ |
D | init.rc | 11 start ueventd 51 # Mount filesystems and start core system services. 118 start adbd 121 start fastbootd
|
/bootable/recovery/install/include/install/ |
D | verifier.h | 73 virtual bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start,
|
/bootable/recovery/updater/ |
D | commands.cpp | 321 size_t start = locs.blocks(); in MoveRange() local 325 start -= blocks; in MoveRange() 326 memmove(to + (it->first * block_size), from + (start * block_size), blocks * block_size); in MoveRange()
|
D | blockimg.cpp | 967 size_t start = locs.blocks(); in MoveRange() local 971 start -= blocks; in MoveRange() 972 memmove(to + (it->first * BLOCKSIZE), from + (start * BLOCKSIZE), blocks * BLOCKSIZE); in MoveRange()
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 411 int start = lineBoundary.first(); in wrapText() local 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 | 41 ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, size_t raw_data_len,
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 530 auto start = std::chrono::system_clock::now(); in uncrypt_wrapper() local 532 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in uncrypt_wrapper()
|
/bootable/recovery/tests/unit/host/ |
D | imgdiff_test.cpp | 731 size_t start = 0; in ConstructImageChunks() local 734 chunks.emplace_back(CHUNK_NORMAL, start, &content, length, std::get<0>(t)); in ConstructImageChunks() 735 start += length; in ConstructImageChunks()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 771 double start = now(); in ProgressThreadLoop() local 810 double delay = interval - (end - start); in ProgressThreadLoop()
|