| /device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
| D | rockchip_drm_display_pattern.c | 83 unsigned char *v_mem, unsigned int width, in fill_smpte_yuv_planar() argument 122 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar() 123 y_mem[x] = colors_top[x * 7 / width].y; in fill_smpte_yuv_planar() 128 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar() 129 y_mem[x] = colors_middle[x * 7 / width].y; in fill_smpte_yuv_planar() 134 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_yuv_planar() 135 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y; in fill_smpte_yuv_planar() 136 for (; x < width * 6 / 7; ++x) in fill_smpte_yuv_planar() 137 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3 / (width / 7) + 4].y; in fill_smpte_yuv_planar() 138 for (; x < width; ++x) in fill_smpte_yuv_planar() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/drivers/src/ |
| D | hpm_pdma_drv.c | 95 config->width = 0; in pdma_get_default_plane_config() 165 config->plane[i].width = 0; in pdma_get_default_output_config() 168 config->width = 0; in pdma_get_default_output_config() 295 pitch = display_get_pitch_length_in_byte(plane_src->pixel_format, plane_src->width); in pdma_config_planes() 310 | PDMA_PS_ORG_WIDTH_SET(plane_src->width); in pdma_config_planes() 327 pitch = display_get_pitch_length_in_byte(plane_src->pixel_format, plane_src->width); in pdma_config_planes() 342 | PDMA_PS_ORG_WIDTH_SET(plane_dst->width); in pdma_config_planes() 375 config->width); in pdma_config_output() 382 ptr->OUT_LRC = PDMA_OUT_LRC_X_SET(config->width) in pdma_config_output() 386 ptr->OUT_PS[0].LRC = PDMA_OUT_PS_LRC_X_SET(config->plane[0].width) in pdma_config_output() [all …]
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/ |
| D | README.md | 69 <table><thead align="left"><tr id="row15927132514396"><th class="cellrowborder" valign="top" width=… 71 <th class="cellrowborder" valign="top" width="72.61999999999999%" id="mcps1.1.3.1.2"><p id="p129272… 75 <tbody><tr id="row292882517399"><td class="cellrowborder" valign="top" width="27.38%" headers="mcps… 77 <td class="cellrowborder" valign="top" width="72.61999999999999%" headers="mcps1.1.3.1.2 "><p id="p… 80 <tr id="row13791175961418"><td class="cellrowborder" valign="top" width="27.38%" headers="mcps1.1.3… 82 <td class="cellrowborder" valign="top" width="72.61999999999999%" headers="mcps1.1.3.1.2 "><p id="p… 85 <tr id="row19928225163913"><td class="cellrowborder" valign="top" width="27.38%" headers="mcps1.1.3… 87 <td class="cellrowborder" valign="top" width="72.61999999999999%" headers="mcps1.1.3.1.2 "><p id="p… 90 <tr id="row12928225173915"><td class="cellrowborder" valign="top" width="27.38%" headers="mcps1.1.3… 92 <td class="cellrowborder" valign="top" width="72.61999999999999%" headers="mcps1.1.3.1.2 "><p id="p… [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-vipp/ |
| D | sunxi_scaler.c | 54 crop->left = clamp_t(u32, crop->left, 0, sink->width - source->width); in __scaler_try_crop() 55 crop->width = clamp_t(u32, crop->width, source->width, sink->width - crop->left); in __scaler_try_crop() 109 unsigned int width; in __scaler_calc_ratios() local 113 output->width = clamp_t(u32, output->width, MIN_OUT_WIDTH, input->width); in __scaler_calc_ratios() 117 para->xratio = 256 * input->width / output->width; in __scaler_calc_ratios() 124 width = ALIGN(256 * input->width / r_min, 4); in __scaler_calc_ratios() 126 para->xratio = 256 * input->width / width; in __scaler_calc_ratios() 130 para->width = width; in __scaler_calc_ratios() 133 para->xratio, para->yratio, para->width, para->height); in __scaler_calc_ratios() 135 output->width = width; in __scaler_calc_ratios() [all …]
|
| /device/soc/beken/bk7235/liteos_m/third_party_adapter/musl/ |
| D | qsort.c | 87 static void cycle(size_t width, unsigned char* ar[], int n) in cycle() argument 98 while(width) { in cycle() 99 l = sizeof(tmp) < width ? sizeof(tmp) : width; in cycle() 105 width -= l; in cycle() 134 static void sift(unsigned char *head, size_t width, cmpfun cmp, int pshift, size_t lp[]) in sift() argument 142 rt = head - width; in sift() 143 lf = head - width - lp[pshift - 2]; in sift() 158 cycle(width, ar, i); in sift() 161 static void trinkle(unsigned char *head, size_t width, cmpfun cmp, size_t pp[2], int pshift, int tr… in trinkle() argument 180 rt = head - width; in trinkle() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin_test/mplane_image/ |
| D | csi_test_mplane.c | 57 int width; member 84 int width, height;/* screen size */ member 101 unsigned int width; member 139 static void yuv_r90(char *dst, char *src, int width, int height) in yuv_r90() argument 143 for (i = 0; i < width; i++) { in yuv_r90() 145 *(char *)(dst + j + i * height) = *(char *)(src + (height - j - 1) * width + i); in yuv_r90() 149 static void uv_r90(char *dst, char *src, int width, int height) in uv_r90() argument 153 for (i = 0; i < width/2; i++) { in uv_r90() 155 *(char *)(dst + j * 2 + i * height) = *(char *)(src + (height/2 - j - 1) * width + i * 2); in uv_r90() 158 for (i = 0; i < width/2; i++) { in uv_r90() [all …]
|
| /device/board/bearpi/bearpi_hm_nano/docs/quick-start/ |
| D | BearPi-HM_Nano开发搭建环境.md | 22 …ra9df6acc53154b819d5f86d885d994de"><th class="cellrowborder" valign="top" width="12.41%" id="mcps1… 24 <th class="cellrowborder" valign="top" width="12.389999999999999%" id="mcps1.2.5.1.2"><p id="ae63cf… 26 <th class="cellrowborder" valign="top" width="46.21%" id="mcps1.2.5.1.3"><p id="a54c4c80c43c84cb187… 28 <th class="cellrowborder" valign="top" width="28.99%" id="mcps1.2.5.1.4"><p id="a11e8d096fb204378a6… 32 <tbody><tr id="row117591159175819"><td class="cellrowborder" valign="top" width="12.41%" headers="m… 34 <td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.2.5.1.2 "><p id="… 36 <td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.2.5.1.3 "><p id="ace724e00c909… 38 <td class="cellrowborder" rowspan="2" valign="top" width="28.99%" headers="mcps1.2.5.1.4 "><p id="a… 58 <table><thead align="left"><tr id="row122993276512"><th class="cellrowborder" valign="top" width="2… 60 <th class="cellrowborder" valign="top" width="20.7020702070207%" id="mcps1.2.4.1.2"><p id="p4299182… [all …]
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/ |
| D | crop_func.c | 92 uint16_t width = 0; in _update_ds() local 95 //width and height should be from the top in case that RAW SCALER was updated in _update_ds() 96 width = acamera_isp_top_active_width_read( p_fsm->cmn.isp_base ); in _update_ds() 103 if ( p_fsm->crop_ds.xoffset >= width ) in _update_ds() 104 p_fsm->crop_ds.xoffset = width - 1; in _update_ds() 107 if ( p_fsm->crop_ds.xoffset + p_fsm->crop_ds.xsize > width ) in _update_ds() 108 p_fsm->crop_ds.xsize = width - p_fsm->crop_ds.xoffset; in _update_ds() 117 width = p_fsm->crop_ds.xsize; in _update_ds() 125 if ( p_fsm->scaler_ds.xsize > width ) in _update_ds() 126 p_fsm->scaler_ds.xsize = width; in _update_ds() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/clk/ |
| D | ccu_nkmp.c | 101 n &= (1 << nkmp->n.width) - 1; in ccu_nkmp_recalc_rate() 107 k &= (1 << nkmp->k.width) - 1; in ccu_nkmp_recalc_rate() 113 m &= (1 << nkmp->m.width) - 1; in ccu_nkmp_recalc_rate() 119 p &= (1 << nkmp->p.width) - 1; in ccu_nkmp_recalc_rate() 146 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_round_rate() 148 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_round_rate() 150 _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; in ccu_nkmp_round_rate() 152 _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); in ccu_nkmp_round_rate() 178 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_set_rate() 180 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_set_rate() [all …]
|
| /device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/src/ |
| D | canny.cpp | 60 inline void operator()(const u8* src, s16* dstx, s16* dsty, ptrdiff_t width) in operator ()() 64 for (; i < width - 8 + lookRight; i += 8) in operator ()() 84 if (lookRight == 0 || i != width) in operator ()() 86 … uint8x8_t tail0 = vld1_u8(src + (width - 9));//can't get left 1 pixel another way if width==8*k+1 in operator ()() 87 uint8x8_t tail2 = vtbl1_u8(vld1_u8(src + (width - 8 + lookRight)), vtmask); in operator ()() 95 vst1q_s16(dstx + (width - 8), taildx); in operator ()() 96 vst1q_s16(dsty + (width - 8), taildy); in operator ()() 108 …const s16* src0, const s16* src1, const s16* src2, s16* dstx, s16* dsty, s32* mag, ptrdiff_t width) in ColFilter3x3Canny() argument 111 for (; j <= width - 8; j += 8) in ColFilter3x3Canny() 117 int16x8_t line0y = vld1q_s16(src0 + j + width); in ColFilter3x3Canny() [all …]
|
| D | convert_depth.cpp | 55 size_t roiw16 = size.width >= 15 ? size.width - 15 : 0; in lshiftConst() 56 size_t roiw8 = size.width >= 7 ? size.width - 7 : 0; in lshiftConst() 80 for (; j < size.width; j++) in lshiftConst() 92 size_t roiw16 = size.width >= 15 ? size.width - 15 : 0; in lshiftConst() 93 size_t roiw8 = size.width >= 7 ? size.width - 7 : 0; in lshiftConst() 117 for (; j < size.width; j++) in lshiftConst() 130 size_t roiw16 = size.width >= 15 ? size.width - 15 : 0; in rshiftConst() 131 size_t roiw8 = size.width >= 7 ? size.width - 7 : 0; in rshiftConst() 156 for (; j < size.width; j++) in rshiftConst() 178 for (; j < size.width; j++) in rshiftConst() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v33x/de330/ |
| D | de_rtmx.c | 414 ctx->output.scn_width = data->config.size.width; in de_rtmx_mgr_apply() 594 if ((lay_info->fb.size[0].width <= 736) in de_rtmx_chn_data_attr() 604 if ((lay_info->fb.size[0].width <= 736) in de_rtmx_chn_data_attr() 695 right = lay_scn_win->left + lay_scn_win->width; in de_rtmx_chn_calc_size() 704 chn_info->scn_win.width = win.right - win.left; in de_rtmx_chn_calc_size() 729 lay_win->width = crop32[i].width; in de_rtmx_chn_calc_size() 733 win.right = max((s32)(lay_win->left + lay_win->width), in de_rtmx_chn_calc_size() 740 chn_info->ovl_out_win.width = win.right - win.left; in de_rtmx_chn_calc_size() 767 ((chn_info->ovl_win.width > chn_info->scn_win.width) in de_rtmx_chn_fix_size_for_ability() 768 ? chn_info->ovl_win.width : chn_info->scn_win.width); in de_rtmx_chn_fix_size_for_ability() [all …]
|
| D | de_vsu.c | 179 if (scn_win->width) { in de_vsu_calc_lay_scale_para() 180 val = crop64->width; in de_vsu_calc_lay_scale_para() 181 do_div(val, scn_win->width); in de_vsu_calc_lay_scale_para() 203 val = (crop64->width & 0xffffffff) in de_vsu_calc_lay_scale_para() 205 crop32->width = (val >> 32) ? in de_vsu_calc_lay_scale_para() 206 ((crop64->width >> 32) + 1) : (crop64->width >> 32); in de_vsu_calc_lay_scale_para() 227 && ((crop32->width & 0x1) == 0x1)) { in de_vsu_calc_lay_scale_para() 228 /* odd crop_w, crop down width, */ in de_vsu_calc_lay_scale_para() 230 crop32->width--; in de_vsu_calc_lay_scale_para() 232 && ((crop32->width & 0x1) == 0x0)) { in de_vsu_calc_lay_scale_para() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/ |
| D | fb_g2d_rot.c | 66 inst->info.dst_image_h.width = in fb_g2d_set_degree() 73 inst->info.dst_image_h.width; in fb_g2d_set_degree() 74 config->info.fb.crop.width = in fb_g2d_set_degree() 78 config->info.fb.size[0].width = in fb_g2d_set_degree() 82 config->info.fb.size[1].width = in fb_g2d_set_degree() 86 config->info.fb.size[2].width = in fb_g2d_set_degree() 95 inst->info.dst_image_h.width = in fb_g2d_set_degree() 100 inst->info.dst_image_h.width; in fb_g2d_set_degree() 103 config->info.fb.crop.width = in fb_g2d_set_degree() 107 config->info.fb.size[0].width = in fb_g2d_set_degree() [all …]
|
| /device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
| D | hpm_pdma_drv.h | 109 uint16_t width; /**< width */ member 124 uint16_t width; /**< plane width */ member 127 uint16_t width; /**< output plane width */ member 148 uint32_t width; /**< plane width */ member 250 * @param [in] dst_width target buff pixel width 251 * @param [in] width output image width 261 uint32_t width, uint32_t height, 271 * @param [in] dst_width target buff pixel width 273 * @param [in] src_width source buff pixel width 276 * @param [in] width output image width [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw8/ |
| D | de_enhance.c | 47 tmp_win.w = config->info.window.width; 106 tmp_win.w = config->info.window.width; in de_enhance_info2data() 182 de_fce_set_size(screen_id, ch_id, config[0].info.size.width, 189 g_ce_status[screen_id][ch_id]->width = 190 config[0].info.size.width; 198 de_bws_set_size(screen_id, ch_id, config[0].info.size.width, 202 g_bws_status[screen_id][ch_id]->width = 203 config[0].info.size.width; 209 de_peak_set_size(screen_id, ch_id, config[0].info.size.width, 217 de_lti_set_size(screen_id, ch_id, config[0].info.size.width, [all …]
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
| D | regs.c | 60 tmp.width /= CIF_IMG_EFF_CTRL_MODE_SEPIA_SHIFT; in rkisp_config_dcrop() 62 tmp.width &= ~0xf; in rkisp_config_dcrop() 68 rkisp_write(dev, reg, tmp.width, false); in rkisp_config_dcrop() 81 u32 right_w, left_w = tmp.width; in rkisp_config_dcrop() 86 right_w = rect->width - left_w; in rkisp_config_dcrop() 91 if (stream->out_fmt.width < rect->width) { in rkisp_config_dcrop() 157 if (in_y->width < out_y->width) { in set_scale() 159 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / (out_y->width - 1); in set_scale() 161 } else if (in_y->width > out_y->width) { in set_scale() 163 scale_hy = ((out_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / (in_y->width - 1) + 1; in set_scale() [all …]
|
| /device/board/isoftstone/yangfan/kernel/src/driv/media/isp/ |
| D | regs.c | 62 tmp.width /= 2; in rkisp_config_dcrop() 64 tmp.width &= ~0xf; in rkisp_config_dcrop() 69 rkisp_write(dev, reg, tmp.width, false); in rkisp_config_dcrop() 81 u32 right_w, left_w = tmp.width; in rkisp_config_dcrop() 86 right_w = rect->width - left_w; in rkisp_config_dcrop() 91 if (stream->out_fmt.width < rect->width) { in rkisp_config_dcrop() 170 if (in_y->width < out_y->width) { in set_scale() 173 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale() 174 (out_y->width - 1); in set_scale() 176 } else if (in_y->width > out_y->width) { in set_scale() [all …]
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
| D | regs.c | 62 tmp.width /= 2; in rkisp_config_dcrop() 64 tmp.width &= ~0xf; in rkisp_config_dcrop() 69 rkisp_write(dev, reg, tmp.width, false); in rkisp_config_dcrop() 81 u32 right_w, left_w = tmp.width; in rkisp_config_dcrop() 86 right_w = rect->width - left_w; in rkisp_config_dcrop() 91 if (stream->out_fmt.width < rect->width) { in rkisp_config_dcrop() 170 if (in_y->width < out_y->width) { in set_scale() 173 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale() 174 (out_y->width - 1); in set_scale() 176 } else if (in_y->width > out_y->width) { in set_scale() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/ |
| D | disp_rotation_sw.c | 611 map_size = src_fb->size[0].width * src_fb->size[0].height << 2; in rotate_fb() 617 map_size = src_fb->size[0].width * src_fb->size[0].height * 3 >> 1; in rotate_fb() 624 map_size = src_fb->size[0].width * src_fb->size[0].height * 3 >> 1; in rotate_fb() 640 src_widthstep = src_fb->size[0].width << 2; in rotate_fb() 642 dst_widthstep = dst_fb->size[0].width << 2; in rotate_fb() 650 src_widthstep, src_dirty->width, src_dirty->height, in rotate_fb() 655 src_widthstep, src_dirty->width, src_dirty->height, in rotate_fb() 661 src_widthstep, src_dirty->width, src_dirty->height, in rotate_fb() 670 src_widthstep = src_fb->size[0].width; in rotate_fb() 672 dst_widthstep = dst_fb->size[0].width; in rotate_fb() [all …]
|
| /device/soc/rockchip/rk3568/hardware/display/src/display_gfx/ |
| D | display_gfx.c | 164 imRect.width = rect->w; in rkFillRect() 180 dst.width = iSurface->width; in rkFillRect() 182 dst.wstride = ALIGN_UP(iSurface->width, 16); in rkFillRect() 312 dstRgaBuffer.width = dstSurface->width; in doFlit() 314 dstRgaBuffer.wstride = ALIGN_UP(dstSurface->width, 16); in doFlit() 326 srcRgaBuffer.width = srcSurface->width; in doFlit() 328 srcRgaBuffer.wstride = ALIGN_UP(srcSurface->width, 16); in doFlit() 342 …(int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 1… in doFlit() 345 …(int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 1… in doFlit() 354 srect.width = srcRect->w; in doFlit() [all …]
|
| /device/soc/rockchip/rk3566/hardware/display/src/display_gfx/ |
| D | display_gfx.c | 164 imRect.width = rect->w; in rkFillRect() 180 dst.width = iSurface->width; in rkFillRect() 182 dst.wstride = ALIGN_UP(iSurface->width, 16); in rkFillRect() 312 dstRgaBuffer.width = dstSurface->width; in doFlit() 314 dstRgaBuffer.wstride = ALIGN_UP(dstSurface->width, 16); in doFlit() 326 srcRgaBuffer.width = srcSurface->width; in doFlit() 328 srcRgaBuffer.wstride = ALIGN_UP(srcSurface->width, 16); in doFlit() 342 …(int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 1… in doFlit() 345 …(int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 1… in doFlit() 354 srect.width = srcRect->w; in doFlit() [all …]
|
| /device/soc/rockchip/rk3588/hardware/display/src/display_gfx/ |
| D | display_gfx.c | 164 imRect.width = rect->w; in rkFillRect() 180 dst.width = iSurface->width; in rkFillRect() 182 dst.wstride = ALIGN_UP(iSurface->width, 16); in rkFillRect() 312 dstRgaBuffer.width = dstSurface->width; in doFlit() 314 dstRgaBuffer.wstride = ALIGN_UP(dstSurface->width, 16); in doFlit() 326 srcRgaBuffer.width = srcSurface->width; in doFlit() 328 srcRgaBuffer.wstride = ALIGN_UP(srcSurface->width, 16); in doFlit() 342 …(int32_t)srcSurface->phyAddr, srcSurface->width, srcSurface->height, ALIGN_UP(srcSurface->width, 1… in doFlit() 345 …(int32_t)dstSurface->phyAddr, dstSurface->width, dstSurface->height, ALIGN_UP(dstSurface->width, 1… in doFlit() 354 srect.width = srcRect->w; in doFlit() [all …]
|
| /device/board/bearpi/bearpi_hm_micro/docs/device-dev/ |
| D | BearPi-HM_Micro开发环境搭建.md | 18 …ra9df6acc53154b819d5f86d885d994de"><th class="cellrowborder" valign="top" width="12.41%" id="mcps1… 20 <th class="cellrowborder" valign="top" width="12.389999999999999%" id="mcps1.2.5.1.2"><p id="ae63cf… 22 <th class="cellrowborder" valign="top" width="46.21%" id="mcps1.2.5.1.3"><p id="a54c4c80c43c84cb187… 24 <th class="cellrowborder" valign="top" width="28.99%" id="mcps1.2.5.1.4"><p id="a11e8d096fb204378a6… 28 <tbody><tr id="row117591159175819"><td class="cellrowborder" valign="top" width="12.41%" headers="m… 30 <td class="cellrowborder" valign="top" width="12.389999999999999%" headers="mcps1.2.5.1.2 "><p id="… 32 <td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.2.5.1.3 "><p id="ace724e00c909… 34 <td class="cellrowborder" rowspan="2" valign="top" width="28.99%" headers="mcps1.2.5.1.4 "><p id="a… 54 <table><thead align="left"><tr id="row122993276512"><th class="cellrowborder" valign="top" width="2… 56 <th class="cellrowborder" valign="top" width="20.7020702070207%" id="mcps1.2.4.1.2"><p id="p4299182… [all …]
|
| /device/soc/bestechnic/bes2600/liteos_m/components/utils/src/ |
| D | printf.c | 202 …fer, size_t idx, size_t maxlen, const char* buf, size_t len, unsigned int width, unsigned int flag… in _out_rev() argument 206 // pad spaces up to given width in _out_rev() 208 for (size_t i = len; i < width; i++) { in _out_rev() 218 // append pad spaces up to given width in _out_rev() 220 while (idx - start_idx < width) { in _out_rev() 230 …_t len, bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flag… in _ntoa_format() argument 234 if (width && (flags & FLAGS_ZEROPAD) && (negative || (flags & (FLAGS_PLUS | FLAGS_SPACE)))) { in _ntoa_format() 235 width--; in _ntoa_format() 240 while ((flags & FLAGS_ZEROPAD) && (len < width) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format() 247 if (!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format() [all …]
|