Lines Matching refs:CharByteWidth
809 int CharByteWidth = 0; in mapCharByteWidth() local
813 CharByteWidth = target.getCharWidth(); in mapCharByteWidth()
816 CharByteWidth = target.getWCharWidth(); in mapCharByteWidth()
819 CharByteWidth = target.getChar16Width(); in mapCharByteWidth()
822 CharByteWidth = target.getChar32Width(); in mapCharByteWidth()
825 assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple"); in mapCharByteWidth()
826 CharByteWidth /= 8; in mapCharByteWidth()
827 assert((CharByteWidth==1 || CharByteWidth==2 || CharByteWidth==4) in mapCharByteWidth()
829 return CharByteWidth; in mapCharByteWidth()
863 SL->CharByteWidth = 0; in CreateEmpty()
969 CharByteWidth = mapCharByteWidth(C.getTargetInfo(),Kind); in setString()
970 assert((Str.size()%CharByteWidth == 0) in setString()
972 Length = Str.size()/CharByteWidth; in setString()
974 switch(CharByteWidth) { in setString()