Lines Matching refs:MAX_LENGTH
25 #define MAX_LENGTH 999 macro
709 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF8()
710 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH); in TestRegressionUTF8()
716 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF8()
717 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN)) in TestRegressionUTF8()
722 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh); in TestRegressionUTF8()
723 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh); in TestRegressionUTF8()
779 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar)); in TestRegressionUTF32()
780 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32)); in TestRegressionUTF32()
786 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN) in TestRegressionUTF32()
787 && offset32 < (MAX_LENGTH/sizeof(UChar32) - MAX_UTF32_LEN)) in TestRegressionUTF32()
792 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh); in TestRegressionUTF32()
793 UTF32_APPEND_CHAR_SAFE(utf32, offset32, MAX_LENGTH, currCh); 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()