Searched refs:fn (Results 1 - 15 of 15) sorted by relevance

/bootable/recovery/tools/ota/
H A Dcheck-lost+found.c76 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 Dinterlace-frames.py28 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 Dbootloader.cpp146 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 Drecovery.cpp722 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 DSysUtil.h33 * Map a file into a private, read-only memory segment. If 'fn'
39 int sysMapFile(const char* fn, MemMapping* pMap);
H A DSysUtil.c161 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 DZip.h229 void (*callback)(const char *fn, void*), void *cookie,
H A DZip.c877 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 Dimgdiff_test.sh81 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 Dexpr.h61 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 Dparser.y74 $$->fn = Literal;
95 $$->fn = FindFunction($1);
96 if ($$->fn == NULL) {
H A Dexpr.c36 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 Dmain.c165 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end,
/bootable/recovery/uncrypt/
H A Duncrypt.c159 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 Dfdevent.c47 static void fatal(const char *fn, const char *fmt, ...) argument
51 fprintf(stderr, "%s:", fn);

Completed in 625 milliseconds