Lines Matching refs:CharByteWidth
736 int CharByteWidth = 0; in mapCharByteWidth() local
740 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
743 CharByteWidth = target.getWCharWidth(); in mapCharByteWidth()
746 CharByteWidth = target.getChar16Width(); in mapCharByteWidth()
749 CharByteWidth = target.getChar32Width(); in mapCharByteWidth()
752 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple"); in mapCharByteWidth()
753 CharByteWidth /= 8; in mapCharByteWidth()
754 assert((CharByteWidth==1 || CharByteWidth==2 || CharByteWidth==4) in mapCharByteWidth()
756 return CharByteWidth; in mapCharByteWidth()
786 SL->CharByteWidth = 0; in CreateEmpty()
892 CharByteWidth = mapCharByteWidth(C.getTargetInfo(),Kind); in setString()
893 assert((Str.size()%CharByteWidth == 0) in setString()
895 Length = Str.size()/CharByteWidth; in setString()
897 switch(CharByteWidth) { in setString()