Searched refs:fn (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/otautil/ |
D | sysutil.cpp | 180 bool MemMapping::MapFile(const std::string& fn) { in MapFile() argument 181 if (fn.empty()) { in MapFile() 186 if (fn[0] == '@') { in MapFile() 188 if (!MapBlockFile(fn.substr(1))) { in MapFile() 189 LOG(ERROR) << "Map of '" << fn << "' failed"; in MapFile() 194 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in MapFile() 196 PLOG(ERROR) << "Unable to open '" << fn << "'"; in MapFile() 201 LOG(ERROR) << "Map of '" << fn << "' failed"; in MapFile()
|
/bootable/recovery/ |
D | interlace-frames.py | 37 frames = [Image.open(fn).convert("RGB") for fn in inputs] 50 for fn, f in enumerate(frames): 51 out.putpixel((i, j*N+fn), f.getpixel((i, j)))
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 74 Function fn; member 79 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 80 fn(fn), in Expr() 116 void RegisterFunction(const std::string& name, Function fn);
|
/bootable/recovery/edify/ |
D | parser.yy | 44 static Expr* Build(Function fn, YYLTYPE loc, size_t count, ...) { 47 Expr* e = new Expr(fn, "(operator)", loc.start, loc.end); 107 Function fn = FindFunction($1); 108 if (fn == nullptr) { 113 $$ = new Expr(fn, $1, @$.start, @$.end);
|
D | expr.cpp | 50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate() 64 return expr->fn(expr->name.c_str(), state, expr->argv); in EvaluateValue() 320 void RegisterFunction(const std::string& name, Function fn) { in RegisterFunction() argument 321 fn_table[name] = fn; in RegisterFunction()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 705 static void DeleteFile(const std::string& fn) { in DeleteFile() argument 706 if (fn.empty()) return; in DeleteFile() 708 LOG(INFO) << "deleting " << fn; in DeleteFile() 710 if (unlink(fn.c_str()) == -1 && errno != ENOENT) { in DeleteFile() 711 PLOG(ERROR) << "unlink \"" << fn << "\" failed"; in DeleteFile() 754 std::string fn = GetStashFileName(params.stashbase, id, ""); in LoadStash() local 757 if (stat(fn.c_str(), &sb) == -1) { in LoadStash() 759 PLOG(ERROR) << "stat \"" << fn << "\" failed"; in LoadStash() 765 LOG(INFO) << " loading " << fn; in LoadStash() 768 LOG(ERROR) << fn << " size " << sb.st_size << " not multiple of block size " << BLOCKSIZE; in LoadStash() [all …]
|