OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lsb_release
(Results
1 - 9
of
9
) sorted by null
/external/chromium/base/
sys_info_unittest.cc
63
std::string
lsb_release
("FOO=1234123.34.5\n");
64
lsb_release
.append(base::SysInfo::GetLinuxStandardBaseVersionKey());
65
lsb_release
.append("=1.2.3.4\n");
66
base::SysInfo::ParseLsbRelease(
lsb_release
,
79
std::string
lsb_release
(base::SysInfo::GetLinuxStandardBaseVersionKey());
80
lsb_release
.append("=1.2.3.4\n");
81
lsb_release
.append("FOO=1234123.34.5\n");
82
base::SysInfo::ParseLsbRelease(
lsb_release
,
95
std::string
lsb_release
("FOO=1234123.34.5\n");
96
base::SysInfo::ParseLsbRelease(
lsb_release
,
[
all
...]
sys_info_chromeos.cc
77
void SysInfo::ParseLsbRelease(const std::string&
lsb_release
,
83
version_key_index =
lsb_release
.find(kLinuxStandardBaseVersionKeys[i]);
92
size_t start_index =
lsb_release
.find_first_of('=', version_key_index);
94
size_t length =
lsb_release
.find_first_of('\n', start_index) - start_index;
95
std::string version =
lsb_release
.substr(start_index, length);
sys_info.h
75
static void ParseLsbRelease(const std::string&
lsb_release
,
/external/chromium_org/base/
sys_info_chromeos.cc
38
const char kLsbReleaseKey[] = "
LSB_RELEASE
";
58
std::string
lsb_release
, lsb_release_time_str;
local
61
env->GetVar(kLsbReleaseKey, &
lsb_release
) &&
68
// If the
LSB_RELEASE
and LSB_RELEASE_TIME environment variables are not
69
// set, fall back to a blocking read of the
lsb_release
file. This should
73
ReadFileToString(path, &
lsb_release
);
78
ParseLsbRelease(
lsb_release
);
107
void ParseLsbRelease(const std::string&
lsb_release
) {
108
// Parse and cache
lsb_release
key pairs. There should only be a handful
112
SplitStringIntoKeyValuePairs(
lsb_release
, '=', '\n', &pairs)
[
all
...]
sys_info.h
104
static void SetChromeOSVersionInfoForTest(const std::string&
lsb_release
,
/external/chromium_org/chrome/test/functional/
pyauto_functional.py
69
lsb_release
= '/etc/lsb-release'
70
if sys.platform.startswith('linux') and os.path.isfile(
lsb_release
):
71
with open(
lsb_release
) as fp:
/external/chromium_org/build/
install-build-deps-android.sh
52
if [ $(/usr/bin/
lsb_release
-r -s | cut -d"." -f1) -ge 12 ]; then
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
cros_interface.py
19
lsb_release
= '/etc/lsb-release'
20
if sys.platform.startswith('linux') and os.path.exists(
lsb_release
):
21
with open(
lsb_release
, 'r') as f:
/external/chromium_org/chrome/test/pyautolib/
pyauto.py
689
lsb_release
= '/etc/lsb-release'
690
if not PyUITest.IsLinux() or not os.path.isfile(
lsb_release
):
692
for line in open(
lsb_release
).readlines():
[
all
...]
Completed in 267 milliseconds