openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus/1.12.16-r0/dbus-1.12.16/bus/config-loader-expat.c
static void expat_CharacterDataHandler(void* userData, const XML_Char* s,
                                       int len)
{
    ExpatParseContext* context = userData;
    if (context->failed)
        return;

    if (!_dbus_string_append_len(&context->content, s, len))
    {
        dbus_set_error(context->error, DBUS_ERROR_NO_MEMORY, NULL);
        context->failed = TRUE;
        return;
    }
}
/* s is not 0 terminated. */
s is not 0 terminated.
s is not 0 terminated .
static void expat_CharacterDataHandler(void* userData, const XML_Char* s,
                                       int len)
{
    ExpatParseContext* context = userData;
    if (context->failed)
        return;
    if (!_dbus_string_append_len(&context->content, s, len))
    {
        dbus_set_error(context->error, DBUS_ERROR_NO_MEMORY, NULL);
        context->failed = TRUE;
        return;
    }
}
static void expat_CharacterDataHandler ( void * userData , const XML_Char * s , int len ) { ExpatParseContext * context = userData ; if ( context -> failed ) return ; if ( ! _dbus_string_append_len ( & context -> content , s , len ) ) { dbus_set_error ( context -> error , DBUS_ERROR_NO_MEMORY , NULL ) ; context -> failed = TRUE ; return ; } }
s is not 0 terminated.
s is not 0 terminated .