Searched refs:ParseTimeZone (Results 1 – 12 of 12) sorted by relevance
54 auto offsetZone = ParseTimeZone("+0800");56 offsetZone = ParseTimeZone("+1110");68 auto offsetFormat = ParseTimeZone(27); // a valid index70 offsetFormat = ParseTimeZone(14); // a valid index72 offsetFormat = ParseTimeZone(100); // an invalid index
35 int ParseTimeZone(const std::string& tzStr) in ParseTimeZone() function47 std::string ParseTimeZone(const uint8_t tzVal) in ParseTimeZone() function
91 auto tzIndex = ParseTimeZone(3600); // 3600 is a valid timezone value93 tzIndex = ParseTimeZone(15); // 15 is an invalid timezone value
36 int ParseTimeZone(long tz) in ParseTimeZone() function
42 "OHOS::HiviewDFX::Encoded::ParseTimeZone(long)";
93 header_.timeZone = static_cast<uint8_t>(ParseTimeZone(timezone)); in WritebaseInfo()
199 int ParseTimeZone(const std::string& tzStr);200 std::string ParseTimeZone(const uint8_t tzVal);
154 int ParseTimeZone(long tzVal);
36 int ParseTimeZone(const std::string& tzStr) in ParseTimeZone() function
108 auto timeZone = ParseTimeZone(static_cast<size_t>(header_.timeZone)); in AppendBaseInfo()
156 header_.timeZone = static_cast<uint8_t>(ParseTimeZone(timeZone)); in AppendTimeZone()
499 val = ParseTimeZone(header_.timeZone); in ParseTimeZoneFromHeader()