Home
last modified time | relevance | path

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

/third_party/python/Python/
Dpystrhex.c7 static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, in _Py_strhex_impl() argument
90 c = argbuf[i]; in _Py_strhex_impl()
106 c = argbuf[i++]; in _Py_strhex_impl()
113 c = argbuf[i++]; in _Py_strhex_impl()
124 c = argbuf[i--]; in _Py_strhex_impl()
131 c = argbuf[i--]; in _Py_strhex_impl()
148 PyObject * _Py_strhex(const char* argbuf, const Py_ssize_t arglen) in _Py_strhex() argument
150 return _Py_strhex_impl(argbuf, arglen, NULL, 0, 0); in _Py_strhex()
155 PyObject * _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen) in _Py_strhex_bytes() argument
157 return _Py_strhex_impl(argbuf, arglen, NULL, 0, 1); in _Py_strhex_bytes()
[all …]
/third_party/python/Include/
Dpystrhex.h10 PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
12 PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);
14 PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObje…
15 PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const …
/third_party/python/Modules/
Dbinascii.c1221 const char* argbuf; in binascii_a2b_hex_impl() local
1228 argbuf = hexstr->buf; in binascii_a2b_hex_impl()
1252 unsigned int top = _PyLong_DigitValue[Py_CHARMASK(argbuf[i])]; in binascii_a2b_hex_impl()
1253 unsigned int bot = _PyLong_DigitValue[Py_CHARMASK(argbuf[i+1])]; in binascii_a2b_hex_impl()
/third_party/python/Objects/
Dbytearrayobject.c2105 char* argbuf = PyByteArray_AS_STRING(self); in bytearray_hex_impl() local
2107 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytearray_hex_impl()
Dbytesobject.c2462 const char *argbuf = PyBytes_AS_STRING(self); in bytes_hex_impl() local
2464 return _Py_strhex_with_sep(argbuf, arglen, sep, bytes_per_sep); in bytes_hex_impl()