Searched refs:ucs_file_buffer (Results 1 – 1 of 1) sorted by relevance
249 UChar* ucs_file_buffer; /* [MAX_FILE_LEN] */ in TestConvert() local338 ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(ucs_file_buffer[0])); in TestConvert()341 ucs_file_buffer_use = ucs_file_buffer; in TestConvert()852 while(!feof(ucs_file_in)&&(i+=fread(ucs_file_buffer+i, sizeof(UChar), 1, ucs_file_in))) in TestConvert()854 myUChar = ucs_file_buffer[i-1]; in TestConvert()856 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()859 myUChar = ucs_file_buffer[i-1]; in TestConvert()860 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()868 u_strncpy(uchar1,ucs_file_buffer,i); in TestConvert()873 u_strncpy(uchar3,ucs_file_buffer,i); in TestConvert()[all …]