Home
last modified time | relevance | path

Searched refs:start (Results 1 – 17 of 17) sorted by relevance

/bootable/recovery/edify/
Dyydefs.h22 int start, end; member
28 (Current).start = YYRHSLOC(Rhs, 1).start; \
31 (Current).start = YYRHSLOC(Rhs, 0).start; \
Dparser.yy47 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);
Dedify_parser.cpp40 n->name.c_str(), n->fn, n->start, n->end, in ExprDump()
41 script.substr(n->start, n->end - n->start).c_str()); in ExprDump()
Dexpr.h78 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);
Dexpr.cpp129 int len = argv[i]->end - argv[i]->start; in AssertFn()
130 state->errmsg = "assert failed: " + state->script.substr(argv[i]->start, len); in AssertFn()
356 std::vector<std::string>* args, size_t start, size_t len) { in ReadArgs() argument
360 if (start + len > argv.size()) { in ReadArgs()
363 for (size_t i = start; i < start + len; ++i) { in ReadArgs()
382 std::vector<std::unique_ptr<Value>>* args, size_t start, size_t len) { in ReadValueArgs() argument
386 if (len == 0 || start + len > argv.size()) { in ReadValueArgs()
389 for (size_t i = start; i < start + len; ++i) { in ReadValueArgs()
Dlexer.ll31 #define ADVANCE do {yylloc.start=gPos; yylloc.end=gPos+yyleng; \
46 yylloc.start = gPos;
DREADME.md40 - Comments start with "#" and run to the end of the line.
/bootable/recovery/otautil/
DSysUtil.cpp125 size_t start, end; in MapBlockFile() local
126 if (sscanf(line.c_str(), "%zu %zu\n", &start, &end) != 2) { in MapBlockFile()
131 size_t range_size = (end - start) * blksize; in MapBlockFile()
132 if (end <= start || (end - start) > SIZE_MAX / blksize || range_size > remaining_size) { in MapBlockFile()
133 LOG(ERROR) << "Invalid range: " << start << " " << end; in MapBlockFile()
139 static_cast<off64_t>(start) * blksize); in MapBlockFile()
/bootable/recovery/etc/
Dinit.rc7 start ueventd
60 # Mount filesystems and start core system services.
94 # Always start adbd on userdebug and eng builds
97 start adbd
/bootable/recovery/applypatch/
Dapplypatch.cpp243 size_t start = 0; in WriteToPartition() local
246 if (TEMP_FAILURE_RETRY(lseek(fd, start, SEEK_SET)) == -1) { in WriteToPartition()
250 while (start < len) { in WriteToPartition()
251 size_t to_write = len - start; in WriteToPartition()
254 ssize_t written = TEMP_FAILURE_RETRY(ota_write(fd, data + start, to_write)); in WriteToPartition()
259 start += written; in WriteToPartition()
295 start = len; in WriteToPartition()
320 start = p; in WriteToPartition()
325 if (start == len) { in WriteToPartition()
Dimgdiff.cpp171 ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, size_t raw_data_len) in ImageChunk() argument
173 start_(start), in ImageChunk()
/bootable/recovery/updater/include/updater/
Drangeset.h96 size_t start = range.first; in Overlaps() local
102 if (!(other_start >= end || start >= other_end)) { in Overlaps()
/bootable/recovery/uncrypt/
Duncrypt.cpp511 auto start = std::chrono::system_clock::now(); in uncrypt_wrapper() local
513 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in uncrypt_wrapper()
/bootable/recovery/updater/
Dblockimg.cpp883 size_t start = locs.blocks(); in MoveRange() local
887 start -= blocks; in MoveRange()
888 memmove(to + (it->first * BLOCKSIZE), from + (start * BLOCKSIZE), blocks * BLOCKSIZE); in MoveRange()
1522 size_t start = 2; in PerformBlockImageUpdate() local
1547 start += 2; in PerformBlockImageUpdate()
1562 for (auto it = lines.cbegin() + start; it != lines.cend(); it++) { in PerformBlockImageUpdate()
/bootable/recovery/
Drecovery.cpp250 auto start = std::chrono::steady_clock::now(); in redirect_stdio() local
273 now - start).count(); in redirect_stdio()
1381 time_t start = time(NULL); in main() local
1387 printf("Starting recovery (pid %d) on %s", getpid(), ctime(&start)); in main()
Dinstall.cpp624 auto start = std::chrono::system_clock::now(); in install_package() local
640 std::chrono::duration<double> duration = std::chrono::system_clock::now() - start; in install_package()
Dscreen_ui.cpp409 double start = now(); in ProgressThreadLoop() local
448 double delay = interval - (end - start); in ProgressThreadLoop()