char *g_strdup(const char *s)

{

    char *dup;

    size_t i;



    if (!s) {

        return NULL;

    }



    __coverity_string_null_sink__(s);

    __coverity_string_size_sink__(s);

    dup = __coverity_alloc_nosize__();

    __coverity_mark_as_afm_allocated__(dup, AFM_free);

    for (i = 0; (dup[i] = s[i]); i++) ;

    return dup;

}

char *g_strdup(const char *s)

{

    char *dup;

    size_t i;



    if (!s) {

        return NULL;

    }



    __coverity_string_null_sink__(s);

    __coverity_string_size_sink__(s);

    dup = __coverity_alloc_nosize__();

    __coverity_mark_as_afm_allocated__(dup, AFM_free);

    for (i = 0; (dup[i] = s[i]); i++) ;

    return dup;

}

char *FUNC_0(const char *VAR_0)

{

    char *VAR_1;

    size_t i;



    if (!VAR_0) {

        return NULL;

    }



    __coverity_string_null_sink__(VAR_0);

    __coverity_string_size_sink__(VAR_0);

    VAR_1 = __coverity_alloc_nosize__();

    __coverity_mark_as_afm_allocated__(VAR_1, AFM_free);

    for (i = 0; (VAR_1[i] = VAR_0[i]); i++) ;

    return VAR_1;

}

char *FUNC_0(const char *VAR_0)
{ char *VAR_1; size_t i; if (!VAR_0) { return NULL; } __coverity_string_null_sink__(VAR_0); __coverity_string_size_sink__(VAR_0); VAR_1 = __coverity_alloc_nosize__(); __coverity_mark_as_afm_allocated__(VAR_1, AFM_free); for (i = 0; (VAR_1[i] = VAR_0[i]); i++) ; return VAR_1; }