Lines Matching refs:resultLen
53 int32_t resultLen) in u_sprintf_pad_and_justify() argument
57 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
59 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
62 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
63 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
66 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
67 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
77 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
78 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
85 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
90 written = u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()