/external/python/cpython3/Include/cpython/ |
D | bytesobject.h | 32 #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \ 34 #define PyBytes_GET_SIZE(op) (assert(PyBytes_Check(op)),Py_SIZE(op))
|
/external/python/cpython3/Objects/stringlib/clinic/ |
D | transmogrify.h.h | 96 if (PyBytes_Check(args[1]) && PyBytes_GET_SIZE(args[1]) == 1) { in stringlib_ljust() 157 if (PyBytes_Check(args[1]) && PyBytes_GET_SIZE(args[1]) == 1) { in stringlib_rjust() 218 if (PyBytes_Check(args[1]) && PyBytes_GET_SIZE(args[1]) == 1) { in stringlib_center()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 491 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter() 541 if (PyBytes_Check(v)) { in format_obj() 560 if (!PyBytes_Check(result)) { in format_obj() 627 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) && in _PyBytes_FormatEx() 1107 assert(PyBytes_Check(w)); in _PyBytes_DecodeEscapeRecode() 1274 if (!PyBytes_Check(op)) { in PyBytes_Size() 1285 if (!PyBytes_Check(op)) { in PyBytes_AsString() 1303 if (!PyBytes_Check(obj)) { in PyBytes_AsStringAndSize() 1573 if (!(PyBytes_Check(a) && PyBytes_Check(b))) { in bytes_richcompare() 1913 assert(sep != NULL && PyBytes_Check(sep)); in _PyBytes_Join() [all …]
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 484 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter() 533 if (PyBytes_Check(v)) { in format_obj() 552 if (!PyBytes_Check(result)) { in format_obj() 619 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) && in _PyBytes_FormatEx() 1199 if (!PyBytes_Check(op)) { in PyBytes_Size() 1210 if (!PyBytes_Check(op)) { in PyBytes_AsString() 1228 if (!PyBytes_Check(obj)) { in PyBytes_AsStringAndSize() 1500 if (!(PyBytes_Check(a) && PyBytes_Check(b))) { in bytes_richcompare() 1827 assert(sep != NULL && PyBytes_Check(sep)); in _PyBytes_Join() 2032 if (PyBytes_Check(table)) { in bytes_translate_impl() [all …]
|
D | fileobject.c | 70 if (result != NULL && !PyBytes_Check(result) && in PyFile_GetLine() 78 if (n < 0 && result != NULL && PyBytes_Check(result)) { in PyFile_GetLine()
|
/external/python/cpython3/Objects/stringlib/ |
D | stringdefs.h | 24 #define STRINGLIB_CHECK PyBytes_Check
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 4 #define PyBytes_Check PyString_Check macro
|
/external/python/cpython3/Objects/clinic/ |
D | codeobject.c.h | 160 if (!PyBytes_Check(args[7])) { in code_replace() 245 if (!PyBytes_Check(args[15])) { in code_replace()
|
/external/python/cpython3/Include/ |
D | bytesobject.h | 33 #define PyBytes_Check(op) \ macro
|
/external/libxml2/python/ |
D | libxml_wrap.h | 31 #ifndef PyBytes_Check 32 #define PyBytes_Check PyString_Check macro
|
/external/tensorflow/tensorflow/python/util/ |
D | stack_trace.cc | 30 if (PyBytes_Check(o)) { in GetPythonString()
|
/external/python/cpython3/PC/clinic/ |
D | _testconsole.c.h | 35 if (!PyBytes_Check(args[1])) { in _testconsole_write_input()
|
D | msvcrtmodule.c.h | 371 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in msvcrt_putch() 445 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in msvcrt_ungetch()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 489 if (!PyBytes_Check(readahead)) { in iobase_readline() 529 if (!PyBytes_Check(b)) { in iobase_readline() 872 if (!PyBytes_Check(data)) { in rawiobase_readall()
|
D | fileio.c | 264 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init() 284 if (!PyBytes_Check(stringobj)) { in fileio_init()
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 567 if (!PyBytes_Check(readahead)) { in _io__IOBase_readline_impl() 607 if (!PyBytes_Check(b)) { in _io__IOBase_readline_impl() 987 if (!PyBytes_Check(data)) { in _io__RawIOBase_readall_impl()
|
D | textio.c | 1551 if (PyBytes_Check(pending)) { in _textiowrapper_writeflush() 1584 assert(PyBytes_Check(obj)); in _textiowrapper_writeflush() 1677 if (b != text && !PyBytes_Check(b)) { in _io_TextIOWrapper_write_impl() 1833 if (!PyBytes_Check(dec_buffer)) { in textiowrapper_read_chunk() 2581 if (!PyBytes_Check(input_chunk)) { in _io_TextIOWrapper_seek_impl() 2692 assert (PyBytes_Check(next_input)); in _io_TextIOWrapper_tell_impl() 2728 if (!PyBytes_Check(dec_buffer)) { \ in _io_TextIOWrapper_tell_impl()
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 217 if (!PyBytes_Check(args[7])) { 271 if (!PyBytes_Check(arg)) { 503 if (PyBytes_Check(args[0]) && PyBytes_GET_SIZE(args[0]) == 1) { 516 if (PyBytes_Check(args[1]) && PyBytes_GET_SIZE(args[1]) == 1) { 529 if (PyBytes_Check(args[2]) && PyBytes_GET_SIZE(args[2]) == 1) { 542 if (PyBytes_Check(args[3]) && PyBytes_GET_SIZE(args[3]) == 1) { 555 if (PyBytes_Check(args[4]) && PyBytes_GET_SIZE(args[4]) == 1) { 568 if (PyBytes_Check(args[5]) && PyBytes_GET_SIZE(args[5]) == 1) { 581 if (PyBytes_Check(args[6]) && PyBytes_GET_SIZE(args[6]) == 1) { 594 if (PyBytes_Check(args[7]) && PyBytes_GET_SIZE(args[7]) == 1) { [all …]
|
/external/python/cpython3/Python/ |
D | pystrhex.c | 32 else if (PyBytes_Check(sep)) { in _Py_strhex_impl()
|
D | peephole.c | 249 assert(PyBytes_Check(lnotab_obj)); in PyCode_Optimize() 264 assert(PyBytes_Check(code)); in PyCode_Optimize()
|
D | ast_opt.c | 151 else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) { in safe_multiply() 163 PyUnicode_Check(v) || PyBytes_Check(v))) in safe_multiply() 208 if (PyUnicode_Check(v) || PyBytes_Check(v)) { in safe_mod()
|
D | getargs.c | 528 if (!PySequence_Check(arg) || PyBytes_Check(arg)) { in converttuple() 914 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple() 1151 (PyBytes_Check(arg) || PyByteArray_Check(arg))) { in convertsimple() 1154 if (PyBytes_Check(arg)) { in convertsimple() 1171 assert(PyBytes_Check(s)); in convertsimple() 1303 if (PyBytes_Check(arg)) in convertsimple()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 81 PyBytes_Check(key) ? PyBytes_AsString(key) in PyArrayDescr_to_TF_DataType() 204 if (PyBytes_Check(obj)) { in PyObjectToString()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 294 (!PyUnicode_Check((tobj = PyTuple_GET_ITEM(retobj, 0))) && !PyBytes_Check(tobj)) || in multibytecodec_encerror() 316 assert(PyBytes_Check(retstr)); in multibytecodec_encerror() 1449 if (!PyBytes_Check(cres)) { in mbstreamreader_iread() 1869 assert(PyBytes_Check(pwrt)); in _multibytecodec_MultibyteStreamWriter_reset_impl()
|
/external/python/cffi/c/ |
D | minibuffer.h | 47 if (PyBytes_Check(other) && PyBytes_GET_SIZE(other) == 1) { in mb_ass_item()
|