Home
last modified time | relevance | path

Searched refs:digit1 (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/fxbarcode/datamatrix/
DBC_ASCIIEncoder.cpp87 wchar_t CBC_ASCIIEncoder::encodeASCIIDigits(wchar_t digit1, in encodeASCIIDigits() argument
90 if (CBC_HighLevelEncoder::isDigit(digit1) && in encodeASCIIDigits()
92 int32_t num = (digit1 - 48) * 10 + (digit2 - 48); in encodeASCIIDigits()
DBC_ASCIIEncoder.h24 static wchar_t encodeASCIIDigits(wchar_t digit1, wchar_t digit2, int32_t& e);
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.cpp176 uint8_t digit1 = first[i * 2 + 1]; in GetCodeRange() local
179 FXSYS_HexCharToInt(digit1) * 16 + FXSYS_HexCharToInt(digit2); in GetCodeRange()
184 uint8_t digit1 = (i * 2 + 1 < size) ? second[i * 2 + 1] : '0'; in GetCodeRange() local
187 FXSYS_HexCharToInt(digit1) * 16 + FXSYS_HexCharToInt(digit2); in GetCodeRange()
/external/python/cpython3/Objects/
Dbytesobject.c1199 int digit1, digit2; in _PyBytes_DecodeEscape() local
1200 digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])]; in _PyBytes_DecodeEscape()
1202 if (digit1 < 16 && digit2 < 16) { in _PyBytes_DecodeEscape()
1203 *p++ = (unsigned char)((digit1 << 4) + digit2); in _PyBytes_DecodeEscape()
/external/python/cpython2/Objects/
Dbytesobject.c1193 int digit1, digit2; in _PyBytes_DecodeEscape() local
1194 digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])]; in _PyBytes_DecodeEscape()
1196 if (digit1 < 16 && digit2 < 16) { in _PyBytes_DecodeEscape()
1197 *p++ = (unsigned char)((digit1 << 4) + digit2); in _PyBytes_DecodeEscape()