Searched refs:fn (Results 1 – 7 of 7) sorted by relevance
/bootable/recovery/otautil/ |
D | sysutil.cpp | 185 bool MemMapping::MapFile(const std::string& fn) { in MapFile() argument 186 if (fn.empty()) { in MapFile() 191 if (fn[0] == '@') { in MapFile() 193 if (!MapBlockFile(fn.substr(1))) { in MapFile() 194 LOG(ERROR) << "Map of '" << fn << "' failed"; in MapFile() 199 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in MapFile() 201 PLOG(ERROR) << "Unable to open '" << fn << "'"; in MapFile() 206 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 | 75 Function fn; member 80 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 81 fn(fn), in Expr() 117 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 | 710 static void DeleteFile(const std::string& fn) { in DeleteFile() argument 711 if (fn.empty()) return; in DeleteFile() 713 LOG(INFO) << "deleting " << fn; in DeleteFile() 715 if (unlink(fn.c_str()) == -1 && errno != ENOENT) { in DeleteFile() 716 PLOG(ERROR) << "unlink \"" << fn << "\" failed"; in DeleteFile() 759 std::string fn = GetStashFileName(params.stashbase, id, ""); in LoadStash() local 762 if (stat(fn.c_str(), &sb) == -1) { in LoadStash() 764 PLOG(ERROR) << "stat \"" << fn << "\" failed"; in LoadStash() 770 LOG(INFO) << " loading " << fn; in LoadStash() 773 LOG(ERROR) << fn << " size " << sb.st_size << " not multiple of block size " << BLOCKSIZE; in LoadStash() [all …]
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 243 …�ERCP ����������//adfn�… 4209 �jԏ�{�c3B�b����@HPiߟ���#D;��R��VF�~�� ��:o�{�|\��;,)<�=����fn��ǐ��� >���Y1v�HD|�M ��O��KGb…
|