Skip to content
Snippets Groups Projects
Select Git revision
  • upstream/11.4.5
  • debian/latest default
  • feature/more-compat
  • feature/client-plugins-as-symlinks-in-server
  • dev-otto
  • next/debian/latest
  • 11.8-usr-merge
  • next/ubuntu/22.04-jammy
  • next/ubuntu/24.04-noble
  • next/ubuntu/25.04-plucky
  • github-stars-promotion
  • pristine-tar
  • upstream/10.6
  • salsa-ci-lintian-and-piuparts-per-release
  • import/11.8.3
  • dev/NEWS-11.8.2
  • import/11.8.2
  • dev-11.8
  • bugfix/1037327-compression-plugins-as-recommends
  • import/1%10.11.12-0+deb12u1
  • feature/plugins-depend-on-server-core
  • import/1%11.4.6-0ubuntu0.25.04.1
  • upstream/11.4.4
  • upstream/11.4.3
  • debian/1%11.4.2-1
  • upstream/11.4.2
  • mariadb-11.5.1
  • mariadb-11.4.2
  • upstream/10.6.18
  • debian/1%10.11.8-1
  • upstream/10.11.8
  • mariadb-11.2.4
  • mariadb-11.1.5
  • mariadb-11.0.6
  • mariadb-10.11.8
  • mariadb-10.6.18
  • mariadb-10.5.25
  • mariadb-10.4.34
  • debian/1%10.11.7-4
  • debian/1%10.11.7-3
  • debian/1%10.11.7-2
41 results

mysql_fetch_fields.3

Blame
  • Forked from MariaDB and MySQL Packaging Team / MariaDB Server
    Source project has a limited visibility.
    MediaQueryParser.h 2.20 KiB
    /*
     * Copyright (C) 2022 Apple Inc. All rights reserved.
     *
     * Redistribution and use in source and binary forms, with or without
     * modification, are permitted provided that the following conditions
     * are met:
     * 1. Redistributions of source code must retain the above copyright
     *    notice, this list of conditions and the following disclaimer.
     * 2. Redistributions in binary form must reproduce the above copyright
     *    notice, this list of conditions and the following disclaimer in the
     *    documentation and/or other materials provided with the distribution.
     *
     * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
     * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
     * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     */
    
    #pragma once
    
    #include "GenericMediaQueryParser.h"
    #include "MediaQuery.h"
    #include "MediaQueryParserContext.h"
    
    namespace WebCore {
    namespace MQ {
    
    struct MediaQueryParser : public GenericMediaQueryParser<MediaQueryParser>  {
        static MediaQueryList parse(const String&, const MediaQueryParserContext&);
        static MediaQueryList parse(CSSParserTokenRange, const MediaQueryParserContext&);
        static std::optional<MediaQuery> parseCondition(CSSParserTokenRange, const MediaQueryParserContext&);
    
        static MediaQueryList consumeMediaQueryList(CSSParserTokenRange&, const MediaQueryParserContext&);
        static std::optional<MediaQuery> consumeMediaQuery(CSSParserTokenRange&, const MediaQueryParserContext&);
    
        static const FeatureSchema* schemaForFeatureName(const AtomString&, const MediaQueryParserContext&);
        static Vector<const FeatureSchema*> featureSchemas();
    };
    
    void serialize(StringBuilder&, const MediaQueryList&);
    void serialize(StringBuilder&, const MediaQuery&);
    
    }
    }