Searched defs:PyBytes_FromStringAndSize (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython2/Include/
H A Dbytesobject.h11 #define PyBytes_FromStringAndSize PyString_FromStringAndSize macro
/external/python/cpython3/Objects/
H A Dbytesobject.c41 For PyBytes_FromStringAndSize(), the parameter `str' is
43 For PyBytes_FromStringAndSize(), the string in the `str' parameter does
45 substring by calling `PyBytes_FromStringAndSize(origstring, substrlen)'.)
46 If `str' is NULL then PyBytes_FromStringAndSize() will allocate `size+1'
56 PyBytes_FromStringAndSize()) or the length of the string in the `str'
99 PyBytes_FromStringAndSize(const char *str, Py_ssize_t size) function
104 "Negative size passed to PyBytes_FromStringAndSize");
446 result = PyBytes_FromStringAndSize(p, len);
681 key = PyBytes_FromStringAndSize(keystart,
1449 result = PyBytes_FromStringAndSize(NUL
[all...]
/external/python/cpython2/Modules/
H A D_bsddb.c115 #define PyBytes_FromStringAndSize PyString_FromStringAndSize macro
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))) {
6141 gid=PyBytes_FromStringAndSize((char *)(preplist[i].gid),
7326 if (!(tmp = PyBytes_FromStringAndSize(rec.data, rec.size))) {
7362 a = PyBytes_FromStringAndSize(contro
[all...]

Completed in 200 milliseconds