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