Searched refs:lsb_release (Results 1 – 3 of 3) sorted by relevance
73 std::string lsb_release("FOO=1234123.34.5\n"); in TEST_F() local74 lsb_release.append(base::SysInfo::GetLinuxStandardBaseVersionKey()); in TEST_F()75 lsb_release.append("=1.2.3.4\n"); in TEST_F()76 base::SysInfo::ParseLsbRelease(lsb_release, in TEST_F()89 std::string lsb_release(base::SysInfo::GetLinuxStandardBaseVersionKey()); in TEST_F() local90 lsb_release.append("=1.2.3.4\n"); in TEST_F()91 lsb_release.append("FOO=1234123.34.5\n"); in TEST_F()92 base::SysInfo::ParseLsbRelease(lsb_release, in TEST_F()105 std::string lsb_release("FOO=1234123.34.5\n"); in TEST_F() local106 base::SysInfo::ParseLsbRelease(lsb_release, in TEST_F()
42 void SysInfo::ParseLsbRelease(const std::string& lsb_release, in ParseLsbRelease() argument46 size_t version_key_index = lsb_release.find(kLinuxStandardBaseVersionKey); in ParseLsbRelease()50 size_t start_index = lsb_release.find_first_of('=', version_key_index); in ParseLsbRelease()52 size_t length = lsb_release.find_first_of('\n', start_index) - start_index; in ParseLsbRelease()53 std::string version = lsb_release.substr(start_index, length); in ParseLsbRelease()
82 static void ParseLsbRelease(const std::string& lsb_release,