Home
last modified time | relevance | path

Searched refs:py_buf (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpy-inferior.c751 Py_buffer py_buf; in infpy_thread_from_thread_handle() local
754 && PyObject_GetBuffer (handle_obj, &py_buf, PyBUF_SIMPLE) == 0) in infpy_thread_from_thread_handle()
756 buffer_up.reset (&py_buf); in infpy_thread_from_thread_handle()
757 bytes = (const gdb_byte *) py_buf.buf; in infpy_thread_from_thread_handle()
758 bytes_len = py_buf.len; in infpy_thread_from_thread_handle()
Dpy-value.c149 Py_buffer py_buf; in convert_buffer_and_type_to_value() local
152 && PyObject_GetBuffer (obj, &py_buf, PyBUF_SIMPLE) == 0) in convert_buffer_and_type_to_value()
156 buffer_up.reset (&py_buf); in convert_buffer_and_type_to_value()
165 if (require_exact_size_p && type->length () != py_buf.len) in convert_buffer_and_type_to_value()
171 else if (!require_exact_size_p && type->length () > py_buf.len) in convert_buffer_and_type_to_value()
178 return value_from_contents (type, (const gdb_byte *) py_buf.buf); in convert_buffer_and_type_to_value()