Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dlsearch.c42 lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument
45 void *element = lfind(key, base, nelp, width, compar); in lsearch()
52 element = memmove((char *)base + *nelp * width, key, width); in lsearch()
59 lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument
64 end = (const char *)base + *nelp * width; in lfind()
65 for (element = base; element < end; element += width) in lfind()
/bionic/libc/stdio/
Dvfscanf.cpp44 size_t width; /* field width, or 0 */ in __svfscanf() local
71 width = 0; in __svfscanf()
137 width = width * 10 + c - '0'; in __svfscanf()
309 if (width == 0) width = 1; in __svfscanf()
312 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(width * sizeof(wchar_t))); in __svfscanf()
320 while (width != 0) { in __svfscanf()
337 width--; in __svfscanf()
357 if ((n = fp->_r) < width) { in __svfscanf()
359 width -= n; in __svfscanf()
366 sum += width; in __svfscanf()
[all …]
Dvfwscanf.cpp82 size_t width; /* field width, or 0 */ in __vfwscanf() local
117 width = 0; in __vfwscanf()
182 width = width * 10 + c - '0'; in __vfwscanf()
334 if (width == 0) width = 1; in __vfwscanf()
338 while (width-- != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
349 while (width != 0 && (wi = __fgetwc_unlock(fp)) != WEOF) { in __vfwscanf()
350 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
356 if (nconv > width) { in __vfwscanf()
363 width -= nconv; in __vfwscanf()
377 if (width == 0) width = SIZE_MAX; // 'infinity'. in __vfwscanf()
[all …]
Dvfprintf.cpp72 int width; /* width from format (%8d), or 0 */ in FUNCTION_NAME() local
178 width = 0; in FUNCTION_NAME()
208 GETASTER(width); in FUNCTION_NAME()
209 if (width >= 0) goto rflag; in FUNCTION_NAME()
210 if (width == INT_MIN) goto overflow; in FUNCTION_NAME()
211 width = -width; in FUNCTION_NAME()
276 width = n; in FUNCTION_NAME()
660 if ((flags & (LADJUST | ZEROPAD)) == 0) PAD(width - realsz, blanks); in FUNCTION_NAME()
670 if ((flags & (LADJUST | ZEROPAD)) == ZEROPAD) PAD(width - realsz, zeroes); in FUNCTION_NAME()
708 if (flags & LADJUST) PAD(width - realsz, blanks); in FUNCTION_NAME()
[all …]
Dvfwprintf.cpp75 int width; /* width from format (%8d), or 0 */ in FUNCTION_NAME() local
181 width = 0; in FUNCTION_NAME()
211 GETASTER(width); in FUNCTION_NAME()
212 if (width >= 0) goto rflag; in FUNCTION_NAME()
213 if (width == INT_MIN) goto overflow; in FUNCTION_NAME()
214 width = -width; in FUNCTION_NAME()
279 width = n; in FUNCTION_NAME()
638 if ((flags & (LADJUST | ZEROPAD)) == 0) PAD(width - realsz, blanks); in FUNCTION_NAME()
648 if ((flags & (LADJUST | ZEROPAD)) == ZEROPAD) PAD(width - realsz, zeroes); in FUNCTION_NAME()
686 if (flags & LADJUST) PAD(width - realsz, blanks); in FUNCTION_NAME()
[all …]
/bionic/libc/kernel/uapi/linux/
Dfb.h212 __u32 width; member
267 __u32 width; member
275 __u32 width; member
283 __u32 width; member
Dvirtio_gpu.h88 __le32 width; member
100 __le32 width; member
166 __le32 width; member
276 __le32 width; member
Domapfb.h81 __u32 width, height; member
89 __u32 width, height; member
171 __u32 width; member
Dkd.h136 unsigned int width, height; member
141 unsigned int width, height; member
Dstm.h16 __u16 width; member
Dvideodev2.h132 __u32 width; member
140 __u32 width; member
182 __u32 width; member
473 __u32 width; member
507 __u32 width; member
635 __u32 width; member
764 __u32 width; member
805 #define V4L2_DV_BT_FRAME_WIDTH(bt) ((bt)->width + V4L2_DV_BT_BLANKING_WIDTH(bt))
1290 __u32 width; member
Dv4l2-mediabus.h14 __u32 width; member
Dv4l2-subdev.h69 __u32 width; member
/bionic/libc/async_safe/
Dasync_safe_log.cpp252 int width = -1; in out_vformat() local
307 width = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
440 if (slen < width && !padLeft) { in out_vformat()
442 SendRepeat(o, padChar, width - slen); in out_vformat()
447 if (slen < width && padLeft) { in out_vformat()
449 SendRepeat(o, padChar, width - slen); in out_vformat()
/bionic/libc/kernel/uapi/drm/
Ddrm_mode.h292 __u32 width; member
303 __u32 width; member
335 __u32 width; member
344 __u32 width; member
411 __u32 width; member
Ddrm_sarea.h31 unsigned int width; member
Domap_drm.h30 __u16 width; member
Dqxl_drm.h75 __u32 width; member
Dxe_drm.h127 __u32 width; member
239 __u16 width; member
Dvmwgfx_drm.h94 __u32 width; member
161 __u32 width; member
Dvirtgpu_drm.h70 __u32 width; member
Dexynos_drm.h139 __u32 width, height; member
Dvc4_drm.h60 __u16 width; member
Dpvr_drm.h200 __u32 width; member
/bionic/libc/tzcode/
Dstrftime.c682 int width = format[1] == ' ' ? 0 : format[1] - '0'; in _conv() local
700 while ((end - p) < width) { in _conv()

12