Searched refs:tobytes (Results 1 – 10 of 10) sorted by relevance
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 35 def tobytes(self): member in Tag 46 tobytes = tostr variable 68 def tobytes(self): member in Tag 76 def tobytes(s, encoding='ascii'): function 83 return b''.join(tobytes(item) for item in iterable)
|
D | sstruct.py | 73 value = tobytes(value) 81 data = tobytes(data)
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | asciiTable.py | 22 self.data = tobytes("\r".join(lines[1:-1]))
|
D | S_I_N_G_.py | 70 data = data + tobytes(self.baseGlyphName)
|
D | S_V_G_.py | 200 docList.append(tobytes(doc, encoding="utf-8")) 246 docList.append(tobytes(doc, encoding="utf-8"))
|
D | D_S_I_G_.py | 131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
|
D | G_M_A_P_.py | 97 data = data + tobytes(self.psFontName)
|
D | _p_o_s_t.py | 270 data = data + bytechr(len(s)) + tobytes(s, encoding="latin1")
|
D | otBase.py | 442 tag = Tag(tag).tobytes()
|
/external/fonttools/Lib/fontTools/ |
D | cffLib.py | 223 file.write(tobytes(item, encoding="latin1")) 674 return tobytes(value, encoding='ascii') 679 return tobytes(attrs["value"], encoding=("ascii")) 685 return tobytes(value, encoding='latin1') 690 return tobytes(attrs["value"], encoding=("latin1"))
|