Home
last modified time | relevance | path

Searched refs:bytechr (Results 1 – 20 of 20) sorted by relevance

/external/fonttools/Lib/fontTools/t1Lib/
D__init__.py185 if f.read(1) != bytechr(128):
233 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2])
237 res = Res.Resource(bytechr(5) + '\0')
250 f.write(bytechr(128) + bytechr(code))
253 f.write(bytechr(128) + bytechr(3))
361 s += bytechr((long & (0xff << (i * 8))) >> i * 8)
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py210 result = [bytechr(numPoints)]
212 result = [bytechr((numPoints >> 8) | 0x80) + bytechr(numPoints & 0xff)]
232 run.write(bytechr(delta))
234 run.write(bytechr(delta >> 8))
235 run.write(bytechr(delta & 0xff))
240 runHeader = bytechr(runLength - 1)
242 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS)
348 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1)))
373 stream.write(bytechr(runLength - 1))
407 stream.write(bytechr(DELTAS_ARE_WORDS | (runLength - 1)))
D_h_d_m_x.py62 data = data + bytechr(ppem) + bytechr(max(widths.values()))
65 data = data + bytechr(width)
DS_I_N_G_.py60 d["nameLength"] = bytechr(len(self.baseGlyphName))
65 d["METAMD5"] += bytechr(val)
DE_B_D_T_.py230 byteList.append(bytechr(curByte))
256 return bytechr(result)
544 dataList.append(bytechr(newByte))
582 self.imageData = _reverseBytes(bytesjoin(map(bytechr, ordDataList)))
D_p_o_s_t.py270 data = data + bytechr(len(s)) + tobytes(s, encoding="latin1")
D_n_a_m_e.py369 string = bytesjoin(b'\0'+bytechr(byteord(b)) for b in string[1:])
D_g_l_y_f.py832 xPoints.append(bytechr(x))
844 yPoints.append(bytechr(y))
/external/fonttools/Tests/ttLib/tables/
D_m_o_r_x_test.py990 bytechr(flags << 4),
1042 bytechr(0x8A), bytechr(0xBC), bytechr(0xDE),
1067 bytechr(66),
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py172 fourByteOp = bytechr(29)
174 fourByteOp = bytechr(255)
179 def encodeInt(value, fourByteOp=fourByteOp, bytechr=bytechr, argument
182 code = bytechr(value + 139)
185 code = bytechr((value >> 8) + 247) + bytechr(value & 0xFF)
188 code = bytechr((value >> 8) + 251) + bytechr(value & 0xFF)
192 code = bytechr(28) + pack(">h", value)
205 code = bytechr(255) + pack(">l", value)
226 realZeroBytes = bytechr(30) + bytechr(0xf)
254 d = bytechr(30)
[all …]
Deexec.py12 return bytechr(plain), R
18 return bytechr(cipher), R
DtextTools.py26 data.append(bytechr(int(hexdata[i:i+2], 16)))
Dpy23.py99 bytechr = chr variable
103 def bytechr(n): function
DpsLib.py92 char = bytechr(byteord(buf[pos]))
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py1002 file.write(bytechr(value))
1014 return bytechr(value)
1036 op = bytechr(op[0]) + bytechr(op[1])
1038 op = bytechr(op)
2043 data.append(bytechr(blendOp))
2137 out.append(bytechr(blendOp))
/external/python/cffi/cffi/
Dbackend_ctypes.py5 bytechr = chr variable
10 bytechr = lambda num: bytes([num]) function
412 source = bytechr(source & 0xFF)
/external/fonttools/Tests/ttLib/
Dwoff2_test.py252 data = bytechr(getKnownTagIndex('loca')) # flags
261 data = bytechr(getKnownTagIndex(unknownTag))
504 self.writer[bytechr(65 + i)*4] = b"\0"
1364 self.assertEqual(unpack255UShort(bytechr(252))[0], 252)
/external/python/cffi/c/
Dtest_c.py22 bytechr = chr variable
38 bytechr = lambda n: bytes([n]) function
39 bitem2bchr = bytechr
1703 return bytechr(n)
2041 assert s.a1 == bytechr(40)
2456 expected[i] = bytechr(i & 0xff)
2460 buf[i] = bytechr(i & 0xff)
2480 sample = bytechr(x & 0xff) * (stop - start)
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py584 data = bytechr(self.flags)
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py1045 return bytechr(int(n, 16)).decode(encoding)