Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 27) sorted by relevance

12

/bionic/libc/stdio/
Dvfscanf.cpp89 size_t width; /* field width, or 0 */ in __svfscanf() local
119 width = 0; in __svfscanf()
184 width = width * 10 + c - '0'; in __svfscanf()
334 if (width == 0) width = 1; in __svfscanf()
337 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(width * sizeof(wchar_t))); in __svfscanf()
345 while (width != 0) { in __svfscanf()
362 width--; in __svfscanf()
382 if ((n = fp->_r) < width) { in __svfscanf()
384 width -= n; in __svfscanf()
391 sum += width; in __svfscanf()
[all …]
Dvfwscanf.c133 size_t width; /* field width, or 0 */ in __vfwscanf() local
171 width = 0; in __vfwscanf()
235 width = width * 10 + c - '0'; in __vfwscanf()
365 if (width == 0) width = 1; in __vfwscanf()
369 while (width-- != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
380 while (width != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
381 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
387 if (nconv > width) { in __vfwscanf()
394 width -= nconv; in __vfwscanf()
408 if (width == 0) width = (size_t)~0; // 'infinity'. in __vfwscanf()
[all …]
Dvfwprintf.cpp52 int width; /* width from format (%8d), or 0 */ in FUNCTION_NAME() local
165 width = 0; in FUNCTION_NAME()
195 GETASTER(width); in FUNCTION_NAME()
196 if (width >= 0) goto rflag; in FUNCTION_NAME()
197 if (width == INT_MIN) goto overflow; in FUNCTION_NAME()
198 width = -width; in FUNCTION_NAME()
263 width = n; in FUNCTION_NAME()
603 if ((flags & (LADJUST | ZEROPAD)) == 0) PAD(width - realsz, blanks); in FUNCTION_NAME()
613 if ((flags & (LADJUST | ZEROPAD)) == ZEROPAD) PAD(width - realsz, zeroes); in FUNCTION_NAME()
650 if (flags & LADJUST) PAD(width - realsz, blanks); in FUNCTION_NAME()
[all …]
Dvfprintf.cpp52 int width; /* width from format (%8d), or 0 */ in FUNCTION_NAME() local
176 width = 0; in FUNCTION_NAME()
206 GETASTER(width); in FUNCTION_NAME()
207 if (width >= 0) goto rflag; in FUNCTION_NAME()
208 if (width == INT_MIN) goto overflow; in FUNCTION_NAME()
209 width = -width; in FUNCTION_NAME()
274 width = n; in FUNCTION_NAME()
614 if ((flags & (LADJUST | ZEROPAD)) == 0) PAD(width - realsz, blanks); in FUNCTION_NAME()
624 if ((flags & (LADJUST | ZEROPAD)) == ZEROPAD) PAD(width - realsz, zeroes); in FUNCTION_NAME()
661 if (flags & LADJUST) PAD(width - realsz, blanks); in FUNCTION_NAME()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dlsearch.c44 lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument
48 return(linear_base(key, base, nelp, width, compar, 1)); in lsearch()
52 lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument
55 return(linear_base(key, base, nelp, width, compar, 0)); in lfind()
59 linear_base(const void *key, const void *base, size_t *nelp, size_t width, in linear_base() argument
64 end = (const char *)base + *nelp * width; in linear_base()
65 for (element = base; element < end; element += width) in linear_base()
82 memcpy((void *)end, key, width); in linear_base()
/bionic/libc/kernel/uapi/linux/
Dfb.h222 __u32 width; member
281 __u32 width; member
289 __u32 width; member
297 __u32 width; member
Domapfb.h93 __u32 width, height; member
101 __u32 width, height; member
183 __u32 width; member
Dvirtio_gpu.h84 __le32 width; member
96 __le32 width; member
162 __le32 width; member
Dkd.h148 unsigned int width, height; member
153 unsigned int width, height; member
Dstm.h28 __u16 width; member
Dvideodev2.h143 __u32 width; member
151 __u32 width; member
193 __u32 width; member
435 __u32 width; member
469 __u32 width; member
593 __u32 width; member
722 __u32 width; member
763 #define V4L2_DV_BT_FRAME_WIDTH(bt) ((bt)->width + V4L2_DV_BT_BLANKING_WIDTH(bt))
1197 __u32 width; member
Dv4l2-subdev.h68 __u32 width; member
Dv4l2-mediabus.h25 __u32 width; member
Domap3isp.h156 __u8 width; member
/bionic/libc/async_safe/
Dasync_safe_log.cpp241 int width = -1; in out_vformat() local
292 width = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
398 if (slen < width && !padLeft) { in out_vformat()
400 SendRepeat(o, padChar, width - slen); in out_vformat()
405 if (slen < width && padLeft) { in out_vformat()
407 SendRepeat(o, padChar, width - slen); in out_vformat()
/bionic/libc/kernel/uapi/drm/
Ddrm_mode.h303 __u32 width; member
315 __u32 width; member
347 __u32 width; member
356 __u32 width; member
420 __u32 width; member
Ddrm_sarea.h43 unsigned int width; member
Domap_drm.h42 __u16 width; member
Dvmwgfx_drm.h101 __u32 width; member
168 __u32 width; member
Dqxl_drm.h87 __u32 width; member
Dvirtgpu_drm.h60 __u32 width; member
Dr128_drm.h197 unsigned short width, height; member
Dexynos_drm.h151 __u32 width, height; member
Dvc4_drm.h72 __u16 width; member
Dradeon_drm.h513 unsigned int width, height; member
520 int width; member

12