Home
last modified time | relevance | path

Searched refs:range (Results 1 - 25 of 292) sorted by relevance

12345678910>>...12

/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dconfigure_test.cpp93 OH_AVRange range; in HWTEST_F() local
94 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
97 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F()
106 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.maxVal + 1); in HWTEST_F()
111 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, range.minVal - 1); in HWTEST_F()
123 OH_AVRange range; in HWTEST_F() local
124 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
127 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F()
128 cout << "minval=" << range.minVal << " maxval=" << range in HWTEST_F()
156 OH_AVRange range; HWTEST_F() local
189 OH_AVRange range; HWTEST_F() local
222 OH_AVRange range; HWTEST_F() local
255 OH_AVRange range; HWTEST_F() local
288 OH_AVRange range; HWTEST_F() local
320 OH_AVRange range; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/tls_test/core/
H A Dtls_config_enhanced.test.cpp82 TransferRange range; in HWTEST_F() local
83 range.push_back({}); in HWTEST_F()
84 range.push_back({ in HWTEST_F()
88 range.push_back({ in HWTEST_F()
92 EXPECT_EQ(range.ToHeaderString(), "100-200, 300-400"); in HWTEST_F()
94 range = {}; in HWTEST_F()
95 EXPECT_EQ(range.ToHeaderString(), ""); in HWTEST_F()
118 TlsVersionRange range; in HWTEST_F() local
119 range = ConvertTlsVersion(TlsVersion::DEFAULT); in HWTEST_F()
120 EXPECT_EQ(range in HWTEST_F()
[all...]
/foundation/communication/netstack/test/unittest/tlssocket/core/
H A Dtls_config_enhanced.test.cpp82 TransferRange range; in HWTEST_F() local
83 range.push_back({}); in HWTEST_F()
84 range.push_back({ in HWTEST_F()
88 range.push_back({ in HWTEST_F()
92 EXPECT_EQ(range.ToHeaderString(), "100-200, 300-400"); in HWTEST_F()
94 range = {}; in HWTEST_F()
95 EXPECT_EQ(range.ToHeaderString(), ""); in HWTEST_F()
118 TlsVersionRange range; in HWTEST_F() local
119 range = ConvertTlsVersion(TlsVersion::DEFAULT); in HWTEST_F()
120 EXPECT_EQ(range in HWTEST_F()
[all...]
/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_config_enhanced.cpp149 for (const auto &range : *this) { in ToHeaderString()
150 if (!range.from && !range.to) { in ToHeaderString()
153 std::string from = range.from ? std::to_string(range.from.value()) : ""; in ToHeaderString()
154 std::string to = range.to ? std::to_string(range.to.value()) : ""; in ToHeaderString()
206 TlsVersionRange range; in ConvertTlsVersion() local
208 return range; in ConvertTlsVersion()
211 range in ConvertTlsVersion()
[all...]
/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/
H A Dcodeclist_capi_mock.cpp68 OH_AVRange range; in GetEncoderBitrateRange() local
69 int32_t ret = OH_AVCapability_GetEncoderBitrateRange(codeclist_, &range); in GetEncoderBitrateRange()
74 retRange.minVal = range.minVal; in GetEncoderBitrateRange()
75 retRange.maxVal = range.maxVal; in GetEncoderBitrateRange()
95 OH_AVRange range; in GetEncoderQualityRange() local
96 int32_t ret = OH_AVCapability_GetEncoderQualityRange(codeclist_, &range); in GetEncoderQualityRange()
101 retRange.minVal = range.minVal; in GetEncoderQualityRange()
102 retRange.maxVal = range.maxVal; in GetEncoderQualityRange()
113 OH_AVRange range; in GetEncoderComplexityRange() local
114 int32_t ret = OH_AVCapability_GetEncoderComplexityRange(codeclist_, &range); in GetEncoderComplexityRange()
150 OH_AVRange range; GetAudioChannelsRange() local
198 OH_AVRange range; GetVideoWidthRangeForHeight() local
216 OH_AVRange range; GetVideoHeightRangeForWidth() local
234 OH_AVRange range; GetVideoWidthRange() local
252 OH_AVRange range; GetVideoHeightRange() local
279 OH_AVRange range; GetVideoFrameRateRange() local
297 OH_AVRange range; GetVideoFrameRateRangeForSize() local
[all...]
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_proxy.cpp184 ErrCode DhcpServerProxy::SetDhcpRange(const std::string& ifname, const DhcpRange& range) in SetDhcpRange() argument
199 data.WriteInt32(range.iptype); in SetDhcpRange()
200 data.WriteInt32(range.leaseHours); in SetDhcpRange()
201 data.WriteString(range.strTagName); in SetDhcpRange()
202 data.WriteString(range.strStartip); in SetDhcpRange()
203 data.WriteString(range.strEndip); in SetDhcpRange()
204 data.WriteString(range.strSubnet); in SetDhcpRange()
208 __func__, __LINE__, ifname.c_str(), range.iptype, range.leaseHours, range in SetDhcpRange()
261 PutDhcpRange(const std::string& tagName, const DhcpRange& range) PutDhcpRange() argument
399 RemoveDhcpRange(const std::string& tagName, const DhcpRange& range) RemoveDhcpRange() argument
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp32 DhcpRange range; in DhcpServerFuzzerTest() local
34 range.strTagName = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
35 range.strStartip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
36 range.strEndip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
37 range.strSubnet = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
38 range.iptype = static_cast<int>(data[0]) % call; in DhcpServerFuzzerTest()
39 range.leaseHours = static_cast<int>(data[0]); in DhcpServerFuzzerTest()
45 dhcpServer->PutDhcpRange(ifname, range); in DhcpServerFuzzerTest()
46 dhcpServer->RemoveDhcpRange(ifname, range); in DhcpServerFuzzerTest()
48 dhcpServer->SetDhcpRange(ifname, range); in DhcpServerFuzzerTest()
[all...]
/foundation/resourceschedule/ffrt/benchmarks/
H A Dplot.py37 for i in range(len(stall))]
55 1 - stall[i] * 10000) / 10000 for i in range(len(stall))]
57 [i] * 1 - stall[i] * 10000) / 10000 for i in range(len(stall))]
59 * 2400 * 3) / 2400 / 3 for i in range(len(stall))]
61 [i] * 1 - stall[i] * 2400 * 3) / 2400 / 3 for i in range(len(stall))]
63 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
65 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
67 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
69 8 - stall[i] * 10000) / 10000 for i in range(len(stall))]
71 [i] * 8 - stall[i] * 10000) / 10000 for i in range(le
[all...]
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_stub.cpp173 DhcpRange range; in OnSetDhcpRange() local
174 range.iptype = data.ReadInt32(); in OnSetDhcpRange()
175 range.leaseHours = data.ReadInt32(); in OnSetDhcpRange()
176 range.strTagName = data.ReadString(); in OnSetDhcpRange()
177 range.strStartip = data.ReadString(); in OnSetDhcpRange()
178 range.strEndip = data.ReadString(); in OnSetDhcpRange()
179 range.strSubnet = data.ReadString(); in OnSetDhcpRange()
181 ErrCode ret = SetDhcpRange(ifname, range); in OnSetDhcpRange()
200 DhcpRange range; in OnRemoveDhcpRange() local
201 range in OnRemoveDhcpRange()
250 DhcpRange range; OnPutDhcpRange() local
[all...]
H A Ddhcp_server_stub_lite.cpp154 DhcpRange range; in OnSetDhcpRange() local
156 (void)ReadInt32(req, &range.iptype); in OnSetDhcpRange()
157 (void)ReadInt32(req, &range.leaseHours); in OnSetDhcpRange()
158 range.strTagName = (char *)ReadString(req, &readLen); in OnSetDhcpRange()
159 range.strStartip = (char *)ReadString(req, &readLen); in OnSetDhcpRange()
160 range.strEndip = (char *)ReadString(req, &readLen); in OnSetDhcpRange()
161 range.strSubnet = (char *)ReadString(req, &readLen); in OnSetDhcpRange()
164 ErrCode ret = SetDhcpRange(ifname, range); in OnSetDhcpRange()
184 DhcpRange range; in OnRemoveDhcpRange() local
186 (void)ReadInt32(req, &range in OnRemoveDhcpRange()
237 DhcpRange range; OnPutDhcpRange() local
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_info.cpp162 "Failed to get zoom ratio range with return code %{public}d", ret); in GetZoomRatioRange()
165 "Invalid zoom ratio range count: %{public}d", item.count); in GetZoomRatioRange()
168 std::vector<float> range = {item.data.f[minIndex], item.data.f[maxIndex]}; in GetZoomRatioRange() local
169 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetZoomRatioRange()
170 "Invalid zoom range. min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
172 MEDIA_DEBUG_LOG("Zoom range min: %{public}f, max: %{public}f", range[minInde in GetZoomRatioRange()
193 std::vector<int32_t> range = {item.data.i32[minIndex], item.data.i32[maxIndex]}; GetExposureBiasRange() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dcolor_utils_test.cpp113 uint8_t range = 0; in HWTEST_F() local
114 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB, primaries, transfer, matrix, range); in HWTEST_F()
115 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB_LIMIT, primaries, transfer, matrix, range); in HWTEST_F()
116 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3, primaries, transfer, matrix, range); in HWTEST_F()
117 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3_LIMIT, primaries, transfer, matrix, range); in HWTEST_F()
118 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DCI_P3, primaries, transfer, matrix, range); in HWTEST_F()
119 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020, primaries, transfer, matrix, range); in HWTEST_F()
120 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG, primaries, transfer, matrix, range); in HWTEST_F()
121 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG_LIMIT, primaries, transfer, matrix, range); in HWTEST_F()
122 ColorUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_PQ, primaries, transfer, matrix, range); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dapi_test.cpp918 OH_AVRange range; in HWTEST_F() local
919 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
922 ret = OH_AVCapability_GetVideoWidthRangeForHeight(nullptr, DEFAULT_HEIGHT, &range); in HWTEST_F()
948 OH_AVRange range; in HWTEST_F() local
949 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
952 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, 0, &range); in HWTEST_F()
964 OH_AVRange range; in HWTEST_F() local
965 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
968 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F()
969 cout << "minval=" << range in HWTEST_F()
996 OH_AVRange range; HWTEST_F() local
1026 OH_AVRange range; HWTEST_F() local
1042 OH_AVRange range; HWTEST_F() local
1074 OH_AVRange range; HWTEST_F() local
1101 OH_AVRange range; HWTEST_F() local
1120 OH_AVRange range; HWTEST_F() local
1238 OH_AVRange range; HWTEST_F() local
1265 OH_AVRange range; HWTEST_F() local
1283 OH_AVRange range; HWTEST_F() local
1310 OH_AVRange range; HWTEST_F() local
1326 OH_AVRange range; HWTEST_F() local
1342 OH_AVRange range; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_frame_rate_linker.cpp83 void RSFrameRateLinker::UpdateFrameRateRange(const FrameRateRange& range, int32_t animatorExpectedFrameRate) in UpdateFrameRateRange() argument
85 if (currentRange_ != range || currAnimatorExpectedFrameRate_ != animatorExpectedFrameRate) { in UpdateFrameRateRange()
86 currentRange_ = range; in UpdateFrameRateRange()
89 range, animatorExpectedFrameRate); in UpdateFrameRateRange()
97 void RSFrameRateLinker::UpdateFrameRateRangeImme(const FrameRateRange& range, int32_t animatorExpectedFrameRate) in UpdateFrameRateRangeImme() argument
99 if (currentRange_ != range || currAnimatorExpectedFrameRate_ != animatorExpectedFrameRate) { in UpdateFrameRateRangeImme()
100 currentRange_ = range; in UpdateFrameRateRangeImme()
102 RSInterfaces::GetInstance().SyncFrameRateRange(GetId(), range, animatorExpectedFrameRate); in UpdateFrameRateRangeImme() local
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dapi_test.cpp1054 OH_AVRange range; in HWTEST_F() local
1055 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
1058 ret = OH_AVCapability_GetVideoWidthRangeForHeight(nullptr, DEFAULT_HEIGHT, &range); in HWTEST_F()
1084 OH_AVRange range; in HWTEST_F() local
1085 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
1088 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, 0, &range); in HWTEST_F()
1100 OH_AVRange range; in HWTEST_F() local
1101 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F()
1104 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F()
1105 cout << "minval=" << range in HWTEST_F()
1132 OH_AVRange range; HWTEST_F() local
1164 OH_AVRange range; HWTEST_F() local
1194 OH_AVRange range; HWTEST_F() local
1210 OH_AVRange range; HWTEST_F() local
1242 OH_AVRange range; HWTEST_F() local
1274 OH_AVRange range; HWTEST_F() local
1301 OH_AVRange range; HWTEST_F() local
1333 OH_AVRange range; HWTEST_F() local
1365 OH_AVRange range; HWTEST_F() local
1528 OH_AVRange range; HWTEST_F() local
1555 OH_AVRange range; HWTEST_F() local
1573 OH_AVRange range; HWTEST_F() local
1591 OH_AVRange range; HWTEST_F() local
1618 OH_AVRange range; HWTEST_F() local
1634 OH_AVRange range; HWTEST_F() local
1650 OH_AVRange range; HWTEST_F() local
1680 OH_AVRange range; HWTEST_F() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dcolor_utils.cpp57 ColorManager::ColorSpaceName P3ToColorSpace(uint16_t transfer, uint8_t range) in P3ToColorSpace() argument
60 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::P3_PQ_LIMIT : ColorManager::P3_PQ; in P3ToColorSpace()
62 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::P3_HLG_LIMIT : ColorManager::P3_HLG; in P3ToColorSpace()
64 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::DISPLAY_P3_LIMIT : ColorManager::DISPLAY_P3; in P3ToColorSpace()
69 ColorManager::ColorSpaceName BT2020ToColorSpace(uint16_t transfer, uint8_t range) in BT2020ToColorSpace() argument
72 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::BT2020_PQ_LIMIT : ColorManager::BT2020_PQ; in BT2020ToColorSpace()
74 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::BT2020_HLG_LIMIT : ColorManager::BT2020_HLG; in BT2020ToColorSpace()
80 uint16_t matrix, uint8_t range) in CicpToColorSpace()
84 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::SRGB_LIMIT : ColorManager::SRGB; in CicpToColorSpace()
86 return P3ToColorSpace(transfer, range); in CicpToColorSpace()
79 CicpToColorSpace(uint16_t primaries, uint16_t transfer, uint16_t matrix, uint8_t range) CicpToColorSpace() argument
184 ColorSpaceGetCicp(ColorManager::ColorSpaceName name, uint16_t& primaries, uint16_t& transfer, uint16_t& matrix, uint8_t& range) ColorSpaceGetCicp() argument
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/
H A Dcamera_ability.cpp25 bool g_isValidZoomRaioRange(std::vector<float> range) in g_isValidZoomRaioRange() argument
27 return range.size() == VALID_RANGE_SIZE && range[0] <= range[1]; in g_isValidZoomRaioRange()
179 for (const auto& [type, range] : supportedBeautyRangeMap_) { in DumpCameraAbilityInfo()
180 std::string vecStr = Container2String(range.begin(), range.end()); in DumpCameraAbilityInfo()
249 auto range = ability->GetZoomRatioRange(); in PrepareSpecMaximumValue() local
250 if (!g_isValidZoomRaioRange(range)) { in PrepareSpecMaximumValue()
254 tempRange = range; in PrepareSpecMaximumValue()
303 std::vector<float> range = ability->GetZoomRatioRange(); GetZoomRatioRange() local
322 std::vector<float> range = ability->GetZoomRatioRange(); IsMacroSupported() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_frame_rate_linker_command.cpp32 FrameRateRange range, int32_t animatorExpectedFrameRate) in UpdateRange()
35 id, range.min_, range.max_, range.preferred_); in UpdateRange()
38 linker->SetExpectedRange(range); in UpdateRange()
31 UpdateRange(RSContext& context, FrameRateLinkerId id, FrameRateRange range, int32_t animatorExpectedFrameRate) UpdateRange() argument
/foundation/communication/dhcp/test/fuzztest/dhcpserverimpl_fuzzer/
H A Ddhcpserverimpl_fuzzer.cpp58 DhcpRange range; in PutDhcpRangeTest() local
59 range.iptype = 0; in PutDhcpRangeTest()
60 pDhcpServerServiceImpl->PutDhcpRange(tagName, range); in PutDhcpRangeTest()
61 pDhcpServerServiceImpl->PutDhcpRange("", range); in PutDhcpRangeTest()
67 DhcpRange range; in RemoveDhcpRangeTest() local
68 range.iptype = 0; in RemoveDhcpRangeTest()
69 pDhcpServerServiceImpl->RemoveDhcpRange(tagName, range); in RemoveDhcpRangeTest()
70 pDhcpServerServiceImpl->RemoveDhcpRange("", range); in RemoveDhcpRangeTest()
84 DhcpRange range; in SetDhcpRangeTest() local
85 range in SetDhcpRangeTest()
136 DhcpRange range; CheckIpAddrRangeTest() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dranges.cpp24 void Ranges::AddRange(const struct Range &range) in AddRange() argument
26 if (range.end - range.start == 1) { in AddRange()
27 singles_[range.start] = range.gid; in AddRange()
29 ranges_.push_back(range); in AddRange()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/
H A Drs_frame_rate_linker_cmd_test.cpp70 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
72 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
76 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
90 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
91 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
95 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
97 ASSERT_EQ(context.GetMutableFrameRateLinkerMap().GetFrameRateLinker(linkerId)->GetExpectedRange(), range); in HWTEST_F()
H A Drs_frame_rate_linker_command_test.cpp70 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
72 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
76 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
90 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
91 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
95 RSFrameRateLinkerCmdHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
97 ASSERT_EQ(context.GetMutableFrameRateLinkerMap().GetFrameRateLinker(linkerId)->GetExpectedRange(), range); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_frame_rate_linker_command_test.cpp70 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
71 RSFrameRateLinkerCommandHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
75 RSFrameRateLinkerCommandHelper::UpdateRange(context, linkerId, range, false); in HWTEST_F()
77 ASSERT_EQ(context.GetMutableFrameRateLinkerMap().GetFrameRateLinker(linkerId)->GetExpectedRange(), range); in HWTEST_F()
90 FrameRateRange range = { 0, 0, 0 }; in HWTEST_F() local
92 RSFrameRateLinkerCommandHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
96 RSFrameRateLinkerCommandHelper::UpdateRange(context, linkerId, range, true); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_dhcp_service.cpp77 DhcpErrorCode __real_SetDhcpRange(const char *ifname, const DhcpRange *range);
78 DhcpErrorCode __wrap_SetDhcpRange(const char *ifname, const DhcpRange *range) in __wrap_SetDhcpRange() argument
81 return MockDhcpService::GetInstance().SetDhcpRange(ifname, range); in __wrap_SetDhcpRange()
91 DhcpErrorCode __real_PutDhcpRange(const char *tagName, const DhcpRange *range);
92 DhcpErrorCode __wrap_PutDhcpRange(const char *tagName, const DhcpRange *range) in __wrap_PutDhcpRange() argument
95 return MockDhcpService::GetInstance().PutDhcpRange(tagName, range); in __wrap_PutDhcpRange()
105 DhcpErrorCode __real_RemoveDhcpRange(const char *tagName, const void *range);
106 DhcpErrorCode __wrap_RemoveDhcpRange(const char *tagName, const void *range) in __wrap_RemoveDhcpRange() argument
109 return MockDhcpService::GetInstance().RemoveDhcpRange(tagName, range); in __wrap_RemoveDhcpRange()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dcomponent_util_functions.h26 * Calculates (tries to evaluate) a valid light range if one is not given by the user
27 * @param lightRange If smaller than LIGHT_COMPONENT_USER_SET_MIN_LIGHT_RANGE (i.e. 0) new range is calculated.
28 * @param lightIntensity Used to calculate range if light range is not set.
32 float range = lightRange; in CalculateSafeLightRange() local
33 if (range <= LIGHT_COMPONENT_USER_SET_MIN_LIGHT_RANGE) { // calculate range in CalculateSafeLightRange()
36 range = BASE_NS::Math::sqrt(BASE_NS::Math::pow(lightIntensity + minLightIntensityAdd, powValue)); in CalculateSafeLightRange()
38 return range; in CalculateSafeLightRange()

Completed in 12 milliseconds

12345678910>>...12