Lines Matching refs:resultChars
610 static int32_t UCharsToEscapedAscii(const UChar* utext, int32_t len, char* resultChars, int32_t buf… in UCharsToEscapedAscii() argument
636 if(utext==NULL || resultChars==NULL || buflen<0) { in UCharsToEscapedAscii()
652 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
653 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii()
657 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii()
667 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
668 resultChars[resultLen++]='u'; in UCharsToEscapedAscii()
669 resultChars[resultLen++]=HEX_DIGITS[(uc>>12)&0xff]; in UCharsToEscapedAscii()
670 resultChars[resultLen++]=HEX_DIGITS[(uc>>8)&0xff]; in UCharsToEscapedAscii()
671 resultChars[resultLen++]=HEX_DIGITS[(uc>>4)&0xff]; in UCharsToEscapedAscii()
672 resultChars[resultLen++]=HEX_DIGITS[uc&0xff]; in UCharsToEscapedAscii()
676 resultChars[resultLen] = 0; in UCharsToEscapedAscii()
799 char* resultChars=(char*)malloc(cap); in TestDisplayNames() local
800 int32_t resultCharsLen=UCharsToEscapedAscii(result, len, resultChars, cap); in TestDisplayNames()
805 locale, displayLocale, resultChars, expectedChars); in TestDisplayNames()
807 free(resultChars); in TestDisplayNames()
808 resultChars=NULL; in TestDisplayNames()