Lines Matching refs:CharByteWidth
814 int CharByteWidth = 0;
818 CharByteWidth = target.getCharWidth();
821 CharByteWidth = target.getWCharWidth();
824 CharByteWidth = target.getChar16Width();
827 CharByteWidth = target.getChar32Width();
830 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple");
831 CharByteWidth /= 8;
832 assert((CharByteWidth==1 || CharByteWidth==2 || CharByteWidth==4)
834 return CharByteWidth;
868 SL->CharByteWidth = 0;
974 CharByteWidth = mapCharByteWidth(C.getTargetInfo(),Kind);
975 assert((Str.size()%CharByteWidth == 0)
976 && "size of data must be multiple of CharByteWidth");
977 Length = Str.size()/CharByteWidth;
979 switch(CharByteWidth) {
999 assert(false && "unsupported CharByteWidth");