OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:zone_id_str
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/chrome/browser/chromeos/system/
timezone_util.cc
56
std::string
zone_id_str
;
local
57
zone_id.toUTF8String(
zone_id_str
);
60
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, "/", ":");
62
ures_getByKey(zone_strings,
zone_id_str
.c_str(), NULL, &status));
71
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, ":", "/");
76
std::string::size_type slash_pos =
zone_id_str
.rfind('/');
77
if (slash_pos != std::string::npos && slash_pos <
zone_id_str
.size())
78
zone_id_str
.erase(0, slash_pos + 1);
80
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, "_", " ");
81
return ASCIIToUTF16(
zone_id_str
);
[
all
...]
/external/chromium/chrome/browser/ui/webui/options/chromeos/
system_settings_provider.cc
151
std::string
zone_id_str
;
local
152
zone_id.toUTF8String(
zone_id_str
);
155
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, "/", ":");
157
ures_getByKey(zone_strings,
zone_id_str
.c_str(), NULL, &status));
166
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, ":", "/");
171
std::string::size_type slash_pos =
zone_id_str
.rfind('/');
172
if (slash_pos != std::string::npos && slash_pos <
zone_id_str
.size())
173
zone_id_str
.erase(0, slash_pos + 1);
175
ReplaceSubstringsAfterOffset(&
zone_id_str
, 0, "_", " ");
176
return ASCIIToUTF16(
zone_id_str
);
[
all
...]
Completed in 298 milliseconds