Lines Matching defs:MAX_LENGTH
25 #define MAX_LENGTH 999
710 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar));
711 uint8_t *utf8 = (uint8_t*)malloc(MAX_LENGTH);
717 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN)
718 && offset8 < (MAX_LENGTH - MAX_UTF8_LEN))
723 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh);
724 UTF8_APPEND_CHAR_SAFE(utf8, offset8, MAX_LENGTH, currCh);
780 UChar *standardForm = (UChar*)malloc(MAX_LENGTH*sizeof(UChar));
781 UChar32 *utf32 = (UChar32*)malloc(MAX_LENGTH*sizeof(UChar32));
787 && offset16 < (MAX_LENGTH/sizeof(UChar) - MAX_UTF16_LEN)
788 && offset32 < (MAX_LENGTH/sizeof(UChar32) - MAX_UTF32_LEN))
793 UTF16_APPEND_CHAR_SAFE(standardForm, offset16, MAX_LENGTH, currCh);
794 UTF32_APPEND_CHAR_SAFE(utf32, offset32, MAX_LENGTH, currCh);
929 TestWithBufferSize(MAX_LENGTH, 1);
931 TestWithBufferSize(1, MAX_LENGTH);
932 TestWithBufferSize(MAX_LENGTH, MAX_LENGTH);
1015 char buffer[MAX_LENGTH];
1016 int32_t offsetBuffer[MAX_LENGTH];
1031 for(i=0; i<MAX_LENGTH; i++){
1039 targetLimit=targ+MAX_LENGTH;
1105 UChar buffer[MAX_LENGTH];
1106 int32_t offsetBuffer[MAX_LENGTH];
1124 for(i=0; i<MAX_LENGTH; i++){
1132 targetLimit=targ+MAX_LENGTH;
1199 char junkout[MAX_LENGTH]; /* FIX */
1200 int32_t junokout[MAX_LENGTH]; /* FIX */
1217 for(i=0;i<MAX_LENGTH;i++)
1219 for(i=0;i<MAX_LENGTH;i++)
1252 if( gInBufferSize != MAX_LENGTH )
1371 UChar junkout[MAX_LENGTH]; /* FIX */
1372 int32_t junokout[MAX_LENGTH]; /* FIX */
1390 for(i=0;i<MAX_LENGTH;i++)
1393 for(i=0;i<MAX_LENGTH;i++)
1426 if( gInBufferSize != MAX_LENGTH )