/bootable/recovery/tools/ota/ |
H A D | check-lost+found.c | 76 char fn[PATH_MAX]; local 77 snprintf(fn, sizeof(fn), "%s/%s", kPartitions[i], "dirty"); 78 fd = open(fn, O_WRONLY|O_CREAT, 0444); 80 write(fd, fn, sizeof(fn)); // write, you know, some data 82 unlink(fn); 98 char fn[PATH_MAX]; local 99 snprintf(fn, sizeof(fn), " [all...] |
/bootable/recovery/ |
H A D | interlace-frames.py | 28 frames = [Image.open(fn).convert("RGB") for fn in sys.argv[1:-1]] 41 for fn, f in enumerate(frames): 42 out.putpixel((i, j*N+fn), f.getpixel((i, j)))
|
H A D | bootloader.cpp | 146 static void wait_for_device(const char* fn) { argument 152 ret = stat(fn, &buf); 154 printf("stat %s try %d: %s\n", fn, tries, strerror(errno)); 159 printf("failed to stat %s\n", fn);
|
H A D | recovery.cpp | 722 static void file_to_ui(const char* fn) { argument 723 FILE *fp = fopen_path(fn, "re"); 725 ui->Print(" Unable to open %s: %s\n", fn, strerror(errno));
|
/bootable/recovery/minzip/ |
H A D | SysUtil.h | 33 * Map a file into a private, read-only memory segment. If 'fn' 39 int sysMapFile(const char* fn, MemMapping* pMap);
|
H A D | SysUtil.c | 161 int sysMapFile(const char* fn, MemMapping* pMap) argument 165 if (fn && fn[0] == '@') { 167 FILE* mapf = fopen(fn+1, "r"); 169 LOGV("Unable to open '%s': %s\n", fn+1, strerror(errno)); 174 LOGW("Map of '%s' failed\n", fn); 181 int fd = open(fn, O_RDONLY, 0); 183 LOGE("Unable to open '%s': %s\n", fn, strerror(errno)); 188 LOGE("Map of '%s' failed\n", fn);
|
H A D | Zip.h | 229 void (*callback)(const char *fn, void*), void *cookie,
|
H A D | Zip.c | 877 void (*callback)(const char *fn, void *), void *cookie, 874 mzExtractRecursive(const ZipArchive *pArchive, const char *zipDir, const char *targetDir, int flags, const struct utimbuf *timestamp, void (*callback)(const char *fn, void *), void *cookie, struct selabel_handle *sehnd) argument
|
/bootable/recovery/applypatch/ |
H A D | imgdiff_test.sh | 81 local fn=$1 84 unzip -p $START_OTA_PACKAGE $fn > $tmpdir/source 85 unzip -p $END_OTA_PACKAGE $fn > $tmpdir/target 88 echo "patch for $fn is $(size $tmpdir/patch) [of $(size $tmpdir/target)] ($(size $tmpdir/patch.bs) with bsdiff)" 89 echo "$fn $(size $tmpdir/patch) of $(size $tmpdir/target) bsdiff $(size $tmpdir/patch.bs)" >> /tmp/stats.txt 96 || fail "applypatch of $fn failed"
|
/bootable/recovery/edify/ |
H A D | expr.h | 61 Function fn; member in struct:Expr 97 Expr* Build(Function fn, YYLTYPE loc, int count, ...); 114 Function fn; member in struct:__anon6 119 void RegisterFunction(const char* name, Function fn);
|
H A D | parser.y | 74 $$->fn = Literal; 95 $$->fn = FindFunction($1); 96 if ($$->fn == NULL) {
|
H A D | expr.c | 36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); 49 return expr->fn(expr->name, state, expr->argc, expr->argv); 325 Expr* Build(Function fn, YYLTYPE loc, int count, ...) { argument 329 e->fn = fn; 351 void RegisterFunction(const char* name, Function fn) { argument 357 fn_table[fn_entries].fn = fn; 379 return nf->fn;
|
H A D | main.c | 165 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end,
|
/bootable/recovery/uncrypt/ |
H A D | uncrypt.c | 159 char* fn = NULL; local 177 fn = strdup(temp + strlen("--update_package=")); 186 if (fn) { 187 char* newline = strchr(fn, '\n'); 190 return fn;
|
/bootable/recovery/minadbd/ |
H A D | fdevent.c | 47 static void fatal(const char *fn, const char *fmt, ...) argument 51 fprintf(stderr, "%s:", fn);
|