/foundation/multimedia/media_foundation/engine/plugin/core/ |
H A D | plugin_register.cpp | 170 Status PluginRegister::RegisterImpl::InitSourceInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) in InitSourceInfo() argument 173 reg->creator = base.creator; in InitSourceInfo() 179 reg->info = info; in InitSourceInfo() 183 Status PluginRegister::RegisterImpl::InitDemuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) in InitDemuxerInfo() argument 186 reg->creator = base.creator; in InitDemuxerInfo() 187 reg->sniffer = base.sniffer; in InitDemuxerInfo() 192 reg->info = info; in InitDemuxerInfo() 196 Status PluginRegister::RegisterImpl::InitMuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) in InitMuxerInfo() argument 199 reg->creator = base.creator; in InitMuxerInfo() 204 reg in InitMuxerInfo() 208 InitCodecInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) InitCodecInfo() argument 220 InitAudioSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) InitAudioSinkInfo() argument 230 InitVideoSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) InitVideoSinkInfo() argument 240 InitOutputSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) InitOutputSinkInfo() argument 252 InitGenericPlugin(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def) InitGenericPlugin() argument [all...] |
H A D | plugin_register.h | 90 Status InitSourceInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 94 Status InitDemuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 98 Status InitMuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 100 Status InitCodecInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 104 Status InitAudioSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 108 Status InitVideoSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 112 Status InitOutputSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def); 114 Status InitGenericPlugin(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_window.cpp | 39 std::regex reg("\\$(\\S+):(\\S+)"); in WindowParse() 44 if (std::regex_match(designString, results, reg) && resourceAdapter) { in WindowParse()
|
/foundation/multimedia/media_foundation/test/unittest/plugins/ |
H A D | UtSourceTest2.cpp | 27 static Status SourceRegister(const std::shared_ptr<Register> ®) in SourceRegister() argument 36 return reg->AddPlugin(definition); in SourceRegister()
|
H A D | UtCodecTest1.cpp | 25 static Status CodecRegister(const std::shared_ptr<Register> ®) in CodecRegister() argument 33 return reg->AddPlugin(definition); in CodecRegister()
|
H A D | UtCodecTest2.cpp | 25 static Status CodecRegister(const std::shared_ptr<Register> ®) in CodecRegister() argument 33 return reg->AddPlugin(definition); in CodecRegister()
|
H A D | UtDemuxerTest2.cpp | 25 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument 35 return reg->AddPlugin(regInfo); in RegisterPlugins()
|
H A D | UtSourceTest1.cpp | 28 static Status SourceRegister(const std::shared_ptr<Register> ®) in SourceRegister() argument 37 return reg->AddPlugin(definition); in SourceRegister()
|
H A D | UtDemuxerTest1.cpp | 33 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument 43 return reg->AddPlugin(regInfo); in RegisterPlugins()
|
H A D | UtAudioSinkTest2.cpp | 25 static Status AudioSinkRegister(const std::shared_ptr<Register> ®) in AudioSinkRegister() argument 32 return reg->AddPlugin(definition); in AudioSinkRegister()
|
H A D | UtAudioSinkTest1.cpp | 25 static Status AudioSinkRegister(const std::shared_ptr<Register> ®) in AudioSinkRegister() argument 32 return reg->AddPlugin(definition); in AudioSinkRegister()
|
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_delegate_kernel.cpp | 247 TfLiteRegistration* reg = nullptr; in AddOpsAndTensors() local 250 reg = nullptr; in AddOpsAndTensors() 252 context->GetNodeAndRegistration(context, nodeIndex, &node, ®)); // Obtain the op and registration. in AddOpsAndTensors() 253 if ((node == nullptr) || (reg == nullptr)) { in AddOpsAndTensors() 258 const bool scalarAsTensor = IsScalarInputSupported(reg->builtin_code); in AddOpsAndTensors() 267 TF_LITE_ENSURE_STATUS(Map(reg->builtin_code, opMappingArgs, nnOpType)); in AddOpsAndTensors() 270 if ((reg->builtin_code == kTfLiteBuiltinFullyConnected) && in AddOpsAndTensors() 275 TF_LITE_ENSURE_STATUS(builder.AddTensorInput(inputIndex, reg->builtin_code, inputTensorFlags)); in AddOpsAndTensors() 281 TF_LITE_ENSURE_STATUS(builder.AddTensorOutput(outputIndex, reg->builtin_code, outputTensorFlags)); in AddOpsAndTensors()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | ffmpeg_encoder_plugin.cpp | 66 Status RegisterAudioEncoderPlugins(const std::shared_ptr<Register> ®) in RegisterAudioEncoderPlugins() argument 77 if (reg->AddPlugin(definition) != Status::OK) { in RegisterAudioEncoderPlugins()
|
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/ |
H A D | app_domain_verify_mgr_client.cpp | 206 regex_t reg; in IsValidPath() local 210 if (regcomp(®, PATTEN, REG_EXTENDED) < 0) { in IsValidPath() 211 regerror(errNum, ®, errbuf, sizeof(errbuf)); in IsValidPath() 215 errNum = regexec(®, bematch, nm, pmatch, 0); in IsValidPath() 220 regerror(errNum, ®, errbuf, sizeof(errbuf)); in IsValidPath()
|
/foundation/CastEngine/castengine_wifi_display/services/utils/ |
H A D | utils.h | 42 std::regex reg{"\\+"}; in ParseKey() 43 std::vector<std::string> out{std::sregex_token_iterator(key.begin(), key.end(), reg, -1), in ParseKey()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | ffmpeg_decoder_plugin.cpp | 92 Status RegisterAudioDecoderPlugins(const std::shared_ptr<Register> ®) in RegisterAudioDecoderPlugins() argument 103 if (reg->AddPlugin(definition) != Status::OK) { in RegisterAudioDecoderPlugins()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/file_sink/ |
H A D | file_fd_sink_plugin.cpp | 35 Status FileFdSinkRegister(const std::shared_ptr<Register>& reg) in FileFdSinkRegister() argument 43 return reg->AddPlugin(definition); in FileFdSinkRegister()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/stream_source/ |
H A D | stream_source_plugin.cpp | 30 const Status StreamSourceRegister(const std::shared_ptr<Register>& reg) in StreamSourceRegister() argument 38 return reg->AddPlugin(definition); in StreamSourceRegister()
|
/foundation/window/window_manager/window_scene/common/include/ |
H A D | fold_screen_state_internel.h | 126 std::regex reg("^([0-9],){3}[0-9]{1}$"); in IsValidFoldType() 127 return std::regex_match(foldTypeStr, reg); in IsValidFoldType()
|
/foundation/filemanagement/app_file_service/utils/src/b_process/ |
H A D | b_process.cpp | 48 regex reg("^\\W*$"); in WaitForChild() 51 if (regex_match(buf.get(), reg)) { in WaitForChild()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/wav_demuxer/ |
H A D | wav_demuxer_plugin.cpp | 51 Status RegisterPlugin(const std::shared_ptr<Register>& reg);
229 Status RegisterPlugin(const std::shared_ptr<Register>& reg)
in RegisterPlugin() argument 232 if (!reg) {
in RegisterPlugin() 233 MEDIA_LOG_I("RegisterPlugin failed due to nullptr pointer for reg.");
in RegisterPlugin() 246 auto rtv = reg->AddPlugin(regInfo);
in RegisterPlugin()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_manager.h | 43 virtual Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) = 0;
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | engine_helper.cpp | 134 std::regex reg("\\d+:\\d+"); in GetPositionOnJsCode() 136 if (std::regex_search(stack, match, reg)) { in GetPositionOnJsCode()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/ |
H A D | importer.h | 38 explicit Importer(IObjectRegistry& reg, IGlobalSerializationData& data) : registry_(reg), globalData_(data) {} in Importer() argument
|
H A D | exporter.h | 40 explicit Exporter(IObjectRegistry& reg, IGlobalSerializationData& data) : registry_(reg), globalData_(data) {} in Exporter() argument
|