10c6be5a6Sopenharmony_ci// Copyright (c) 2009 The RE2 Authors. All rights reserved. 20c6be5a6Sopenharmony_ci// 30c6be5a6Sopenharmony_ci// Redistribution and use in source and binary forms, with or without 40c6be5a6Sopenharmony_ci// modification, are permitted provided that the following conditions are 50c6be5a6Sopenharmony_ci// met: 60c6be5a6Sopenharmony_ci// 70c6be5a6Sopenharmony_ci// * Redistributions of source code must retain the above copyright 80c6be5a6Sopenharmony_ci// notice, this list of conditions and the following disclaimer. 90c6be5a6Sopenharmony_ci// * Redistributions in binary form must reproduce the above 100c6be5a6Sopenharmony_ci// copyright notice, this list of conditions and the following disclaimer 110c6be5a6Sopenharmony_ci// in the documentation and/or other materials provided with the 120c6be5a6Sopenharmony_ci// distribution. 130c6be5a6Sopenharmony_ci// * Neither the name of Google Inc. nor the names of its 140c6be5a6Sopenharmony_ci// contributors may be used to endorse or promote products derived from 150c6be5a6Sopenharmony_ci// this software without specific prior written permission. 160c6be5a6Sopenharmony_ci// 170c6be5a6Sopenharmony_ci// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 180c6be5a6Sopenharmony_ci// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 190c6be5a6Sopenharmony_ci// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 200c6be5a6Sopenharmony_ci// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 210c6be5a6Sopenharmony_ci// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 220c6be5a6Sopenharmony_ci// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 230c6be5a6Sopenharmony_ci// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 240c6be5a6Sopenharmony_ci// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 250c6be5a6Sopenharmony_ci// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 260c6be5a6Sopenharmony_ci// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 270c6be5a6Sopenharmony_ci// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28