Searched refs:HasElement (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestUtils.cpp | 178 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 D | TestJsonHelper.cpp | 75 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 D | efilter_factory.cpp | 80 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 D | json_helper.cpp | 96 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 D | json_helper.h | 47 IMAGE_EFFECT_EXPORT bool HasElement(const std::string &key) const;
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | image_effect.cpp | 626 …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 D | use-jsvm-about-array.md | 742 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 D | brightness_efilter.cpp | 123 if (!values->HasElement(Parameter::KEY_INTENSITY)) { in Restore()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | contrast_efilter.cpp | 122 if (!values->HasElement(Parameter::KEY_INTENSITY)) { in Restore()
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-jsvm-about-array.md | 742 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 D | image_effect_inner.cpp | 684 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()
|