Searched refs:pybuffer (Results 1 – 4 of 4) sorted by relevance
1308 auto pybuffer = Take<PythonObject>(pybuffer_p); in Write() local1310 auto bytes_written = As<long long>(m_py_obj.CallMethod("write", pybuffer)); in Write()1333 auto pybuffer = PythonBuffer::Create(pybuffer_obj.get()); in Read() local1334 if (!pybuffer) in Read()1335 return Status(pybuffer.takeError()); in Read()1336 memcpy(buf, pybuffer.get().get().buf, pybuffer.get().get().len); in Read()1337 num_bytes = pybuffer.get().get().len; in Read()
286 [](const PyBuffer& pybuffer) -> pybind11::tuple { in PYBIND11_MODULE() argument288 pybuffer.buffer()->on_device_shape().dimensions()); in PYBIND11_MODULE()
1048 pybuffer = StackObject( variable1375 stack_after=[pybuffer],1382 stack_before=[pybuffer],1383 stack_after=[pybuffer],
485 // These two pybuffer macros are copied out of swig/Lib/python/pybuffer.i,