Home
last modified time | relevance | path

Searched refs:fillchar (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dtransmogrify.h131 char fillchar = ' '; in stringlib_ljust() local
133 if (!PyArg_ParseTuple(args, "n|c:ljust", &width, &fillchar)) in stringlib_ljust()
147 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust()
161 char fillchar = ' '; in stringlib_rjust() local
163 if (!PyArg_ParseTuple(args, "n|c:rjust", &width, &fillchar)) in stringlib_rjust()
177 return pad(self, width - STRINGLIB_LEN(self), 0, fillchar); in stringlib_rjust()
192 char fillchar = ' '; in stringlib_center() local
194 if (!PyArg_ParseTuple(args, "n|c:center", &width, &fillchar)) in stringlib_center()
211 return pad(self, left, marg - left, fillchar); in stringlib_center()
/external/syslinux/com32/lib/sys/
Dlibansi.c238 const char right, const char fillchar, const char fillattr) in clearwindow() argument
243 cprint(fillchar, fillattr, right - left + 1); in clearwindow()
/external/syslinux/com32/cmenu/libmenu/
Dmenu.c123 ms->fillchar, ms->fillattr); in reset_ui()
289 ms->fillchar, ms->shadowattr); in printmenu()
340 …clearwindow(top, left - 2, top + numitems + 1, left + menu->menuwidth + 4, ms->fillchar, ms->filla… in cleanupmenu()
341 …clearwindow(top - 1, left - 3, top + numitems, left + menu->menuwidth + 3, ms->fillchar, ms->filla… in cleanupmenu()
708 ms->fillchar = FILLCHAR; in init_menusystem()
796 void set_misc_info(uchar fillchar, uchar fillattr, uchar spacechar, in set_misc_info() argument
799 if (fillchar != 0xFF) in set_misc_info()
800 ms->fillchar = fillchar; in set_misc_info()
Dcmenu.h206 uchar fillchar; member
240 void set_misc_info(uchar fillchar, uchar fillattr, uchar spacechar,
/external/syslinux/com32/include/
Dlibansi.h53 const char right, const char fillchar, const char fillattr);
/external/python/cpython2/Objects/
Dstringobject.c3201 char fillchar = ' '; in string_ljust() local
3203 if (!PyArg_ParseTuple(args, "n|c:ljust", &width, &fillchar)) in string_ljust()
3211 return pad(self, 0, width - PyString_GET_SIZE(self), fillchar); in string_ljust()
3225 char fillchar = ' '; in string_rjust() local
3227 if (!PyArg_ParseTuple(args, "n|c:rjust", &width, &fillchar)) in string_rjust()
3235 return pad(self, width - PyString_GET_SIZE(self), 0, fillchar); in string_rjust()
3250 char fillchar = ' '; in string_center() local
3252 if (!PyArg_ParseTuple(args, "n|c:center", &width, &fillchar)) in string_center()
3263 return pad(self, left, marg - left, fillchar); in string_center()
Dunicodeobject.c6125 Py_UNICODE fillchar = ' '; in unicode_center() local
6127 if (!PyArg_ParseTuple(args, "n|O&:center", &width, convert_uc, &fillchar)) in unicode_center()
6138 return (PyObject*) pad(self, left, marg - left, fillchar); in unicode_center()
7032 Py_UNICODE fillchar = ' '; in unicode_ljust() local
7034 if (!PyArg_ParseTuple(args, "n|O&:ljust", &width, convert_uc, &fillchar)) in unicode_ljust()
7042 return (PyObject*) pad(self, 0, width - self->length, fillchar); in unicode_ljust()
7420 Py_UNICODE fillchar = ' '; in unicode_rjust() local
7422 if (!PyArg_ParseTuple(args, "n|O&:rjust", &width, convert_uc, &fillchar)) in unicode_rjust()
7430 return (PyObject*) pad(self, width - self->length, 0, fillchar); in unicode_rjust()
/external/syslinux/com32/cmenu/
Dcomplex.c159 cprint(ms->fillchar, ms->fillattr, sizeof username); in msys_handler()
/external/python/cpython2/Doc/library/
Dstring.rst1021 .. function:: ljust(s, width[, fillchar])
1022 rjust(s, width[, fillchar])
1023 center(s, width[, fillchar])
1027 characters wide, created by padding the string *s* with the character *fillchar*
Dstdtypes.rst882 .. method:: str.center(width[, fillchar])
885 specified *fillchar* (default is a space).
888 Support for the *fillchar* argument.
1074 .. method:: str.ljust(width[, fillchar])
1077 using the specified *fillchar* (default is a space). The original string is
1081 Support for the *fillchar* argument.
1138 .. method:: str.rjust(width[, fillchar])
1141 using the specified *fillchar* (default is a space). The original string is
1145 Support for the *fillchar* argument.