Lines Matching refs:STRINGLIB_LEN
27 e = STRINGLIB_STR(self) + STRINGLIB_LEN(self); in stringlib_expandtabs()
98 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in pad()
106 left + STRINGLIB_LEN(self) + right); in pad()
112 STRINGLIB_LEN(self)); in pad()
114 memset(STRINGLIB_STR(u) + left + STRINGLIB_LEN(self), in pad()
136 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_ljust()
140 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_ljust()
147 return pad(self, 0, width - STRINGLIB_LEN(self), fillchar); in stringlib_ljust()
166 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_rjust()
170 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_rjust()
177 return pad(self, width - STRINGLIB_LEN(self), 0, fillchar); in stringlib_rjust()
197 if (STRINGLIB_LEN(self) >= width && STRINGLIB_CHECK_EXACT(self)) { in stringlib_center()
201 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_center()
208 marg = width - STRINGLIB_LEN(self); in stringlib_center()
231 if (STRINGLIB_LEN(self) >= width) { in stringlib_zfill()
236 return STRINGLIB_NEW(STRINGLIB_STR(self), STRINGLIB_LEN(self)); in stringlib_zfill()
245 STRINGLIB_LEN(self) in stringlib_zfill()
249 fill = width - STRINGLIB_LEN(self); in stringlib_zfill()