Home
last modified time | relevance | path

Searched refs:end (Results 1 – 11 of 11) sorted by relevance

/bootable/recovery/tools/ota/
Dadd-property-tag.c49 char *end; in remove_tag() local
50 int num = strtoul(pos + strlen(tag), &end, 10); in remove_tag()
51 strcpy(pos, end); in remove_tag()
57 const char *end = line + strlen(line); in write_tagged() local
58 while (end > line && isspace(end[-1])) --end; in write_tagged()
60 fprintf(out, "%.*s%s%d%s", (int)(end - line), line, tag, number, end); in write_tagged()
62 fprintf(out, "%.*s%s%s", (int)(end - line), line, tag, end); in write_tagged()
/bootable/recovery/edify/
Dyydefs.h22 int start, end; member
29 (Current).end = YYRHSLOC(Rhs, N).end; \
32 (Current).end = YYRHSLOC(Rhs, 0).end; \
Dparser.y79 $$->end = @$.end;
81 | '(' expr ')' { $$ = $2; $$->start=@$.start; $$->end=@$.end; }
82 | expr ';' { $$ = $1; $$->start=@1.start; $$->end=@1.end; }
84 | error ';' expr { $$ = $3; $$->start=@$.start; $$->end=@$.end; }
106 $$->end = @$.end;
Dmain.c161 char temp = script[n->end]; in ExprDump()
162 script[n->end] = '\0'; in ExprDump()
164 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
166 script[n->end] = temp; in ExprDump()
Dlexer.l32 #define ADVANCE do {yylloc.start=gPos; yylloc.end=gPos+yyleng; \
59 yylloc.end = gPos;
Dexpr.c151 int len = argv[i]->end - argv[i]->start; in AssertFn()
286 char* end; in LessThanIntFn() local
288 long l_int = strtol(left, &end, 10); in LessThanIntFn()
289 if (left[0] == '\0' || *end != '\0') { in LessThanIntFn()
293 long r_int = strtol(right, &end, 10); in LessThanIntFn()
294 if (right[0] == '\0' || *end != '\0') { in LessThanIntFn()
339 e->end = loc.end; in Build()
Dexpr.h65 int start, end; member
DREADME37 - Comments start with "#" and run to the end of the line.
/bootable/recovery/minzip/
DSysUtil.c24 off_t start, end; in getFileStartAndLength() local
33 end = TEMP_FAILURE_RETRY(lseek(fd, 0L, SEEK_END)); in getFileStartAndLength()
36 start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
41 length = end - start; in getFileStartAndLength()
138 int start, end; in sysMapBlockFile() local
139 if (fscanf(mapf, "%d %d\n", &start, &end) != 2) { in sysMapBlockFile()
144 …void* addr = mmap64(next, (end-start)*blksize, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, ((off64_t)s… in sysMapBlockFile()
150 pMap->ranges[i].length = (end-start)*blksize; in sysMapBlockFile()
/bootable/recovery/minui/
Dgraphics.cpp346 time_t end = time(NULL);
348 printf("start %ld end %ld\n", (long)start, (long)end);
349 if (end > start) {
350 printf("%.2f fps\n", ((double)x) / (end-start));
/bootable/recovery/
Dscreen_ui.cpp353 double end = now(); in ProgressThreadLoop() local
355 double delay = interval - (end-start); in ProgressThreadLoop()