Home
last modified time | relevance | path

Searched refs:PyBytes_GET_SIZE (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Modules/_io/
Diobase.c488 if (PyBytes_GET_SIZE(readahead) > 0) { in iobase_readline()
493 if (n >= PyBytes_GET_SIZE(readahead) || n >= limit) in iobase_readline()
501 if (n >= PyBytes_GET_SIZE(readahead)) in iobase_readline()
528 if (PyBytes_GET_SIZE(b) == 0) { in iobase_readline()
534 if (PyByteArray_Resize(buffer, old_size + PyBytes_GET_SIZE(b)) < 0) { in iobase_readline()
539 PyBytes_AS_STRING(b), PyBytes_GET_SIZE(b)); in iobase_readline()
856 if (PyBytes_GET_SIZE(data) == 0) { in rawiobase_readall()
Dfileio.c264 if (strlen(name) != (size_t)PyBytes_GET_SIZE(stringobj)) { in fileio_init()
564 if (PyBytes_GET_SIZE(result) < (Py_ssize_t)newsize) { in fileio_readall()
606 if (PyBytes_GET_SIZE(result) > total) { in fileio_readall()
Dbufferedio.c1200 if (PyBytes_GET_SIZE(line) == 0) { in buffered_iternext()
1393 if (data == Py_None || PyBytes_GET_SIZE(data) == 0) { in _bufferedreader_read_all()
1405 current_size += PyBytes_GET_SIZE(data); in _bufferedreader_read_all()
1407 self->abs_pos += PyBytes_GET_SIZE(data); in _bufferedreader_read_all()
Dtextio.c1317 self->pending_bytes_count += PyBytes_GET_SIZE(b); in textiowrapper_write()
2241 cookie.start_pos -= PyBytes_GET_SIZE(next_input); in textiowrapper_tell()
2271 input_end = input + PyBytes_GET_SIZE(next_input); in textiowrapper_tell()
/external/python/cpython2/Include/
Dbytesobject.h8 #define PyBytes_GET_SIZE PyString_GET_SIZE macro
/external/libxml2/python/
Dtypes.c627 PyBytes_GET_SIZE(obj)); in libxml_xmlXPathObjectPtrConvert()
647 PyBytes_GET_SIZE(b)); in libxml_xmlXPathObjectPtrConvert()
Dlibxml_wrap.h36 #define PyBytes_GET_SIZE PyString_GET_SIZE macro
/external/python/cpython2/Objects/
Dcomplexobject.c916 PyBytes_GET_SIZE(format_spec)); in complex__format__()
927 PyBytes_GET_SIZE(str_spec)); in complex__format__()
Dintobject.c1262 PyBytes_GET_SIZE(format_spec)); in int__format__()
1273 PyBytes_GET_SIZE(str_spec)); in int__format__()
Dfloatobject.c2002 PyBytes_GET_SIZE(format_spec)); in float__format__()
2013 PyBytes_GET_SIZE(str_spec)); in float__format__()
Dlongobject.c4120 PyBytes_GET_SIZE(format_spec)); in long__format__()
4131 PyBytes_GET_SIZE(str_spec)); in long__format__()
/external/python/cpython2/Modules/
D_ssl.c2565 size = PyBytes_GET_SIZE(password_bytes); in _pwinfo_set()
2568 size = PyBytes_GET_SIZE(password); in _pwinfo_set()
2919 PyBytes_GET_SIZE(cadata_ascii), in load_verify_locations()
D_bsddb.c119 #define PyBytes_GET_SIZE PyString_GET_SIZE macro
453 key->data = malloc(PyBytes_GET_SIZE(keyobj)); in make_key_dbt()
459 PyBytes_GET_SIZE(keyobj)); in make_key_dbt()
461 key->size = PyBytes_GET_SIZE(keyobj); in make_key_dbt()
Dposixmodule.c8744 PyBytes_GET_SIZE(result)); in posix_urandom()