HomeSort by relevance Sort by last modified time
    Searched refs:PyBytes_FromStringAndSize (Results 26 - 50 of 119) sorted by null

12 3 4 5

  /external/python/cpython3/Modules/
_bz2module.c 157 result = PyBytes_FromStringAndSize(NULL, INITIAL_BUFFER_SIZE);
431 result = PyBytes_FromStringAndSize(NULL, INITIAL_BUFFER_SIZE);
433 result = PyBytes_FromStringAndSize(NULL, max_length);
546 PyBytes_FromStringAndSize(bzs->next_in, d->bzs_avail_in_real));
666 self->unused_data = PyBytes_FromStringAndSize(NULL, 0);
_lzmamodule.c 511 result = PyBytes_FromStringAndSize(NULL, INITIAL_BUFFER_SIZE);
902 return PyBytes_FromStringAndSize(NULL, 0);
905 result = PyBytes_FromStringAndSize(NULL, INITIAL_BUFFER_SIZE);
907 result = PyBytes_FromStringAndSize(NULL, max_length);
1012 PyBytes_FromStringAndSize((char *)lzs->next_in, lzs->avail_in));
    [all...]
fcntlmodule.c 85 return PyBytes_FromStringAndSize(buf, len);
220 return PyBytes_FromStringAndSize(buf, len);
245 return PyBytes_FromStringAndSize(buf, len);
zlibmodule.c 105 self->unused_data = PyBytes_FromStringAndSize("", 0);
110 self->unconsumed_tail = PyBytes_FromStringAndSize("", 0);
157 if (!(*buffer = PyBytes_FromStringAndSize(NULL, length)))
721 new_data = PyBytes_FromStringAndSize(NULL, new_size);
738 PyObject *new_data = PyBytes_FromStringAndSize(
883 return PyBytes_FromStringAndSize(NULL, 0);
    [all...]
_hashopenssl.c 214 retval = PyBytes_FromStringAndSize((const char *)digest, digest_size);
688 key_obj = PyBytes_FromStringAndSize(NULL, dklen);
820 key_obj = PyBytes_FromStringAndSize(NULL, dklen);
mmapmodule.c 239 result = PyBytes_FromStringAndSize(start, (eol - start));
281 result = PyBytes_FromStringAndSize(&self->data[self->pos], num_bytes);
786 return PyBytes_FromStringAndSize(self->data + i, 1);
815 return PyBytes_FromStringAndSize("", 0);
817 return PyBytes_FromStringAndSize(self->data + start,
830 result = PyBytes_FromStringAndSize(result_buf,
    [all...]
binascii.c 277 if ( (rv=PyBytes_FromStringAndSize(NULL, bin_len)) == NULL )
806 return PyBytes_FromStringAndSize("", 0);
    [all...]
  /external/python/cpython3/Modules/_io/
bytesio.c 94 new_buf = PyBytes_FromStringAndSize(NULL, size);
308 return PyBytes_FromStringAndSize(PyBytes_AS_STRING(self->buf),
372 return PyBytes_FromStringAndSize(output, size);
524 line = PyBytes_FromStringAndSize(output, n);
938 self->buf = PyBytes_FromStringAndSize(NULL, 0);
    [all...]
bufferedio.c 956 return PyBytes_FromStringAndSize(NULL, 0);
968 res = PyBytes_FromStringAndSize(NULL, n);
1117 res = PyBytes_FromStringAndSize(start, s - start + 1);
1123 res = PyBytes_FromStringAndSize(start, n);
1137 res = PyBytes_FromStringAndSize(start, n);
1171 res = PyBytes_FromStringAndSize(start, s - start);
1178 res = PyBytes_FromStringAndSize(start, n);
    [all...]
iobase.c 601 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer),
890 res = PyBytes_FromStringAndSize(PyByteArray_AsString(b), n);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
bufferedio.c 871 return PyBytes_FromStringAndSize(NULL, 0);
888 res = PyBytes_FromStringAndSize(self->buffer + self->pos, n);
911 res = PyBytes_FromStringAndSize(self->buffer, n);
949 res = PyBytes_FromStringAndSize(start, s - start + 1);
955 res = PyBytes_FromStringAndSize(start, n);
969 res = PyBytes_FromStringAndSize(start, n);
1003 res = PyBytes_FromStringAndSize(start, s - start);
1010 res = PyBytes_FromStringAndSize(start, n);
    [all...]
iobase.c 542 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer),
806 res = PyBytes_FromStringAndSize(PyByteArray_AsString(b), n);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
bufferedio.c 831 return PyBytes_FromStringAndSize(NULL, 0);
855 res = PyBytes_FromStringAndSize(self->buffer + self->pos, n);
871 res = PyBytes_FromStringAndSize(self->buffer, n);
923 res = PyBytes_FromStringAndSize(start, s - start + 1);
929 res = PyBytes_FromStringAndSize(start, n);
949 res = PyBytes_FromStringAndSize(start, n);
976 res = PyBytes_FromStringAndSize(start, s - start);
983 res = PyBytes_FromStringAndSize(start, n);
    [all...]
fileio.c 547 result = PyBytes_FromStringAndSize(NULL, SMALLCHUNK);
623 bytes = PyBytes_FromStringAndSize(NULL, size);
  /external/python/cpython2/Modules/_io/
bufferedio.c 870 return PyBytes_FromStringAndSize(NULL, 0);
887 res = PyBytes_FromStringAndSize(self->buffer + self->pos, n);
910 res = PyBytes_FromStringAndSize(self->buffer, n);
948 res = PyBytes_FromStringAndSize(start, s - start + 1);
954 res = PyBytes_FromStringAndSize(start, n);
968 res = PyBytes_FromStringAndSize(start, n);
1002 res = PyBytes_FromStringAndSize(start, s - start);
1009 res = PyBytes_FromStringAndSize(start, n);
    [all...]
  /external/python/cpython3/Modules/_sha3/
sha3module.c 324 return PyBytes_FromStringAndSize((const char *)digest,
489 return PyBytes_FromStringAndSize((const char *)suffix, 1);
628 result = PyBytes_FromStringAndSize((const char *)digest,
  /external/python/cpython3/Modules/_multiprocessing/
multiprocessing.c 81 buf = PyBytes_FromStringAndSize(NULL, size);
  /external/python/cpython3/Objects/
bytesobject.c 41 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)
104 "Negative size passed to PyBytes_FromStringAndSize");
446 result = PyBytes_FromStringAndSize(p, len);
681 key = PyBytes_FromStringAndSize(keystart,
    [all...]
  /external/python/cpython3/PC/clinic/
msvcrtmodule.c.h 227 return_value = PyBytes_FromStringAndSize(s, 1);
275 return_value = PyBytes_FromStringAndSize(s, 1);
  /external/tensorflow/tensorflow/python/grappler/
cluster.i 200 PyObject* dev_obj = PyBytes_FromStringAndSize(dev_str.data(),
346 PyObject* op_perf_obj = PyBytes_FromStringAndSize(op_perf_str.data(),
354 PyObject* metadata_obj = PyBytes_FromStringAndSize(step_stats_str.data(),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
memoryobject.c 286 bytes = PyBytes_FromStringAndSize(NULL, view->len);
414 res = PyBytes_FromStringAndSize(NULL, view.len);
541 return PyBytes_FromStringAndSize(ptr, view->itemsize);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
memoryobject.c 286 bytes = PyBytes_FromStringAndSize(NULL, view->len);
414 res = PyBytes_FromStringAndSize(NULL, view.len);
541 return PyBytes_FromStringAndSize(ptr, view->itemsize);
  /external/python/cpython2/Objects/
memoryobject.c 286 bytes = PyBytes_FromStringAndSize(NULL, view->len);
414 res = PyBytes_FromStringAndSize(NULL, view.len);
541 return PyBytes_FromStringAndSize(ptr, view->itemsize);
  /external/python/cpython3/Python/
modsupport.c 307 return PyBytes_FromStringAndSize(p, 1);
378 v = PyBytes_FromStringAndSize(str, n);
  /external/python/cpython2/Modules/
_testcapimodule.c     [all...]

Completed in 1086 milliseconds

12 3 4 5