Searched refs:ucs_file_buffer (Results 1 – 1 of 1) sorted by relevance
294 UChar* ucs_file_buffer; /* [MAX_FILE_LEN] */ in TestConvert() local384 ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(ucs_file_buffer[0])); in TestConvert()387 ucs_file_buffer_use = ucs_file_buffer; in TestConvert()893 while(!feof(ucs_file_in)&&(i+=fread(ucs_file_buffer+i, sizeof(UChar), 1, ucs_file_in))) in TestConvert()895 myUChar = ucs_file_buffer[i-1]; in TestConvert()897 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()900 myUChar = ucs_file_buffer[i-1]; in TestConvert()901 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()909 u_strncpy(uchar1,ucs_file_buffer,i); in TestConvert()914 u_strncpy(uchar3,ucs_file_buffer,i); in TestConvert()[all …]