• Home
  • Raw
  • Download

Lines Matching refs:UChar

51 static UChar* testCasePatterns[5];
53 static UChar* testResultStrings[5];
66 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
71 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); in InitStrings()
110 UChar *str; in MessageFormatTest()
111 UChar* result; in MessageFormatTest()
118 str=(UChar*)malloc(sizeof(UChar) * 7); in MessageFormatTest()
121 result=(UChar*)malloc(sizeof(UChar) * 1); in MessageFormatTest()
133 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in MessageFormatTest()
165 result=(UChar*)malloc(sizeof(UChar) * resultlength); in MessageFormatTest()
216 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); in MessageFormatTest()
280 UChar *str; in TestSampleMessageFormat()
281 UChar *result; in TestSampleMessageFormat()
282 UChar pattern[100], expected[100]; in TestSampleMessageFormat()
289 str=(UChar*)malloc(sizeof(UChar) * 15); in TestSampleMessageFormat()
294 result=(UChar*)malloc(sizeof(UChar) * 1); in TestSampleMessageFormat()
302 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleMessageFormat()
333 result=(UChar*)realloc(result, sizeof(UChar) * (resultlength+1)); in TestSampleMessageFormat()
358 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleMessageFormat()
381 UChar *result = NULL, tzID[4], str[25]; in TestNewFormatAndParseAPI()
382 UChar pattern[100]; in TestNewFormatAndParseAPI()
383 UChar expected[100]; in TestNewFormatAndParseAPI()
390 UChar ret[30]; in TestNewFormatAndParseAPI()
422 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestNewFormatAndParseAPI()
429 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestNewFormatAndParseAPI()
483 UChar *result, *tzID, *str; in TestSampleFormatAndParseWithError()
484 UChar pattern[100]; in TestSampleFormatAndParseWithError()
486 UChar expected[100]; in TestSampleFormatAndParseWithError()
493 UChar ret[30]; in TestSampleFormatAndParseWithError()
500 str=(UChar*)malloc(sizeof(UChar) * 25); in TestSampleFormatAndParseWithError()
502 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParseWithError()
518 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSampleFormatAndParseWithError()
524 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleFormatAndParseWithError()
583 UChar *result, *tzID, *str; in TestSampleFormatAndParse()
584 UChar pattern[100]; in TestSampleFormatAndParse()
585 UChar expected[100]; in TestSampleFormatAndParse()
592 UChar ret[30]; in TestSampleFormatAndParse()
598 str=(UChar*)malloc(sizeof(UChar) * 25); in TestSampleFormatAndParse()
600 tzID=(UChar*)malloc(sizeof(UChar) * 4); in TestSampleFormatAndParse()
617 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestSampleFormatAndParse()
623 result=(UChar*)realloc(result, sizeof(UChar) * resultlength); in TestSampleFormatAndParse()
679 UChar* str; in TestMsgFormatSelect()
680 UChar* str1; in TestMsgFormatSelect()
682 UChar *result; in TestMsgFormatSelect()
683 UChar pattern[100]; in TestMsgFormatSelect()
684 UChar expected[100]; in TestMsgFormatSelect()
687 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
689 str1=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
700 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatSelect()
717 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
719 str1=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatSelect()
730 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatSelect()
750 UChar* str; in TestMsgFormatChoice()
752 UChar *result; in TestMsgFormatChoice()
753 UChar pattern[100]; in TestMsgFormatChoice()
754 UChar expected[100]; in TestMsgFormatChoice()
757 str=(UChar*)malloc(sizeof(UChar) * 25); in TestMsgFormatChoice()
775 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
797 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
820 result=(UChar*)malloc(sizeof(UChar) * resultlength); in TestMsgFormatChoice()
843 UChar pattern[100]; in TestParseMessage()
844 UChar source[100]; in TestParseMessage()
847 UChar str[10]; in TestParseMessage()
848 UChar res[10]; in TestParseMessage()
883 static int32_t CallFormatMessage(const char* locale, UChar* testCasePattern, int32_t patternLength, in CallFormatMessage()
884 UChar* result, int32_t resultLength, UErrorCode *status, ...) in CallFormatMessage()
898 UChar *str; in TestMessageFormatWithValist()
899 UChar* result; in TestMessageFormatWithValist()
906 str=(UChar*)malloc(sizeof(UChar) * 7); in TestMessageFormatWithValist()
909 result=(UChar*)malloc(sizeof(UChar) * 1); in TestMessageFormatWithValist()
921 result=(UChar*)realloc(result,sizeof(UChar) * resultlength); in TestMessageFormatWithValist()
943 static void CallParseMessage(const char* locale, UChar* pattern, int32_t patternLength, in CallParseMessage()
944 UChar* source, int32_t sourceLength, UErrorCode *status, ...) in CallParseMessage()
955 UChar pattern[100]; in TestParseMessageWithValist()
956 UChar source[100]; in TestParseMessageWithValist()
959 UChar str[10]; in TestParseMessageWithValist()
960 UChar res[10]; in TestParseMessageWithValist()
998 UChar pattern[256]; in TestJ904()
999 UChar result[256]; in TestJ904()
1000 UChar string[16]; in TestJ904()
1040 UChar pattern[256]; in OpenMessageFormatTest()
1041 UChar result[256]; in OpenMessageFormatTest()
1118 UChar pattern[sizeof(patChars)]; in MessageLength()
1119 UChar arg[] = {0x61,0x62,0x63,0}; in MessageLength()
1120 UChar result[128] = {0}; in MessageLength()
1121 UChar expected[sizeof(expectedChars)]; in MessageLength()
1138 UChar x[2] = { 0x78, 0 }; // "x" in TestMessageWithUnusedArgNumber()
1139 UChar y[2] = { 0x79, 0 }; // "y" in TestMessageWithUnusedArgNumber()
1141 UChar result[20]; in TestMessageWithUnusedArgNumber()