Searched refs:py_buf (Results 1 – 2 of 2) sorted by relevance
751 Py_buffer py_buf; in infpy_thread_from_thread_handle() local754 && 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()
149 Py_buffer py_buf; in convert_buffer_and_type_to_value() local152 && 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()