/aosp_15_r20/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
H A D | numpy.cc | 140 if (PyBytes_AsStringAndSize(utemp.get(), &buf, &len) == -1) { in FillStringBufferFromPyUnicode() 157 if (PyBytes_AsStringAndSize(value, &buf, &len) == -1) { in FillStringBufferFromPyString()
|
H A D | python_utils.cc | 30 return PyBytes_AsStringAndSize(obj, data, length); in ConvertFromPyString()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | python_op_gen_wrapper.cc | 28 if (PyBytes_AsStringAndSize(input.ptr(), &c_string, &py_size) == -1) { in PYBIND11_MODULE()
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | bytesobject.h | 26 #define PyBytes_AsStringAndSize PyString_AsStringAndSize macro
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/ |
D | bytesobject.h | 54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
|
/aosp_15_r20/external/python/cpython3/Include/ |
D | bytesobject.h | 54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/ |
D | bytesobject.h | 54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/ |
D | bytesobject.h | 54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/ |
D | bytesobject.h | 54 PyAPI_FUNC(int) PyBytes_AsStringAndSize(
|
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/ |
H A D | ndarray_tensor.cc | 214 if (PyBytes_AsStringAndSize(obj, &buf, len) != 0) { in PyObjectToString() 226 if (utemp != nullptr && PyBytes_AsStringAndSize(utemp, &buf, len) != -1) { in PyObjectToString()
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | bytes.rst | 157 .. 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`
|
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_pool.cc | 53 : PyBytes_AsStringAndSize(ob, (charpp), (sizep))) 597 if (PyBytes_AsStringAndSize(serialized_pb, &message_type, &message_len) < 0) { in AddSerializedFile()
|
H A D | descriptor_database.cc | 95 if (PyBytes_AsStringAndSize(serialized_pb.get(), &str, &len) < 0) { in GetFileDescriptorProto()
|
H A D | message_factory.cc | 48 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
|
H A D | extension_dict.cc | 58 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
|
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_pool.cc | 53 : PyBytes_AsStringAndSize(ob, (charpp), (sizep))) 597 if (PyBytes_AsStringAndSize(serialized_pb, &message_type, &message_len) < 0) { in AddSerializedFile()
|
H A D | descriptor_database.cc | 95 if (PyBytes_AsStringAndSize(serialized_pb.get(), &str, &len) < 0) { in GetFileDescriptorProto()
|
H A D | message_factory.cc | 48 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
|
H A D | extension_dict.cc | 58 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | spwdmodule.c | 148 if (PyBytes_AsStringAndSize(bytes, &name, NULL) == -1) in spwd_getspnam_impl()
|
D | pwdmodule.c | 223 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1) in pwd_getpwnam_impl()
|
D | grpmodule.c | 201 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1) in grp_getgrnam_impl()
|
D | nismodule.c | 207 if (PyBytes_AsStringAndSize(bkey, &key, &keylen) == -1) { in nis_match()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/ |
D | message.c | 288 PyBytes_AsStringAndSize(py_name, (char**)&name, &size); in PyUpb_Message_LookupName() 1243 int err = PyBytes_AsStringAndSize(bytes, &buf, &size); in PyUpb_Message_MergeFromString() 1246 } else if (PyBytes_AsStringAndSize(arg, &buf, &size) < 0) { in PyUpb_Message_MergeFromString()
|
D | convert.c | 253 if (PyBytes_AsStringAndSize(obj, &ptr, &size) < 0) return false; in PyUpb_PyToUpb()
|