Home
last modified time | relevance | path

Searched refs:reg (Results 1 - 25 of 80) sorted by relevance

1234

/foundation/multimedia/media_foundation/engine/plugin/core/
H A Dplugin_register.cpp170 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 Dplugin_register.h90 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 Dmanifest_window.cpp39 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 DUtSourceTest2.cpp27 static Status SourceRegister(const std::shared_ptr<Register> &reg) in SourceRegister() argument
36 return reg->AddPlugin(definition); in SourceRegister()
H A DUtCodecTest1.cpp25 static Status CodecRegister(const std::shared_ptr<Register> &reg) in CodecRegister() argument
33 return reg->AddPlugin(definition); in CodecRegister()
H A DUtCodecTest2.cpp25 static Status CodecRegister(const std::shared_ptr<Register> &reg) in CodecRegister() argument
33 return reg->AddPlugin(definition); in CodecRegister()
H A DUtDemuxerTest2.cpp25 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument
35 return reg->AddPlugin(regInfo); in RegisterPlugins()
H A DUtSourceTest1.cpp28 static Status SourceRegister(const std::shared_ptr<Register> &reg) in SourceRegister() argument
37 return reg->AddPlugin(definition); in SourceRegister()
H A DUtDemuxerTest1.cpp33 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument
43 return reg->AddPlugin(regInfo); in RegisterPlugins()
H A DUtAudioSinkTest2.cpp25 static Status AudioSinkRegister(const std::shared_ptr<Register> &reg) in AudioSinkRegister() argument
32 return reg->AddPlugin(definition); in AudioSinkRegister()
H A DUtAudioSinkTest1.cpp25 static Status AudioSinkRegister(const std::shared_ptr<Register> &reg) 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 Dnnrt_delegate_kernel.cpp247 TfLiteRegistration* reg = nullptr; in AddOpsAndTensors() local
250 reg = nullptr; in AddOpsAndTensors()
252 context->GetNodeAndRegistration(context, nodeIndex, &node, &reg)); // 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 Dffmpeg_encoder_plugin.cpp66 Status RegisterAudioEncoderPlugins(const std::shared_ptr<Register> &reg) in RegisterAudioEncoderPlugins() argument
77 if (reg->AddPlugin(definition) != Status::OK) { in RegisterAudioEncoderPlugins()
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_mgr_client.cpp206 regex_t reg; in IsValidPath() local
210 if (regcomp(&reg, PATTEN, REG_EXTENDED) < 0) { in IsValidPath()
211 regerror(errNum, &reg, errbuf, sizeof(errbuf)); in IsValidPath()
215 errNum = regexec(&reg, bematch, nm, pmatch, 0); in IsValidPath()
220 regerror(errNum, &reg, errbuf, sizeof(errbuf)); in IsValidPath()
/foundation/CastEngine/castengine_wifi_display/services/utils/
H A Dutils.h42 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 Dffmpeg_decoder_plugin.cpp92 Status RegisterAudioDecoderPlugins(const std::shared_ptr<Register> &reg) in RegisterAudioDecoderPlugins() argument
103 if (reg->AddPlugin(definition) != Status::OK) { in RegisterAudioDecoderPlugins()
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/file_sink/
H A Dfile_fd_sink_plugin.cpp35 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 Dstream_source_plugin.cpp30 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 Dfold_screen_state_internel.h126 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 Db_process.cpp48 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 Dwav_demuxer_plugin.cpp51 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 Dcodec_manager.h43 virtual Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) = 0;
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dengine_helper.cpp134 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 Dimporter.h38 explicit Importer(IObjectRegistry& reg, IGlobalSerializationData& data) : registry_(reg), globalData_(data) {} in Importer() argument
H A Dexporter.h40 explicit Exporter(IObjectRegistry& reg, IGlobalSerializationData& data) : registry_(reg), globalData_(data) {} in Exporter() argument

Completed in 10 milliseconds

1234