/drivers/peripheral/codec/test/demo/v2.0/src/ |
H A D | codec_hdi_decode.cpp | 352 auto err = client_->UseBuffer(client_, static_cast<uint32_t>(portIndex), omxBuffer.get()); in UseBufferOnPort() 466 auto err = client_->UseBuffer(client_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), omxBuffer.get()); in UseBufferHandle() 494 (void)client_->FreeBuffer(client_, static_cast<uint32_t>(bufferInfo->portIndex), bufferInfo->omxBuffer.get()); in FreeBuffers() 533 auto buffer = bufferInfo->omxBuffer.get(); in FillAllTheBuffer() 570 auto err = omxMgr_->GetComponentCapabilityList(caps.get(), count); in GetComponent() 633 err = client_->EmptyThisBuffer(client_, bufferInfo->omxBuffer.get()); in Run() 715 auto err = client_->FillThisBuffer(client_, bufferInfo->omxBuffer.get()); in OnFillBufferDone()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_mgr.cpp | 209 if (std::get<0>(ret) == 0) { in DeleteText() 212 textInputClient->SetCaretOffset(std::get<INDEX_S>(ret)); in DeleteText() 213 textInputClient->DeleteForward(std::get<INDEX_E>(ret) - std::get<INDEX_S>(ret)); in DeleteText() 259 if (std::get<0>(ret) == 0) { in ChoiceText() 266 textInputClient->SetSelection(std::get<INDEX_S>(ret), std::get<INDEX_E>(ret), option); in ChoiceText()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_state_machine.cpp | 292 std::make_unique<CtConnected>(AVRC_TG_SM_STATE_CONNECTED, *this, rawAddr_, *ctConnectingPtr.get()); in AddStates() 295 std::make_unique<CtDisconnecting>(AVRC_TG_SM_STATE_DISCONNECTING, *this, rawAddr_, *ctConnectedPtr.get()); in AddStates() 298 std::make_unique<CtContinuation>(AVRC_TG_SM_STATE_CONTINUATION, *this, rawAddr_, *ctConnectedPtr.get()); in AddStates() 301 std::make_unique<CtDisable>(AVRC_TG_SM_STATE_DISABLE, *this, rawAddr_, *ctConnectedPtr.get()); in AddStates() 313 std::make_unique<BrConnected>(AVRC_TG_SM_STATE_CONNECTED, *this, rawAddr_, *brConnectingPtr.get()); in AddStates() 316 std::make_unique<BrDisconnecting>(AVRC_TG_SM_STATE_DISCONNECTING, *this, rawAddr_, *brConnectedPtr.get()); in AddStates() 522 AvrcTgAcrPacket *packet = static_cast<AvrcTgAcrPacket *>(cnManager->GetVendorPacket(rawAddr_).get()); in ToAbortContinuingEvent()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_napi.cpp | 140 napi->native_ = sNativeImageHolder_.get(id);
in Constructor() 146 IMAGE_ERR("Failed to get native image");
in Constructor() 151 reinterpret_cast<void *>(napi.get()), SendableImageNapi::Destructor, nullptr);
in Constructor() 199 IMAGE_ERR("Input args is invalid %{public}p vs %{public}p", env, nativeImage.get());
in Create() 261 return native_.get();
in GetNative() 390 IMAGE_ERR("Image native get size failed");
in JSGetClipRect() 416 IMAGE_ERR("Image native get size failed");
in JsGetSize() 441 IMAGE_ERR("Image native get format failed");
in JsGetFormat() 463 IMAGE_ERR("Image native get timestamp failed");
in JsGetTimestamp() 524 JSReleaseCallBack, context.get())) {
in JsRelease() [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/audio_server_sink/ |
H A D | audio_server_sink_plugin.cpp | 154 if (std::get<1>(item) != OHOS::AudioStandard::AudioSampleFormat::INVALID_WIDTH || in UpdateSupportedSampleFormat() 155 std::get<2>(item) != AV_SAMPLE_FMT_NONE) { in UpdateSupportedSampleFormat() 156 values.emplace_back(std::get<0>(item)); in UpdateSupportedSampleFormat() 417 para = DEFAULT_OUTPUT_CHANNELS; // get the real output channels from audio server here in GetParameter() 421 para = DEFAULT_OUTPUT_CHANNEL_LAYOUT; // get the real output channel layout from audio server here in GetParameter() 491 return std::get<0>(tmp) == sampleFormat; in AssignSampleFmtIfSupported() 493 auto stdFmt = std::get<1>(*item); in AssignSampleFmtIfSupported() 495 if (std::get<2>(*item) == AV_SAMPLE_FMT_NONE) { // 2 in AssignSampleFmtIfSupported() 500 reSrcFfFmt_ = std::get<2>(*item); // 2 in AssignSampleFmtIfSupported()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_napi.cpp | 141 napi->native_ = sNativeImageHolder_.get(id); in Constructor() 147 IMAGE_ERR("Failed to get native image"); in Constructor() 152 reinterpret_cast<void *>(napi.get()), ImageNapi::Destructor, nullptr, nullptr); in Constructor() 200 IMAGE_ERR("Input args is invalid %{public}p vs %{public}p", env, nativeImage.get()); in Create() 263 return native_.get(); in GetNative() 399 IMAGE_ERR("Image native get size failed"); in JSGetClipRect() 425 IMAGE_ERR("Image native get size failed"); in JsGetSize() 450 IMAGE_ERR("Image native get format failed"); in JsGetFormat() 472 IMAGE_ERR("Image native get timestamp failed"); in JsGetTimestamp() 533 JSReleaseCallBack, context.get())) { in JsRelease() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/ |
H A D | distributeddb_communicator_deep_test.cpp | 716 * @tc.desc: Test networkAdapter get mtu func 747 * @tc.desc: Test networkAdapter get timeout func 795 EXPECT_EQ(adapter->SendBytes("DEVICES_B", data.get(), 0, 0), -E_INVALID_ARGS); in HWTEST_F() 800 EXPECT_EQ(adapter->SendBytes("DEVICES_B", data.get(), 1, 0), E_OK); in HWTEST_F() 856 onDataReceive(deviceInfos, data.get(), 0); in HWTEST_F() 864 onDataReceive(deviceInfos, data.get(), 1); in HWTEST_F() 873 onDataReceive(deviceInfos, data.get(), 1); in HWTEST_F() 876 onDataReceive(deviceInfos, data.get(), 1); in HWTEST_F() 922 EXPECT_EQ(adapter->SendBytes("", data.get(), 1, 0), -E_PERIPHERAL_INTERFACE_FAIL); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_socket_transport.cpp | 67 // This function is used to get the Bluetooth address of the peer of the connected channel 79 // get transport key 158 // This function is used to get the Bluetooth address of the peer of the connected channel 175 // get transport key 417 if (it->second.get() == &subTransport) { in Disconnect() 451 // get transport key 554 mainTran_.observer_.OnTransportConnectIncoming(*mainTran_.incomingConnectMap_.at(strAddr).get()); in ProcessOnConnectIncoming() 585 ObexTransport *subTran = subTransport.get(); in ProcessOnConnected() 607 ObexSocketTransport *subTran = mainTran_.subTranMap_.at(transport).get(); in ProcessOnDisconnected() 653 ObexSocketTransport *subTran = mainTran_.subTranMap_.at(transport).get(); in ProcessOnDataAvailable() [all...] |
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/ |
H A D | file_access_service.cpp | 319 if (obsManager_.get(code) != nullptr) { in OperateObsNode() 320 obsManager_.get(code)->UnRef(); in OperateObsNode() 338 HILOG_ERROR("Creator get invalid fileExtProxy"); in OperateObsNode() 385 auto object = obsManager_.get(code); in RegisterNotifyImpl() 449 auto context = obsManager_.get(code); in CleanAllNotifyImpl() 467 HILOG_ERROR("Creator get invalid fileExtProxy"); in CleanAllNotifyImpl() 529 auto object = obsManager_.get(code); in UnregisterNotifyImpl() 555 if (obsManager_.get(code) == nullptr) { in SendListNotify() 556 HILOG_ERROR("Failed to get obs code = %{private}ud", code); in SendListNotify() 559 auto context = obsManager_.get(cod in SendListNotify() [all...] |
/kernel/linux/linux-5.10/sound/mips/ |
H A D | sgio2audio.c | 226 .get = sgio2audio_gain_get, 238 .get = sgio2audio_gain_get, 249 .get = sgio2audio_gain_get, 259 .get = sgio2audio_source_get, 271 .get = sgio2audio_gain_get, 283 .get = sgio2audio_gain_get, 294 .get = sgio2audio_gain_get, 342 /* get data out of bounce buffer, count must be a multiple of 32 */ 643 /* get the current hardware pointer */ in snd_sgio2audio_pcm_pointer()
|
/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | ews.c | 605 .get = snd_ice1712_ewx_io_sense_get, 613 .get = snd_ice1712_ewx_io_sense_get, 712 .get = snd_ice1712_ews88mt_input_sense_get, 721 .get = snd_ice1712_ews88mt_output_sense_get, 790 .get = snd_ice1712_ews88d_control_get,\ 926 .get = snd_ice1712_6fire_control_get,\ 936 .get = snd_ice1712_6fire_select_input_get,
|
/kernel/linux/linux-5.10/sound/aoa/codecs/ |
H A D | onyx.c | 174 .get = onyx_snd_vol_get, 236 .get = onyx_snd_inputgain_get, 302 .get = onyx_snd_capture_source_get, 355 .get = onyx_snd_mute_get, 421 .get = onyx_snd_single_bit_get, \ 483 .get = onyx_spdif_mask_get, 540 .get = onyx_spdif_get,
|
/kernel/linux/linux-5.10/sound/soc/img/ |
H A D | img-spdif-in.c | 577 .get = img_spdif_in_get_status_mask 585 .get = img_spdif_in_get_status 591 .get = img_spdif_in_get_multi_freq, 600 .get = img_spdif_in_get_lock_freq 606 .get = img_spdif_in_get_trk, 613 .get = img_spdif_in_get_lock_acquire, 620 .get = img_spdif_in_get_lock_release,
|
/kernel/linux/linux-6.6/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 233 self.name = TPM2_FMT1_ERRORS.get(rc & 0x3f, "TPM_RC_UNKNOWN") 235 self.name = TPM2_WARN_ERRORS.get(rc & 0x7f, "TPM_RC_UNKNOWN") 237 self.name = TPM2_VER1_ERRORS.get(rc & 0x7f, "TPM_RC_UNKNOWN") 239 self.name = TPM2_VER0_ERRORS.get(rc & 0x7f, "TPM_RC_UNKNOWN") 326 ds = ALG_DIGEST_SIZE_MAP.get(alg) 333 f = ALG_HASH_FUNCTION_MAP.get(alg) 340 alg = NAME_ALG_MAP.get(name)
|
/kernel/linux/linux-6.6/sound/aoa/codecs/ |
H A D | onyx.c | 174 .get = onyx_snd_vol_get, 236 .get = onyx_snd_inputgain_get, 302 .get = onyx_snd_capture_source_get, 355 .get = onyx_snd_mute_get, 421 .get = onyx_snd_single_bit_get, \ 483 .get = onyx_spdif_mask_get, 540 .get = onyx_spdif_get,
|
/kernel/linux/linux-6.6/sound/mips/ |
H A D | sgio2audio.c | 225 .get = sgio2audio_gain_get, 237 .get = sgio2audio_gain_get, 248 .get = sgio2audio_gain_get, 258 .get = sgio2audio_source_get, 270 .get = sgio2audio_gain_get, 282 .get = sgio2audio_gain_get, 293 .get = sgio2audio_gain_get, 341 /* get data out of bounce buffer, count must be a multiple of 32 */ 642 /* get the current hardware pointer */ in snd_sgio2audio_pcm_pointer()
|
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | ews.c | 609 .get = snd_ice1712_ewx_io_sense_get, 617 .get = snd_ice1712_ewx_io_sense_get, 716 .get = snd_ice1712_ews88mt_input_sense_get, 725 .get = snd_ice1712_ews88mt_output_sense_get, 794 .get = snd_ice1712_ews88d_control_get,\ 934 .get = snd_ice1712_6fire_control_get,\ 944 .get = snd_ice1712_6fire_select_input_get,
|
/kernel/linux/linux-6.6/sound/soc/img/ |
H A D | img-spdif-in.c | 577 .get = img_spdif_in_get_status_mask 585 .get = img_spdif_in_get_status 591 .get = img_spdif_in_get_multi_freq, 600 .get = img_spdif_in_get_lock_freq 606 .get = img_spdif_in_get_trk, 613 .get = img_spdif_in_get_lock_acquire, 620 .get = img_spdif_in_get_lock_release,
|
/third_party/gn/src/gn/ |
H A D | parser.cc | 227 // in between the constants, and right-associative operators get a precedence 576 *err_ = Err(left.get(), in Assignment() 600 left.get(), "May only subscript identifiers.", in Subscript() 618 left.get(), "May only use \".\" for identifiers.", in DotOperator() 705 AssignComments(file.get()); in ParseFile() 720 if (stmt->AsFunctionCall() || IsAssignment(stmt.get())) in ParseStatement() 794 TraverseOrder(statement.get(), pre, post); in TraverseOrder() 807 TraverseOrder(node.get(), pre, post); in TraverseOrder()
|
H A D | setup.cc | 368 reinterpret_cast<LPWSTR>(full_path.get()), path_length); 373 std::u16string_view(full_path.get(), path_length), u";", 406 builder_(loader_.get()), 659 args_tokens_ = Tokenizer::Tokenize(args_input_file_.get(), err); 773 *err = Err(Location(), "Can't get the real root path.", 774 "I could not get the real path of \"" + 806 *err = Err(Location(), "Can't get the real build dir path.", 807 "I could not get the real path of \"" + 924 dotfile_tokens_ = Tokenizer::Tokenize(dotfile_input_file_.get(), err); 1110 current_dir, check_patterns_.get(), er [all...] |
/third_party/json/tests/src/ |
H A D | unit-testsuites.cpp | 113 CHECK(json::parse(json_string)[0].get<double>() == Approx(expected)); 245 CHECK(json::parse(json_string)[0].get<std::string>() == expected); 368 CHECK_NOTHROW(_ = json::parse(f.get())); 375 CHECK_NOTHROW(_ = json::parse(f.get())); 382 CHECK_NOTHROW(_ = json::parse(f.get())); 389 CHECK_NOTHROW(_ = json::parse(f.get())); 396 CHECK_NOTHROW(_ = json::parse(f.get()));
|
/third_party/node/test/common/ |
H A D | index.js | 548 const cachedProxy = _mustNotMutateObjectDeepProxies.get(original); 563 get(target, prop, receiver) { 564 return mustNotMutateObjectDeep(Reflect.get(target, prop, receiver)); 941 get enoughTestMem() { 945 get hasFipsCrypto() { 949 get hasIPv6() { 965 get inFreeBSDJail() { 980 get isAIX() { 984 get isIBMi() { 988 get isLinuxPPCB [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-wasm.cc | 419 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION() 446 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION() 517 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION() 536 WasmTableObject::cast(instance->tables().get(table_index)), isolate); in RUNTIME_FUNCTION() 732 auto stack = Managed<wasm::StackMemory>::cast(continuation.stack()).get(); in SyncStackLimit() 756 Managed<wasm::StackMemory>::cast(target->stack()).get().get(); in RUNTIME_FUNCTION()
|
/third_party/python/Lib/ |
H A D | functools.py | 394 get = getattr(self.func, "__get__", None) 396 if get is not None: 397 new_func = get(obj, cls) 534 cache_get = cache.get # bound method to lookup a key or return None 535 cache_len = cache.__len__ # get cache size without calling len() 798 return registry.get(match) 995 val = cache.get(self.attrname, _NOT_FOUND) 999 val = cache.get(self.attrname, _NOT_FOUND)
|
/third_party/python/Lib/http/ |
H A D | server.py | 362 conntype = self.headers.get('Connection', "") 369 expect = self.headers.get('Expect', "") 958 """Internal routine to get nobody's uid""" 1115 authorization = self.headers.get("authorization") 1133 if self.headers.get('content-type') is None: 1137 length = self.headers.get('content-length') 1140 referer = self.headers.get('referer') 1145 ua = self.headers.get('user-agent')
|