Home
last modified time | relevance | path

Searched refs:expectType (Results 1 - 24 of 24) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib_common.cpp26 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
34 return valueType == expectType; in IsTypeForNapiValue()
H A Dnapi_zlib_common.h49 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_napi_common.cpp21 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
29 return valueType == expectType; in IsTypeForNapiValue()
H A Djs_napi_common.h35 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_query_object_helper_test.cpp64 void CheckType(const Type &expectType, const Type &actualType) in CheckType() argument
66 ASSERT_EQ(expectType.index(), actualType.index()); in CheckType()
67 if (expectType.index() != TYPE_INDEX<std::string>) { in CheckType()
70 std::string expectStr = std::get<std::string>(expectType); in CheckType()
/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.h48 static bool CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
H A Dext_napi_utils.cpp138 bool ExtNapiUtils::CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in CheckTypeForNapiValue() argument
146 return valueType == expectType; in CheckTypeForNapiValue()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_util.h29 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
98 * @param expectType Indicates expected JS data type.
103 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType);
H A Dnapi_common_util.cpp26 bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
40 return valueType == expectType; in IsTypeForNapiValue()
679 * @param expectType Indicates expected JS data type.
684 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType) in GetPropertyValueByPropertyName()
695 if (!IsTypeForNapiValue(env, value, expectType)) { in GetPropertyValueByPropertyName()
683 GetPropertyValueByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType) GetPropertyValueByPropertyName() argument
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
H A Djs_plugin_util.h25 bool AceIsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
100 * @param expectType Indicates expected JS data type.
105 napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType);
H A Djs_plugin_util.cpp28 bool AceIsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in AceIsTypeForNapiValue() argument
36 return valueType == expectType; in AceIsTypeForNapiValue()
738 * @param expectType Indicates expected JS data type.
744 napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType) in AceGetPropertyValueByPropertyName()
755 if (!AceIsTypeForNapiValue(env, value, expectType)) { in AceGetPropertyValueByPropertyName()
743 AceGetPropertyValueByPropertyName( napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType) AceGetPropertyValueByPropertyName() argument
/foundation/arkui/ace_engine/interfaces/napi/kits/performancemonitor/
H A Dnapi_perf_monitor.cpp42 bool PerfValueType(const napi_env& env, const napi_value& value, const napi_valuetype expectType) in PerfValueType() argument
49 if (valueType != expectType) { in PerfValueType()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dnapi_data_utils.h102 static bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_runtime_utils.cpp121 bool CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in CheckTypeForNapiValue() argument
127 return valueType == expectType; in CheckTypeForNapiValue()
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp43 bool ValueTypeMatch(const ResValueWrapper& valueWrapper, uint32_t key, const ThemeConstantsType& expectType) in ValueTypeMatch() argument
48 if (valueWrapper.type != expectType) { in ValueTypeMatch()
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/
H A Dnapi_data_utils.h112 static bool IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime_utils.cpp131 bool CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in CheckTypeForNapiValue() argument
137 return valueType == expectType; in CheckTypeForNapiValue()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_data_utils.cpp450 bool NapiDataUtils::IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
462 return valueType == expectType; in IsTypeForNapiValue()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Drelational_schema_object.cpp363 int GetMemberFromJsonObject(const JsonObject &inJsonObject, const std::string &fieldName, FieldType expectType,
381 if (fieldType != expectType) {
383 static_cast<int>(expectType), static_cast<int>(fieldType));
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dbg_continuous_task_napi_module.cpp407 bool CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in CheckTypeForNapiValue() argument
413 return valueType == expectType; in CheckTypeForNapiValue()
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
H A Dnapi_data_utils.cpp529 bool NapiDataUtils::IsTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType) in IsTypeForNapiValue() argument
541 return valueType == expectType; in IsTypeForNapiValue()
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Djs_runtime_utils.h215 bool CheckTypeForNapiValue(napi_env env, napi_value param, napi_valuetype expectType);
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_utils.h243 static bool TypeCheck(napi_env env, napi_value value, napi_valuetype expectType);
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_utils.cpp1144 bool NapiUtils::TypeCheck(napi_env env, napi_value value, napi_valuetype expectType) in TypeCheck() argument
1148 if (status != napi_ok || valueType != expectType) { in TypeCheck()

Completed in 21 milliseconds