Home
last modified time | relevance | path

Searched refs:lsb_release (Results 1 – 3 of 3) sorted by relevance

/external/chromium/base/
Dsys_info_unittest.cc73 std::string lsb_release("FOO=1234123.34.5\n"); in TEST_F() local
74 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() local
90 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() local
106 base::SysInfo::ParseLsbRelease(lsb_release, in TEST_F()
Dsys_info_chromeos.cc42 void SysInfo::ParseLsbRelease(const std::string& lsb_release, in ParseLsbRelease() argument
46 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()
Dsys_info.h82 static void ParseLsbRelease(const std::string& lsb_release,