| /external/tensorflow/tensorflow/python/lib/core/ |
| ndarray_tensor.cc | 246 auto py_string = make_safe(PyBytes_FromStringAndSize(ptr, len));
|
| py_func.cc | 413 out[i] = PyBytes_FromStringAndSize(el.data(), el.size());
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
| fileio.c | 537 result = PyBytes_FromStringAndSize(NULL, SMALLCHUNK);
626 bytes = PyBytes_FromStringAndSize(NULL, size);
|
| /external/python/cpython2/Modules/_io/ |
| fileio.c | 550 result = PyBytes_FromStringAndSize(NULL, SMALLCHUNK); 639 bytes = PyBytes_FromStringAndSize(NULL, size);
|
| /external/python/cpython3/Modules/ |
| _ssl.c | [all...] |
| _winapi.c | [all...] |
| md5module.c | 376 return PyBytes_FromStringAndSize((const char *)digest, MD5_DIGESTSIZE);
|
| posixmodule.c | [all...] |
| _datetimemodule.c | [all...] |
| _testbuffer.c | [all...] |
| ossaudiodev.c | 416 rv = PyBytes_FromStringAndSize(NULL, size); [all...] |
| sha256module.c | 443 return PyBytes_FromStringAndSize((const char *)digest, self->digestsize);
|
| sha512module.c | 508 return PyBytes_FromStringAndSize((const char *)digest, self->digestsize);
|
| /external/protobuf/python/google/protobuf/pyext/ |
| message.cc | 727 return PyBytes_FromStringAndSize(value.c_str(), value.length()); 737 result = PyBytes_FromStringAndSize(value.c_str(), value.length()); [all...] |
| /external/python/cpython2/Modules/ |
| _hashopenssl.c | 731 key_obj = PyBytes_FromStringAndSize(NULL, dklen);
|
| _ssl.c | [all...] |
| _bsddb.c | 115 #define PyBytes_FromStringAndSize PyString_FromStringAndSize 571 return PyBytes_FromStringAndSize(p,s); 580 return PyBytes_FromStringAndSize(p, s); 596 if (!(a = PyBytes_FromStringAndSize(p1, s1))) { 599 if (!(b = PyBytes_FromStringAndSize(p2, s2))) { 619 if (!(a = PyBytes_FromStringAndSize(p, s))) { 637 if (!(a = PyBytes_FromStringAndSize(p, s))) { [all...] |
| zlibmodule.c | 152 if (!(*buffer = PyBytes_FromStringAndSize(NULL, length))) [all...] |
| /external/python/cpython3/Objects/ |
| bytes_methods.c | 379 res = PyBytes_FromStringAndSize(NULL, 256);
|
| memoryobject.c | 842 bytes = PyBytes_FromStringAndSize(NULL, src->len); [all...] |
| unicodeobject.c | [all...] |
| /external/python/cpython3/Python/ |
| peephole.c | 782 code = PyBytes_FromStringAndSize((char *)codestr, h * sizeof(_Py_CODEUNIT));
|
| codecs.c | [all...] |
| marshal.c | 1092 v = PyBytes_FromStringAndSize((char *)NULL, n); [all...] |
| /external/python/cpython3/PC/ |
| _msi.c | 570 result = PyBytes_FromStringAndSize(sval, ssize);
|