Lines Matching refs:MAX_LENGTH
30 #define MAX_LENGTH 999 macro
707 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8()
708 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8()
714 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF8()
715 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8()
778 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
779 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
785 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF32()
786 && offset32 < (MAX_LENGTH/sizeof(UChar32) - MAX_UTF32_LEN)) in TestRegressionUTF32()
928 TestWithBufferSize(MAX_LENGTH, 1); in TestFlushInternalBuffer()
930 TestWithBufferSize(1, MAX_LENGTH); in TestFlushInternalBuffer()
931 TestWithBufferSize(MAX_LENGTH, MAX_LENGTH); in TestFlushInternalBuffer()
1014 char buffer[MAX_LENGTH]; in convertFromU()
1015 int32_t offsetBuffer[MAX_LENGTH]; in convertFromU()
1030 for(i=0; i<MAX_LENGTH; i++){ in convertFromU()
1038 targetLimit=targ+MAX_LENGTH; in convertFromU()
1104 UChar buffer[MAX_LENGTH]; in convertToU()
1105 int32_t offsetBuffer[MAX_LENGTH]; in convertToU()
1123 for(i=0; i<MAX_LENGTH; i++){ in convertToU()
1131 targetLimit=targ+MAX_LENGTH; in convertToU()
1198 char junkout[MAX_LENGTH]; /* FIX */ in testConvertFromU()
1199 int32_t junokout[MAX_LENGTH]; /* FIX */ in testConvertFromU()
1216 for(i=0;i<MAX_LENGTH;i++) in testConvertFromU()
1218 for(i=0;i<MAX_LENGTH;i++) in testConvertFromU()
1251 if( gInBufferSize != MAX_LENGTH ) in testConvertFromU()
1370 UChar junkout[MAX_LENGTH]; /* FIX */ in testConvertToU()
1371 int32_t junokout[MAX_LENGTH]; /* FIX */ in testConvertToU()
1389 for(i=0;i<MAX_LENGTH;i++) in testConvertToU()
1392 for(i=0;i<MAX_LENGTH;i++) in testConvertToU()
1425 if( gInBufferSize != MAX_LENGTH ) in testConvertToU()