Home
last modified time | relevance | path

Searched refs:expectType (Results 1 – 15 of 15) sorted by relevance

/foundation/arkui/napi/sample/native_module_systemtest/
Djs_napi_common.cpp21 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
29 return valueType == expectType; in IsTypeForNapiValue()
Djs_napi_common.h35 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
Dnapi_zlib_common.cpp26 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
34 return valueType == expectType; in IsTypeForNapiValue()
Dnapi_zlib_common.h48 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/arkui/ace_engine/interfaces/napi/kits/perfmonitor/
Dnapi_perf_monitor.cpp41 bool PerfValueType(const napi_env& env, const napi_value& value, const napi_valuetype expectType) in PerfValueType() argument
48 if (valueType != expectType) { in PerfValueType()
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
Djs_plugin_util.h25 bool AceIsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
105 napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType);
Djs_plugin_util.cpp36 bool AceIsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in AceIsTypeForNapiValue() argument
44 return valueType == expectType; in AceIsTypeForNapiValue()
752 napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType) in AceGetPropertyValueByPropertyName() argument
763 if (!AceIsTypeForNapiValue(env, value, expectType)) { in AceGetPropertyValueByPropertyName()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
Dnapi_common_util.h29 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
103 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType);
Dnapi_common_util.cpp26 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
38 return valueType == expectType; in IsTypeForNapiValue()
668 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType) in GetPropertyValueByPropertyName() argument
679 if (!IsTypeForNapiValue(env, value, expectType)) { in GetPropertyValueByPropertyName()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
Dtheme_constants.cpp51 …eTypeMatch(const ResValueWrapper& valueWrapper, uint32_t key, const ThemeConstantsType& expectType) in ValueTypeMatch() argument
57 if (valueWrapper.type != expectType) { in ValueTypeMatch()
58 … LOGE("ThemeConstants value type error: %{public}u, expectType: %{public}u", key, expectType); in ValueTypeMatch()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
Drelational_schema_object.cpp164 …rFromJsonObject(const JsonObject &inJsonObject, const std::string &fieldName, FieldType expectType, in GetMemberFromJsonObject() argument
182 if (fieldType != expectType) { in GetMemberFromJsonObject()
184 static_cast<int>(expectType), static_cast<int>(fieldType)); in GetMemberFromJsonObject()
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
Dnapi_data_utils.h87 static bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
Dnapi_data_utils.cpp371 bool NapiDataUtils::IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
383 return valueType == expectType; in IsTypeForNapiValue()
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
Dnapi_utils.h219 static bool TypeCheck(napi_env env, napi_value value, napi_valuetype expectType);
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
Dnapi_utils.cpp900 bool NapiUtils::TypeCheck(napi_env env, napi_value value, napi_valuetype expectType) in TypeCheck() argument
904 if (status != napi_ok || valueType != expectType) { in TypeCheck()