javar/jdk8-analysis/src/launcher/version_comp.c
/*
 *      Return true if this element (as defined in JSR 56) forms
 *      an acceptable match. An element is the intersection (and)
 *      of multiple simple-elements.
 */
Return true if this element (as defined in JSR 56) forms
an acceptable match. An element is the intersection (and)
of multiple simple-elements.
Return true if this element ( as defined in JSR 56 ) forms an acceptable match . An element is the intersection ( and ) of multiple simple - elements .
static int
acceptable_element(const char *release, char *element)
{
    char        *end;
    do {
        if ((end = JLI_StrChr(element, '&')) != NULL)
            *end = '\0';
        if (!acceptable_simple_element(release, element))
            return (0);
        if (end != NULL)
            element = end + 1;
    } while (end != NULL);
    return (1);
}
static int acceptable_element ( const char * release , char * element ) { char * end ; do { if ( ( end = JLI_StrChr ( element , ' ' ) ) != NULL ) * end = ' \0 ' ; if ( ! acceptable_simple_element ( release , element ) ) return ( 0 ) ; if ( end != NULL ) element = end + 1 ; } while ( end != NULL ) ; return ( 1 ) ; }
Return true if this element (as defined in JSR 56) forms
      an acceptable match.
Return true if this element ( as defined in JSR 56 ) forms an acceptable match .