Home
last modified time | relevance | path

Searched refs:HasElement (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp178 ASSERT_TRUE(root->HasElement("stringKey"));
191 ASSERT_TRUE(root->HasElement("floatKey"));
200 ASSERT_FALSE(root->HasElement("nonExistKey"));
202 ASSERT_TRUE(root->HasElement("arrayKey"));
H A DTestJsonHelper.cpp75 ASSERT_TRUE(root->HasElement(IMAGE_EFFECT));
79 ASSERT_TRUE(imageEffect->HasElement(FILTERS));
80 ASSERT_TRUE(imageEffect->HasElement(NAME));
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/base/
H A Defilter_factory.cpp80 CHECK_AND_RETURN_RET_LOG(root->HasElement("values"), efilter, "[values] not exist!"); in Restore()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/utils/common/
H A Djson_helper.cpp96 bool EffectJson::HasElement(const std::string &key) const in HasElement() function in OHOS::Media::Effect::EffectJson
104 if (!HasElement(key)) { in GetElement()
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/
H A Djson_helper.h47 IMAGE_EFFECT_EXPORT bool HasElement(const std::string &key) const;
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dimage_effect.cpp626 …CHECK_AND_RETURN_RET_LOG(root->HasElement("imageEffect"), nullptr, "OH_ImageEffect_Restore no imag… in OH_ImageEffect_Restore()
629 …CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("name"), nullptr, "OH_ImageEffect_Restore no name"); in OH_ImageEffect_Restore()
635 …CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("filters"), nullptr, "OH_ImageEffect_Restore no fil… in OH_ImageEffect_Restore()
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-array.md742 static JSVM_Value HasElement(JSVM_Env env, JSVM_CallbackInfo info)
764 // HasElement注册回调
766 {.data = nullptr, .callback = HasElement},
769 // HasElement方法别名,供JS调用
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dbrightness_efilter.cpp123 if (!values->HasElement(Parameter::KEY_INTENSITY)) { in Restore()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcontrast_efilter.cpp122 if (!values->HasElement(Parameter::KEY_INTENSITY)) { in Restore()
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-array.md742 static JSVM_Value HasElement(JSVM_Env env, JSVM_CallbackInfo info)
764 // Register the HasElement callback.
766 {.data = nullptr, .callback = HasElement},
769 …tor named hasElement and associate it with a callback. This allows the HasElement callback to be c…
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/base/
H A Dimage_effect_inner.cpp684 CHECK_AND_RETURN_RET_LOG(root->HasElement("imageEffect"), nullptr, "Restore: no imageEffect"); in Restore()
687 … CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("name"), nullptr, "Restore: imageEffect no name"); in Restore()
691 …CHECK_AND_RETURN_RET_LOG(imageInfo->HasElement("filters"), nullptr, "Restore: imageEffect no filte… in Restore()