Lines Matching refs:BOM
241 UChar BOM = 0x0000; in TestConvert() local
725 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
732 if (MIA1_2 != otherUnicodeAction(MIA1) || MIA1Context2 != &BOM) in TestConvert()
739 … if (U_FAILURE(err) || oldFromUAction != otherUnicodeAction(MIA1) || oldFromUContext != &BOM) in TestConvert()
753 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
755 if(MIA1_2 == otherUnicodeAction(MIA1) || MIA1Context2 == &BOM){ in TestConvert()
765 … ucnv_setToUCallBack(myConverter,otherCharAction(MIA2), &BOM, &oldToUAction, &oldToUContext, &err); in TestConvert()
772 if (MIA2_2 != otherCharAction(MIA2) || MIA2Context2 != &BOM) in TestConvert()
779 if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM) in TestConvert()
793 if (MIA2_2 == otherCharAction(MIA2) || MIA2Context2 == &BOM){ in TestConvert()
840 size_t numRead = fread(&BOM, sizeof(UChar), 1, ucs_file_in); in TestConvert()
843 if (BOM!=0xFEFF && BOM!=0xFFFE) in TestConvert()
856 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()
860 …ucs_file_buffer[i-1] = (UChar)((BOM==0xFEFF)?myUChar:((myUChar >> 8) | (myUChar << 8))); /*adjust … in TestConvert()