/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_lru_cache_test.cpp | 46 constexpr int32_t val2 = 2; variable 58 cache.Put(val2); 61 ASSERT_TRUE(cache.Existed(val2)); 66 ASSERT_TRUE(cache.Existed(val2)); 69 cache.Put(val2); 71 ASSERT_TRUE(cache.Existed(val2)); 76 ASSERT_TRUE(cache.Existed(val2)); 82 ASSERT_TRUE(cache.Existed(val2));
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_parcel_test.cpp | 320 val2.push_back(x2); in ReadvecTestTwoFunc01() 355 val2.push_back(x2); in ReadvecTestTwoFunc02() 388 std::vector<float> val2; in ReadvecTestTwoFunc03() local 390 val2.push_back(x2); in ReadvecTestTwoFunc03() 444 val2.push_back(x2); in ReadvecTestThreeFunc01() 479 val2.push_back(x2); in ReadvecTestThreeFunc02() 512 std::vector<float> val2; in ReadvecTestThreeFunc03() local 514 val2.push_back(x2); in ReadvecTestThreeFunc03() 572 val2.push_back(x2); in WritevecTestOneFunc01() 611 val2.push_back(x2); in WritevecTestOneFunc02() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/ |
H A D | suffix_match_trie_test.cpp | 80 int val2 = 102; variable 82 trie.Insert(TEST_SUFFIX2, val2); 101 int val2 = 102; variable 104 trie.Insert(TEST_SUFFIX2, val2);
|
/ohos5.0/foundation/resourceschedule/ffrt/test/testfunc/ |
H A D | func_pool.cpp | 35 int val1, val2; in NestedFib() local 37 ffrt::submit([&]() { NestedFib(num - 2, val2); }, {}, { &val2 }); in NestedFib() 38 ffrt::wait({ &val1, &val2 }); in NestedFib() 39 count = val1 + val2 + 2; in NestedFib()
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-new-Provider-and-Consumer.md | 328 @Consumer("val") val2: number = 0; // 10 332 Text(`${this.val2}`) 357 …Consumer() val`的变化,变化同步给Index中`@Provider() val`,从而触发子组件`Text(Parent @Param val2: ${this.val2})`的刷新。 368 Parent({ val2: this.val }) 376 @Param val2: number = 0; 383 Text(`Parent @Param val2: ${this.val2}`).fontSize(30)
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | compatible_check.cpp | 52 …nvalDiscCapValCheck(CapabilityID key, const Plugin::ValueType& val1, const Plugin::ValueType& val2, in FixInvalDiscCapValCheck() argument 55 return CapabilityValueCheck<T>(key, {val1, val2}, ALLOW_FIXED | ALLOW_INTERVAL | ALLOW_DISCRETE, in FixInvalDiscCapValCheck() 62 … FixDiscCapValCheck(CapabilityID key, const Plugin::ValueType& val1, const Plugin::ValueType& val2, in FixDiscCapValCheck() argument 65 return CapabilityValueCheck<T>(key, {val1, val2}, ALLOW_FIXED | ALLOW_DISCRETE, [](T a, T b) { in FixDiscCapValCheck() 101 …d::function<bool(Capability::Key key, const Plugin::ValueType& val1, const Plugin::ValueType& val2, 161 T Max(T val1, T val2, std::function<int(T, T)> compareFunc) in Max() argument 163 if (compareFunc(val1, val2) >= 0) { in Max() 166 return val2; in Max() 170 T Min(T val1, T val2, std::function<int(T, T)> compareFunc) in Min() argument 172 if (compareFunc(val1, val2) <= 0) { in Min() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/runtimeeffect_fuzzer/ |
H A D | runtime_effect_fuzzer.cpp | 91 float val2 = GetObject<float>(); in RuntimeShaderFuzzTest() local 93 builder->SetUniform("coefficient2", val2); in RuntimeShaderFuzzTest() 137 float val2 = GetObject<float>(); in RuntimeBlenderFuzzTest() local 139 builder->SetUniform("dynamicLightUpDeg", val2); in RuntimeBlenderFuzzTest()
|
/ohos5.0/foundation/multimedia/media_foundation/src/common/ |
H A D | plugin_caps_builder.h | 46 CapabilityBuilder& Set##keyName##Range(type val1, type val2) \ 48 auto min = std::min(val1, val2); \ 49 auto max = std::max(val1, val2); \
|
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_caps_builder.h | 46 CapabilityBuilder& Set##keyName##Range(type val1, type val2) \ 48 auto min = std::min(val1, val2); \ 49 auto max = std::max(val1, val2); \
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
H A D | adc_linux_virtual_iio_driver.c | 57 …ReadRaw(struct iio_dev *indioDev, struct iio_chan_spec const *chan, int *val, int *val2, long mask) in AdcIioReadRaw() argument 63 if (indioDev == NULL || chan == NULL || val == NULL || val2 == NULL) { in AdcIioReadRaw() 83 *val2 = ADC_SCALE % ADC_SCALE_DATA; in AdcIioReadRaw()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 215 std::variant<std::monostate, int64_t, double, const char *, Convertible> val2; variable 216 val2 = Convertible(); 217 auto *fromVal = Traits::get_if<From>(&val2);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_interface_test.cpp | 290 int64_t val2 = 0; variable 291 ret = obj.GetLong(val2); 293 EXPECT_EQ(val2, 1);
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-new-Provider-and-Consumer.md | 325 @Consumer("val") val2: number = 0; // 10 329 Text(`${this.val2}`) 354 …**Parent** component, triggering the re-render of the **Text(@Param val2: ${this.val2})** in the *… 365 AComp({ val2: this.val }) 373 @Param val2: number = 0; 380 Text(`AComp @Param val2: ${this.val2}`).fontSize(30)
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | pixel_convert.h | 169 static inline uint16_t U8ToU16(uint8_t val1, uint8_t val2) in U8ToU16() argument 172 return ((ret << SHIFT_8_BIT) | val2); in U8ToU16()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_color_picker.h | 49 bool IsEquals(double val1, double val2) const;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorpicker_fuzzer/ |
H A D | rscolorpicker_fuzzer.cpp | 175 double val2 = GetData<double>(); in DoIsEquals() local 176 rsColorPicker->IsEquals(val1, val2); in DoIsEquals()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | matrix3.cpp | 31 double val2 = matrix3X3_[0][0] * matrix3X3_[1][2] * matrix3X3_[2][1]; in Invert() local 36 double detA = val1 - val2 - val3 + val4 + val5 - val6; in Invert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_picker.cpp | 147 bool RSColorPicker::IsEquals(double val1, double val2) const in IsEquals() 150 return fabs(val1 - val2) < 0.001; in IsEquals()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include/ |
H A D | color_picker.h | 104 bool IsEquals(double val1, double val2) const;
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | swiper_tdd_test.cpp | 321 const int val2 = 32768; in ComponentSwiperAttributeSetTest005() local 322 indexVal = jerry_create_number(val2); in ComponentSwiperAttributeSetTest005()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_marshalling_helper_test.cpp | 600 …RenderParticleParaType<float> val2(value, ParticleUpdator::CURVE, random, std::move(valChangeOverL… 601 EXPECT_TRUE(RSMarshallingHelper::Marshalling(parcel, val2)); 641 …RenderParticleColorParaType val2(colorVal, DistributionType::UNIFORM, ParticleUpdator::CURVE, redR… 643 EXPECT_TRUE(RSMarshallingHelper::Marshalling(parcel, val2));
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.cpp | 853 uint32_t val2 = __SMUAD(intU, in.pixelSize); local 854 uint32_t px1 = val1 + val2; 972 uint32_t val2 = __SMUAD(intU, in.pixelSize); local 973 uint32_t px1 = val1 + val2; 1064 uint32_t val2 = __SMUAD(intU, in.pixelSize); local 1065 uint32_t px1 = val1 + val2; 1132 uint32_t val2 = __SMUAD(intU, in.pixelSize); local 1133 uint32_t px1 = val1 + val2; 1378 uint32_t val2 = __SMUAD(intU, in.pixelSize); local 1379 uint32_t px1 = val1 + val2; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsmarshallinghelper_fuzzer/ |
H A D | rsmarshallinghelper_fuzzer.cpp | 109 …RenderParticleParaType<float> val2(value, ParticleUpdator::RANDOM, randomValue, std::move(valChang… in DoUnmarshalling() local 124 RSMarshallingHelper::Unmarshalling(parcel, val2); in DoUnmarshalling()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | tcp_test.rs | 557 let val2 = val.clone(); in sdv_tcp_unexpected_eof() localVariable 578 let mut guard = val2.lock().unwrap(); in sdv_tcp_unexpected_eof()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
H A D | documentdb_api_test.cpp | 251 std::string val2 = string(MAX_DB_CONFIG_LEN - part1.size() - part2.size() - 1, 'k'); variable 252 std::string configStr2 = part1 + val2 + part2 + "\0";
|