Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dbytesobject.h4 #define PyBytes_Check PyString_Check macro
/external/libxml2/python/
Dlibxml_wrap.h31 #ifndef PyBytes_Check
32 #define PyBytes_Check PyString_Check macro
Dtypes.c623 } else if PyBytes_Check (obj) { in libxml_xmlXPathObjectPtrConvert()
Dlibxml.c293 } else if (PyBytes_Check(ret)) { in xmlPythonFileReadRaw()
358 } else if (PyBytes_Check(ret)) { in xmlPythonFileRead()
/external/python/cpython2/Modules/_io/
Diobase.c481 if (!PyBytes_Check(readahead)) { in iobase_readline()
521 if (!PyBytes_Check(b)) { in iobase_readline()
850 if (!PyBytes_Check(data)) { in rawiobase_readall()
Dfileio.c238 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()
258 if (!PyBytes_Check(stringobj)) { in fileio_init()
Dtextio.c1437 if (!PyBytes_Check(input_chunk)) { in textiowrapper_read_chunk()
1468 if (!PyBytes_Check(next_input)) { in textiowrapper_read_chunk()
2138 if (!PyBytes_Check(input_chunk)) { in textiowrapper_seek()
2239 assert (PyBytes_Check(next_input)); in textiowrapper_tell()
D_iomodule.c316 !PyBytes_Check(file) && in io_open()
Dbufferedio.c50 if (!PyBytes_Check(data)) { in bufferediobase_readinto()
1188 if (line && !PyBytes_Check(line)) { in buffered_iternext()
1387 if (data != Py_None && !PyBytes_Check(data)) { in _bufferedreader_read_all()
/external/python/cpython2/Objects/
Dbytearrayobject.c782 if (PyBytes_Check(arg)) { in bytearray_init()
788 assert(PyBytes_Check(encoded)); in bytearray_init()
814 assert(PyBytes_Check(encoded)); in bytearray_init()
2620 if (!PyByteArray_Check(obj) && !PyBytes_Check(obj)) { in bytearray_join()
Dcomplexobject.c913 if (PyBytes_Check(format_spec)) in complex__format__()
Dintobject.c1259 if (PyBytes_Check(format_spec)) in int__format__()
Dfloatobject.c1999 if (PyBytes_Check(format_spec)) in float__format__()
Dlongobject.c4117 if (PyBytes_Check(format_spec)) in long__format__()
Dunicodeobject.c7870 if (!(PyBytes_Check(format_spec) || PyUnicode_Check(format_spec))) { in unicode__format__()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc634 if (PyBytes_Check(obj)) { in CheckAndGetInteger()
658 if (!PyBytes_Check(arg) && !PyUnicode_Check(arg)) { in CheckAndGetInteger()
673 } else if (!PyBytes_Check(arg)) { in CheckAndGetInteger()
680 if (PyBytes_Check(arg)) { in CheckAndGetInteger()
Drepeated_scalar_container.cc111 if (PySequence_Check(arg) && !(PyBytes_Check(arg) || PyUnicode_Check(arg))) { in AssignItem()
/external/python/cpython2/Modules/
D_bsddb.c118 #define PyBytes_Check PyString_Check macro
430 else if (PyBytes_Check(keyobj)) { in make_key_dbt()
1481 else if (PyBytes_Check(result)) { in _db_associateCallback()
1514 if (!PyBytes_Check(PyList_GetItem(result, i))) in _db_associateCallback()
D_ssl.c2566 } else if (PyBytes_Check(password)) { in _pwinfo_set()
/external/python/cpython2/Doc/whatsnew/
D2.6.rst979 :c:func:`PyBytes_Check`, :c:func:`PyBytes_FromStringAndSize`,