Lines Matching refs:UChar
48 static UChar* testCasePatterns[5];
50 static UChar* testResultStrings[5];
63 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
68 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
103 UChar *str; in MessageFormatTest()
104 UChar* result; in MessageFormatTest()
111 str=(UChar*)malloc(sizeof(UChar) * 7); in MessageFormatTest()
114 result=(UChar*)malloc(sizeof(UChar) * 1); in MessageFormatTest()
126 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in MessageFormatTest()
158 result=(UChar*)malloc(sizeof(UChar) * resultlength); in MessageFormatTest()
206 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); in MessageFormatTest()
269 UChar *str; in TestSampleMessageFormat()
270 UChar *result; in TestSampleMessageFormat()
271 UChar pattern[100], expected[100]; in TestSampleMessageFormat()
278 str=(UChar*)malloc(sizeof(UChar) * 15); in TestSampleMessageFormat()
283 result=(UChar*)malloc(sizeof(UChar) * 1); in TestSampleMessageFormat()
291 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleMessageFormat()
322 result=(UChar*)realloc(result, sizeof(UChar) * (resultlength+1)); in TestSampleMessageFormat()
347 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleMessageFormat()
370 UChar *result, tzID[4], str[25]; in TestNewFormatAndParseAPI()
371 UChar pattern[100]; in TestNewFormatAndParseAPI()
372 UChar expected[100]; in TestNewFormatAndParseAPI()
379 UChar ret[30]; in TestNewFormatAndParseAPI()
411 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNewFormatAndParseAPI()
418 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestNewFormatAndParseAPI()
471 UChar *result, *tzID, *str; in TestSampleFormatAndParseWithError()
472 UChar pattern[100]; in TestSampleFormatAndParseWithError()
474 UChar expected[100]; in TestSampleFormatAndParseWithError()
481 UChar ret[30]; in TestSampleFormatAndParseWithError()
488 str=(UChar*)malloc(sizeof(UChar) * 25); in TestSampleFormatAndParseWithError()
490 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParseWithError()
506 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSampleFormatAndParseWithError()
512 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleFormatAndParseWithError()
566 UChar *result, *tzID, *str; in TestSampleFormatAndParse()
567 UChar pattern[100]; in TestSampleFormatAndParse()
568 UChar expected[100]; in TestSampleFormatAndParse()
575 UChar ret[30]; in TestSampleFormatAndParse()
581 str=(UChar*)malloc(sizeof(UChar) * 25); in TestSampleFormatAndParse()
583 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParse()
599 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSampleFormatAndParse()
605 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleFormatAndParse()
658 UChar* str; in TestMsgFormatSelect()
659 UChar* str1; in TestMsgFormatSelect()
661 UChar *result; in TestMsgFormatSelect()
662 UChar pattern[100]; in TestMsgFormatSelect()
663 UChar expected[100]; in TestMsgFormatSelect()
666 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
668 str1=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
679 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatSelect()
696 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
698 str1=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
709 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatSelect()
729 UChar* str; in TestMsgFormatChoice()
731 UChar *result; in TestMsgFormatChoice()
732 UChar pattern[100]; in TestMsgFormatChoice()
733 UChar expected[100]; in TestMsgFormatChoice()
736 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatChoice()
748 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
770 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
793 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
816 UChar pattern[100]; in TestParseMessage()
817 UChar source[100]; in TestParseMessage()
820 UChar str[10]; in TestParseMessage()
821 UChar res[10]; in TestParseMessage()
856 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, in CallFormatMessage()
857 UChar* result, int32_t resultLength, UErrorCode *status, ...) in CallFormatMessage()
871 UChar *str; in TestMessageFormatWithValist()
872 UChar* result; in TestMessageFormatWithValist()
879 str=(UChar*)malloc(sizeof(UChar) * 7); in TestMessageFormatWithValist()
882 result=(UChar*)malloc(sizeof(UChar) * 1); in TestMessageFormatWithValist()
894 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in TestMessageFormatWithValist()
916 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, in CallParseMessage()
917 UChar* source, int32_t sourceLength, UErrorCode *status, ...) in CallParseMessage()
928 UChar pattern[100]; in TestParseMessageWithValist()
929 UChar source[100]; in TestParseMessageWithValist()
932 UChar str[10]; in TestParseMessageWithValist()
933 UChar res[10]; in TestParseMessageWithValist()
971 UChar pattern[256]; in TestJ904()
972 UChar result[256]; in TestJ904()
973 UChar string[16]; in TestJ904()
1012 UChar pattern[256]; in OpenMessageFormatTest()
1013 UChar result[256]; in OpenMessageFormatTest()
1090 UChar pattern[sizeof(patChars)]; in MessageLength()
1091 UChar arg[] = {0x61,0x62,0x63,0}; in MessageLength()
1092 UChar result[128] = {0}; in MessageLength()
1093 UChar expected[sizeof(expectedChars)]; in MessageLength()