H A D | libxo.c | 529 xo_depth_check (xo_handle_t *xop, int depth) argument 565 xo_xml_leader_len(xo_handle_t *xop, const char *name, xo_ssize_t nlen) argument 575 xo_xml_leader(xo_handle_t *xop, const char *name) argument 609 xo_init_handle(xo_handle_t *xop) argument 665 xo_handle_t *xop = &xo_default_handle; local 689 xo_default(xo_handle_t *xop) argument 705 xo_indent(xo_handle_t *xop) argument 721 xo_buf_indent(xo_handle_t *xop, int indent) argument 881 xo_buf_escape(xo_handle_t *xop, xo_buffer_t *xbp, const char *str, ssize_t len, xo_xff_flags_t flags) argument 912 xo_write(xo_handle_t *xop) argument 936 xo_vsnprintf(xo_handle_t *xop, xo_buffer_t *xbp, const char *fmt, va_list vap) argument 981 xo_printf_v(xo_handle_t *xop, const char *fmt, va_list vap) argument 1014 xo_printf(xo_handle_t *xop, const char *fmt, ...) argument 1068 xo_buf_utf8_len(xo_handle_t *xop, const char *buf, ssize_t bufsiz) argument 1175 xo_buf_append_locale_from_utf8(xo_handle_t *xop, xo_buffer_t *xbp, const char *ibuf, ssize_t ilen) argument 1221 xo_buf_append_locale(xo_handle_t *xop, xo_buffer_t *xbp, const char *cp, ssize_t len) argument 1278 xo_data_append(xo_handle_t *xop, const char *str, ssize_t len) argument 1287 xo_data_escape(xo_handle_t *xop, const char *str, ssize_t len) argument 1487 xo_warn_hcv(xo_handle_t *xop, int code, int check_warn, const char *fmt, va_list vap) argument 1573 xo_warn_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 1656 xo_message_hcv(xo_handle_t *xop, int code, const char *fmt, va_list vap) argument 1803 xo_message_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 1844 xo_failure(xo_handle_t *xop, const char *fmt, ...) argument 1870 xo_handle_t *xop = xo_realloc(NULL, sizeof(*xop)); local 1897 xo_handle_t *xop = xo_create(style, flags); local 1917 xo_set_file_h(xo_handle_t *xop, FILE *fp) argument 1954 xo_handle_t *xop = xo_default(xop_arg); local 1986 xo_set_style(xo_handle_t *xop, xo_style_t style) argument 1999 xo_get_style(xo_handle_t *xop) argument 2034 xo_style_is_encoding(xo_handle_t *xop) argument 2152 xo_set_style_name(xo_handle_t *xop, const char *name) argument 2171 xo_set_color_map(xo_handle_t *xop, char *value) argument 2215 xo_set_options_simple(xo_handle_t *xop, const char *input) argument 2262 xo_set_options(xo_handle_t *xop, const char *input) argument 2453 xo_set_flags(xo_handle_t *xop, xo_xof_flags_t flags) argument 2466 xo_get_flags(xo_handle_t *xop) argument 2500 xo_set_leading_xpath(xo_handle_t *xop, const char *path) argument 2523 xo_set_info(xo_handle_t *xop, xo_info_t *infop, int count) argument 2544 xo_set_formatter(xo_handle_t *xop, xo_formatter_t func, xo_checkpointer_t cfunc) argument 2561 xo_clear_flags(xo_handle_t *xop, xo_xof_flags_t flags) argument 2596 xo_line_ensure_open(xo_handle_t *xop, xo_xff_flags_t flags UNUSED) argument 2624 xo_line_close(xo_handle_t *xop) argument 2657 xo_info_find(xo_handle_t *xop, const char *name, ssize_t nlen) argument 2676 xo_check_conversion(xo_handle_t *xop, int have_enc, int need_enc) argument 2694 xo_format_string_direct(xo_handle_t *xop, xo_buffer_t *xbp, xo_xff_flags_t flags, const wchar_t *wcp, const char *cp, ssize_t len, int max, int need_enc, int have_enc) argument 2888 xo_needed_encoding(xo_handle_t *xop) argument 2900 xo_format_string(xo_handle_t *xop, xo_buffer_t *xbp, xo_xff_flags_t flags, xo_format_t *xfp) argument 3097 xo_dgettext(xo_handle_t *xop, const char *str) argument 3113 xo_dngettext(xo_handle_t *xop, const char *sing, const char *plural, unsigned long int n) argument 3154 xo_format_gettext(xo_handle_t *xop, xo_xff_flags_t flags, ssize_t start_offset, ssize_t cols, int need_enc) argument 3239 xo_data_append_content(xo_handle_t *xop, const char *str, ssize_t len, xo_xff_flags_t flags) argument 3310 xo_do_format_field(xo_handle_t *xop, xo_buffer_t *xbp, const char *fmt, ssize_t flen, xo_xff_flags_t flags) argument 3689 xo_color_append_html(xo_handle_t *xop) argument 3748 xo_format_humanize(xo_handle_t *xop, xo_buffer_t *xbp, xo_humanize_save_t *savep, xo_xff_flags_t flags) argument 3809 xo_simple_field(xo_handle_t *xop, unsigned encode_only, const char *value, ssize_t vlen, const char *fmt, ssize_t flen, xo_xff_flags_t flags) argument 3827 xo_buf_append_div(xo_handle_t *xop, const char *class, xo_xff_flags_t flags, const char *name, ssize_t nlen, const char *value, ssize_t vlen, const char *fmt, ssize_t flen, const char *encoding, ssize_t elen) argument 4065 xo_format_text(xo_handle_t *xop, const char *str, ssize_t len) argument 4079 xo_format_title(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 4248 xo_stack_set_flags(xo_handle_t *xop) argument 4259 xo_format_prep(xo_handle_t *xop, xo_xff_flags_t flags) argument 4282 xo_format_value(xo_handle_t *xop, const char *name, ssize_t nlen, const char *value, ssize_t vlen, const char *fmt, ssize_t flen, const char *encoding, ssize_t elen, xo_xff_flags_t flags) argument 4629 xo_set_gettext_domain(xo_handle_t *xop, xo_field_info_t *xfip, const char *str, ssize_t len) argument 4664 xo_format_content(xo_handle_t *xop, const char *class_name, const char *tag_name, const char *value, ssize_t vlen, const char *fmt, ssize_t flen, xo_xff_flags_t flags) argument 4782 xo_colors_parse(xo_handle_t *xop, xo_colors_t *xocp, char *str) argument 4885 xo_colors_handle_text(xo_handle_t *xop, xo_colors_t *newp) argument 4951 xo_colors_handle_html(xo_handle_t *xop, xo_colors_t *newp) argument 5010 xo_format_colors(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5084 xo_format_units(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5138 xo_find_width(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5214 xo_anchor_clear(xo_handle_t *xop) argument 5231 xo_anchor_start(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5250 xo_anchor_stop(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5466 xo_parse_roles(xo_handle_t *xop, const char *fmt, const char *basep, xo_field_info_t *xfip) argument 5694 xo_parse_field_numbers(xo_handle_t *xop, const char *fmt, xo_field_info_t *fields, unsigned num_fields) argument 5726 xo_parse_fields(xo_handle_t *xop, xo_field_info_t *fields, unsigned num_fields, const char *fmt) argument 6051 xo_gettext_combine_formats(xo_handle_t *xop, const char *fmt UNUSED, const char *gtfmt, xo_field_info_t *old_fields, xo_field_info_t *new_fields, unsigned new_max_fields, int *reorderedp) argument 6164 xo_gettext_build_format(xo_handle_t *xop, xo_field_info_t *fields, int this_field, const char *fmt, char **new_fmtp) argument 6199 xo_gettext_rebuild_content(xo_handle_t *xop, xo_field_info_t *fields, ssize_t *fstart, unsigned min_fstart, ssize_t *fend, unsigned max_fend) argument 6285 xo_do_emit_fields(xo_handle_t *xop, xo_field_info_t *fields, unsigned max_fields, const char *fmt) argument 6511 xo_do_emit(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt) argument 6559 xo_simplify_format(xo_handle_t *xop, const char *fmt, int with_numbers, xo_simplify_field_func_t field_cb) argument 6588 xo_emit_hv(xo_handle_t *xop, const char *fmt, va_list vap) argument 6602 xo_emit_h(xo_handle_t *xop, const char *fmt, ...) argument 6618 xo_handle_t *xop = xo_default(NULL); local 6630 xo_emit_hvf(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument 6645 xo_emit_hf(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...) argument 6661 xo_handle_t *xop = xo_default(NULL); local 6679 xo_emit_field_hv(xo_handle_t *xop, const char *rolmod, const char *contents, const char *fmt, const char *efmt, va_list vap) argument 6724 xo_emit_field_h(xo_handle_t *xop, const char *rolmod, const char *contents, const char *fmt, const char *efmt, ...) argument 6752 xo_attr_hv(xo_handle_t *xop, const char *name, const char *fmt, va_list vap) argument 6809 xo_attr_h(xo_handle_t *xop, const char *name, const char *fmt, ...) argument 6835 xo_depth_change(xo_handle_t *xop, const char *name, int delta, int indent, xo_state_t state, xo_xsf_flags_t flags) argument 6900 xo_set_depth(xo_handle_t *xop, int depth) argument 6929 xo_emit_top(xo_handle_t *xop, const char *ppn) argument 6943 xo_do_open_container(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7014 xo_open_container_hf(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7020 xo_open_container_h(xo_handle_t *xop, const char *name) argument 7032 xo_open_container_hd(xo_handle_t *xop, const char *name) argument 7044 xo_do_close_container(xo_handle_t *xop, const char *name) argument 7105 xo_close_container_h(xo_handle_t *xop, const char *name) argument 7117 xo_close_container_hd(xo_handle_t *xop) argument 7129 xo_do_open_list(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7187 xo_open_list_hf(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7193 xo_open_list_h(xo_handle_t *xop, const char *name) argument 7205 xo_open_list_hd(xo_handle_t *xop, const char *name) argument 7217 xo_do_close_list(xo_handle_t *xop, const char *name) argument 7264 xo_close_list_h(xo_handle_t *xop, const char *name) argument 7276 xo_close_list_hd(xo_handle_t *xop) argument 7288 xo_do_open_leaf_list(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7336 xo_do_close_leaf_list(xo_handle_t *xop, const char *name) argument 7382 xo_do_open_instance(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7437 xo_open_instance_hf(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 7443 xo_open_instance_h(xo_handle_t *xop, const char *name) argument 7455 xo_open_instance_hd(xo_handle_t *xop, const char *name) argument 7467 xo_do_close_instance(xo_handle_t *xop, const char *name) argument 7525 xo_close_instance_h(xo_handle_t *xop, const char *name) argument 7537 xo_close_instance_hd(xo_handle_t *xop) argument 7549 xo_do_close_all(xo_handle_t *xop, xo_stack_t *limit) argument 7598 xo_do_close(xo_handle_t *xop, const char *name, xo_state_t new_state) argument 7662 xo_transition(xo_handle_t *xop, xo_xof_flags_t flags, const char *name, xo_state_t new_state) argument 7922 xo_open_marker_h(xo_handle_t *xop, const char *name) argument 7939 xo_close_marker_h(xo_handle_t *xop, const char *name) argument 7957 xo_set_writer(xo_handle_t *xop, void *opaque, xo_write_func_t write_func, xo_close_func_t close_func, xo_flush_func_t flush_func) argument 7976 xo_flush_h(xo_handle_t *xop) argument 8002 xo_finish_h(xo_handle_t *xop) argument 8055 xo_errorn_hv(xo_handle_t *xop, int need_newline, const char *fmt, va_list vap) argument 8114 xo_error_h(xo_handle_t *xop, const char *fmt, ...) argument 8137 xo_errorn_h(xo_handle_t *xop, const char *fmt, ...) argument 8198 xo_handle_t *xop = xo_default(NULL); local 8258 xo_dump_stack(xo_handle_t *xop) argument 8285 xo_set_version_h(xo_handle_t *xop, const char *version) argument 8331 xo_emit_warn_hcv(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument 8383 xo_emit_warn_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 8465 xo_get_private(xo_handle_t *xop) argument 8475 xo_set_private(xo_handle_t *xop, void *opaque) argument 8485 xo_get_encoder(xo_handle_t *xop) argument 8495 xo_set_encoder(xo_handle_t *xop, xo_encoder_func_t encoder) argument 8512 xo_explicit_transition(xo_handle_t *xop, xo_state_t new_state, const char *name, xo_xof_flags_t flags) argument [all...] |