/foundation/multimedia/av_session/frameworks/js/napi/session/include/ |
D | napi_media_description.h | 25 static napi_status GetValue(napi_env env, napi_value in, AVMediaDescription& out); 26 static napi_status SetValue(napi_env env, const AVMediaDescription& in, napi_value& out); 28 using GetterType = std::function<napi_status(napi_env, napi_value in, AVMediaDescription& out)>; 29 …tterType = std::function<napi_status(napi_env env, const AVMediaDescription& in, napi_value& out)>; 32 static napi_status GetMediaId(napi_env env, napi_value in, AVMediaDescription& out); 33 static napi_status SetMediaId(napi_env env, const AVMediaDescription& in, napi_value& out); 35 static napi_status GetAssetId(napi_env env, napi_value in, AVMediaDescription& out); 37 static napi_status GetTitle(napi_env env, napi_value in, AVMediaDescription& out); 38 static napi_status SetTitle(napi_env env, const AVMediaDescription& in, napi_value& out); 40 static napi_status GetSubtitle(napi_env env, napi_value in, AVMediaDescription& out); [all …]
|
D | napi_meta_data.h | 27 static napi_status GetValue(napi_env env, napi_value in, AVMetaData& out); 28 static napi_status SetValue(napi_env env, const AVMetaData& in, napi_value& out); 30 using GetterType = std::function<napi_status(napi_env, napi_value in, AVMetaData& out)>; 31 …using SetterType = std::function<napi_status(napi_env env, const AVMetaData& in, napi_value& out)>; 36 static napi_status GetAssetId(napi_env env, napi_value in, AVMetaData& out); 37 static napi_status SetAssetId(napi_env env, const AVMetaData& in, napi_value& out); 39 static napi_status GetTitle(napi_env env, napi_value in, AVMetaData& out); 40 static napi_status SetTitle(napi_env env, const AVMetaData& in, napi_value& out); 42 static napi_status GetArtist(napi_env env, napi_value in, AVMetaData& out); 43 static napi_status SetArtist(napi_env env, const AVMetaData& in, napi_value& out); [all …]
|
D | napi_utils.h | 81 static napi_status GetValue(napi_env env, napi_value in, bool& out); 82 static napi_status SetValue(napi_env env, const bool& in, napi_value& out); 85 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 86 static napi_status SetValue(napi_env env, const int32_t& in, napi_value& out); 89 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 90 static napi_status SetValue(napi_env env, const uint32_t& in, napi_value& out); 93 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 94 static napi_status SetValue(napi_env env, const int64_t& in, napi_value& out); 97 static napi_status GetValue(napi_env env, napi_value in, double& out); 98 static napi_status SetValue(napi_env env, const double& in, napi_value& out); [all …]
|
D | napi_playback_state.h | 30 static napi_status GetValue(napi_env env, napi_value in, AVPlaybackState& out); 31 static napi_status SetValue(napi_env env, const AVPlaybackState& in, napi_value& out); 33 using GetterType = std::function<napi_status(napi_env, napi_value in, AVPlaybackState& out)>; 34 … SetterType = std::function<napi_status(napi_env env, const AVPlaybackState& in, napi_value& out)>; 37 static napi_status GetState(napi_env env, napi_value in, AVPlaybackState& out); 38 static napi_status SetState(napi_env env, const AVPlaybackState& in, napi_value& out); 40 static napi_status GetSpeed(napi_env env, napi_value in, AVPlaybackState& out); 41 static napi_status SetSpeed(napi_env env, const AVPlaybackState& in, napi_value& out); 43 static napi_status GetPosition(napi_env env, napi_value in, AVPlaybackState& out); 44 static napi_status SetPosition(napi_env env, const AVPlaybackState& in, napi_value& out); [all …]
|
D | napi_cast_control_command.h | 34 static napi_status GetValue(napi_env env, napi_value in, AVCastControlCommand& out); 35 static napi_status SetValue(napi_env env, AVCastControlCommand& in, napi_value& out); 37 static napi_status GetNoneParam(napi_env env, napi_value in, AVCastControlCommand& out); 38 static napi_status GetForwardTime(napi_env env, napi_value in, AVCastControlCommand& out); 39 static napi_status GetRewindTime(napi_env env, napi_value in, AVCastControlCommand& out); 40 static napi_status GetSpeed(napi_env env, napi_value in, AVCastControlCommand& out); 41 static napi_status GetSeekTime(napi_env env, napi_value in, AVCastControlCommand& out); 42 static napi_status GetVolume(napi_env env, napi_value in, AVCastControlCommand& out); 43 static napi_status GetLoopMode(napi_env env, napi_value in, AVCastControlCommand& out); 45 static napi_status SetNoneParam(napi_env env, AVCastControlCommand& in, napi_value& out); [all …]
|
/foundation/multimedia/histreamer/tests/ut/ |
D | TestCompatibleCheck.cpp | 43 Capability out; variable 44 ASSERT_TRUE(Pipeline::MergeCapability(audioWildcard, wildcard, out)); 45 ASSERT_TRUE(out.mime == audioWildcard.mime); 46 ASSERT_TRUE(out.keys.empty()); 48 ASSERT_FALSE(Pipeline::MergeCapability(wrongWildcard, wildcard, out)); 49 ASSERT_TRUE(out.mime.empty()); 50 ASSERT_TRUE(out.keys.empty()); 52 ASSERT_FALSE(Pipeline::MergeCapability(wrongCapability, wildcard, out)); 53 ASSERT_TRUE(out.mime.empty()); 54 ASSERT_TRUE(out.keys.empty()); [all …]
|
/foundation/multimedia/av_session/frameworks/common/src/ |
D | avsession_descriptor.cpp | 20 bool AVHistoryDescriptor::WriteToParcel(Parcel& out) const in WriteToParcel() 22 CHECK_AND_RETURN_RET_LOG(out.WriteString(sessionId_), false, "write sessionId failed"); in WriteToParcel() 23 CHECK_AND_RETURN_RET_LOG(out.WriteString(bundleName_), false, "write bundleName failed"); in WriteToParcel() 24 CHECK_AND_RETURN_RET_LOG(out.WriteString(abilityName_), false, "write abilityName failed"); in WriteToParcel() 36 bool AVSessionDescriptor::WriteToParcel(Parcel& out) const in WriteToParcel() 38 CHECK_AND_RETURN_RET_LOG(out.WriteString(sessionId_), false, "write sessionId failed"); in WriteToParcel() 39 CHECK_AND_RETURN_RET_LOG(out.WriteInt32(sessionType_), false, "write sessionType failed"); in WriteToParcel() 40 CHECK_AND_RETURN_RET_LOG(out.WriteString(sessionTag_), false, "write sessionTag failed"); in WriteToParcel() 41 CHECK_AND_RETURN_RET_LOG(out.WriteInt32(pid_), false, "write pid failed"); in WriteToParcel() 42 CHECK_AND_RETURN_RET_LOG(out.WriteInt32(uid_), false, "write uid failed"); in WriteToParcel() [all …]
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
D | js_util.h | 60 static napi_status GetValue(napi_env env, napi_value in, napi_value& out); 61 static napi_status SetValue(napi_env env, napi_value in, napi_value& out); 63 static napi_status GetValue(napi_env env, napi_value in, bool& out); 64 static napi_status SetValue(napi_env env, const bool& in, napi_value& out); 67 static napi_status GetValue(napi_env env, napi_value in, int32_t& out); 68 static napi_status SetValue(napi_env env, const int32_t& in, napi_value& out); 71 static napi_status GetValue(napi_env env, napi_value in, uint32_t& out); 72 static napi_status SetValue(napi_env env, const uint32_t& in, napi_value& out); 75 static napi_status GetValue(napi_env env, napi_value in, int64_t& out); 76 static napi_status SetValue(napi_env env, const int64_t& in, napi_value& out); [all …]
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/ |
D | js_util.h | 88 static StatusMsg GetValue(napi_env env, napi_value in, napi_value& out); 89 static StatusMsg SetValue(napi_env env, napi_value in, napi_value& out); 91 static StatusMsg GetValue(napi_env env, napi_value in, bool& out); 92 static StatusMsg SetValue(napi_env env, const bool& in, napi_value& out); 95 static StatusMsg GetValue(napi_env env, napi_value in, int32_t& out); 96 static StatusMsg SetValue(napi_env env, const int32_t& in, napi_value& out); 99 static StatusMsg GetValue(napi_env env, napi_value in, uint32_t& out); 100 static StatusMsg SetValue(napi_env env, const uint32_t& in, napi_value& out); 103 static StatusMsg GetValue(napi_env env, napi_value in, int64_t& out); 104 static StatusMsg SetValue(napi_env env, const int64_t& in, napi_value& out); [all …]
|
/foundation/distributeddatamgr/udmf/interfaces/jskits/common/ |
D | napi_data_utils.h | 40 static napi_status GetValue(napi_env env, napi_value in, bool &out); 41 static napi_status SetValue(napi_env env, const bool &in, napi_value &out); 44 static napi_status GetValue(napi_env env, napi_value in, int32_t &out); 45 static napi_status SetValue(napi_env env, const int32_t &in, napi_value &out); 48 static napi_status GetValue(napi_env env, napi_value in, int64_t &out); 49 static napi_status SetValue(napi_env env, const int64_t &in, napi_value &out); 52 static napi_status GetValue(napi_env env, napi_value in, float &out); 53 static napi_status SetValue(napi_env env, const float &in, napi_value &out); 56 static napi_status GetValue(napi_env env, napi_value in, double &out); 57 static napi_status SetValue(napi_env env, const double &in, napi_value &out); [all …]
|
/foundation/distributedhardware/distributed_audio/hdf_interfaces/distributed_audio/audio/v1_0/ |
D | IAudioRender.idl | 22 GetLatency([out] unsigned int ms); 23 RenderFrame([in] byte[] frame, [out] unsigned long replyBytes); 24 GetRenderPosition([out] unsigned long frames, [out] struct AudioTimeStamp time); 26 GetRenderSpeed([out] float speed); 28 GetChannelMode([out] enum AudioChannelMode mode); 30 DrainBuffer([out] enum AudioDrainNotifyType type); 31 IsSupportsDrain([out] boolean support); 32 CheckSceneCapability([in] struct AudioSceneDescriptor scene, [out] boolean supported); 35 GetMute([out] boolean mute); 37 GetVolume([out] float volume); [all …]
|
D | IAudioCapture.idl | 21 CaptureFrame([out] byte[] frame, [in] unsigned long requestBytes); 22 GetCapturePosition([out] unsigned long frames, [out] struct AudioTimeStamp time); 23 CheckSceneCapability([in] struct AudioSceneDescriptor scene, [out] boolean supported); 26 GetMute([out] boolean mute); 28 GetVolume([out] float volume); 29 GetGainThreshold([out] float min, [out] float max); 30 GetGain([out] float gain); 32 GetFrameSize([out] unsigned long size); 33 GetFrameCount([out] unsigned long count); 35 GetSampleAttributes([out] struct AudioSampleAttributes attrs); [all …]
|
/foundation/multimodalinput/input/util/common/src/ |
D | key_event_napi.cpp | 27 …us KeyEventNapi::CreateKeyEvent(napi_env env, const std::shared_ptr<KeyEvent> &in, napi_value &out) in CreateKeyEvent() argument 29 …auto status = SetNameProperty(env, out, "action", in->GetKeyAction() - KeyEvent::KEY_ACTION_CANCEL… in CreateKeyEvent() 34 status = SetNameProperty(env, out, "key", keyItem); in CreateKeyEvent() 37 status = SetNameProperty(env, out, "unicodeChar", in->GetKeyItem()->GetUnicode()); in CreateKeyEvent() 41 status = SetNameProperty(env, out, "keys", keyItems); in CreateKeyEvent() 44 status = WriteKeyStatusToJs(env, in->GetPressedKeys(), out); in CreateKeyEvent() 47 status = WriteFunctionKeyStatusToJs(env, in, out); in CreateKeyEvent() 53 napi_status KeyEventNapi::GetKeyEvent(napi_env env, napi_value in, std::shared_ptr<KeyEvent> &out) in GetKeyEvent() argument 60 out->SetKeyCode(item.GetKeyCode()); in GetKeyEvent() 63 out->GetKeyItem()->SetUnicode(unicode); in GetKeyEvent() [all …]
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
D | napi_media_description.cpp | 71 napi_status NapiMediaDescription::GetValue(napi_env env, napi_value in, AVMediaDescription& out) in GetValue() argument 84 if (getter(env, in, out) != napi_ok) { in GetValue() 93 …_status NapiMediaDescription::SetValue(napi_env env, const AVMediaDescription& in, napi_value& out) in SetValue() argument 95 napi_status status = napi_create_object(env, &out); in SetValue() 96 CHECK_RETURN((status == napi_ok) && (out != nullptr), "create object failed", status); in SetValue() 100 if (setter(env, in, out) != napi_ok) { in SetValue() 124 napi_status NapiMediaDescription::GetMediaId(napi_env env, napi_value in, AVMediaDescription& out) in GetMediaId() argument 132 out.SetMediaId(property); in GetMediaId() 136 …tatus NapiMediaDescription::SetMediaId(napi_env env, const AVMediaDescription& in, napi_value& out) in SetMediaId() argument 141 status = napi_set_named_property(env, out, "mediaId", property); in SetMediaId() [all …]
|
D | napi_utils.cpp | 58 napi_status NapiUtils::GetValue(napi_env env, napi_value in, bool& out) in GetValue() argument 60 return napi_get_value_bool(env, in, &out); in GetValue() 63 napi_status NapiUtils::SetValue(napi_env env, const bool& in, napi_value& out) in SetValue() argument 65 return napi_get_boolean(env, in, &out); in SetValue() 69 napi_status NapiUtils::GetValue(napi_env env, napi_value in, int32_t& out) in GetValue() argument 71 return napi_get_value_int32(env, in, &out); in GetValue() 74 napi_status NapiUtils::SetValue(napi_env env, const int32_t& in, napi_value& out) in SetValue() argument 76 return napi_create_int32(env, in, &out); in SetValue() 80 napi_status NapiUtils::GetValue(napi_env env, napi_value in, uint32_t& out) in GetValue() argument 82 return napi_get_value_uint32(env, in, &out); in GetValue() [all …]
|
D | napi_meta_data.cpp | 117 napi_status NapiMetaData::GetValue(napi_env env, napi_value in, AVMetaData& out) in GetValue() argument 130 if (getter(env, in, out) != napi_ok) { in GetValue() 139 napi_status NapiMetaData::SetValue(napi_env env, const AVMetaData& in, napi_value& out) in SetValue() argument 141 napi_status status = napi_create_object(env, &out); in SetValue() 142 CHECK_RETURN((status == napi_ok) && (out != nullptr), "create object failed", status); in SetValue() 147 return SetUndefinedMeta(env, out); in SetValue() 155 if (setter(env, in, out) != napi_ok) { in SetValue() 171 napi_status NapiMetaData::GetAssetId(napi_env env, napi_value in, AVMetaData& out) in GetAssetId() argument 176 out.SetAssetId(property); in GetAssetId() 180 napi_status NapiMetaData::SetAssetId(napi_env env, const AVMetaData& in, napi_value& out) in SetAssetId() argument [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
D | rosen_render_svg_polygon.cpp | 42 SkPath out; in Paint() local 44 RSPath out; in Paint() local 46 if (!GetPath(&out)) { in Paint() 65 RosenSvgPainter::SetFillStyle(canvas, out, fillState_, renderInfo); in Paint() 66 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint() 81 SkPath out; in PaintDirectly() local 82 if (!GetPath(&out)) { in PaintDirectly() 90 RSPath out; in PaintDirectly() local 91 if (!GetPath(&out)) { in PaintDirectly() 102 RosenSvgPainter::SetFillStyle(canvas, out, fillState_, opacity_); in PaintDirectly() [all …]
|
D | rosen_render_svg_path.cpp | 51 SkPath out; in Paint() local 56 RSRecordingPath out; in Paint() local 58 GetPath(out); in Paint() 62 RosenSvgPainter::SetFillStyle(canvas, out, fillState_, renderInfo); in Paint() 63 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, renderInfo); in Paint() 84 SkPath out; in PaintDirectly() local 92 RSRecordingPath out; in PaintDirectly() local 94 GetPath(out); in PaintDirectly() 96 RosenSvgPainter::SetFillStyle(canvas, out, fillState_, opacity_); in PaintDirectly() 97 RosenSvgPainter::SetStrokeStyle(canvas, out, strokeState_, opacity_); in PaintDirectly() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
D | svg_path.cpp | 40 SkPath out; in AsPath() local 42 CHECK_NULL_RETURN(declaration, out); in AsPath() 46 SkParsePath::FromSVGString(pathD.c_str(), &out); in AsPath() 49 out.setFillType(SkPath::FillType::kEvenOdd_FillType); in AsPath() 51 out.setFillType(SkPathFillType::kEvenOdd); in AsPath() 55 return out; in AsPath() 60 RSRecordingPath out; in AsPath() local 62 CHECK_NULL_RETURN(declaration, out); in AsPath() 66 out.BuildFromSVGString(pathD); in AsPath() 68 out.SetFillStyle(RSPathFillType::EVENTODD); in AsPath() [all …]
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
D | ohos_bt_adapter_utils.cpp | 33 void ConvertAddr(const unsigned char in[6], std::string &out) in ConvertAddr() argument 41 out = string(temp); in ConvertAddr() 44 void GetAddrFromString(std::string in, unsigned char out[6]) { in GetAddrFromString() 48 out[j] = strtoul(in.substr(i, 2).c_str(), 0, 16); in GetAddrFromString() 60 void GetAddrFromByte(unsigned char in[6], std::string &out) in GetAddrFromByte() argument 65 out = string(temp); in GetAddrFromByte() 68 void GetAclStateName(int transport, int state, std::string &out) in GetAclStateName() argument 73 out = "OHOS_GAP_ACL_STATE_CONNECTED(0)"; in GetAclStateName() 75 out = "OHOS_GAP_ACL_STATE_DISCONNECTED(1)"; in GetAclStateName() 77 out = "Unknown state"; in GetAclStateName() [all …]
|
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/ |
D | napi_data_utils.cpp | 26 napi_status NapiDataUtils::GetValue(napi_env env, napi_value in, bool &out) in GetValue() argument 29 return napi_get_value_bool(env, in, &out); in GetValue() 32 napi_status NapiDataUtils::SetValue(napi_env env, const bool &in, napi_value &out) in SetValue() argument 35 return napi_get_boolean(env, in, &out); in SetValue() 39 napi_status NapiDataUtils::GetValue(napi_env env, napi_value in, int32_t &out) in GetValue() argument 42 return napi_get_value_int32(env, in, &out); in GetValue() 45 napi_status NapiDataUtils::SetValue(napi_env env, const int32_t &in, napi_value &out) in SetValue() argument 48 return napi_create_int32(env, in, &out); in SetValue() 52 napi_status NapiDataUtils::GetValue(napi_env env, napi_value in, int64_t &out) in GetValue() argument 55 return napi_get_value_int64(env, in, &out); in GetValue() [all …]
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/ |
D | js_util.cpp | 27 napi_status JSUtil::GetValue(napi_env env, napi_value in, bool &out) in GetValue() argument 30 return napi_get_value_bool(env, in, &out); in GetValue() 33 napi_status JSUtil::SetValue(napi_env env, const bool &in, napi_value &out) in SetValue() argument 36 return napi_get_boolean(env, in, &out); in SetValue() 40 napi_status JSUtil::GetValue(napi_env env, napi_value in, double &out) in GetValue() argument 43 return napi_get_value_double(env, in, &out); in GetValue() 46 napi_status JSUtil::SetValue(napi_env env, const double &in, napi_value &out) in SetValue() argument 49 return napi_create_double(env, in, &out); in SetValue() 53 napi_status JSUtil::GetValue(napi_env env, napi_value in, std::string &out) in GetValue() argument 69 out = std::string(buf); in GetValue() [all …]
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/system/ |
D | dfsu_mount_argument_descriptors_test.cpp | 68 std::string out = "/data/service/el2/0/hmdfs/"; variable 70 EXPECT_STREQ(ret.c_str(), out.c_str()); 88 std::string out = "/mnt/hmdfs/0/"; variable 90 EXPECT_STREQ(ret.c_str(), out.c_str()); 108 std::string out = "/data/service/el2/0/hmdfs//cache/"; variable 110 EXPECT_STREQ(ret.c_str(), out.c_str()); 128 std::string out = "/sys/fs/hmdfs/2989455826978503469/cmd"; variable 130 EXPECT_STREQ(ret.c_str(), out.c_str()); 148 std::string out = "local_dst=/mnt/hmdfs/0/"; variable 150 EXPECT_STREQ(ret.c_str(), out.c_str()); [all …]
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
D | dns_getaddrinfo_test.cpp | 75 std::vector<AddrInfo> out; variable 76 getInfo.ParseAddr(addrNum, servNum, servData, addrData, canon, len, out); 77 int32_t res = out.empty(); 91 std::vector<AddrInfo> out; variable 92 getInfo.ParseAddr(addrNum, servNum, servData, addrData, canon, len, out); 93 int32_t res = out.empty(); 107 std::vector<AddrInfo> out; variable 108 getInfo.ParseAddr(addrNum, servNum, servData, addrData, canon, len, out); 109 int32_t res = out.empty(); 124 std::vector<AddrInfo> out; variable [all …]
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
D | inet_addr.cpp | 28 bool out = true; in operator ==() local 29 out = out && (type_ == obj.type_); in operator ==() 30 out = out && (family_ == obj.family_); in operator ==() 31 out = out && (prefixlen_ == obj.prefixlen_); in operator ==() 32 out = out && (address_ == obj.address_); in operator ==() 33 out = out && (netMask_ == obj.netMask_); in operator ==() 34 out = out && (hostName_ == obj.hostName_); in operator ==() 35 out = out && (port_ == obj.port_); in operator ==() 36 return out; in operator ==()
|