H A D | reminder_common.cpp | 567 int32_t propertyVal = 0; in GenReminderIntInner() local 568 if (GetInt32(env, value, ReminderAgentNapi::NOTIFICATION_ID, propertyVal, false)) { in GenReminderIntInner() 569 reminder->SetNotificationId(propertyVal); in GenReminderIntInner() 573 if (GetInt32(env, value, ReminderAgentNapi::SNOOZE_TIMES, propertyVal, false)) { in GenReminderIntInner() 574 if (propertyVal < 0) { in GenReminderIntInner() 577 uint8_t snoozeTimes = propertyVal > UINT8_MAX ? UINT8_MAX : static_cast<uint8_t>(propertyVal); in GenReminderIntInner() 616 const char* propertyName, char* propertyVal, const int32_t size) in GetStringUtf8() 631 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, result, propertyVal, size - 1, &strLen), false); in GetStringUtf8() 637 const char* propertyName, bool& propertyVal) in GetBool() 615 GetStringUtf8(const napi_env &env, const napi_value &value, const char* propertyName, char* propertyVal, const int32_t size) GetStringUtf8() argument 636 GetBool(const napi_env &env, const napi_value &value, const char* propertyName, bool& propertyVal) GetBool() argument 657 GetInt32(const napi_env &env, const napi_value &value, const char* propertyName, int32_t& propertyVal, bool isNecessary) GetInt32() argument 671 GetInt64(const napi_env &env, const napi_value &value, const char* propertyName, int64_t& propertyVal) GetInt64() argument 682 GetPropertyValIfExist(const napi_env &env, const napi_value &value, const char* propertyName, napi_value& propertyVal) GetPropertyValIfExist() argument 708 GetObject(const napi_env &env, const napi_value &value, const char* propertyName, napi_value& propertyVal) GetObject() argument 958 ParseInt32Array(const napi_env &env, const napi_value &value, const char* propertyName, std::vector<uint8_t> &propertyVal, uint8_t maxLen) ParseInt32Array() argument [all...] |