Lines Matching refs:std

30     using DataShareResultSetPtr = std::shared_ptr<DataShare::DataShareResultSet>;
36 int GetIndexValue(const DataShareResultSetPtr &resultSet, int index, std::string& out);
38 void SetRRuleValue(const std::map<std::string, std::string> &ruleMap, RecurrenceRule &out);
39 void SetByDayOfRRule(const std::vector<std::string> &weekDayList, RecurrenceRule &out);
40 std::string GetDaysOfWeekRule(int minValue, int maxValue, const std::vector<int64_t> &daysOfWeekList);
41 std::string GetDaysOfWeekMonthRule(
42 const std::vector<int64_t> &daysOfWeekList, const std::vector<int64_t> &weeksOfMonthList);
43 std::string GetRRuleSerial(int minValue, int maxValue, const std::vector<int64_t> &serialList);
44 std::string GetWeeklyRule(const Event &event, const std::tm &time);
45 std::string GetMonthlyRule(const Event &event, const std::tm &time);
46 std::string GetYearlyRule(const Event &event, const std::tm &time);
47 std::string GetEventRRule(const Event &event);
49 std::vector<std::shared_ptr<Calendar>> ResultSetToCalendars(DataShareResultSetPtr &resultSet);
50 int ResultSetToEvents(std::vector<Event> &events,
51 DataShareResultSetPtr &resultSet, const std::set<std::string>& columns);
52 int ResultSetToAttendees(std::vector<Attendee> &attendees, DataShareResultSetPtr &resultSet);
53 int ResultSetToReminders(std::vector<int> &reminders, DataShareResultSetPtr &resultSet);
54 void SetField(const std::vector<string>& eventKey,
55 std::vector<string>& queryField, std::set<string>& resultSetField);
57 bool ColorParse(const std::string& colorStr, variant<string, int64_t>& colorValue);
59 std::string GetUTCTime(const int64_t &timeValue);
60 std::string GetUTCTimes(const std::vector<int64_t> &timeValues);
61 std::string GetRule(const Event &event);
62 std::time_t TimeToUTC(const std::string &strTime);
77 int GetValueOptional(DataShareResultSetPtr &resultSet, string_view fieldName, std::optional<T>& out)
79 out = std::nullopt;