/third_party/python/Objects/stringlib/clinic/ |
D | transmogrify.h.h | 59 stringlib_ljust_impl(PyObject *self, Py_ssize_t width, char fillchar); 66 char fillchar = ' '; in stringlib_ljust() local 87 fillchar = PyBytes_AS_STRING(args[1])[0]; in stringlib_ljust() 90 fillchar = PyByteArray_AS_STRING(args[1])[0]; in stringlib_ljust() 97 return_value = stringlib_ljust_impl(self, width, fillchar); in stringlib_ljust() 115 stringlib_rjust_impl(PyObject *self, Py_ssize_t width, char fillchar); 122 char fillchar = ' '; in stringlib_rjust() local 143 fillchar = PyBytes_AS_STRING(args[1])[0]; in stringlib_rjust() 146 fillchar = PyByteArray_AS_STRING(args[1])[0]; in stringlib_rjust() 153 return_value = stringlib_rjust_impl(self, width, fillchar); in stringlib_rjust() [all …]
|
/third_party/python/Objects/clinic/ |
D | unicodeobject.c.h | 77 unicode_center_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); 84 Py_UCS4 fillchar = ' '; in unicode_center() local 104 if (!convert_uc(args[1], &fillchar)) { in unicode_center() 108 return_value = unicode_center_impl(self, width, fillchar); in unicode_center() 511 unicode_ljust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); 518 Py_UCS4 fillchar = ' '; in unicode_ljust() local 538 if (!convert_uc(args[1], &fillchar)) { in unicode_ljust() 542 return_value = unicode_ljust_impl(self, width, fillchar); in unicode_ljust() 820 unicode_rjust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar); 827 Py_UCS4 fillchar = ' '; in unicode_rjust() local [all …]
|
/third_party/python/Objects/stringlib/ |
D | transmogrify.h | 147 stringlib_ljust_impl(PyObject *self, Py_ssize_t width, char fillchar) in stringlib_ljust_impl() argument 154 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust_impl() 171 stringlib_rjust_impl(PyObject *self, Py_ssize_t width, char fillchar) in stringlib_rjust_impl() argument 178 return pad(self, width - STRINGLIB_LEN(self), 0, fillchar); in stringlib_rjust_impl() 195 stringlib_center_impl(PyObject *self, Py_ssize_t width, char fillchar) in stringlib_center_impl() argument 207 return pad(self, left, marg - left, fillchar); in stringlib_center_impl()
|
/third_party/ltp/lib/ |
D | tst_memutils.c | 19 void tst_pollute_memory(size_t maxsize, int fillchar) in tst_pollute_memory() argument 76 memset(map_blocks[i], fillchar, blocksize); in tst_pollute_memory()
|
/third_party/ltp/include/ |
D | tst_memutils.h | 20 void tst_pollute_memory(size_t maxsize, int fillchar);
|
/third_party/python/Objects/ |
D | unicodeobject.c | 2991 Py_UCS4 fillchar; in unicode_fromformat_arg() local 2993 fillchar = zeropad?'0':' '; in unicode_fromformat_arg() 2994 if (PyUnicode_Fill(writer->buffer, writer->pos, fill, fillchar) == -1) in unicode_fromformat_arg() 11305 unicode_center_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) in unicode_center_impl() argument 11319 return pad(self, left, marg - left, fillchar); in unicode_center_impl() 12785 unicode_ljust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) in unicode_ljust_impl() argument 12794 return pad(self, 0, width - PyUnicode_GET_LENGTH(self), fillchar); in unicode_ljust_impl() 13456 unicode_rjust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) in unicode_rjust_impl() argument 13465 return pad(self, width - PyUnicode_GET_LENGTH(self), 0, fillchar); in unicode_rjust_impl()
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 1574 .. method:: str.center(width[, fillchar]) 1577 specified *fillchar* (default is an ASCII space). The original string is 1845 .. method:: str.ljust(width[, fillchar]) 1848 done using the specified *fillchar* (default is an ASCII space). The 1953 .. method:: str.rjust(width[, fillchar]) 1956 done using the specified *fillchar* (default is an ASCII space). The
|