Lines Matching refs:resultChars
583 static int32_t UCharsToEscapedAscii(const UChar* utext, int32_t len, char* resultChars, int32_t buf… in UCharsToEscapedAscii() argument
609 if(utext==NULL || resultChars==NULL || buflen<0) { in UCharsToEscapedAscii()
625 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
626 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii()
630 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii()
640 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
641 resultChars[resultLen++]='u'; in UCharsToEscapedAscii()
642 resultChars[resultLen++]=HEX_DIGITS[(uc>>12)&0xff]; in UCharsToEscapedAscii()
643 resultChars[resultLen++]=HEX_DIGITS[(uc>>8)&0xff]; in UCharsToEscapedAscii()
644 resultChars[resultLen++]=HEX_DIGITS[(uc>>4)&0xff]; in UCharsToEscapedAscii()
645 resultChars[resultLen++]=HEX_DIGITS[uc&0xff]; in UCharsToEscapedAscii()
649 resultChars[resultLen] = 0; in UCharsToEscapedAscii()
762 char* resultChars=(char*)malloc(cap); in TestDisplayNames() local
763 int32_t resultCharsLen=UCharsToEscapedAscii(result, len, resultChars, cap); in TestDisplayNames()
768 locale, displayLocale, resultChars, expectedChars); in TestDisplayNames()
770 free(resultChars); in TestDisplayNames()
771 resultChars=NULL; in TestDisplayNames()