Lines Matching refs:result
45 std::string result; in GetStringWithDefault() local
46 if (osrelease.GetString(key, &result)) in GetStringWithDefault()
47 return result; in GetStringWithDefault()
60 ImageProperties result; in LoadImageProperties() local
64 result.product_id = GetStringWithDefault( in LoadImageProperties()
66 result.canary_product_id = result.product_id; in LoadImageProperties()
67 result.version = GetStringWithDefault(osrelease, kProductVersion, "0.0.0.0"); in LoadImageProperties()
69 result.board = "brillo"; in LoadImageProperties()
82 result.current_channel = current_channel; in LoadImageProperties()
85 result.omaha_url = constants::kOmahaDefaultProductionURL; in LoadImageProperties()
87 return result; in LoadImageProperties()
91 MutableImageProperties result; in LoadMutableImageProperties() local
93 if (!prefs->GetString(kPrefsImgPropChannelName, &result.target_channel)) in LoadMutableImageProperties()
94 result.target_channel.clear(); in LoadMutableImageProperties()
96 &result.is_powerwash_allowed)) { in LoadMutableImageProperties()
97 result.is_powerwash_allowed = false; in LoadMutableImageProperties()
99 return result; in LoadMutableImageProperties()