Home
last modified time | relevance | path

Searched refs:v (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/otautil/
Droots.cpp133 const FstabEntry* v = android::fs_mgr::GetEntryForPath(&fstab, volume); in format_volume() local
134 if (v == nullptr) { in format_volume()
138 if (v->fs_type == "ramdisk") { in format_volume()
142 if (v->mount_point != volume) { in format_volume()
147 LOG(ERROR) << "format_volume: Failed to unmount \"" << v->mount_point << "\""; in format_volume()
150 if (v->fs_type != "ext4" && v->fs_type != "f2fs") { in format_volume()
151 LOG(ERROR) << "format_volume: fs_type \"" << v->fs_type << "\" unsupported"; in format_volume()
157 if (!v->key_loc.empty() && v->key_loc[0] == '/') { in format_volume()
158 LOG(INFO) << "Wiping " << v->key_loc; in format_volume()
159 int fd = open(v->key_loc.c_str(), O_WRONLY | O_CREAT, 0644); in format_volume()
[all …]
Dmounts.cpp54 MountedVolume* v = new MountedVolume; in scan_mounted_volumes() local
55 v->device = e->mnt_fsname; in scan_mounted_volumes()
56 v->mount_point = e->mnt_dir; in scan_mounted_volumes()
57 v->filesystem = e->mnt_type; in scan_mounted_volumes()
58 v->flags = e->mnt_opts; in scan_mounted_volumes()
59 g_mounts_state.push_back(v); in scan_mounted_volumes()
/bootable/recovery/edify/
Dexpr.cpp50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate() local
51 if (!v) { in Evaluate()
54 if (v->type != Value::Type::STRING) { in Evaluate()
55 ErrorAbort(state, kArgsParsingFailure, "expecting string, got value type %d", v->type); in Evaluate()
59 *result = v->data; in Evaluate()
145 int v; in SleepFn() local
146 if (!android::base::ParseInt(val.c_str(), &v, 0)) { in SleepFn()
149 sleep(v); in SleepFn()
156 std::string v; in StdoutFn() local
157 if (!Evaluate(state, argv[i], &v)) { in StdoutFn()
[all …]
Dparser.yy45 va_list v;
46 va_start(v, count);
49 e->argv.emplace_back(va_arg(v, Expr*));
51 va_end(v);