GDB (xrefs)
|
#include "charset.h"
Public Member Functions | |
wchar_iterator (const gdb_byte *input, size_t bytes, const char *charset, size_t width) | |
~wchar_iterator () | |
int | iterate (enum wchar_iterate_result *out_result, gdb_wchar_t **out_chars, const gdb_byte **ptr, size_t *len) |
Private Attributes | |
iconv_t | m_desc |
const gdb_byte * | m_input |
size_t | m_bytes |
size_t | m_width |
gdb::def_vector< gdb_wchar_t > | m_out |
wchar_iterator::wchar_iterator | ( | const gdb_byte * | input, |
size_t | bytes, | ||
const char * | charset, | ||
size_t | width ) |
Definition at line 589 of file charset.c.
References iconv_open, iconv_t, INTERMEDIATE_ENCODING, and m_desc.
wchar_iterator::~wchar_iterator | ( | ) |
Definition at line 601 of file charset.c.
References iconv_close, iconv_t, and m_desc.
int wchar_iterator::iterate | ( | enum wchar_iterate_result * | out_result, |
gdb_wchar_t ** | out_chars, | ||
const gdb_byte ** | ptr, | ||
size_t * | len ) |
Definition at line 608 of file charset.c.
References iconv, ICONV_CONST, m_bytes, m_desc, m_input, m_out, m_width, wchar_iterate_eof, wchar_iterate_incomplete, wchar_iterate_invalid, and wchar_iterate_ok.
Referenced by count_next_character(), and generic_emit_char().
|
private |
|
private |
Definition at line 135 of file charset.h.
Referenced by iterate(), wchar_iterator(), and ~wchar_iterator().
|
private |
|
private |
|
private |