Lines Matching refs:resultChars
578 static int32_t UCharsToEscapedAscii(const UChar* utext, int32_t len, char* resultChars, int32_t buflen) {
604 if(utext==NULL || resultChars==NULL || buflen<0) {
620 resultChars[resultLen++]='\\';
621 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar;
625 u_austrncpy(resultChars + resultLen, &uc, 1);
635 resultChars[resultLen++]='\\';
636 resultChars[resultLen++]='u';
637 resultChars[resultLen++]=HEX_DIGITS[(uc>>12)&0xff];
638 resultChars[resultLen++]=HEX_DIGITS[(uc>>8)&0xff];
639 resultChars[resultLen++]=HEX_DIGITS[(uc>>4)&0xff];
640 resultChars[resultLen++]=HEX_DIGITS[uc&0xff];
644 resultChars[resultLen] = 0;
757 char* resultChars=(char*)malloc(cap);
758 int32_t resultCharsLen=UCharsToEscapedAscii(result, len, resultChars, cap);
763 locale, displayLocale, resultChars, expectedChars);
765 free(resultChars);
766 resultChars=NULL;