H A D | libxo.c | 468 xo_failure (xo_handle_t *xop, const char *fmt, ...); 471 xo_transition (xo_handle_t *xop, xo_xsf_flags_t flags, const char *name, 475 xo_set_options_simple (xo_handle_t *xop, const char *input); 481 xo_buf_append_div (xo_handle_t *xop, const char *class, xo_xff_flags_t flags, 488 xo_anchor_clear (xo_handle_t *xop); 499 xo_style (xo_handle_t *xop UNUSED) 504 return xop->xo_style; 580 xo_depth_check (xo_handle_t *xop, int depth) argument 584 if (depth >= xop->xo_stack_size) { 587 xsp = xo_realloc(xop 638 xo_init_handle(xo_handle_t *xop) argument 689 xo_handle_t *xop = &xo_default_handle; local 713 xo_default(xo_handle_t *xop) argument 729 xo_indent(xo_handle_t *xop) argument 745 xo_buf_indent(xo_handle_t *xop, int indent) argument 905 xo_buf_escape(xo_handle_t *xop, xo_buffer_t *xbp, const char *str, ssize_t len, xo_xff_flags_t flags) argument 936 xo_write(xo_handle_t *xop) argument 960 xo_vsnprintf(xo_handle_t *xop, xo_buffer_t *xbp, const char *fmt, va_list vap) argument 1005 xo_printf_v(xo_handle_t *xop, const char *fmt, va_list vap) argument 1038 xo_printf(xo_handle_t *xop, const char *fmt, ...) argument 1092 xo_buf_utf8_len(xo_handle_t *xop, const char *buf, ssize_t bufsiz) argument 1199 xo_buf_append_locale_from_utf8(xo_handle_t *xop, xo_buffer_t *xbp, const char *ibuf, ssize_t ilen) argument 1245 xo_buf_append_locale(xo_handle_t *xop, xo_buffer_t *xbp, const char *cp, ssize_t len) argument 1302 xo_data_append(xo_handle_t *xop, const char *str, ssize_t len) argument 1311 xo_data_escape(xo_handle_t *xop, const char *str, ssize_t len) argument 1511 xo_warn_hcv(xo_handle_t *xop, int code, int check_warn, const char *fmt, va_list vap) argument 1597 xo_warn_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 1680 xo_message_hcv(xo_handle_t *xop, int code, const char *fmt, va_list vap) argument 1827 xo_message_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 1868 xo_failure(xo_handle_t *xop, const char *fmt, ...) argument 1894 xo_handle_t *xop = xo_realloc(NULL, sizeof(*xop)); local 1921 xo_handle_t *xop = xo_create(style, flags); local 1941 xo_set_file_h(xo_handle_t *xop, FILE *fp) argument 1978 xo_handle_t *xop = xo_default(xop_arg); local 2010 xo_set_style(xo_handle_t *xop, xo_style_t style) argument 2023 xo_get_style(xo_handle_t *xop) argument 2058 xo_style_is_encoding(xo_handle_t *xop) argument 2176 xo_set_style_name(xo_handle_t *xop, const char *name) argument 2195 xo_set_color_map(xo_handle_t *xop, char *value) argument 2235 xo_set_options_simple(xo_handle_t *xop, const char *input) argument 2282 xo_set_options(xo_handle_t *xop, const char *input) argument 2455 xo_set_flags(xo_handle_t *xop, xo_xof_flags_t flags) argument 2468 xo_get_flags(xo_handle_t *xop) argument 2502 xo_set_leading_xpath(xo_handle_t *xop, const char *path) argument 2525 xo_set_info(xo_handle_t *xop, xo_info_t *infop, int count) argument 2546 xo_set_formatter(xo_handle_t *xop, xo_formatter_t func, xo_checkpointer_t cfunc) argument 2563 xo_clear_flags(xo_handle_t *xop, xo_xof_flags_t flags) argument 2598 xo_line_ensure_open(xo_handle_t *xop, xo_xff_flags_t flags UNUSED) argument 2620 xo_line_close(xo_handle_t *xop) argument 2653 xo_info_find(xo_handle_t *xop, const char *name, ssize_t nlen) argument 2672 xo_check_conversion(xo_handle_t *xop, int have_enc, int need_enc) argument 2690 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 2884 xo_needed_encoding(xo_handle_t *xop) argument 2896 xo_format_string(xo_handle_t *xop, xo_buffer_t *xbp, xo_xff_flags_t flags, xo_format_t *xfp) argument 3093 xo_dgettext(xo_handle_t *xop, const char *str) argument 3109 xo_dngettext(xo_handle_t *xop, const char *sing, const char *plural, unsigned long int n) argument 3150 xo_format_gettext(xo_handle_t *xop, xo_xff_flags_t flags, ssize_t start_offset, ssize_t cols, int need_enc) argument 3235 xo_data_append_content(xo_handle_t *xop, const char *str, ssize_t len, xo_xff_flags_t flags) argument 3306 xo_do_format_field(xo_handle_t *xop, xo_buffer_t *xbp, const char *fmt, ssize_t flen, xo_xff_flags_t flags) argument 3682 xo_color_append_html(xo_handle_t *xop) argument 3741 xo_format_humanize(xo_handle_t *xop, xo_buffer_t *xbp, xo_humanize_save_t *savep, xo_xff_flags_t flags) argument 3802 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 3820 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 4058 xo_format_text(xo_handle_t *xop, const char *str, ssize_t len) argument 4072 xo_format_title(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 4237 xo_format_prep(xo_handle_t *xop, xo_xff_flags_t flags) argument 4260 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 4599 xo_set_gettext_domain(xo_handle_t *xop, xo_field_info_t *xfip, const char *str, ssize_t len) argument 4634 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 4752 xo_colors_parse(xo_handle_t *xop, xo_colors_t *xocp, char *str) argument 4840 xo_colors_update(xo_handle_t *xop, xo_colors_t *newp) argument 4858 xo_colors_handle_text(xo_handle_t *xop, xo_colors_t *newp) argument 4924 xo_colors_handle_html(xo_handle_t *xop, xo_colors_t *newp) argument 4983 xo_format_colors(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5057 xo_format_units(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5111 xo_find_width(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5187 xo_anchor_clear(xo_handle_t *xop) argument 5204 xo_anchor_start(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5223 xo_anchor_stop(xo_handle_t *xop, xo_field_info_t *xfip, const char *value, ssize_t vlen) argument 5439 xo_parse_roles(xo_handle_t *xop, const char *fmt, const char *basep, xo_field_info_t *xfip) argument 5666 xo_parse_field_numbers(xo_handle_t *xop, const char *fmt, xo_field_info_t *fields, unsigned num_fields) argument 5697 xo_parse_fields(xo_handle_t *xop, xo_field_info_t *fields, unsigned num_fields, const char *fmt) argument 6021 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 6134 xo_gettext_build_format(xo_handle_t *xop, xo_field_info_t *fields, int this_field, const char *fmt, char **new_fmtp) argument 6169 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 6255 xo_do_emit_fields(xo_handle_t *xop, xo_field_info_t *fields, unsigned max_fields, const char *fmt) argument 6483 xo_do_emit(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt) argument 6531 xo_simplify_format(xo_handle_t *xop, const char *fmt, int with_numbers, xo_simplify_field_func_t field_cb) argument 6560 xo_emit_hv(xo_handle_t *xop, const char *fmt, va_list vap) argument 6574 xo_emit_h(xo_handle_t *xop, const char *fmt, ...) argument 6590 xo_handle_t *xop = xo_default(NULL); local 6602 xo_emit_hvf(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument 6617 xo_emit_hf(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...) argument 6633 xo_handle_t *xop = xo_default(NULL); local 6651 xo_emit_field_hv(xo_handle_t *xop, const char *rolmod, const char *contents, const char *fmt, const char *efmt, va_list vap) argument 6696 xo_emit_field_h(xo_handle_t *xop, const char *rolmod, const char *contents, const char *fmt, const char *efmt, ...) argument 6724 xo_attr_hv(xo_handle_t *xop, const char *name, const char *fmt, va_list vap) argument 6781 xo_attr_h(xo_handle_t *xop, const char *name, const char *fmt, ...) argument 6807 xo_stack_set_flags(xo_handle_t *xop) argument 6818 xo_depth_change(xo_handle_t *xop, const char *name, int delta, int indent, xo_state_t state, xo_xsf_flags_t flags) argument 6883 xo_set_depth(xo_handle_t *xop, int depth) argument 6903 xo_emit_top(xo_handle_t *xop, const char *ppn) argument 6917 xo_do_open_container(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 6974 xo_open_container_hf(xo_handle_t *xop, xo_xof_flags_t flags, const char *name) argument 6980 xo_open_container_h(xo_handle_t *xop, const char *name) argument 6992 xo_open_container_hd(xo_handle_t *xop, const char *name) argument 7004 xo_do_close_container(xo_handle_t *xop, const char *name) argument 7061 xo_close_container_h(xo_handle_t *xop, const char *name) argument 7073 xo_close_container_hd(xo_handle_t *xop) argument 7085 xo_do_open_list(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name) argument 7130 xo_open_list_hf(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name) argument 7136 xo_open_list_h(xo_handle_t *xop, const char *name) argument 7148 xo_open_list_hd(xo_handle_t *xop, const char *name) argument 7160 xo_do_close_list(xo_handle_t *xop, const char *name) argument 7207 xo_close_list_h(xo_handle_t *xop, const char *name) argument 7219 xo_close_list_hd(xo_handle_t *xop) argument 7231 xo_do_open_leaf_list(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name) argument 7279 xo_do_close_leaf_list(xo_handle_t *xop, const char *name) argument 7325 xo_do_open_instance(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name) argument 7379 xo_open_instance_hf(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name) argument 7385 xo_open_instance_h(xo_handle_t *xop, const char *name) argument 7397 xo_open_instance_hd(xo_handle_t *xop, const char *name) argument 7409 xo_do_close_instance(xo_handle_t *xop, const char *name) argument 7465 xo_close_instance_h(xo_handle_t *xop, const char *name) argument 7477 xo_close_instance_hd(xo_handle_t *xop) argument 7489 xo_do_close_all(xo_handle_t *xop, xo_stack_t *limit) argument 7538 xo_do_close(xo_handle_t *xop, const char *name, xo_state_t new_state) argument 7602 xo_transition(xo_handle_t *xop, xo_xsf_flags_t flags, const char *name, xo_state_t new_state) argument 7871 xo_open_marker_h(xo_handle_t *xop, const char *name) argument 7888 xo_close_marker_h(xo_handle_t *xop, const char *name) argument 7906 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 7925 xo_flush_h(xo_handle_t *xop) argument 7951 xo_finish_h(xo_handle_t *xop) argument 7998 xo_error_hv(xo_handle_t *xop, const char *fmt, va_list vap) argument 8055 xo_error_h(xo_handle_t *xop, const char *fmt, ...) argument 8096 xo_handle_t *xop = xo_default(NULL); local 8156 xo_dump_stack(xo_handle_t *xop) argument 8183 xo_set_version_h(xo_handle_t *xop, const char *version) argument 8229 xo_emit_warn_hcv(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument 8281 xo_emit_warn_hc(xo_handle_t *xop, int code, const char *fmt, ...) argument 8368 xo_get_private(xo_handle_t *xop) argument 8378 xo_set_private(xo_handle_t *xop, void *opaque) argument 8388 xo_get_encoder(xo_handle_t *xop) argument 8398 xo_set_encoder(xo_handle_t *xop, xo_encoder_func_t encoder) argument [all...] |