1*b2055c35SXin LiCopyright (c) 2010, Google Inc. All rights reserved. 2*b2055c35SXin Li 3*b2055c35SXin LiRedistribution and use in source and binary forms, with or without 4*b2055c35SXin Limodification, are permitted provided that the following conditions are 5*b2055c35SXin Limet: 6*b2055c35SXin Li 7*b2055c35SXin Li * Redistributions of source code must retain the above copyright 8*b2055c35SXin Li notice, this list of conditions and the following disclaimer. 9*b2055c35SXin Li 10*b2055c35SXin Li * Redistributions in binary form must reproduce the above copyright 11*b2055c35SXin Li notice, this list of conditions and the following disclaimer in 12*b2055c35SXin Li the documentation and/or other materials provided with the 13*b2055c35SXin Li distribution. 14*b2055c35SXin Li 15*b2055c35SXin Li * Neither the name of Google nor the names of its contributors may 16*b2055c35SXin Li be used to endorse or promote products derived from this software 17*b2055c35SXin Li without specific prior written permission. 18*b2055c35SXin Li 19*b2055c35SXin LiTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20*b2055c35SXin Li"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21*b2055c35SXin LiLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22*b2055c35SXin LiA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23*b2055c35SXin LiHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24*b2055c35SXin LiSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25*b2055c35SXin LiLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26*b2055c35SXin LiDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27*b2055c35SXin LiTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28*b2055c35SXin Li(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29*b2055c35SXin LiOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30*b2055c35SXin Li 31