Home
last modified time | relevance | path

Searched refs:PyBytes_AsStringAndSize (Results 1 – 25 of 28) sorted by relevance

12

/third_party/python/Include/
Dbytesobject.h54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc93 if (PyBytes_AsStringAndSize(serialized_pb.get(), &str, &len) < 0) { in GetFileDescriptorProto()
Dmessage_factory.cc50 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
Ddescriptor_pool.cc56 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
585 if (PyBytes_AsStringAndSize(serialized_pb, &message_type, &message_len) < 0) { in AddSerializedFile()
Dextension_dict.cc59 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
Dmap_container.cc118 if (PyBytes_AsStringAndSize(py_string, &value, &value_len) < 0) { in PyStringToSTL()
Dmessage.cc97 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
808 if (PyBytes_AsStringAndSize(encoded_string.get(), &value, &value_len) < 0) { in CheckAndSetString()
Ddescriptor_containers.cc72 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
Ddescriptor.cc63 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
/third_party/python/Modules/
Dspwdmodule.c148 if (PyBytes_AsStringAndSize(bytes, &name, NULL) == -1) in spwd_getspnam_impl()
Dgrpmodule.c201 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1) in grp_getgrnam_impl()
Dpwdmodule.c225 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1) in pwd_getpwnam_impl()
Dnismodule.c206 if (PyBytes_AsStringAndSize(bkey, &key, &keylen) == -1) { in nis_match()
D_cursesmodule.c380 if (PyBytes_AsStringAndSize(*bytes, &str, NULL) < 0) { in PyCurses_ConvertToString()
390 if (PyBytes_AsStringAndSize(*bytes, &str, NULL) < 0) { in PyCurses_ConvertToString()
/third_party/python/Doc/c-api/
Dbytes.rst157 .. c:function:: int PyBytes_AsStringAndSize(PyObject *obj, char **buffer, Py_ssize_t *length)
170 *obj* is not a bytes object at all, :c:func:`PyBytes_AsStringAndSize`
/third_party/python/Doc/data/
Drefcounts.dat113 PyBytes_AsStringAndSize:int:::
114 PyBytes_AsStringAndSize:PyObject*:obj:0:
115 PyBytes_AsStringAndSize:char**:buffer::
116 PyBytes_AsStringAndSize:Py_ssize_t*:length::
Dstable_abi.dat23 function,PyBytes_AsStringAndSize,3.2,
/third_party/python/PC/
Dpython3dll.c109 EXPORT_FUNC(PyBytes_AsStringAndSize)
/third_party/python/Doc/faq/
Dextending.rst88 :c:func:`PyBytes_AsStringAndSize` provides a pointer to its value and its
/third_party/python/Python/
Dfileutils.c1246 if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) { in _Py_stat()
Dpystate.c1822 if (PyBytes_AsStringAndSize(obj, &shared->bytes, &shared->len) < 0) { in _bytes_shared()
/third_party/python/Misc/
Dstable_abi.txt334 function PyBytes_AsStringAndSize
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c786 PyBytes_AsStringAndSize(str, &cstr, &len); in SWIG_Python_str_AsChar()
3068 PyBytes_AsStringAndSize(obj, &cstr, &len); in SWIG_AsCharPtrAndSize()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c790 PyBytes_AsStringAndSize(str, &cstr, &len); in SWIG_Python_str_AsChar()
3089 PyBytes_AsStringAndSize(obj, &cstr, &len); in SWIG_AsCharPtrAndSize()
/third_party/python/Objects/
Dabstract.c2953 if (PyBytes_AsStringAndSize(item, &data, NULL) < 0) { in _PySequence_BytesToCharpArray()

12