1==================================================== 2Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 3 4Developed at SunPro, a Sun Microsystems, Inc. business. 5Permission to use, copy, modify, and distribute this 6software is freely granted, provided that this notice 7is preserved. 8 9------------------------------------------------------------------- 10 11==================================================== 12Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 13 14Developed at SunPro, a Sun Microsystems, Inc. business. 15Permission to use, copy, modify, and distribute this 16software is freely granted, provided that this notice 17is preserved. 18==================================================== 19 20Optimized by Bruce D. Evans. 21 22------------------------------------------------------------------- 23 24==================================================== 25Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 26 27Developed at SunSoft, a Sun Microsystems, Inc. business. 28Permission to use, copy, modify, and distribute this 29software is freely granted, provided that this notice 30is preserved. 31 32------------------------------------------------------------------- 33 34==================================================== 35Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 36 37Developed at SunSoft, a Sun Microsystems, Inc. business. 38Permission to use, copy, modify, and distribute this 39software is freely granted, provided that this notice 40is preserved. 41==================================================== 42 43Optimized by Bruce D. Evans. 44 45------------------------------------------------------------------- 46 47==================================================== 48Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 49Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans. 50 51Developed at SunSoft, a Sun Microsystems, Inc. business. 52Permission to use, copy, modify, and distribute this 53software is freely granted, provided that this notice 54is preserved. 55 56------------------------------------------------------------------- 57 58==================================================== 59Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 60Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans. 61 62Developed at SunSoft, a Sun Microsystems, Inc. business. 63Permission to use, copy, modify, and distribute this 64software is freely granted, provided that this notice 65is preserved. 66==================================================== 67 68Optimized by Bruce D. Evans. 69 70------------------------------------------------------------------- 71 72==================================================== 73Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 74Copyright (c) 2009-2011, Bruce D. Evans, Steven G. Kargl, David Schultz. 75 76Developed at SunPro, a Sun Microsystems, Inc. business. 77Permission to use, copy, modify, and distribute this 78software is freely granted, provided that this notice 79is preserved. 80==================================================== 81 82The argument reduction and testing for exceptional cases was 83written by Steven G. Kargl with input from Bruce D. Evans 84and David A. Schultz. 85 86------------------------------------------------------------------- 87 88==================================================== 89Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved. 90 91Permission to use, copy, modify, and distribute this 92software is freely granted, provided that this notice 93is preserved. 94 95------------------------------------------------------------------- 96 97==================================================== 98Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. 99 100Permission to use, copy, modify, and distribute this 101software is freely granted, provided that this notice 102is preserved. 103 104------------------------------------------------------------------- 105 106==================================================== 107Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. 108Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans. 109 110Permission to use, copy, modify, and distribute this 111software is freely granted, provided that this notice 112is preserved. 113 114------------------------------------------------------------------- 115 116Copyright (C) 2010 The Android Open Source Project 117All rights reserved. 118 119Redistribution and use in source and binary forms, with or without 120modification, are permitted provided that the following conditions 121are met: 1221. Redistributions of source code must retain the above copyright 123 notice, this list of conditions and the following disclaimer. 1242. Redistributions in binary form must reproduce the above copyright 125 notice, this list of conditions and the following disclaimer in the 126 documentation and/or other materials provided with the distribution. 127 128THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 129ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 130IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 131ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 132FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 133DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 134OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 135HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 136LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 137OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 138SUCH DAMAGE. 139 140------------------------------------------------------------------- 141 142Copyright (C) 2013 The Android Open Source Project 143 144Licensed under the Apache License, Version 2.0 (the "License"); 145you may not use this file except in compliance with the License. 146You may obtain a copy of the License at 147 148 http://www.apache.org/licenses/LICENSE-2.0 149 150Unless required by applicable law or agreed to in writing, software 151distributed under the License is distributed on an "AS IS" BASIS, 152WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 153See the License for the specific language governing permissions and 154limitations under the License. 155 156------------------------------------------------------------------- 157 158Copyright (C) 2014 The Android Open Source Project 159All rights reserved. 160 161Redistribution and use in source and binary forms, with or without 162modification, are permitted provided that the following conditions 163are met: 1641. Redistributions of source code must retain the above copyright 165 notice, this list of conditions and the following disclaimer. 1662. Redistributions in binary form must reproduce the above copyright 167 notice, this list of conditions and the following disclaimer in the 168 documentation and/or other materials provided with the distribution. 169 170THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 171ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 172IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 173ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 174FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 175DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 176OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 177HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 178LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 179OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 180SUCH DAMAGE. 181 182------------------------------------------------------------------- 183 184Copyright (c) 1985, 1993 185 The Regents of the University of California. All rights reserved. 186 187Redistribution and use in source and binary forms, with or without 188modification, are permitted provided that the following conditions 189are met: 1901. Redistributions of source code must retain the above copyright 191 notice, this list of conditions and the following disclaimer. 1922. Redistributions in binary form must reproduce the above copyright 193 notice, this list of conditions and the following disclaimer in the 194 documentation and/or other materials provided with the distribution. 1953. All advertising materials mentioning features or use of this software 196 must display the following acknowledgement: 197 This product includes software developed by the University of 198 California, Berkeley and its contributors. 1994. Neither the name of the University nor the names of its contributors 200 may be used to endorse or promote products derived from this software 201 without specific prior written permission. 202 203THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 204ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 205IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 206ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 207FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 208DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 209OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 210HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 211LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 212OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 213SUCH DAMAGE. 214 215------------------------------------------------------------------- 216 217Copyright (c) 1988, 1993 218 The Regents of the University of California. All rights reserved. 219 220Redistribution and use in source and binary forms, with or without 221modification, are permitted provided that the following conditions 222are met: 2231. Redistributions of source code must retain the above copyright 224 notice, this list of conditions and the following disclaimer. 2252. Redistributions in binary form must reproduce the above copyright 226 notice, this list of conditions and the following disclaimer in the 227 documentation and/or other materials provided with the distribution. 2283. All advertising materials mentioning features or use of this software 229 must display the following acknowledgement: 230 This product includes software developed by the University of 231 California, Berkeley and its contributors. 2324. Neither the name of the University nor the names of its contributors 233 may be used to endorse or promote products derived from this software 234 without specific prior written permission. 235 236THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 237ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 238IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 239ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 240FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 241DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 242OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 243HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 244LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 245OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 246SUCH DAMAGE. 247 248------------------------------------------------------------------- 249 250Copyright (c) 1990 The Regents of the University of California. 251All rights reserved. 252 253This code is derived from software contributed to Berkeley by 254William Jolitz. 255 256Redistribution and use in source and binary forms, with or without 257modification, are permitted provided that the following conditions 258are met: 2591. Redistributions of source code must retain the above copyright 260 notice, this list of conditions and the following disclaimer. 2612. Redistributions in binary form must reproduce the above copyright 262 notice, this list of conditions and the following disclaimer in the 263 documentation and/or other materials provided with the distribution. 2644. Neither the name of the University nor the names of its contributors 265 may be used to endorse or promote products derived from this software 266 without specific prior written permission. 267 268THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 269ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 270IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 271ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 272FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 273DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 274OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 275HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 276LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 277OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 278SUCH DAMAGE. 279 280------------------------------------------------------------------- 281 282Copyright (c) 1992, 1993 283 The Regents of the University of California. All rights reserved. 284 285Redistribution and use in source and binary forms, with or without 286modification, are permitted provided that the following conditions 287are met: 2881. Redistributions of source code must retain the above copyright 289 notice, this list of conditions and the following disclaimer. 2902. Redistributions in binary form must reproduce the above copyright 291 notice, this list of conditions and the following disclaimer in the 292 documentation and/or other materials provided with the distribution. 2933. All advertising materials mentioning features or use of this software 294 must display the following acknowledgement: 295 This product includes software developed by the University of 296 California, Berkeley and its contributors. 2974. Neither the name of the University nor the names of its contributors 298 may be used to endorse or promote products derived from this software 299 without specific prior written permission. 300 301THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 302ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 303IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 304ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 305FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 306DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 307OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 308HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 309LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 310OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 311SUCH DAMAGE. 312 313------------------------------------------------------------------- 314 315Copyright (c) 2001-2011 The FreeBSD Project. 316All rights reserved. 317 318Redistribution and use in source and binary forms, with or without 319modification, are permitted provided that the following conditions 320are met: 3211. Redistributions of source code must retain the above copyright 322 notice, this list of conditions and the following disclaimer. 3232. Redistributions in binary form must reproduce the above copyright 324 notice, this list of conditions and the following disclaimer in the 325 documentation and/or other materials provided with the distribution. 326 327THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 328ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 329IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 330ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 331FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 332DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 333OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 334HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 335LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 336OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 337SUCH DAMAGE. 338 339------------------------------------------------------------------- 340 341Copyright (c) 2003 Dag-Erling Smørgrav 342All rights reserved. 343 344Redistribution and use in source and binary forms, with or without 345modification, are permitted provided that the following conditions 346are met: 3471. Redistributions of source code must retain the above copyright 348 notice, this list of conditions and the following disclaimer 349 in this position and unchanged. 3502. Redistributions in binary form must reproduce the above copyright 351 notice, this list of conditions and the following disclaimer in the 352 documentation and/or other materials provided with the distribution. 3533. The name of the author may not be used to endorse or promote products 354 derived from this software without specific prior written permission. 355 356THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 357IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 358OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 359IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 360INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 361NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 362DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 363THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 364(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 365THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 366 367------------------------------------------------------------------- 368 369Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org> 370All rights reserved. 371 372Redistribution and use in source and binary forms, with or without 373modification, are permitted provided that the following conditions 374are met: 3751. Redistributions of source code must retain the above copyright 376 notice, this list of conditions and the following disclaimer. 3772. Redistributions in binary form must reproduce the above copyright 378 notice, this list of conditions and the following disclaimer in the 379 documentation and/or other materials provided with the distribution. 380 381THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 382ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 383IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 384ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 385FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 386DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 387OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 388HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 389LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 390OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 391SUCH DAMAGE. 392 393------------------------------------------------------------------- 394 395Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org> 396Copyright (c) 2002 David Schultz <das@FreeBSD.ORG> 397All rights reserved. 398 399Redistribution and use in source and binary forms, with or without 400modification, are permitted provided that the following conditions 401are met: 4021. Redistributions of source code must retain the above copyright 403 notice, this list of conditions and the following disclaimer. 4042. Redistributions in binary form must reproduce the above copyright 405 notice, this list of conditions and the following disclaimer in the 406 documentation and/or other materials provided with the distribution. 407 408THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 409ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 410IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 411ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 412FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 413DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 414OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 415HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 416LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 417OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 418SUCH DAMAGE. 419 420------------------------------------------------------------------- 421 422Copyright (c) 2003, Steven G. Kargl 423All rights reserved. 424 425Redistribution and use in source and binary forms, with or without 426modification, are permitted provided that the following conditions 427are met: 4281. Redistributions of source code must retain the above copyright 429 notice unmodified, this list of conditions, and the following 430 disclaimer. 4312. Redistributions in binary form must reproduce the above copyright 432 notice, this list of conditions and the following disclaimer in the 433 documentation and/or other materials provided with the distribution. 434 435THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 436IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 437OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 438IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 439INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 440NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 441DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 442THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 443(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 444THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 445 446------------------------------------------------------------------- 447 448Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> 449All rights reserved. 450 451Redistribution and use in source and binary forms, with or without 452modification, are permitted provided that the following conditions 453are met: 4541. Redistributions of source code must retain the above copyright 455 notice, this list of conditions and the following disclaimer. 4562. Redistributions in binary form must reproduce the above copyright 457 notice, this list of conditions and the following disclaimer in the 458 documentation and/or other materials provided with the distribution. 459 460THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 461ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 462IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 463ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 464FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 465DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 466OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 467HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 468LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 469OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 470SUCH DAMAGE. 471 472------------------------------------------------------------------- 473 474Copyright (c) 2004 Stefan Farfeleder 475All rights reserved. 476 477Redistribution and use in source and binary forms, with or without 478modification, are permitted provided that the following conditions 479are met: 4801. Redistributions of source code must retain the above copyright 481 notice, this list of conditions and the following disclaimer. 4822. Redistributions in binary form must reproduce the above copyright 483 notice, this list of conditions and the following disclaimer in the 484 documentation and/or other materials provided with the distribution. 485 486THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 487ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 488IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 489ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 490FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 491DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 492OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 493HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 494LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 495OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 496SUCH DAMAGE. 497 498------------------------------------------------------------------- 499 500Copyright (c) 2004-2005 David Schultz <das (at) FreeBSD.ORG> 501All rights reserved. 502 503Redistribution and use in source and binary forms, with or without 504modification, are permitted provided that the following conditions 505are met: 5061. Redistributions of source code must retain the above copyright 507 notice, this list of conditions and the following disclaimer. 5082. Redistributions in binary form must reproduce the above copyright 509 notice, this list of conditions and the following disclaimer in the 510 documentation and/or other materials provided with the distribution. 511 512THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 513ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 514IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 515ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 516FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 517DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 518OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 519HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 520LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 521OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 522SUCH DAMAGE. 523 524------------------------------------------------------------------- 525 526Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG> 527All rights reserved. 528 529Redistribution and use in source and binary forms, with or without 530modification, are permitted provided that the following conditions 531are met: 5321. Redistributions of source code must retain the above copyright 533 notice, this list of conditions and the following disclaimer. 5342. Redistributions in binary form must reproduce the above copyright 535 notice, this list of conditions and the following disclaimer in the 536 documentation and/or other materials provided with the distribution. 537 538THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 539ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 540IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 541ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 542FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 543DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 544OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 545HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 546LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 547OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 548SUCH DAMAGE. 549 550------------------------------------------------------------------- 551 552Copyright (c) 2005 Bruce D. Evans and Steven G. Kargl 553All rights reserved. 554 555Redistribution and use in source and binary forms, with or without 556modification, are permitted provided that the following conditions 557are met: 5581. Redistributions of source code must retain the above copyright 559 notice unmodified, this list of conditions, and the following 560 disclaimer. 5612. Redistributions in binary form must reproduce the above copyright 562 notice, this list of conditions and the following disclaimer in the 563 documentation and/or other materials provided with the distribution. 564 565THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 566IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 567OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 568IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 569INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 570NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 571DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 572THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 573(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 574THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 575 576------------------------------------------------------------------- 577 578Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> 579All rights reserved. 580 581Redistribution and use in source and binary forms, with or without 582modification, are permitted provided that the following conditions 583are met: 5841. Redistributions of source code must retain the above copyright 585 notice, this list of conditions and the following disclaimer. 5862. Redistributions in binary form must reproduce the above copyright 587 notice, this list of conditions and the following disclaimer in the 588 documentation and/or other materials provided with the distribution. 589 590THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 591ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 592IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 593ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 594FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 595DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 596OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 597HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 598LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 599OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 600SUCH DAMAGE. 601 602------------------------------------------------------------------- 603 604Copyright (c) 2005-2008 David Schultz <das@FreeBSD.ORG> 605All rights reserved. 606 607Redistribution and use in source and binary forms, with or without 608modification, are permitted provided that the following conditions 609are met: 6101. Redistributions of source code must retain the above copyright 611 notice, this list of conditions and the following disclaimer. 6122. Redistributions in binary form must reproduce the above copyright 613 notice, this list of conditions and the following disclaimer in the 614 documentation and/or other materials provided with the distribution. 615 616THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 617ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 618IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 619ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 620FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 621DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 622OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 623HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 624LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 625OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 626SUCH DAMAGE. 627 628------------------------------------------------------------------- 629 630Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG> 631All rights reserved. 632 633Redistribution and use in source and binary forms, with or without 634modification, are permitted provided that the following conditions 635are met: 6361. Redistributions of source code must retain the above copyright 637 notice, this list of conditions and the following disclaimer. 6382. Redistributions in binary form must reproduce the above copyright 639 notice, this list of conditions and the following disclaimer in the 640 documentation and/or other materials provided with the distribution. 641 642THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 643ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 644IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 645ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 646FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 647DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 648OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 649HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 650LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 651OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 652SUCH DAMAGE. 653 654------------------------------------------------------------------- 655 656Copyright (c) 2007 David Schultz 657All rights reserved. 658 659Redistribution and use in source and binary forms, with or without 660modification, are permitted provided that the following conditions 661are met: 6621. Redistributions of source code must retain the above copyright 663 notice, this list of conditions and the following disclaimer. 6642. Redistributions in binary form must reproduce the above copyright 665 notice, this list of conditions and the following disclaimer in the 666 documentation and/or other materials provided with the distribution. 667 668THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 669ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 670IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 671ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 672FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 673DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 674OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 675HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 676LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 677OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 678SUCH DAMAGE. 679 680------------------------------------------------------------------- 681 682Copyright (c) 2007 David Schultz <das@FreeBSD.ORG> 683All rights reserved. 684 685Redistribution and use in source and binary forms, with or without 686modification, are permitted provided that the following conditions 687are met: 6881. Redistributions of source code must retain the above copyright 689 notice, this list of conditions and the following disclaimer. 6902. Redistributions in binary form must reproduce the above copyright 691 notice, this list of conditions and the following disclaimer in the 692 documentation and/or other materials provided with the distribution. 693 694THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 695ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 696IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 697ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 698FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 699DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 700OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 701HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 702LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 703OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 704SUCH DAMAGE. 705 706------------------------------------------------------------------- 707 708Copyright (c) 2007 David Schultz <das@FreeBSD.ORG> 709All rights reserved. 710 711Redistribution and use in source and binary forms, with or without 712modification, are permitted provided that the following conditions 713are met: 7141. Redistributions of source code must retain the above copyright 715 notice, this list of conditions and the following disclaimer. 7162. Redistributions in binary form must reproduce the above copyright 717 notice, this list of conditions and the following disclaimer in the 718 documentation and/or other materials provided with the distribution. 719 720THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 721ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 722IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 723ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 724FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 725DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 726OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 727HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 728LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 729OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 730SUCH DAMAGE. 731 732Derived from s_modf.c, which has the following Copyright: 733==================================================== 734Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 735 736Developed at SunPro, a Sun Microsystems, Inc. business. 737Permission to use, copy, modify, and distribute this 738software is freely granted, provided that this notice 739is preserved. 740 741------------------------------------------------------------------- 742 743Copyright (c) 2007 Steven G. Kargl 744All rights reserved. 745 746Redistribution and use in source and binary forms, with or without 747modification, are permitted provided that the following conditions 748are met: 7491. Redistributions of source code must retain the above copyright 750 notice unmodified, this list of conditions, and the following 751 disclaimer. 7522. Redistributions in binary form must reproduce the above copyright 753 notice, this list of conditions and the following disclaimer in the 754 documentation and/or other materials provided with the distribution. 755 756THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 757IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 758OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 759IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 760INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 761NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 762DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 763THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 764(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 765THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 766 767------------------------------------------------------------------- 768 769Copyright (c) 2007-2008 David Schultz <das@FreeBSD.ORG> 770All rights reserved. 771 772Redistribution and use in source and binary forms, with or without 773modification, are permitted provided that the following conditions 774are met: 7751. Redistributions of source code must retain the above copyright 776 notice, this list of conditions and the following disclaimer. 7772. Redistributions in binary form must reproduce the above copyright 778 notice, this list of conditions and the following disclaimer in the 779 documentation and/or other materials provided with the distribution. 780 781THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 782ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 783IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 784ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 785FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 786DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 787OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 788HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 789LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 790OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 791SUCH DAMAGE. 792 793------------------------------------------------------------------- 794 795Copyright (c) 2007-2013 Bruce D. Evans 796All rights reserved. 797 798Redistribution and use in source and binary forms, with or without 799modification, are permitted provided that the following conditions 800are met: 8011. Redistributions of source code must retain the above copyright 802 notice unmodified, this list of conditions, and the following 803 disclaimer. 8042. Redistributions in binary form must reproduce the above copyright 805 notice, this list of conditions and the following disclaimer in the 806 documentation and/or other materials provided with the distribution. 807 808THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 809IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 810OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 811IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 812INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 813NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 814DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 815THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 816(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 817THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 818 819------------------------------------------------------------------- 820 821Copyright (c) 2008 David Schultz <das@FreeBSD.ORG> 822All rights reserved. 823 824Redistribution and use in source and binary forms, with or without 825modification, are permitted provided that the following conditions 826are met: 8271. Redistributions of source code must retain the above copyright 828 notice, this list of conditions and the following disclaimer. 8292. Redistributions in binary form must reproduce the above copyright 830 notice, this list of conditions and the following disclaimer in the 831 documentation and/or other materials provided with the distribution. 832 833THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 834ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 835IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 836ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 837FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 838DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 839OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 840HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 841LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 842OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 843SUCH DAMAGE. 844 845------------------------------------------------------------------- 846 847Copyright (c) 2009-2013 Steven G. Kargl 848All rights reserved. 849 850Redistribution and use in source and binary forms, with or without 851modification, are permitted provided that the following conditions 852are met: 8531. Redistributions of source code must retain the above copyright 854 notice unmodified, this list of conditions, and the following 855 disclaimer. 8562. Redistributions in binary form must reproduce the above copyright 857 notice, this list of conditions and the following disclaimer in the 858 documentation and/or other materials provided with the distribution. 859 860THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 861IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 862OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 863IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 864INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 865NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 866DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 867THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 868(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 869THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 870 871Optimized by Bruce D. Evans. 872 873------------------------------------------------------------------- 874 875Copyright (c) 2010 The NetBSD Foundation, Inc. 876All rights reserved. 877 878Redistribution and use in source and binary forms, with or without 879modification, are permitted provided that the following conditions 880are met: 8811. Redistributions of source code must retain the above copyright 882 notice, this list of conditions and the following disclaimer. 8832. Redistributions in binary form must reproduce the above copyright 884 notice, this list of conditions and the following disclaimer in the 885 documentation and/or other materials provided with the distribution. 886 887THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 888``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 889TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 890PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 891BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 892CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 893SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 894INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 895CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 896ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 897POSSIBILITY OF SUCH DAMAGE. 898 899------------------------------------------------------------------- 900 901Copyright (c) 2011 David Schultz 902All rights reserved. 903 904Redistribution and use in source and binary forms, with or without 905modification, are permitted provided that the following conditions 906are met: 9071. Redistributions of source code must retain the above copyright 908 notice unmodified, this list of conditions, and the following 909 disclaimer. 9102. Redistributions in binary form must reproduce the above copyright 911 notice, this list of conditions and the following disclaimer in the 912 documentation and/or other materials provided with the distribution. 913 914THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 915IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 916OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 917IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 918INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 919NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 920DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 921THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 922(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 923THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 924 925------------------------------------------------------------------- 926 927Copyright (c) 2011 David Schultz <das@FreeBSD.ORG> 928All rights reserved. 929 930Redistribution and use in source and binary forms, with or without 931modification, are permitted provided that the following conditions 932are met: 9331. Redistributions of source code must retain the above copyright 934 notice, this list of conditions and the following disclaimer. 9352. Redistributions in binary form must reproduce the above copyright 936 notice, this list of conditions and the following disclaimer in the 937 documentation and/or other materials provided with the distribution. 938 939THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 940ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 941IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 942ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 943FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 944DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 945OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 946HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 947LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 948OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 949SUCH DAMAGE. 950 951------------------------------------------------------------------- 952 953Copyright (c) 2012 Stephen Montgomery-Smith <stephen@FreeBSD.ORG> 954All rights reserved. 955 956Redistribution and use in source and binary forms, with or without 957modification, are permitted provided that the following conditions 958are met: 9591. Redistributions of source code must retain the above copyright 960 notice, this list of conditions and the following disclaimer. 9612. Redistributions in binary form must reproduce the above copyright 962 notice, this list of conditions and the following disclaimer in the 963 documentation and/or other materials provided with the distribution. 964 965THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 966ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 967IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 968ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 969FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 970DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 971OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 972HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 973LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 974OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 975SUCH DAMAGE. 976 977------------------------------------------------------------------- 978 979Copyright (c) 2013 David Chisnall 980All rights reserved. 981 982Redistribution and use in source and binary forms, with or without 983modification, are permitted provided that the following conditions 984are met: 9851. Redistributions of source code must retain the above copyright 986 notice, this list of conditions and the following disclaimer. 9872. Redistributions in binary form must reproduce the above copyright 988 notice, this list of conditions and the following disclaimer in the 989 documentation and/or other materials provided with the distribution. 990 991THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 992ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 993IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 994ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 995FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 996DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 997OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 998HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 999LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1000OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1001SUCH DAMAGE. 1002 1003------------------------------------------------------------------- 1004 1005Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved. 1006Johhnny Qiu <joqiu@nvidia.com> 1007Shu Zhang <chazhang@nvidia.com> 1008 1009Redistribution and use in source and binary forms, with or without 1010modification, are permitted provided that the following conditions are 1011met: 1012 * Redistributions of source code must retain the above copyright 1013 notice, this list of conditions and the following disclaimer. 1014 * Redistributions in binary form must reproduce the above 1015 copyright notice, this list of conditions and the following 1016 disclaimer in the documentation and/or other materials provided 1017 with the distribution. 1018 * Neither the name of The Linux Foundation nor the names of its 1019 contributors may be used to endorse or promote products derived 1020 from this software without specific prior written permission. 1021 1022THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 1023WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1024MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 1025ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 1026BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 1027CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 1028SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 1029BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 1030WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 1031OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 1032IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1033 1034------------------------------------------------------------------- 1035 1036Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved. 1037Johnny Qiu <joqiu@nvidia.com> 1038Shu Zhang <chazhang@nvidia.com> 1039 1040Redistribution and use in source and binary forms, with or without 1041modification, are permitted provided that the following conditions are 1042met: 1043 * Redistributions of source code must retain the above copyright 1044 notice, this list of conditions and the following disclaimer. 1045 * Redistributions in binary form must reproduce the above 1046 copyright notice, this list of conditions and the following 1047 disclaimer in the documentation and/or other materials provided 1048 with the distribution. 1049 * Neither the name of The Linux Foundation nor the names of its 1050 contributors may be used to endorse or promote products derived 1051 from this software without specific prior written permission. 1052 1053THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 1054WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1055MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 1056ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 1057BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 1058CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 1059SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 1060BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 1061WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 1062OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 1063IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1064 1065------------------------------------------------------------------- 1066 1067Copyright (c) 2014, Intel Corporation 1068All rights reserved. 1069 1070Redistribution and use in source and binary forms, with or without 1071modification, are permitted provided that the following conditions are met: 1072 1073 * Redistributions of source code must retain the above copyright notice, 1074 * this list of conditions and the following disclaimer. 1075 1076 * Redistributions in binary form must reproduce the above copyright notice, 1077 * this list of conditions and the following disclaimer in the documentation 1078 * and/or other materials provided with the distribution. 1079 1080 * Neither the name of Intel Corporation nor the names of its contributors 1081 * may be used to endorse or promote products derived from this software 1082 * without specific prior written permission. 1083 1084THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 1085ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 1086WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 1087DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 1088ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 1089(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 1090LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 1091ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 1092(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 1093SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1094 1095------------------------------------------------------------------- 1096 1097Copyright 2015, The Android Open Source Project 1098 1099Licensed under the Apache License, Version 2.0 (the "License"); 1100you may not use this file except in compliance with the License. 1101You may obtain a copy of the License at 1102 1103 http://www.apache.org/licenses/LICENSE-2.0 1104 1105Unless required by applicable law or agreed to in writing, software 1106distributed under the License is distributed on an "AS IS" BASIS, 1107WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1108See the License for the specific language governing permissions and 1109limitations under the License. 1110 1111------------------------------------------------------------------- 1112 1113From: @(#)s_ilogb.c 5.1 93/09/24 1114==================================================== 1115Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 1116 1117Developed at SunPro, a Sun Microsystems, Inc. business. 1118Permission to use, copy, modify, and distribute this 1119software is freely granted, provided that this notice 1120is preserved. 1121 1122------------------------------------------------------------------- 1123 1124