Lines Matching refs:resultLen
55 int32_t resultLen) in u_sprintf_pad_and_justify() argument
59 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
61 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
64 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
65 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
68 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
69 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
92 written = u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()