Home
last modified time | relevance | path

Searched refs:get (Results 1 - 25 of 6873) sorted by relevance

12345678910>>...275

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.cpp29 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
30 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
48 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
49 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
50 ArkWebString ark_key2 = ArkWebStringClassToStruct(std::get<2>(data)); in Write()
51 ArkWebString ark_value2 = ArkWebStringClassToStruct(std::get<3>(data)); in Write()
72 ArkWebString ark_key1 = ArkWebStringClassToStruct(std::get<0>(data)); in Write()
73 ArkWebString ark_value1 = ArkWebStringClassToStruct(std::get<1>(data)); in Write()
74 ArkWebString ark_key2 = ArkWebStringClassToStruct(std::get<2>(data)); in Write()
75 ArkWebString ark_value2 = ArkWebStringClassToStruct(std::get< in Write()
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_affinity_parser_test/src/
H A Daudio_affinity_parser_test.cpp37 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
55 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
74 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
93 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
95 audioAffinity_->ParseInternal(node.get()); in HWTEST()
98 node.get()->type = XML_ELEMENT_NODE; in HWTEST()
99 audioAffinity_->ParseInternal(node.get()); in HWTEST()
111 auto audioAffinity_ = std::make_shared<audioAffinityParser>(affinityManager.get()); in HWTEST()
114 audioAffinity_->ParserAffinityGroups(node.get(), DeviceFlag::ALL_DEVICES_FLAG); in HWTEST()
117 node.get() in HWTEST()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_dma.c101 uint32_t get = nvif_rd32(&chan->user, 0x88); in nv50_dma_push_wait() local
102 if (get != prev_get) { in nv50_dma_push_wait()
103 prev_get = get; in nv50_dma_push_wait()
113 chan->dma.ib_free = get - chan->dma.ib_put; in nv50_dma_push_wait()
132 int get = READ_GET(chan, &prev_get, &cnt); in nv50_dma_wait() local
133 if (unlikely(get < 0)) { in nv50_dma_wait()
134 if (get == -EINVAL) in nv50_dma_wait()
137 return get; in nv50_dma_wait()
140 if (get <= chan->dma.cur) { in nv50_dma_wait()
147 get in nv50_dma_wait()
168 int cnt = 0, get; nouveau_dma_wait() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_dma.c104 uint32_t get = nvif_rd32(chan->userd, 0x88); in nv50_dma_push_wait() local
105 if (get != prev_get) { in nv50_dma_push_wait()
106 prev_get = get; in nv50_dma_push_wait()
116 chan->dma.ib_free = get - chan->dma.ib_put; in nv50_dma_push_wait()
135 int get = READ_GET(chan, &prev_get, &cnt); in nv50_dma_wait() local
136 if (unlikely(get < 0)) { in nv50_dma_wait()
137 if (get == -EINVAL) in nv50_dma_wait()
140 return get; in nv50_dma_wait()
143 if (get <= chan->dma.cur) { in nv50_dma_wait()
150 get in nv50_dma_wait()
171 int cnt = 0, get; nouveau_dma_wait() local
[all...]
/base/hiviewdfx/hitrace/test/scripts/testModule/
H A Dtest_hitrace_cmd.py49 get_shell_result(word_cmd, word_cmds.get(word_cmd))
59 get_shell_result(word_cmd, word_cmds.get(word_cmd))
68 get_shell_result(word_cmd, word_cmds.get(word_cmd))
79 get_shell_result(word_cmd, word_cmds.get(word_cmd))
88 get_shell_result(word_cmd, word_cmds.get(word_cmd))
102 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
122 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
125 get_shell_result(word_cmd, word_cmds2.get(word_cmd))
149 get_shell_result(word_cmd, word_cmds1.get(word_cmd))
152 get_shell_result(word_cmd, word_cmds2.get(word_cm
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dopenssl_crypto.cpp42 if (EVP_DecryptInit_ex(ctx.get(), EVP_aes_256_gcm(), NULL, reinterpret_cast<const uint8_t*>(shield.data.get()), in AESDecrypt()
43 reinterpret_cast<const uint8_t*>(keyContext_.rndEnc.data.get())) != in AESDecrypt()
50 if (EVP_DecryptUpdate(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get()), &outlen, in AESDecrypt()
51 reinterpret_cast<const uint8_t*>(keyContext_.rndEnc.data.get() + GCM_NONCE_BYTES), in AESDecrypt()
60 if (EVP_CIPHER_CTX_ctrl(ctx.get(), EVP_CTRL_GCM_SET_TAG, GCM_MAC_BYTES, in AESDecrypt()
62 keyContext_.rndEnc.data.get() + GCM_NONCE_BYTES + plainText.size))) != in AESDecrypt()
67 if (EVP_DecryptFinal_ex(ctx.get(), reinterpret_cast<uint8_t*>(plainText.data.get() in AESDecrypt()
[all...]
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp77 req->SetUrl(urlString.get()); in JsObjectToRequestData()
86 if (jsHeaders != nullptr && !JSI::ValueIsUndefined(jsHeaders.get()) && JSI::ValueIsObject(jsHeaders.get())) { in JsObjectToRequestData()
87 GetNameValue(jsHeaders.get(), const_cast<std::map<std::string, std::string> &>(req->GetHeader())); in JsObjectToRequestData()
98 if (keys == nullptr || JSI::ValueIsUndefined(keys.get()) || !JSI::ValueIsArray(keys.get())) { in GetNameValue()
99 HTTP_REQUEST_ERROR("get name value failed"); in GetNameValue()
103 uint32_t length = JSI::GetArrayLength(keys.get()); in GetNameValue()
105 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> key(JSI::GetPropertyByIndex(keys.get(), index), in GetNameValue()
107 if (key == nullptr || JSI::ValueIsUndefined(key.get()) || !JS in GetNameValue()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmetadata.cpp117 id_ = std::get<int32_t>(id); in SetFileId()
127 uri_ = std::get<string>(uri); in SetUri()
137 filePath_ = std::get<string>(filePath); in SetFilePath()
147 relativePath_ = std::get<string>(relativePath); in SetRelativePath()
157 mimeType_ = std::get<string>(mimeType); in SetFileMimeType()
167 mediaType_ = static_cast<MediaType>(std::get<int32_t>(mediaType)); in SetFileMediaType()
177 name_ = std::get<string>(name); in SetFileName()
187 size_ = std::get<int64_t>(size); in SetFileSize()
197 dateAdded_ = std::get<int64_t>(dateAdded); in SetFileDateAdded()
207 dateModified_ = std::get<int64_ in SetFileDateModified()
[all...]
/base/startup/appspawn/etc/sandbox/
H A Dappdata_sandbox_fixer.py63 if data1.get(key) != data2.get(key):
72 if data1.get(field) is not None:
76 item = data1.get(field)
95 if data1.get(field) is not None:
100 item = data1.get(name)
128 if new[0].get(k) is not None:
129 origin[0][k] = new[0].get(k)
132 flags_points = new[0].get("flags-point")
138 item = origin[0].get(fiel
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_decoder/
H A Dvideo_decoder.cpp53 ret = OH_VideoDecoder_SetSurface(codec_.get(), sampleInfo.window.get()); in Config()
64 ret = OH_VideoDecoder_Prepare(codec_.get()); in Config()
74 int ret = OH_VideoDecoder_Start(codec_.get()); in Start()
83 int ret = OH_VideoDecoder_Flush(codec_.get()); in Flush()
92 int32_t ret = OH_VideoDecoder_Stop(codec_.get()); in Stop()
101 int32_t ret = OH_VideoDecoder_Reset(codec_.get()); in Reset()
109 return std::shared_ptr<OH_AVFormat>(OH_VideoDecoder_GetOutputDescription(codec_.get()), OH_AVFormat_Destroy); in GetFormat()
117 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_WIDTH, sampleInfo.videoWidth); in Configure()
118 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_HEIGH in Configure()
[all...]
/base/sensors/sensor/utils/ipc/src/
H A Dstream_session.cpp35 StreamSessionSetFd(streamSessionPtr_.get(), fd); in StreamSession()
36 StreamSessionSetUid(streamSessionPtr_.get(), uid); in StreamSession()
37 StreamSessionSetPid(streamSessionPtr_.get(), pid); in StreamSession()
54 return StreamSessionSendMsg(streamSessionPtr_.get(), buf, size); in SendMsg()
106 StreamSessionClose(streamSessionPtr_.get()); in Close()
121 oss << "fd = " << StreamSessionGetFd(streamSessionPtr_.get()) in UpdateDescript()
123 << ", moduleType = " << StreamSessionGetModuleType(streamSessionPtr_.get()) in UpdateDescript()
124 << ((StreamSessionGetFd(streamSessionPtr_.get()) < 0) ? ", closed" : ", opened") in UpdateDescript()
125 << ", uid = " << StreamSessionGetUid(streamSessionPtr_.get()) in UpdateDescript()
126 << ", pid = " << StreamSessionGetPid(streamSessionPtr_.get()) in UpdateDescript()
[all...]
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-raspberrypi-exp.c57 struct gpio_get_config get; in rpi_exp_gpio_get_polarity() local
62 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_polarity()
65 &get, sizeof(get)); in rpi_exp_gpio_get_polarity()
66 if (ret || get.gpio != 0) { in rpi_exp_gpio_get_polarity()
67 dev_err(gc->parent, "Failed to get GPIO %u config (%d %x)\n", in rpi_exp_gpio_get_polarity()
68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity()
71 return get.polarity; in rpi_exp_gpio_get_polarity()
135 struct gpio_get_config get; in rpi_exp_gpio_get_direction() local
140 get in rpi_exp_gpio_get_direction()
159 struct gpio_get_set_state get; rpi_exp_gpio_get() local
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-raspberrypi-exp.c57 struct gpio_get_config get; in rpi_exp_gpio_get_polarity() local
62 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_polarity()
65 &get, sizeof(get)); in rpi_exp_gpio_get_polarity()
66 if (ret || get.gpio != 0) { in rpi_exp_gpio_get_polarity()
67 dev_err(gc->parent, "Failed to get GPIO %u config (%d %x)\n", in rpi_exp_gpio_get_polarity()
68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity()
71 return get.polarity; in rpi_exp_gpio_get_polarity()
135 struct gpio_get_config get; in rpi_exp_gpio_get_direction() local
140 get in rpi_exp_gpio_get_direction()
159 struct gpio_get_set_state get; rpi_exp_gpio_get() local
[all...]
/base/powermgr/battery_manager/charger/src/
H A Danimation_config.cpp65 info.common.id = component.at("id").get<std::string>(); in ParseAnimationLabel()
68 info.text = component.at("text").get<std::string>(); in ParseAnimationLabel()
71 info.common.x = component.at("x").get<int>(); in ParseAnimationLabel()
74 info.common.y = component.at("y").get<int>(); in ParseAnimationLabel()
77 info.common.w = component.at("w").get<int>(); in ParseAnimationLabel()
80 info.common.h = component.at("h").get<int>(); in ParseAnimationLabel()
83 info.fontSize = component.at("fontSize").get<int8_t>(); in ParseAnimationLabel()
86 info.fontColor = component.at("fontColor").get<std::string>(); in ParseAnimationLabel()
89 info.bgColor = component.at("bgColor").get<std::string>(); in ParseAnimationLabel()
92 info.align = component.at("align").get<st in ParseAnimationLabel()
[all...]
/base/startup/init/services/modules/seccomp/scripts/tools/
H A Dmerge_policy.py37 for item in itme_dict.get(arch):
42 func_name_to_nr.update({item: name_nr_table.get(arch).get(func_name)})
47 if syscall_name_dict.get(arch):
53 for func_name, _ in syscall_name_dict.get('arm64'):
55 for func_name_arm, nr_arm in syscall_name_dict.get('arm'):
58 syscall_name_dict.get('arm').remove((func_name, nr_arm))
63 if (syscall_name_dict.get('arm')):
65 [func_name for func_name, _ in syscall_name_dict.get('arm')]))
66 if (syscall_name_dict.get('riscv6
[all...]
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsContextTest.cpp76 TLSContext::SetMinAndMaxProtocol(tlsContext.get()); in HWTEST_F()
77 bool isInitTlsContext = TLSContext::InitTlsContext(tlsContext.get(), configuration); in HWTEST_F()
79 bool isSetCipherList = TLSContext::SetCipherList(tlsContext.get(), configuration); in HWTEST_F()
81 bool isSetSignatureAlgorithms = TLSContext::SetSignatureAlgorithms(tlsContext.get(), configuration); in HWTEST_F()
83 TLSContext::GetCiphers(tlsContext.get()); in HWTEST_F()
84 TLSContext::UseRemoteCipher(tlsContext.get()); in HWTEST_F()
85 bool setCaAndVerify = TLSContext::SetCaAndVerify(tlsContext.get(), configuration); in HWTEST_F()
87 bool setLocalCert = TLSContext::SetLocalCertificate(tlsContext.get(), configuration); in HWTEST_F()
89 bool setKeyAndCheck = TLSContext::SetKeyAndCheck(tlsContext.get(), configuration); in HWTEST_F()
91 TLSContext::SetVerify(tlsContext.get()); in HWTEST_F()
[all...]
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsContextTest.cpp76 TLSContext::SetMinAndMaxProtocol(tlsContext.get()); in HWTEST_F()
77 bool isInitTlsContext = TLSContext::InitTlsContext(tlsContext.get(), configuration); in HWTEST_F()
79 bool isSetCipherList = TLSContext::SetCipherList(tlsContext.get(), configuration); in HWTEST_F()
81 bool isSetSignatureAlgorithms = TLSContext::SetSignatureAlgorithms(tlsContext.get(), configuration); in HWTEST_F()
83 TLSContext::GetCiphers(tlsContext.get()); in HWTEST_F()
84 TLSContext::UseRemoteCipher(tlsContext.get()); in HWTEST_F()
85 bool setCaAndVerify = TLSContext::SetCaAndVerify(tlsContext.get(), configuration); in HWTEST_F()
87 bool setLocalCert = TLSContext::SetLocalCertificate(tlsContext.get(), configuration); in HWTEST_F()
89 bool setKeyAndCheck = TLSContext::SetKeyAndCheck(tlsContext.get(), configuration); in HWTEST_F()
91 TLSContext::SetVerify(tlsContext.get()); in HWTEST_F()
[all...]
/test/testfwk/arkxtest/jsunit/src/module/config/
H A DDataDriver.js24 static get(object, name, defaultValue) {
58 if (ObjectUtils.has(specItem, IT_KEY) && ObjectUtils.get(specItem, IT_KEY) === specDesc) {
59 return ObjectUtils.get(specItem, PARAMS_KEY, specParams);
69 let suites = ObjectUtils.get(this.data, SUITES_KEY, []);
71 let describeValue = ObjectUtils.get(suiteItem, DESCRIBE_KEY, '');
73 let specs = ObjectUtils.get(suiteItem, SPECS_KEY, []);
83 let suites = ObjectUtils.get(this.data, SUITES_KEY, []);
85 let describeValue = ObjectUtils.get(suiteItem, DESCRIBE_KEY, []);
87 suiteParams = Object.assign({}, suiteParams, ObjectUtils.get(suiteItem, PARAMS_KEY, suiteParams));
99 if (ObjectUtils.has(specItem, IT_KEY) && ObjectUtils.get(specIte
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp242 groupId = jsonObject[TAG_GROUP_ID].get<std::string>(); in CreateResponseAuthMessage()
270 int32_t msgType = jsonObject[TAG_MSG_TYPE].get<int32_t>(); in ParseMessage()
305 authResponseContext_->publicKey = json[TAG_PUBLICKEY].get<std::string>(); in ParsePublicKeyMessageExt()
313 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseAuthResponseMessageExt()
316 authResponseContext_->token = json[TAG_TOKEN].get<std::string>(); in ParseAuthResponseMessageExt()
319 authResponseContext_->confirmOperation = json[TAG_CONFIRM_OPERATION].get<int32_t>(); in ParseAuthResponseMessageExt()
322 authResponseContext_->requestId = json[TAG_REQUEST_ID].get<int64_t>(); in ParseAuthResponseMessageExt()
329 authResponseContext_->reply = json[TAG_REPLY].get<int32_t>(); in ParseResponseFinishMessage()
332 authResponseContext_->isFinish = json[TAG_AUTH_FINISH].get<bool>(); in ParseResponseFinishMessage()
339 authResponseContext_->authType = json[TAG_AUTH_TYPE].get<int32_ in GetAuthReqMessage()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_encoder/
H A Dvideo_encoder.cpp60 ret = OH_VideoEncoder_Prepare(codec_.get()); in Config()
70 int ret = OH_VideoEncoder_Start(codec_.get()); in Start()
79 int ret = OH_VideoEncoder_Flush(codec_.get()); in Flush()
88 int32_t ret = OH_VideoEncoder_Stop(codec_.get()); in Stop()
97 int32_t ret = OH_VideoEncoder_Reset(codec_.get()); in Reset()
105 return std::shared_ptr<OH_AVFormat>(OH_VideoEncoder_GetInputDescription(codec_.get()), OH_AVFormat_Destroy); in GetFormat()
112 int32_t ret = OH_VideoEncoder_NotifyEndOfStream(codec_.get()); in NotifyEndOfStream()
123 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_WIDTH, sampleInfo.videoWidth); in Configure()
124 OH_AVFormat_SetIntValue(format.get(), OH_MD_KEY_HEIGHT, sampleInfo.videoHeight); in Configure()
125 OH_AVFormat_SetDoubleValue(format.get(), OH_MD_KEY_FRAME_RAT in Configure()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dinner_model_test.cpp945 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
970 liteGraph.get()->all_tensors_.emplace_back(tp); in HWTEST_F()
971 liteGraph.get()->sub_graphs_.emplace_back(subGraph); in HWTEST_F()
975 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
992 liteGraph.get()->all_nodes_.emplace_back(nullptr); in HWTEST_F()
994 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
1008 liteGraph.get()->all_nodes_.emplace_back(node); in HWTEST_F()
1010 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
1033 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive)); in HWTEST_F()
1035 OHOS::HDI::Nnrt::V2_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffe in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp88 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
113 liteGraph.get()->all_tensors_.emplace_back(tp); in HWTEST_F()
114 liteGraph.get()->sub_graphs_.emplace_back(subGraph); in HWTEST_F()
118 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
135 liteGraph.get()->all_nodes_.emplace_back(nullptr); in HWTEST_F()
137 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
151 liteGraph.get()->all_nodes_.emplace_back(node); in HWTEST_F()
153 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffer); in HWTEST_F()
176 liteGraph.get()->all_nodes_.emplace_back(getNode(primitive)); in HWTEST_F()
178 OHOS::HDI::Nnrt::V1_0::Model * model = LiteGraph_To_HDIModel(liteGraph.get(), tensorBuffe in HWTEST_F()
[all...]
/kernel/liteos_m/tools/
H A Dmem_analysis.py64 c.value = values.get('offsets')
66 c.value = values.get('section')
68 c.value = values.get('sizeH')
70 c.value = values.get('sizeD')
72 c.value = values.get('symbol')
74 c.value = values.get('lib')
76 c.value = values.get('obj')
85 target_list.append('{:<10s}'.format(values.get('offsets')))
86 target_list.append('{:<30s}'.format(values.get('section')))
87 target_list.append('{:<10}'.format(values.get('size
[all...]
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Ddownload_manager_preview.cpp71 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str());
72 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEFUNCTION, OnWritingMemory);
73 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEDATA, &dataOut);
75 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_USERAGENT, "libcurl-agent/1.0");
76 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str());
77 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_VERBOSE, 1L);
78 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_ERRORBUFFER, errorStr.data());
82 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXY, proxy.host.c_str());
83 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXYPORT, proxy.port);
85 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_NOPROX
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/
H A Ddemuxer.cpp39 int32_t fileFd = fileno(file_.get()); in Init()
51 demuxer_ = std::shared_ptr<OH_AVDemuxer>(OH_AVDemuxer_CreateWithSource(source_.get()), OH_AVDemuxer_Destroy); in Init()
53 auto sourceFormat = std::shared_ptr<OH_AVFormat>(OH_AVSource_GetSourceFormat(source_.get()), OH_AVFormat_Destroy); in Init()
66 ret = OH_AVDemuxer_ReadSampleBuffer(demuxer_.get(), videoTrackId_, in FillBuffer()
70 ret = OH_AVDemuxer_ReadSample(demuxer_.get(), videoTrackId_, in FillBuffer()
79 int32_t ret = OH_AVDemuxer_SeekToTime(demuxer_.get(), position, sampleInfo_->dataProducerInfo.seekMode); in Seek()
97 OH_AVFormat_GetIntValue(sourceFormat.get(), OH_MD_KEY_TRACK_COUNT, &trackCount); in GetVideoTrackInfo()
102 std::shared_ptr<OH_AVFormat>(OH_AVSource_GetTrackFormat(source_.get(), index), OH_AVFormat_Destroy); in GetVideoTrackInfo()
103 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_TRACK_TYPE, &trackType); in GetVideoTrackInfo()
106 OH_AVDemuxer_SelectTrackByID(demuxer_.get(), inde in GetVideoTrackInfo()
[all...]

Completed in 17 milliseconds

12345678910>>...275