Home
last modified time | relevance | path

Searched refs:IsValidEnum (Results 1 – 2 of 2) sorted by relevance

/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp419 PARAM_CHECK(IsValidEnum(formatList, tmpFormat), return ClientStatus::CLIENT_INVALID_TYPE, in GetDescriptionFormat()
431 PARAM_CHECK(IsValidEnum(netTypeList, allowNetwork), return ClientStatus::CLIENT_INVALID_TYPE, in GetNetType()
443 PARAM_CHECK(IsValidEnum(orderList, tmpOrder), return ClientStatus::CLIENT_INVALID_TYPE, in GetOrder()
512 PARAM_CHECK(IsValidEnum(statusList, status), return ClientStatus::CLIENT_INVALID_TYPE, in GetOptionsFromArg()
529 PARAM_CHECK(IsValidEnum(enumList, fileType), return ClientStatus::CLIENT_INVALID_PARAM, in ParseUpgradeFile()
585 PARAM_CHECK(IsValidEnum(enumList, eventClassify), return ClientStatus::CLIENT_INVALID_TYPE, in GetEventClassifyInfoFromArg()
/base/update/updateservice/interfaces/inner_api/include/
Dupdate_helper.h509 bool IsValidEnum(const std::list<T> &enumList, int32_t number) in IsValidEnum() function