Lines Matching defs:width
224 /* ignore the width (ex: 10 in "%10s") */
641 Py_ssize_t width = -1;
718 /* Parse width. Example: "%10s" => width=10 */
728 width = PyLong_AsSsize_t(v);
729 if (width == -1 && PyErr_Occurred())
731 if (width < 0) {
733 width = -width;
739 width = c - '0';
744 if (width > (PY_SSIZE_T_MAX - ((int)c - '0')) / 10) {
747 "width too big");
750 width = width*10 + (c - '0');
846 && width == -1 && prec == -1
898 if (width == -1 && prec == -1
923 if (width == -1) {
951 if (width < len)
952 width = len;
954 alloc = width;
955 if (sign != 0 && len == width)
971 if (width > len)
972 width--;
985 width -= 2;
986 if (width < 0)
987 width = 0;
992 if (width > len && !(flags & F_LJUST)) {
993 memset(res, fill, width - len);
994 res += (width - len);
995 width = len;
1016 if (width > len) {
1017 memset(res, ' ', width - len);
1018 res += (width - len);