Home
last modified time | relevance | path

Searched refs:lastCharCode (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/common/
Dcanvas_utils.ts30 const lastCharCode = str.charCodeAt(limit - 1); constant
31 limit += (lastCharCode >= 0xD800 && lastCharCode < 0xDC00) ? 1 : 0;
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py989 lastCharCode = startCharCode - 1
996 if not self._IsInSameRun(glyphID, lastGlyphID, charCode, lastCharCode):
997 dataList.append(struct.pack(">LLL", startCharCode, lastCharCode, startGlyphID))
1002 lastCharCode = charCode
1003 dataList.append(struct.pack(">LLL", startCharCode, lastCharCode, startGlyphID))
1055 def _IsInSameRun(self, glyphID, lastGlyphID, charCode, lastCharCode): argument
1056 return (glyphID == 1 + lastGlyphID) and (charCode == 1 + lastCharCode)
1069 def _IsInSameRun(self, glyphID, lastGlyphID, charCode, lastCharCode): argument
1070 return (glyphID == lastGlyphID) and (charCode == 1 + lastCharCode)