/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/ |
H A D | func_test.cpp | 617 OH_AVRange range; in HWTEST_F() local 618 ret = OH_AVCapability_GetEncoderBitrateRange(nullptr, &range); in HWTEST_F() 647 OH_AVRange range; in HWTEST_F() local 648 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 651 ret = OH_AVCapability_GetEncoderBitrateRange(capability, &range); in HWTEST_F() 653 cout << "max val " << range.maxVal << " min val " << range.minVal << endl; in HWTEST_F() 654 ASSERT_GE(range.minVal, 0); in HWTEST_F() 655 ASSERT_GT(range.maxVal, 0); in HWTEST_F() 779 OH_AVRange range; in HWTEST_F() local 818 OH_AVRange range; HWTEST_F() local 849 OH_AVRange range; HWTEST_F() local 876 OH_AVRange range; HWTEST_F() local 978 OH_AVRange range; HWTEST_F() local 1008 OH_AVRange range; HWTEST_F() local 1024 OH_AVRange range; HWTEST_F() local 1043 OH_AVRange range; HWTEST_F() local 1073 OH_AVRange range; HWTEST_F() local 1089 OH_AVRange range; HWTEST_F() local 1108 OH_AVRange range; HWTEST_F() local 1135 OH_AVRange range; HWTEST_F() local 1154 OH_AVRange range; HWTEST_F() local 1181 OH_AVRange range; HWTEST_F() local 1265 OH_AVRange range; HWTEST_F() local 1292 OH_AVRange range; HWTEST_F() local 1310 OH_AVRange range; HWTEST_F() local 1337 OH_AVRange range; HWTEST_F() local 1353 OH_AVRange range; HWTEST_F() local 1369 OH_AVRange range; HWTEST_F() local 1804 OH_AVRange range; HWTEST_F() local 1939 OH_AVRange range; HWTEST_F() local 1971 OH_AVRange range; HWTEST_F() local 2062 OH_AVRange range; HWTEST_F() local 2078 OH_AVRange range; HWTEST_F() local 2111 OH_AVRange range; HWTEST_F() local 2127 OH_AVRange range; HWTEST_F() local 2160 OH_AVRange range; HWTEST_F() local 2193 OH_AVRange range; HWTEST_F() local 2286 OH_AVRange range; HWTEST_F() local 2318 OH_AVRange range; HWTEST_F() local 2334 OH_AVRange range; HWTEST_F() local 2350 OH_AVRange range; HWTEST_F() local [all...] |
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/ |
H A D | api_test.cpp | 949 OH_AVRange range; in HWTEST_F() local 950 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 953 ret = OH_AVCapability_GetVideoWidthRangeForHeight(nullptr, DEFAULT_HEIGHT, &range); in HWTEST_F() 979 OH_AVRange range; in HWTEST_F() local 980 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 983 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, 0, &range); in HWTEST_F() 995 OH_AVRange range; in HWTEST_F() local 996 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 999 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F() 1000 cout << "minval=" << range in HWTEST_F() 1014 OH_AVRange range; HWTEST_F() local 1044 OH_AVRange range; HWTEST_F() local 1060 OH_AVRange range; HWTEST_F() local 1079 OH_AVRange range; HWTEST_F() local 1106 OH_AVRange range; HWTEST_F() local 1125 OH_AVRange range; HWTEST_F() local 1152 OH_AVRange range; HWTEST_F() local 1226 OH_AVRange range; HWTEST_F() local 1253 OH_AVRange range; HWTEST_F() local 1271 OH_AVRange range; HWTEST_F() local 1298 OH_AVRange range; HWTEST_F() local 1314 OH_AVRange range; HWTEST_F() local 1330 OH_AVRange range; HWTEST_F() local [all...] |
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/ |
H A D | api_test.cpp | 975 OH_AVRange range; in HWTEST_F() local 976 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 979 ret = OH_AVCapability_GetVideoWidthRangeForHeight(nullptr, DEFAULT_HEIGHT, &range); in HWTEST_F() 1005 OH_AVRange range; in HWTEST_F() local 1006 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 1009 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, 0, &range); in HWTEST_F() 1021 OH_AVRange range; in HWTEST_F() local 1022 memset_s(&range, sizeof(OH_AVRange), 0, sizeof(OH_AVRange)); in HWTEST_F() 1025 ret = OH_AVCapability_GetVideoWidthRangeForHeight(capability, DEFAULT_HEIGHT, &range); in HWTEST_F() 1026 cout << "minval=" << range in HWTEST_F() 1040 OH_AVRange range; HWTEST_F() local 1070 OH_AVRange range; HWTEST_F() local 1086 OH_AVRange range; HWTEST_F() local 1105 OH_AVRange range; HWTEST_F() local 1132 OH_AVRange range; HWTEST_F() local 1151 OH_AVRange range; HWTEST_F() local 1281 OH_AVRange range; HWTEST_F() local 1308 OH_AVRange range; HWTEST_F() local 1326 OH_AVRange range; HWTEST_F() local 1344 OH_AVRange range; HWTEST_F() local 1371 OH_AVRange range; HWTEST_F() local 1387 OH_AVRange range; HWTEST_F() local 1403 OH_AVRange range; HWTEST_F() local [all...] |
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | img_util.py | 79 for pix_h in range(height): 83 for pix_w in range(width): 91 for pix_h in range(height): 93 for pix_w in range(width): 203 for arr_h in range(arr_height): 204 for arr_w in range(arr_width): 210 for _yy in range(den_yy): 211 for _xx in range(den_xx):
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_iw.c | 798 struct iw_range *range = (struct iw_range *) extra; in wl_iw_get_range() local 821 memset(range, 0, sizeof(*range)); in wl_iw_get_range() 824 range->min_nwid = range->max_nwid = 0; in wl_iw_get_range() 831 range->freq[i].i = dtoh32(list->element[i]); in wl_iw_get_range() 839 range->freq[i].m = wf_channel2mhz(ch, sf); in wl_iw_get_range() 840 range->freq[i].e = 6; in wl_iw_get_range() 842 range->num_frequency = range in wl_iw_get_range() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/ |
H A D | packet_tool.py | 30 self._tab = [self._initial(i) for i in range(256)]
35 for j in range(8):
115 #crc range is FWPKG_HEAD.imageNum to end, begin index is 6bytes
149 for index in range(0, imageNum):
166 for index in range(0, imageNum):
170 for index in range(0, len(pathNameListNew)):
177 for index2 in range(0, imageNum):
232 #crc range is FWPKG_HEAD.imageNum to end, begin index is 6bytes
254 for index in range(0, imageNum):
271 for index in range( [all...] |
/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
H A D | AudioRenderCommonTest.cpp | 2019 int32_t range = 1; in HWTEST_F() local 2021 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AudioDevDump(nullptr, range, -1)); in HWTEST_F() 2032 int32_t range = 2; in HWTEST_F() local 2034 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AudioDevDump(nullptr, range, -1)); in HWTEST_F() 2045 int32_t range = 3; in HWTEST_F() local 2047 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AudioDevDump(nullptr, range, -1)); in HWTEST_F() 2058 int32_t range = 5; in HWTEST_F() local 2060 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AudioDevDump(nullptr, range, -1)); in HWTEST_F() 2071 int32_t range = 6; in HWTEST_F() local 2073 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->AudioDevDump(nullptr, range, in HWTEST_F() 2084 int32_t range = 4; HWTEST_F() local 2097 int32_t range = 4; HWTEST_F() local 2110 int32_t range = 4; HWTEST_F() local 2123 int32_t range = 4; HWTEST_F() local 2136 int32_t range = 4; HWTEST_F() local 2149 int32_t range = 4; HWTEST_F() local 3684 int32_t range = 1; HWTEST_F() local 3711 int32_t range = 2; HWTEST_F() local 3739 int32_t range = 3; HWTEST_F() local 3767 int32_t range = 5; HWTEST_F() local 3795 int32_t range = 6; HWTEST_F() local 3823 int32_t range = 4; HWTEST_F() local 3847 int32_t range = 4; HWTEST_F() local 3871 int32_t range = 4; HWTEST_F() local 3895 int32_t range = 4; HWTEST_F() local 3919 int32_t range = 4; HWTEST_F() local 3943 int32_t range = 4; HWTEST_F() local [all...] |
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/oled/ |
H A D | img2code.py | 45 for r in range(height): 46 for b in range(int(width / PIXEL_PER_BYTE)): 85 for i in range(len(bitmap)):
|
/vendor/hisilicon/hispark_pegasus/demo/ssd1306_demo/ |
H A D | img2code.py | 46 for r in range(height): 47 for b in range(int(width / PIXEL_PER_BYTE)): 86 for i in range(len(bitmap)):
|
/device/qemu/drivers/char/mmz/ |
H A D | mmz.c | 95 vaddr = vmRegion->range.base; in MmzAlloc() 116 mmzm->vaddr = (void *)vmRegion->range.base; in MmzAlloc() 152 mmzm->vaddr = (void *)vmRegion->range.base; in MmzMap() 153 vaddr = vmRegion->range.base; in MmzMap()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | velocity_tracker.cpp | 37 static const double range = 0.05; in UpdateTouchEvent() local 38 if (delta_.IsZero() && end && (diffTime.count() < range)) { in UpdateTouchEvent()
|
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/ |
H A D | util.test.js | 180 let range = new util.Scope(tempLower, tempUpper); 2423 * @tc.desc: Obtains the lower bound of the current range. 2429 let result = range.getLower() 2436 * @tc.desc: Obtains the lower bound of the current range. 2449 * @tc.desc: Obtains the lower bound of the current range. 2462 * @tc.desc: Obtains the lower bound of the current range. 2475 * @tc.desc: Obtains the lower bound of the current range. 2488 * @tc.desc: Obtains the upper bound of the current range. 2494 let result = range.getUpper() 2501 * @tc.desc: Obtains the upper bound of the current range [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
H A D | packet_create.py | 29 self._tab = [self._initial(i) for i in range(256)]
34 for j in range(8):
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 54 * Unsinged range property to give the size of the lookup table to be set 93 * Unsigned range property to give the size of the lookup table to be set 112 * Unsigned range property to give the size of the lookup table to be set 147 * the range of value is [-2^(m-1), 2^(m-1) - 2^-n] 152 * - range: [-2^2, 2^2 - 2^−15] 385 [DRM_COLOR_YCBCR_FULL_RANGE] = "YCbCr full range", 386 [DRM_COLOR_YCBCR_LIMITED_RANGE] = "YCbCr limited range", 406 * drm_get_color_range_name - return a string for color range 407 * @range: color range t 412 drm_get_color_range_name(enum drm_color_range range) drm_get_color_range_name() argument [all...] |
/device/soc/rockchip/common/hardware/rga/include/ |
H A D | im2d.h | 251 im_colorkey_range colorkey_range; /* range value of color key */ 772 #define imcolorkey(src, dst, range, ...) \ 778 ret = imcolorkey_t(src, dst, range, IM_ALPHA_COLORKEY_NORMAL, 1); \ 780 ret = imcolorkey_t(src, dst, range, args[0], 1); \ 782 ret = imcolorkey_t(src, dst, range, args[0], args[1]); \ 789 IM_API IM_STATUS imcolorkey_t(const rga_buffer_t src, rga_buffer_t dst, im_colorkey_range range, int mode, int sync);
|
/device/soc/rockchip/rk3399/hardware/rga/include/ |
H A D | im2d.h | 252 im_colorkey_range colorkey_range; /* range value of color key */ 777 #define imcolorkey(src, dst, range, ...) \ 783 ret = imcolorkey_t(src, dst, range, IM_ALPHA_COLORKEY_NORMAL, 1); \ 785 ret = imcolorkey_t(src, dst, range, args[0], 1); \ 787 ret = imcolorkey_t(src, dst, range, args[0], args[1]); \ 794 IM_API IM_STATUS imcolorkey_t(const rga_buffer_t src, rga_buffer_t dst, im_colorkey_range range, int mode, int sync);
|
/device/soc/rockchip/rk3568/hardware/rga/include/ |
H A D | im2d.h | 252 im_colorkey_range colorkey_range; /* range value of color key */ 777 #define imcolorkey(src, dst, range, ...) \ 783 ret = imcolorkey_t(src, dst, range, IM_ALPHA_COLORKEY_NORMAL, 1); \ 785 ret = imcolorkey_t(src, dst, range, args[0], 1); \ 787 ret = imcolorkey_t(src, dst, range, args[0], args[1]); \ 794 IM_API IM_STATUS imcolorkey_t(const rga_buffer_t src, rga_buffer_t dst, im_colorkey_range range, int mode, int sync);
|
/device/soc/rockchip/rk3588/hardware/rga/include/ |
H A D | im2d.h | 582 #define imcolorkey(src, dst, range, ...) \ 588 __ret = imcolorkey_t(src, dst, range, IM_ALPHA_COLORKEY_NORMAL, 1); \ 590 __ret = imcolorkey_t(src, dst, range, (int)__args[RGA_GET_MIN(__argc, 0)], 1); \ 592 __ret = imcolorkey_t(src, dst, range, (int)__args[RGA_GET_MIN(__argc, 0)], (int)__args[RGA_GET_MIN(__argc, 1)]); \ 599 IM_API IM_STATUS imcolorkey_t(const rga_buffer_t src, rga_buffer_t dst, im_colorkey_range range, int mode, int sync);
|
/test/testfwk/developer_test/ |
H A D | ohtest | 27 for index in range (1, len(sys.argv)):
|
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/ |
H A D | AudioCaptureCommonTestAdditional.cpp | 2217 int32_t range = 3; in HWTEST_F() local 2228 ret = capture_->AudioDevDump(capture_, range, fd); in HWTEST_F() 2244 int32_t range = 3; in HWTEST_F() local 2255 ret = capture_->AudioDevDump(capture_, range, fd); in HWTEST_F() 2271 int32_t range = 3; in HWTEST_F() local 2286 ret = capture_->AudioDevDump(capture_, range, fd); in HWTEST_F() 2302 int32_t range = 4; in HWTEST_F() local 2312 ret = capture_->AudioDevDump(nullptr, range, fd); in HWTEST_F() 2320 * @tc.desc : range is 2 2345 * @tc.desc : range i 2399 int32_t range = 4; HWTEST_F() local 2417 int32_t range = 4; HWTEST_F() local 2623 int32_t range = 5; HWTEST_F() local [all...] |
/device/qemu/drivers/virtio/ |
H A D | virtgpu.c | 731 if ((region->range.size + (region->pgOff << PAGE_SHIFT)) > VirtgpuFbPageSize()) { in FbMmap() 741 n = LOS_ArchMmuMap(®ion->space->archMmu, region->range.base, in FbMmap() 743 region->range.size >> PAGE_SHIFT, region->regionFlags); in FbMmap() 744 if (n != (region->range.size >> PAGE_SHIFT)) { in FbMmap()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/efuse_tool/ |
H A D | efuse_cfg_gen.py | 63 for i in range(value_len // 4):
|
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 42 for i in range(processNum):
|
/device/soc/rockchip/common/sdk_linux/drivers/irqchip/ |
H A D | irq-gic-v3.c | 130 * written by software is moved to the Non-secure range by the Distributor.
315 * Contrary to the ESPI range, the EPPI range is contiguous
in convert_offset_index() 316 * to the PPI range in the registers, so let's adjust the
in convert_offset_index() 593 enum gic_intid_range range;
in gic_set_type() local 600 range = get_intid_range(d);
in gic_set_type() 602 if (range == SGI_RANGE) {
in gic_set_type() 607 if ((range == SPI_RANGE || range == ESPI_RANGE) && type != IRQ_TYPE_LEVEL_HIGH && type != IRQ_TYPE_EDGE_RISING) {
in gic_set_type() 622 if (ret && (range in gic_set_type() [all...] |
H A D | irq-gic-v3-its.c | 1988 * allocate from. To allocate LPIs, just pick the first range that
1990 * amount. Once empty, remove the range from the list.
1992 * To free a range of LPIs, add a free range to the list, sort it and
1993 * merge the result if the new range happens to be adjacent to an
2012 struct lpi_range *range;
in mk_lpi_range() local 2014 range = kmalloc(sizeof(*range), GFP_KERNEL);
in mk_lpi_range() 2015 if (range) {
in mk_lpi_range() 2016 range in mk_lpi_range() 2025 struct lpi_range *range, *tmp; alloc_lpi_range() local [all...] |