openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libsmartcols/src/table_print.c
static size_t buffer_get_safe_art_size(struct libscols_buffer* buf)
{
    char* data = buffer_get_data(buf);
    size_t bytes = 0;

    if (!data || !buf->art_idx)
        return 0;

    mbs_safe_nwidth(data, buf->art_idx, &bytes);
    return bytes;
}
/* returns size in bytes of the ascii art (according to art_idx) in safe
 * encoding */
returns size in bytes of the ascii art (according to art_idx) in safe
encoding
returns size in bytes of the ascii art ( according to art_idx ) in safe encoding
static size_t buffer_get_safe_art_size(struct libscols_buffer* buf)
{
    char* data = buffer_get_data(buf);
    size_t bytes = 0;
    if (!data || !buf->art_idx)
        return 0;
    mbs_safe_nwidth(data, buf->art_idx, &bytes);
    return bytes;
}
static size_t buffer_get_safe_art_size ( struct libscols_buffer * buf ) { char * data = buffer_get_data ( buf ) ; size_t bytes = 0 ; if ( ! data || ! buf -> art_idx ) return 0 ; mbs_safe_nwidth ( data , buf -> art_idx , & bytes ) ; return bytes ; }
returns size in bytes of the ascii art (according to art_idx) in safe
 encoding
returns size in bytes of the ascii art ( according to art_idx ) in safe encoding