/foundation/systemabilitymgr/samgr/services/common/test/unittest/ |
H A D | parse_util_test.cpp | 58 std::shared_ptr<ParseUtil> parser_; member in OHOS::SAMGR::ParseUtilTest 74 if (parser_ == nullptr) { in SetUp() 75 parser_ = std::make_shared<ParseUtil>(); in SetUp() 82 if (parser_ != nullptr) { in TearDown() 83 parser_->ClearResource(); in TearDown() 99 bool ret = parser_->ParseSaProfiles(TEST_RESOURCE_PATH + "notExist"); in HWTEST_F() 115 list<SaProfile> profiles = parser_->GetAllSaProfiles(); in HWTEST_F() 131 bool ret = parser_->ParseSaProfiles(TEST_RESOURCE_PATH + "profile.json"); in HWTEST_F() 136 parser_->saProfiles_.emplace_back(saRunOnCreateTrue); in HWTEST_F() 137 parser_ in HWTEST_F() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | localization_module.cpp | 54 if (parser_ != nullptr) { in Clear() 55 delete parser_; in Clear() 56 parser_ = nullptr; in Clear() 71 if (localization->parser_ == nullptr) { in GetValueByKey() 72 localization->parser_ = new CJSONParser(); in GetValueByKey() 73 if (localization->parser_ == nullptr) { in GetValueByKey() 77 if (!localization->parser_->Init()) { in GetValueByKey() 85 CJSONParser::LanguageState change = localization->parser_->ChangeLanguage(); in GetValueByKey() 88 if (!localization->parser_->CacheFile()) { in GetValueByKey() 98 jerry_value_t resultProp = localization->parser_ in GetValueByKey() [all...] |
H A D | localization_module.h | 68 LocalizationModule() : parser_(nullptr) {} in LocalizationModule() 73 CJSONParser *parser_; member in OHOS::ACELite::final
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_function.h | 133 : JsFunction(JSRef<JSObject>(), jsFunction), parser_(parser) in JsCitedEventFunction() 145 if (parser_) { in Execute() 146 param = parser_(eventInfo); in Execute() 155 if (parser_) { in Execute() 156 itemInfo = parser_(eventInfo); in Execute() 163 ParseFunc parser_; member in OHOS::Ace::Framework::JsCitedEventFunction 196 : JsFunction(JSRef<JSObject>(), jsFunction), parser_(parser) in JsEventFunction() 208 if (parser_) { in Execute() 209 param = parser_(eventInfo); in Execute() 217 if (parser_) { in ExecuteWithValue() 224 ParseFunc parser_; global() member in OHOS::Ace::Framework::JsEventFunction [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/ |
H A D | HeifDecoderImpl.cpp | 273 heif_error err = HeifParser::MakeFromMemory(srcMemory_, fileLength, false, &parser_); in init() 274 if (parser_ == nullptr || err != heif_error_ok) { in init() 278 primaryImage_ = parser_->GetPrimaryImage(); in init() 283 gainmapImage_ = parser_->GetGainmapImage(); in init() 284 std::shared_ptr<HeifImage> tmapImage = parser_->GetTmapImage(); in init() 298 if (parser_ == nullptr) { in CheckAuxiliaryMap() 306 auxiliaryImage_ = parser_->GetGainmapImage(); in CheckAuxiliaryMap() 312 auxiliaryImage_ = parser_->GetAuxiliaryMapImage(iter->second); in CheckAuxiliaryMap() 366 if (info->mIccData.empty() && !info->hasNclxColor && (parser_->GetItemType(image->GetItemId())== "grid")) { in InitFrameInfo() 368 parser_ in InitFrameInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/ |
H A D | media_queryer.cpp | 35 : regex_(regex), parser_(parser), matchResultSize_(matchResultSize) in MediaQueryerRule() 42 CHECK_NULL_RETURN(parser_, false); in ParseCondition() 47 return parser_(matchResults, mediaFeature, failReason); in ParseCondition() 60 const ConditionParser parser_; member in OHOS::Ace::Framework::__anon1762::MediaQueryerRule
|
/foundation/multimedia/av_codec/test/nativedemo/video_demo/ |
H A D | avcodec_video_decoder_inner_demo.cpp | 102 parser_ = av_parser_init(codec_->id); in VDecInnerDemo() 103 if (parser_ == nullptr) { in VDecInnerDemo() 131 av_parser_close(parser_); in ~VDecInnerDemo() 305 ret = av_parser_parse2(parser_, codec_ctx_, &pkt_->data, &pkt_->size, data_, data_size_, AV_NOPTS_VALUE, in ExtractPacket()
|
H A D | avcodec_video_decoder_demo.cpp | 169 parser_ = av_parser_init(codec_->id); in VDecDemo() 170 if (parser_ == nullptr) { in VDecDemo() 203 av_parser_close(parser_); in ~VDecDemo() 348 ret = av_parser_parse2(parser_, codec_ctx_, &pkt_->data, &pkt_->size, data_, data_size_, AV_NOPTS_VALUE, in ExtractPacket()
|
H A D | avcodec_video_decoder_demo.h | 91 AVCodecParserContext *parser_ = nullptr; member in OHOS::MediaAVCodec::VideoDemo::VDecDemo
|
H A D | avcodec_video_decoder_inner_demo.h | 117 AVCodecParserContext *parser_ = nullptr; member in OHOS::MediaAVCodec::InnerVideoDemo::VDecInnerDemo
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
H A D | font_descriptor_cache.cpp | 57 for (auto& item : parser_.GetSystemFonts()) { in ParserSystemFonts() 67 parser_.GetVisibilityFonts(std::string(locale.getName())); in ParserStylishFonts() 254 if (parser_.ParserFontDescriptorFromPath(path, descriptors, locale)) { in ParseInstallFontDescSharedPtrByName()
|
H A D | font_descriptor_cache.h | 62 TextEngine::FontParser parser_; member in OHOS::Rosen::FontDescriptorCache
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/ |
H A D | HeifDecoderImpl.h | 134 std::shared_ptr<HeifParser> parser_; member in OHOS::OHOS::ImagePlugin::HeifDecoderImpl
|