Searched refs:colorValue (Results 1 - 4 of 4) sorted by relevance
/applications/standard/calendardata/calendarmanager/test/unittest/src/ |
H A D | event_recurrence_rule_test.cpp | 194 variant<string, int64_t> colorValue; in HWTEST_F() local 195 colorValue = 123; in HWTEST_F() 196 bool corlor = ColorParse(colorStr, colorValue); in HWTEST_F() 204 variant<string, int64_t> colorValue; in HWTEST_F() local 205 colorValue = 123; in HWTEST_F() 206 bool corlor = ColorParse(colorStr, colorValue); in HWTEST_F() 214 variant<string, int64_t> colorValue; in HWTEST_F() local 215 colorValue = 123; in HWTEST_F() 216 bool corlor = ColorParse(colorStr, colorValue); in HWTEST_F() 224 variant<string, int64_t> colorValue; in HWTEST_F() local [all...] |
/applications/standard/calendardata/calendarmanager/napi/src/ |
H A D | napi_util.cpp | 331 int64_t colorValue; in GetValue() local 332 napi_status statusToGetInt64 = napi_get_value_int64(env, value, &colorValue); in GetValue() 334 out.color.emplace<1>(colorValue); in GetValue() 356 napi_value colorValue = nullptr; in SetValue() local 368 status = SetValue(env, color, colorValue); in SetValue() 370 napi_set_named_property(env, out, "color", colorValue); in SetValue()
|
/applications/standard/calendardata/calendarmanager/native/src/ |
H A D | native_util.cpp | 488 int colorValue = 0; in GetUTCTime() local 489 GetValue(resultSet, "calendar_color", colorValue); in GetUTCTime() 887 bool ColorParse(const std::string& colorStr, variant<string, int64_t>& colorValue) in GetUTCTime() argument 913 colorValue.emplace<1>(std::stoll(colorStrSub, NULL, 16)); // 16 is convert hex string to number in GetUTCTime() 914 if (std::get_if<1>(&colorValue)) { in GetUTCTime() 915 LOG_DEBUG("colorStrSub -> colorValue colorValue:%{public}s", std::to_string(std::get<1>(colorValue)).c_str()); in GetUTCTime()
|
/applications/standard/calendardata/calendarmanager/native/include/ |
H A D | native_util.h | 57 bool ColorParse(const std::string& colorStr, variant<string, int64_t>& colorValue);
|
Completed in 5 milliseconds