Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DSysUtil.c24 off_t start, end; in getFileStartAndLength() local
30 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
32 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
34 if (start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
39 length = end - start; in getFileStartAndLength()
45 *start_ = start; in getFileStartAndLength()
60 off_t start; in sysMapFD() local
66 if (getFileStartAndLength(fd, &start, &length) < 0) in sysMapFD()
69 memPtr = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, start); in sysMapFD()
72 fd, (int) start, strerror(errno)); in sysMapFD()
[all …]
/bootable/recovery/edify/
Dyydefs.h22 int start, end; member
28 (Current).start = YYRHSLOC(Rhs, 1).start; \
31 (Current).start = YYRHSLOC(Rhs, 0).start; \
Dparser.y78 $$->start = @$.start;
81 | '(' expr ')' { $$ = $2; $$->start=@$.start; $$->end=@$.end; }
82 | expr ';' { $$ = $1; $$->start=@1.start; $$->end=@1.end; }
84 | error ';' expr { $$ = $3; $$->start=@$.start; $$->end=@$.end; }
105 $$->start = @$.start;
Dlexer.l32 #define ADVANCE do {yylloc.start=gPos; yylloc.end=gPos+yyleng; \
47 yylloc.start = gPos;
Dmain.c165 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
166 script+n->start); in ExprDump()
Dexpr.c151 int len = argv[i]->end - argv[i]->start; in AssertFn()
155 memcpy(err_src + prefix_len, state->script + argv[i]->start, len); in AssertFn()
338 e->start = loc.start; in Build()
Dexpr.h65 int start, end; member
DREADME37 - Comments start with "#" and run to the end of the line.
/bootable/recovery/applypatch/
Dbsdiff.c60 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h) in split() argument
65 for(k=start;k<start+len;k+=j) { in split()
67 for(i=1;k+i<start+len;i++) { in split()
83 x=V[I[start+len/2]+h]; in split()
85 for(i=start;i<start+len;i++) { in split()
89 jj+=start;kk+=jj; in split()
91 i=start;j=0;k=0; in split()
113 if(jj>start) split(I,V,start,jj-start,h); in split()
118 if(start+len>kk) split(I,V,kk,start+len-kk,h); in split()
Dimgdiff.c138 size_t start; // offset of chunk in original image file member
292 curr->start = 0; in ReadZip()
307 curr->start = pos; in ReadZip()
348 curr->start = pos; in ReadZip()
417 curr->start = pos; in ReadImage()
438 curr->start = pos; in ReadImage()
472 curr->start = pos; in ReadImage()
498 curr->start = pos; in ReadImage()
657 tgt->source_start = src->start; in MakePatch()
724 (chunks[in_end].start == in MergeAdjacentNormalChunks()
[all …]
Dapplypatch.c415 size_t start = 0; in WriteToPartition() local
425 lseek(fd, start, SEEK_SET); in WriteToPartition()
426 while (start < len) { in WriteToPartition()
427 size_t to_write = len - start; in WriteToPartition()
430 ssize_t written = write(fd, data+start, to_write); in WriteToPartition()
440 start += written; in WriteToPartition()
471 start = len; in WriteToPartition()
498 start = p; in WriteToPartition()
503 if (start == len) { in WriteToPartition()
/bootable/recovery/etc/
Dinit.rc11 start ueventd
12 start healthd
63 # Mount filesystems and start core system services.
100 # Always start adbd on userdebug and eng builds
103 start adbd
/bootable/recovery/tools/ota/
Dcheck-lost+found.c57 time_t start = time(NULL); in main() local
58 fprintf(out, "*** check-lost+found ***\nStarted: %s", ctime(&start)); in main()
/bootable/recovery/minui/
Dgraphics.c316 time_t start = time(NULL);
346 printf("start %ld end %ld\n", (long)start, (long)end);
347 if (end > start) {
348 printf("%.2f fps\n", ((double)x) / (end-start));
/bootable/recovery/minadbd/
Dsysdeps.h417 static __inline__ int adb_thread_create( adb_thread_t *pthread, adb_thread_func_t start, void* … in adb_thread_create() argument
424 return pthread_create( pthread, &attr, start, arg ); in adb_thread_create()
/bootable/recovery/
Dscreen_ui.cpp291 double start = now(); in progress_loop() local
321 double delay = interval - (end-start); in progress_loop()
Drecovery.cpp984 time_t start = time(NULL); in main() local
1000 printf("Starting recovery (pid %d) on %s", getpid(), ctime(&start)); in main()
/bootable/recovery/updater/
Dblockimg.c289 int start = locs->size; in MoveRange() local
293 start -= blocks; in MoveRange()
294 memmove(dest + (locs->pos[i*2] * BLOCKSIZE), source + (start * BLOCKSIZE), in MoveRange()
DNOTICE289 to attach them to the start of each source file to most effectively
/bootable/recovery/mtdutils/
Dmtdutils.c429 erase_info.start = pos; in write_block()
535 erase_info.start = pos; in mtd_erase_blocks()