| 1 |
#if 0 |
| 2 |
<<'SKIP'; |
| 3 |
#endif |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
|
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
|
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
|
| 340 |
|
| 341 |
|
| 342 |
|
| 343 |
|
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
|
| 353 |
|
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
|
| 363 |
|
| 364 |
|
| 365 |
|
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
|
| 410 |
|
| 411 |
|
| 412 |
|
| 413 |
|
| 414 |
|
| 415 |
|
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
|
| 420 |
|
| 421 |
|
| 422 |
|
| 423 |
|
| 424 |
|
| 425 |
|
| 426 |
|
| 427 |
|
| 428 |
|
| 429 |
|
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
|
| 439 |
|
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
|
| 449 |
|
| 450 |
|
| 451 |
|
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
|
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
|
| 507 |
|
| 508 |
|
| 509 |
|
| 510 |
|
| 511 |
|
| 512 |
|
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
|
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
|
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
|
| 543 |
|
| 544 |
|
| 545 |
|
| 546 |
|
| 547 |
|
| 548 |
|
| 549 |
|
| 550 |
|
| 551 |
|
| 552 |
|
| 553 |
|
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
|
| 560 |
|
| 561 |
|
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
|
| 566 |
|
| 567 |
|
| 568 |
|
| 569 |
|
| 570 |
|
| 571 |
|
| 572 |
|
| 573 |
|
| 574 |
|
| 575 |
|
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
|
| 580 |
|
| 581 |
|
| 582 |
|
| 583 |
|
| 584 |
|
| 585 |
|
| 586 |
|
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
|
| 592 |
|
| 593 |
|
| 594 |
|
| 595 |
|
| 596 |
|
| 597 |
|
| 598 |
|
| 599 |
|
| 600 |
|
| 601 |
|
| 602 |
|
| 603 |
|
| 604 |
|
| 605 |
|
| 606 |
|
| 607 |
|
| 608 |
|
| 609 |
|
| 610 |
|
| 611 |
|
| 612 |
|
| 613 |
|
| 614 |
|
| 615 |
|
| 616 |
|
| 617 |
|
| 618 |
|
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
|
| 628 |
|
| 629 |
|
| 630 |
|
| 631 |
|
| 632 |
|
| 633 |
|
| 634 |
|
| 635 |
|
| 636 |
|
| 637 |
|
| 638 |
|
| 639 |
|
| 640 |
|
| 641 |
|
| 642 |
|
| 643 |
|
| 644 |
|
| 645 |
|
| 646 |
|
| 647 |
|
| 648 |
|
| 649 |
|
| 650 |
|
| 651 |
|
| 652 |
|
| 653 |
|
| 654 |
|
| 655 |
|
| 656 |
|
| 657 |
|
| 658 |
|
| 659 |
|
| 660 |
|
| 661 |
|
| 662 |
|
| 663 |
|
| 664 |
|
| 665 |
|
| 666 |
|
| 667 |
|
| 668 |
|
| 669 |
|
| 670 |
|
| 671 |
|
| 672 |
|
| 673 |
|
| 674 |
|
| 675 |
|
| 676 |
|
| 677 |
|
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
|
| 683 |
|
| 684 |
|
| 685 |
|
| 686 |
|
| 687 |
|
| 688 |
|
| 689 |
|
| 690 |
|
| 691 |
|
| 692 |
|
| 693 |
|
| 694 |
|
| 695 |
|
| 696 |
|
| 697 |
|
| 698 |
|
| 699 |
|
| 700 |
|
| 701 |
|
| 702 |
|
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
|
| 709 |
|
| 710 |
|
| 711 |
|
| 712 |
|
| 713 |
|
| 714 |
|
| 715 |
|
| 716 |
|
| 717 |
|
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
|
| 722 |
|
| 723 |
|
| 724 |
|
| 725 |
|
| 726 |
|
| 727 |
|
| 728 |
|
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
|
| 733 |
|
| 734 |
|
| 735 |
|
| 736 |
|
| 737 |
|
| 738 |
|
| 739 |
|
| 740 |
|
| 741 |
|
| 742 |
|
| 743 |
|
| 744 |
|
| 745 |
|
| 746 |
|
| 747 |
|
| 748 |
|
| 749 |
|
| 750 |
|
| 751 |
|
| 752 |
|
| 753 |
|
| 754 |
|
| 755 |
|
| 756 |
|
| 757 |
|
| 758 |
|
| 759 |
|
| 760 |
|
| 761 |
|
| 762 |
|
| 763 |
|
| 764 |
|
| 765 |
|
| 766 |
|
| 767 |
|
| 768 |
|
| 769 |
|
| 770 |
|
| 771 |
|
| 772 |
|
| 773 |
|
| 774 |
|
| 775 |
|
| 776 |
|
| 777 |
|
| 778 |
|
| 779 |
|
| 780 |
|
| 781 |
|
| 782 |
|
| 783 |
|
| 784 |
|
| 785 |
|
| 786 |
|
| 787 |
|
| 788 |
|
| 789 |
|
| 790 |
|
| 791 |
|
| 792 |
|
| 793 |
|
| 794 |
|
| 795 |
|
| 796 |
|
| 797 |
|
| 798 |
|
| 799 |
|
| 800 |
|
| 801 |
|
| 802 |
|
| 803 |
|
| 804 |
|
| 805 |
|
| 806 |
|
| 807 |
|
| 808 |
|
| 809 |
|
| 810 |
|
| 811 |
|
| 812 |
|
| 813 |
|
| 814 |
|
| 815 |
|
| 816 |
|
| 817 |
|
| 818 |
|
| 819 |
|
| 820 |
|
| 821 |
|
| 822 |
|
| 823 |
|
| 824 |
|
| 825 |
|
| 826 |
|
| 827 |
|
| 828 |
|
| 829 |
|
| 830 |
|
| 831 |
|
| 832 |
|
| 833 |
|
| 834 |
|
| 835 |
|
| 836 |
|
| 837 |
|
| 838 |
|
| 839 |
|
| 840 |
|
| 841 |
|
| 842 |
|
| 843 |
|
| 844 |
|
| 845 |
|
| 846 |
|
| 847 |
|
| 848 |
|
| 849 |
|
| 850 |
|
| 851 |
|
| 852 |
|
| 853 |
|
| 854 |
|
| 855 |
|
| 856 |
|
| 857 |
|
| 858 |
|
| 859 |
|
| 860 |
|
| 861 |
|
| 862 |
|
| 863 |
|
| 864 |
|
| 865 |
|
| 866 |
|
| 867 |
|
| 868 |
|
| 869 |
|
| 870 |
|
| 871 |
|
| 872 |
|
| 873 |
|
| 874 |
|
| 875 |
|
| 876 |
|
| 877 |
|
| 878 |
|
| 879 |
|
| 880 |
|
| 881 |
|
| 882 |
|
| 883 |
|
| 884 |
|
| 885 |
|
| 886 |
|
| 887 |
|
| 888 |
|
| 889 |
|
| 890 |
|
| 891 |
|
| 892 |
|
| 893 |
|
| 894 |
|
| 895 |
|
| 896 |
|
| 897 |
|
| 898 |
|
| 899 |
|
| 900 |
|
| 901 |
|
| 902 |
|
| 903 |
|
| 904 |
|
| 905 |
|
| 906 |
|
| 907 |
|
| 908 |
|
| 909 |
|
| 910 |
|
| 911 |
|
| 912 |
|
| 913 |
|
| 914 |
|
| 915 |
|
| 916 |
|
| 917 |
|
| 918 |
|
| 919 |
|
| 920 |
|
| 921 |
|
| 922 |
|
| 923 |
|
| 924 |
|
| 925 |
|
| 926 |
|
| 927 |
|
| 928 |
|
| 929 |
|
| 930 |
|
| 931 |
|
| 932 |
|
| 933 |
|
| 934 |
|
| 935 |
|
| 936 |
|
| 937 |
|
| 938 |
|
| 939 |
|
| 940 |
|
| 941 |
|
| 942 |
|
| 943 |
|
| 944 |
|
| 945 |
|
| 946 |
|
| 947 |
|
| 948 |
|
| 949 |
|
| 950 |
|
| 951 |
|
| 952 |
|
| 953 |
|
| 954 |
|
| 955 |
|
| 956 |
|
| 957 |
|
| 958 |
|
| 959 |
|
| 960 |
|
| 961 |
|
| 962 |
|
| 963 |
|
| 964 |
|
| 965 |
|
| 966 |
|
| 967 |
|
| 968 |
|
| 969 |
|
| 970 |
|
| 971 |
|
| 972 |
|
| 973 |
|
| 974 |
|
| 975 |
|
| 976 |
|
| 977 |
|
| 978 |
|
| 979 |
|
| 980 |
|
| 981 |
|
| 982 |
|
| 983 |
|
| 984 |
|
| 985 |
|
| 986 |
|
| 987 |
|
| 988 |
|
| 989 |
|
| 990 |
|
| 991 |
|
| 992 |
|
| 993 |
|
| 994 |
|
| 995 |
|
| 996 |
|
| 997 |
|
| 998 |
|
| 999 |
|
| 1000 |
|
| 1001 |
|
| 1002 |
|
| 1003 |
|
| 1004 |
|
| 1005 |
|
| 1006 |
|
| 1007 |
|
| 1008 |
|
| 1009 |
|
| 1010 |
|
| 1011 |
|
| 1012 |
|
| 1013 |
|
| 1014 |
|
| 1015 |
|
| 1016 |
|
| 1017 |
|
| 1018 |
|
| 1019 |
|
| 1020 |
|
| 1021 |
|
| 1022 |
|
| 1023 |
|
| 1024 |
|
| 1025 |
|
| 1026 |
|
| 1027 |
|
| 1028 |
|
| 1029 |
|
| 1030 |
|
| 1031 |
|
| 1032 |
|
| 1033 |
|
| 1034 |
|
| 1035 |
|
| 1036 |
|
| 1037 |
|
| 1038 |
|
| 1039 |
|
| 1040 |
|
| 1041 |
|
| 1042 |
|
| 1043 |
|
| 1044 |
|
| 1045 |
|
| 1046 |
|
| 1047 |
|
| 1048 |
|
| 1049 |
|
| 1050 |
|
| 1051 |
|
| 1052 |
|
| 1053 |
|
| 1054 |
|
| 1055 |
|
| 1056 |
|
| 1057 |
|
| 1058 |
|
| 1059 |
|
| 1060 |
|
| 1061 |
|
| 1062 |
|
| 1063 |
|
| 1064 |
|
| 1065 |
|
| 1066 |
|
| 1067 |
|
| 1068 |
|
| 1069 |
|
| 1070 |
|
| 1071 |
|
| 1072 |
|
| 1073 |
|
| 1074 |
|
| 1075 |
|
| 1076 |
|
| 1077 |
|
| 1078 |
|
| 1079 |
|
| 1080 |
|
| 1081 |
|
| 1082 |
|
| 1083 |
|
| 1084 |
|
| 1085 |
|
| 1086 |
|
| 1087 |
|
| 1088 |
|
| 1089 |
|
| 1090 |
|
| 1091 |
|
| 1092 |
|
| 1093 |
|
| 1094 |
|
| 1095 |
|
| 1096 |
|
| 1097 |
|
| 1098 |
|
| 1099 |
|
| 1100 |
|
| 1101 |
|
| 1102 |
|
| 1103 |
|
| 1104 |
|
| 1105 |
|
| 1106 |
|
| 1107 |
|
| 1108 |
|
| 1109 |
|
| 1110 |
|
| 1111 |
|
| 1112 |
|
| 1113 |
|
| 1114 |
|
| 1115 |
|
| 1116 |
|
| 1117 |
|
| 1118 |
|
| 1119 |
|
| 1120 |
|
| 1121 |
|
| 1122 |
|
| 1123 |
|
| 1124 |
|
| 1125 |
|
| 1126 |
|
| 1127 |
|
| 1128 |
|
| 1129 |
|
| 1130 |
|
| 1131 |
|
| 1132 |
|
| 1133 |
|
| 1134 |
|
| 1135 |
|
| 1136 |
|
| 1137 |
|
| 1138 |
|
| 1139 |
|
| 1140 |
|
| 1141 |
|
| 1142 |
|
| 1143 |
|
| 1144 |
|
| 1145 |
|
| 1146 |
|
| 1147 |
|
| 1148 |
|
| 1149 |
|
| 1150 |
|
| 1151 |
|
| 1152 |
|
| 1153 |
|
| 1154 |
|
| 1155 |
|
| 1156 |
|
| 1157 |
|
| 1158 |
|
| 1159 |
|
| 1160 |
|
| 1161 |
|
| 1162 |
|
| 1163 |
|
| 1164 |
|
| 1165 |
|
| 1166 |
|
| 1167 |
|
| 1168 |
|
| 1169 |
|
| 1170 |
|
| 1171 |
|
| 1172 |
|
| 1173 |
|
| 1174 |
|
| 1175 |
|
| 1176 |
|
| 1177 |
|
| 1178 |
|
| 1179 |
|
| 1180 |
|
| 1181 |
|
| 1182 |
|
| 1183 |
|
| 1184 |
|
| 1185 |
|
| 1186 |
|
| 1187 |
|
| 1188 |
|
| 1189 |
|
| 1190 |
|
| 1191 |
|
| 1192 |
|
| 1193 |
|
| 1194 |
|
| 1195 |
|
| 1196 |
|
| 1197 |
|
| 1198 |
|
| 1199 |
|
| 1200 |
|
| 1201 |
|
| 1202 |
|
| 1203 |
|
| 1204 |
|
| 1205 |
|
| 1206 |
|
| 1207 |
|
| 1208 |
|
| 1209 |
|
| 1210 |
|
| 1211 |
|
| 1212 |
|
| 1213 |
|
| 1214 |
|
| 1215 |
|
| 1216 |
|
| 1217 |
|
| 1218 |
|
| 1219 |
|
| 1220 |
|
| 1221 |
|
| 1222 |
|
| 1223 |
|
| 1224 |
|
| 1225 |
|
| 1226 |
|
| 1227 |
|
| 1228 |
|
| 1229 |
|
| 1230 |
|
| 1231 |
|
| 1232 |
|
| 1233 |
|
| 1234 |
|
| 1235 |
|
| 1236 |
|
| 1237 |
|
| 1238 |
|
| 1239 |
|
| 1240 |
|
| 1241 |
|
| 1242 |
|
| 1243 |
|
| 1244 |
|
| 1245 |
|
| 1246 |
|
| 1247 |
|
| 1248 |
|
| 1249 |
|
| 1250 |
|
| 1251 |
|
| 1252 |
|
| 1253 |
|
| 1254 |
|
| 1255 |
|
| 1256 |
|
| 1257 |
|
| 1258 |
|
| 1259 |
|
| 1260 |
|
| 1261 |
|
| 1262 |
|
| 1263 |
|
| 1264 |
|
| 1265 |
|
| 1266 |
|
| 1267 |
|
| 1268 |
|
| 1269 |
|
| 1270 |
|
| 1271 |
|
| 1272 |
|
| 1273 |
|
| 1274 |
|
| 1275 |
|
| 1276 |
|
| 1277 |
|
| 1278 |
|
| 1279 |
|
| 1280 |
|
| 1281 |
|
| 1282 |
|
| 1283 |
|
| 1284 |
|
| 1285 |
|
| 1286 |
|
| 1287 |
|
| 1288 |
|
| 1289 |
|
| 1290 |
|
| 1291 |
|
| 1292 |
|
| 1293 |
|
| 1294 |
|
| 1295 |
|
| 1296 |
|
| 1297 |
|
| 1298 |
|
| 1299 |
|
| 1300 |
|
| 1301 |
|
| 1302 |
|
| 1303 |
|
| 1304 |
|
| 1305 |
|
| 1306 |
|
| 1307 |
|
| 1308 |
|
| 1309 |
|
| 1310 |
|
| 1311 |
|
| 1312 |
|
| 1313 |
|
| 1314 |
|
| 1315 |
|
| 1316 |
|
| 1317 |
|
| 1318 |
|
| 1319 |
|
| 1320 |
|
| 1321 |
|
| 1322 |
|
| 1323 |
|
| 1324 |
|
| 1325 |
|
| 1326 |
|
| 1327 |
|
| 1328 |
|
| 1329 |
|
| 1330 |
|
| 1331 |
|
| 1332 |
|
| 1333 |
|
| 1334 |
|
| 1335 |
|
| 1336 |
|
| 1337 |
|
| 1338 |
|
| 1339 |
|
| 1340 |
|
| 1341 |
|
| 1342 |
|
| 1343 |
|
| 1344 |
|
| 1345 |
|
| 1346 |
|
| 1347 |
|
| 1348 |
|
| 1349 |
|
| 1350 |
|
| 1351 |
|
| 1352 |
|
| 1353 |
|
| 1354 |
|
| 1355 |
|
| 1356 |
|
| 1357 |
|
| 1358 |
|
| 1359 |
|
| 1360 |
|
| 1361 |
|
| 1362 |
|
| 1363 |
|
| 1364 |
|
| 1365 |
|
| 1366 |
|
| 1367 |
|
| 1368 |
|
| 1369 |
|
| 1370 |
|
| 1371 |
|
| 1372 |
|
| 1373 |
|
| 1374 |
|
| 1375 |
|
| 1376 |
|
| 1377 |
|
| 1378 |
|
| 1379 |
|
| 1380 |
|
| 1381 |
|
| 1382 |
|
| 1383 |
|
| 1384 |
|
| 1385 |
|
| 1386 |
|
| 1387 |
|
| 1388 |
|
| 1389 |
|
| 1390 |
|
| 1391 |
|
| 1392 |
|
| 1393 |
|
| 1394 |
|
| 1395 |
|
| 1396 |
|
| 1397 |
|
| 1398 |
|
| 1399 |
|
| 1400 |
|
| 1401 |
|
| 1402 |
|
| 1403 |
|
| 1404 |
|
| 1405 |
|
| 1406 |
|
| 1407 |
|
| 1408 |
|
| 1409 |
|
| 1410 |
|
| 1411 |
|
| 1412 |
|
| 1413 |
|
| 1414 |
|
| 1415 |
|
| 1416 |
|
| 1417 |
|
| 1418 |
|
| 1419 |
|
| 1420 |
|
| 1421 |
|
| 1422 |
|
| 1423 |
|
| 1424 |
|
| 1425 |
|
| 1426 |
|
| 1427 |
|
| 1428 |
|
| 1429 |
|
| 1430 |
|
| 1431 |
|
| 1432 |
|
| 1433 |
|
| 1434 |
|
| 1435 |
|
| 1436 |
|
| 1437 |
|
| 1438 |
|
| 1439 |
|
| 1440 |
|
| 1441 |
|
| 1442 |
|
| 1443 |
|
| 1444 |
|
| 1445 |
|
| 1446 |
|
| 1447 |
|
| 1448 |
|
| 1449 |
|
| 1450 |
|
| 1451 |
|
| 1452 |
|
| 1453 |
|
| 1454 |
|
| 1455 |
|
| 1456 |
|
| 1457 |
|
| 1458 |
|
| 1459 |
|
| 1460 |
|
| 1461 |
|
| 1462 |
|
| 1463 |
|
| 1464 |
|
| 1465 |
|
| 1466 |
|
| 1467 |
|
| 1468 |
|
| 1469 |
|
| 1470 |
|
| 1471 |
|
| 1472 |
|
| 1473 |
|
| 1474 |
|
| 1475 |
|
| 1476 |
|
| 1477 |
|
| 1478 |
|
| 1479 |
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
|
| 1484 |
|
| 1485 |
|
| 1486 |
|
| 1487 |
|
| 1488 |
|
| 1489 |
|
| 1490 |
|
| 1491 |
|
| 1492 |
|
| 1493 |
|
| 1494 |
|
| 1495 |
|
| 1496 |
|
| 1497 |
|
| 1498 |
|
| 1499 |
|
| 1500 |
|
| 1501 |
|
| 1502 |
|
| 1503 |
|
| 1504 |
|
| 1505 |
|
| 1506 |
|
| 1507 |
|
| 1508 |
|
| 1509 |
|
| 1510 |
|
| 1511 |
|
| 1512 |
|
| 1513 |
|
| 1514 |
|
| 1515 |
|
| 1516 |
|
| 1517 |
|
| 1518 |
|
| 1519 |
|
| 1520 |
|
| 1521 |
|
| 1522 |
|
| 1523 |
|
| 1524 |
|
| 1525 |
|
| 1526 |
|
| 1527 |
|
| 1528 |
|
| 1529 |
|
| 1530 |
|
| 1531 |
|
| 1532 |
|
| 1533 |
|
| 1534 |
|
| 1535 |
|
| 1536 |
|
| 1537 |
|
| 1538 |
|
| 1539 |
|
| 1540 |
|
| 1541 |
|
| 1542 |
|
| 1543 |
|
| 1544 |
|
| 1545 |
|
| 1546 |
|
| 1547 |
|
| 1548 |
|
| 1549 |
|
| 1550 |
|
| 1551 |
|
| 1552 |
|
| 1553 |
|
| 1554 |
|
| 1555 |
|
| 1556 |
|
| 1557 |
|
| 1558 |
|
| 1559 |
|
| 1560 |
|
| 1561 |
|
| 1562 |
|
| 1563 |
|
| 1564 |
|
| 1565 |
|
| 1566 |
|
| 1567 |
|
| 1568 |
|
| 1569 |
|
| 1570 |
|
| 1571 |
|
| 1572 |
|
| 1573 |
|
| 1574 |
|
| 1575 |
|
| 1576 |
|
| 1577 |
|
| 1578 |
|
| 1579 |
|
| 1580 |
|
| 1581 |
|
| 1582 |
|
| 1583 |
|
| 1584 |
|
| 1585 |
|
| 1586 |
|
| 1587 |
|
| 1588 |
|
| 1589 |
|
| 1590 |
|
| 1591 |
|
| 1592 |
|
| 1593 |
|
| 1594 |
|
| 1595 |
|
| 1596 |
|
| 1597 |
|
| 1598 |
|
| 1599 |
|
| 1600 |
|
| 1601 |
|
| 1602 |
|
| 1603 |
|
| 1604 |
|
| 1605 |
|
| 1606 |
|
| 1607 |
|
| 1608 |
|
| 1609 |
|
| 1610 |
|
| 1611 |
|
| 1612 |
|
| 1613 |
|
| 1614 |
|
| 1615 |
|
| 1616 |
|
| 1617 |
|
| 1618 |
|
| 1619 |
|
| 1620 |
|
| 1621 |
|
| 1622 |
|
| 1623 |
|
| 1624 |
|
| 1625 |
|
| 1626 |
|
| 1627 |
|
| 1628 |
|
| 1629 |
|
| 1630 |
|
| 1631 |
|
| 1632 |
|
| 1633 |
|
| 1634 |
|
| 1635 |
|
| 1636 |
|
| 1637 |
|
| 1638 |
|
| 1639 |
|
| 1640 |
|
| 1641 |
|
| 1642 |
|
| 1643 |
|
| 1644 |
|
| 1645 |
|
| 1646 |
|
| 1647 |
|
| 1648 |
|
| 1649 |
|
| 1650 |
|
| 1651 |
|
| 1652 |
|
| 1653 |
|
| 1654 |
|
| 1655 |
|
| 1656 |
|
| 1657 |
|
| 1658 |
|
| 1659 |
|
| 1660 |
|
| 1661 |
|
| 1662 |
|
| 1663 |
|
| 1664 |
|
| 1665 |
|
| 1666 |
|
| 1667 |
|
| 1668 |
|
| 1669 |
|
| 1670 |
|
| 1671 |
|
| 1672 |
|
| 1673 |
|
| 1674 |
|
| 1675 |
|
| 1676 |
|
| 1677 |
|
| 1678 |
|
| 1679 |
|
| 1680 |
|
| 1681 |
|
| 1682 |
|
| 1683 |
|
| 1684 |
|
| 1685 |
|
| 1686 |
|
| 1687 |
|
| 1688 |
|
| 1689 |
|
| 1690 |
|
| 1691 |
|
| 1692 |
|
| 1693 |
|
| 1694 |
|
| 1695 |
|
| 1696 |
|
| 1697 |
|
| 1698 |
|
| 1699 |
|
| 1700 |
|
| 1701 |
|
| 1702 |
|
| 1703 |
|
| 1704 |
|
| 1705 |
|
| 1706 |
|
| 1707 |
|
| 1708 |
|
| 1709 |
|
| 1710 |
|
| 1711 |
|
| 1712 |
|
| 1713 |
|
| 1714 |
|
| 1715 |
|
| 1716 |
|
| 1717 |
|
| 1718 |
|
| 1719 |
|
| 1720 |
|
| 1721 |
|
| 1722 |
|
| 1723 |
|
| 1724 |
|
| 1725 |
|
| 1726 |
|
| 1727 |
|
| 1728 |
|
| 1729 |
|
| 1730 |
|
| 1731 |
|
| 1732 |
|
| 1733 |
|
| 1734 |
|
| 1735 |
|
| 1736 |
|
| 1737 |
|
| 1738 |
|
| 1739 |
|
| 1740 |
|
| 1741 |
|
| 1742 |
|
| 1743 |
|
| 1744 |
|
| 1745 |
|
| 1746 |
|
| 1747 |
|
| 1748 |
|
| 1749 |
|
| 1750 |
|
| 1751 |
|
| 1752 |
|
| 1753 |
|
| 1754 |
|
| 1755 |
|
| 1756 |
|
| 1757 |
|
| 1758 |
|
| 1759 |
|
| 1760 |
|
| 1761 |
|
| 1762 |
|
| 1763 |
|
| 1764 |
|
| 1765 |
|
| 1766 |
|
| 1767 |
|
| 1768 |
|
| 1769 |
|
| 1770 |
|
| 1771 |
|
| 1772 |
|
| 1773 |
|
| 1774 |
|
| 1775 |
|
| 1776 |
|
| 1777 |
|
| 1778 |
|
| 1779 |
|
| 1780 |
|
| 1781 |
|
| 1782 |
|
| 1783 |
|
| 1784 |
|
| 1785 |
|
| 1786 |
|
| 1787 |
|
| 1788 |
|
| 1789 |
|
| 1790 |
|
| 1791 |
|
| 1792 |
|
| 1793 |
|
| 1794 |
|
| 1795 |
|
| 1796 |
|
| 1797 |
|
| 1798 |
|
| 1799 |
|
| 1800 |
|
| 1801 |
|
| 1802 |
|
| 1803 |
|
| 1804 |
|
| 1805 |
|
| 1806 |
|
| 1807 |
|
| 1808 |
|
| 1809 |
|
| 1810 |
|
| 1811 |
|
| 1812 |
|
| 1813 |
|
| 1814 |
|
| 1815 |
|
| 1816 |
|
| 1817 |
|
| 1818 |
|
| 1819 |
|
| 1820 |
|
| 1821 |
|
| 1822 |
|
| 1823 |
|
| 1824 |
|
| 1825 |
|
| 1826 |
|
| 1827 |
|
| 1828 |
|
| 1829 |
|
| 1830 |
|
| 1831 |
|
| 1832 |
|
| 1833 |
|
| 1834 |
|
| 1835 |
|
| 1836 |
|
| 1837 |
|
| 1838 |
|
| 1839 |
|
| 1840 |
|
| 1841 |
|
| 1842 |
|
| 1843 |
|
| 1844 |
|
| 1845 |
|
| 1846 |
|
| 1847 |
|
| 1848 |
|
| 1849 |
|
| 1850 |
|
| 1851 |
|
| 1852 |
|
| 1853 |
|
| 1854 |
|
| 1855 |
|
| 1856 |
|
| 1857 |
|
| 1858 |
|
| 1859 |
|
| 1860 |
|
| 1861 |
|
| 1862 |
|
| 1863 |
|
| 1864 |
|
| 1865 |
|
| 1866 |
|
| 1867 |
|
| 1868 |
|
| 1869 |
|
| 1870 |
|
| 1871 |
|
| 1872 |
|
| 1873 |
|
| 1874 |
|
| 1875 |
|
| 1876 |
|
| 1877 |
|
| 1878 |
|
| 1879 |
|
| 1880 |
|
| 1881 |
|
| 1882 |
|
| 1883 |
|
| 1884 |
|
| 1885 |
|
| 1886 |
|
| 1887 |
|
| 1888 |
|
| 1889 |
|
| 1890 |
|
| 1891 |
|
| 1892 |
|
| 1893 |
|
| 1894 |
|
| 1895 |
|
| 1896 |
|
| 1897 |
|
| 1898 |
|
| 1899 |
|
| 1900 |
|
| 1901 |
|
| 1902 |
|
| 1903 |
|
| 1904 |
|
| 1905 |
|
| 1906 |
|
| 1907 |
|
| 1908 |
|
| 1909 |
|
| 1910 |
|
| 1911 |
|
| 1912 |
|
| 1913 |
|
| 1914 |
|
| 1915 |
|
| 1916 |
|
| 1917 |
|
| 1918 |
|
| 1919 |
|
| 1920 |
|
| 1921 |
|
| 1922 |
|
| 1923 |
|
| 1924 |
|
| 1925 |
|
| 1926 |
|
| 1927 |
|
| 1928 |
|
| 1929 |
|
| 1930 |
|
| 1931 |
|
| 1932 |
|
| 1933 |
|
| 1934 |
|
| 1935 |
|
| 1936 |
|
| 1937 |
|
| 1938 |
|
| 1939 |
|
| 1940 |
|
| 1941 |
|
| 1942 |
|
| 1943 |
|
| 1944 |
|
| 1945 |
|
| 1946 |
|
| 1947 |
|
| 1948 |
|
| 1949 |
|
| 1950 |
|
| 1951 |
|
| 1952 |
|
| 1953 |
|
| 1954 |
|
| 1955 |
|
| 1956 |
|
| 1957 |
|
| 1958 |
|
| 1959 |
|
| 1960 |
|
| 1961 |
|
| 1962 |
|
| 1963 |
|
| 1964 |
|
| 1965 |
|
| 1966 |
|
| 1967 |
|
| 1968 |
|
| 1969 |
|
| 1970 |
|
| 1971 |
|
| 1972 |
|
| 1973 |
|
| 1974 |
|
| 1975 |
|
| 1976 |
|
| 1977 |
|
| 1978 |
|
| 1979 |
|
| 1980 |
|
| 1981 |
|
| 1982 |
|
| 1983 |
|
| 1984 |
|
| 1985 |
|
| 1986 |
|
| 1987 |
|
| 1988 |
|
| 1989 |
|
| 1990 |
|
| 1991 |
|
| 1992 |
|
| 1993 |
|
| 1994 |
|
| 1995 |
|
| 1996 |
|
| 1997 |
|
| 1998 |
|
| 1999 |
|
| 2000 |
|
| 2001 |
|
| 2002 |
|
| 2003 |
|
| 2004 |
|
| 2005 |
|
| 2006 |
|
| 2007 |
|
| 2008 |
|
| 2009 |
|
| 2010 |
|
| 2011 |
|
| 2012 |
|
| 2013 |
|
| 2014 |
|
| 2015 |
|
| 2016 |
|
| 2017 |
|
| 2018 |
|
| 2019 |
|
| 2020 |
|
| 2021 |
|
| 2022 |
|
| 2023 |
|
| 2024 |
|
| 2025 |
|
| 2026 |
|
| 2027 |
|
| 2028 |
|
| 2029 |
|
| 2030 |
|
| 2031 |
|
| 2032 |
|
| 2033 |
|
| 2034 |
|
| 2035 |
|
| 2036 |
|
| 2037 |
|
| 2038 |
|
| 2039 |
|
| 2040 |
|
| 2041 |
|
| 2042 |
|
| 2043 |
|
| 2044 |
|
| 2045 |
|
| 2046 |
|
| 2047 |
|
| 2048 |
|
| 2049 |
|
| 2050 |
|
| 2051 |
|
| 2052 |
|
| 2053 |
|
| 2054 |
|
| 2055 |
|
| 2056 |
|
| 2057 |
|
| 2058 |
|
| 2059 |
|
| 2060 |
|
| 2061 |
|
| 2062 |
|
| 2063 |
|
| 2064 |
|
| 2065 |
|
| 2066 |
|
| 2067 |
|
| 2068 |
|
| 2069 |
|
| 2070 |
|
| 2071 |
|
| 2072 |
|
| 2073 |
|
| 2074 |
|
| 2075 |
|
| 2076 |
|
| 2077 |
|
| 2078 |
|
| 2079 |
|
| 2080 |
|
| 2081 |
|
| 2082 |
|
| 2083 |
|
| 2084 |
|
| 2085 |
|
| 2086 |
|
| 2087 |
|
| 2088 |
|
| 2089 |
|
| 2090 |
|
| 2091 |
|
| 2092 |
|
| 2093 |
|
| 2094 |
|
| 2095 |
|
| 2096 |
|
| 2097 |
|
| 2098 |
|
| 2099 |
|
| 2100 |
|
| 2101 |
|
| 2102 |
|
| 2103 |
|
| 2104 |
|
| 2105 |
|
| 2106 |
|
| 2107 |
|
| 2108 |
|
| 2109 |
|
| 2110 |
|
| 2111 |
|
| 2112 |
|
| 2113 |
|
| 2114 |
|
| 2115 |
|
| 2116 |
|
| 2117 |
|
| 2118 |
|
| 2119 |
|
| 2120 |
|
| 2121 |
|
| 2122 |
|
| 2123 |
|
| 2124 |
|
| 2125 |
|
| 2126 |
|
| 2127 |
|
| 2128 |
|
| 2129 |
|
| 2130 |
|
| 2131 |
|
| 2132 |
|
| 2133 |
|
| 2134 |
|
| 2135 |
|
| 2136 |
|
| 2137 |
|
| 2138 |
|
| 2139 |
|
| 2140 |
|
| 2141 |
|
| 2142 |
|
| 2143 |
|
| 2144 |
|
| 2145 |
|
| 2146 |
|
| 2147 |
|
| 2148 |
|
| 2149 |
|
| 2150 |
|
| 2151 |
|
| 2152 |
|
| 2153 |
|
| 2154 |
|
| 2155 |
|
| 2156 |
|
| 2157 |
|
| 2158 |
|
| 2159 |
|
| 2160 |
|
| 2161 |
|
| 2162 |
|
| 2163 |
|
| 2164 |
|
| 2165 |
|
| 2166 |
|
| 2167 |
|
| 2168 |
|
| 2169 |
|
| 2170 |
|
| 2171 |
|
| 2172 |
|
| 2173 |
|
| 2174 |
|
| 2175 |
|
| 2176 |
|
| 2177 |
|
| 2178 |
|
| 2179 |
|
| 2180 |
|
| 2181 |
|
| 2182 |
|
| 2183 |
|
| 2184 |
|
| 2185 |
|
| 2186 |
|
| 2187 |
|
| 2188 |
|
| 2189 |
|
| 2190 |
|
| 2191 |
|
| 2192 |
|
| 2193 |
|
| 2194 |
|
| 2195 |
|
| 2196 |
|
| 2197 |
|
| 2198 |
|
| 2199 |
|
| 2200 |
|
| 2201 |
|
| 2202 |
|
| 2203 |
|
| 2204 |
|
| 2205 |
|
| 2206 |
|
| 2207 |
|
| 2208 |
|
| 2209 |
|
| 2210 |
|
| 2211 |
|
| 2212 |
|
| 2213 |
|
| 2214 |
|
| 2215 |
|
| 2216 |
|
| 2217 |
|
| 2218 |
|
| 2219 |
|
| 2220 |
|
| 2221 |
|
| 2222 |
|
| 2223 |
|
| 2224 |
|
| 2225 |
|
| 2226 |
|
| 2227 |
|
| 2228 |
|
| 2229 |
|
| 2230 |
|
| 2231 |
|
| 2232 |
|
| 2233 |
|
| 2234 |
|
| 2235 |
|
| 2236 |
|
| 2237 |
|
| 2238 |
|
| 2239 |
|
| 2240 |
|
| 2241 |
|
| 2242 |
|
| 2243 |
|
| 2244 |
|
| 2245 |
|
| 2246 |
|
| 2247 |
|
| 2248 |
|
| 2249 |
|
| 2250 |
|
| 2251 |
|
| 2252 |
|
| 2253 |
|
| 2254 |
|
| 2255 |
|
| 2256 |
|
| 2257 |
|
| 2258 |
|
| 2259 |
|
| 2260 |
|
| 2261 |
|
| 2262 |
|
| 2263 |
|
| 2264 |
|
| 2265 |
|
| 2266 |
|
| 2267 |
|
| 2268 |
|
| 2269 |
|
| 2270 |
|
| 2271 |
|
| 2272 |
|
| 2273 |
|
| 2274 |
|
| 2275 |
|
| 2276 |
|
| 2277 |
|
| 2278 |
|
| 2279 |
|
| 2280 |
|
| 2281 |
|
| 2282 |
|
| 2283 |
|
| 2284 |
|
| 2285 |
|
| 2286 |
|
| 2287 |
|
| 2288 |
|
| 2289 |
|
| 2290 |
|
| 2291 |
|
| 2292 |
|
| 2293 |
|
| 2294 |
|
| 2295 |
|
| 2296 |
|
| 2297 |
|
| 2298 |
|
| 2299 |
|
| 2300 |
|
| 2301 |
|
| 2302 |
|
| 2303 |
|
| 2304 |
|
| 2305 |
|
| 2306 |
|
| 2307 |
|
| 2308 |
|
| 2309 |
|
| 2310 |
|
| 2311 |
|
| 2312 |
|
| 2313 |
|
| 2314 |
|
| 2315 |
|
| 2316 |
|
| 2317 |
|
| 2318 |
|
| 2319 |
|
| 2320 |
|
| 2321 |
|
| 2322 |
|
| 2323 |
|
| 2324 |
|
| 2325 |
|
| 2326 |
|
| 2327 |
|
| 2328 |
|
| 2329 |
|
| 2330 |
|
| 2331 |
|
| 2332 |
|
| 2333 |
|
| 2334 |
|
| 2335 |
|
| 2336 |
|
| 2337 |
|
| 2338 |
|
| 2339 |
|
| 2340 |
|
| 2341 |
|
| 2342 |
|
| 2343 |
|
| 2344 |
|
| 2345 |
|
| 2346 |
|
| 2347 |
|
| 2348 |
|
| 2349 |
|
| 2350 |
|
| 2351 |
|
| 2352 |
|
| 2353 |
|
| 2354 |
|
| 2355 |
|
| 2356 |
|
| 2357 |
|
| 2358 |
|
| 2359 |
|
| 2360 |
|
| 2361 |
|
| 2362 |
|
| 2363 |
|
| 2364 |
|
| 2365 |
|
| 2366 |
|
| 2367 |
|
| 2368 |
|
| 2369 |
|
| 2370 |
|
| 2371 |
|
| 2372 |
|
| 2373 |
|
| 2374 |
|
| 2375 |
|
| 2376 |
|
| 2377 |
|
| 2378 |
|
| 2379 |
|
| 2380 |
|
| 2381 |
|
| 2382 |
|
| 2383 |
|
| 2384 |
|
| 2385 |
|
| 2386 |
|
| 2387 |
|
| 2388 |
|
| 2389 |
|
| 2390 |
|
| 2391 |
|
| 2392 |
|
| 2393 |
|
| 2394 |
|
| 2395 |
|
| 2396 |
|
| 2397 |
|
| 2398 |
|
| 2399 |
|
| 2400 |
|
| 2401 |
|
| 2402 |
|
| 2403 |
|
| 2404 |
|
| 2405 |
|
| 2406 |
|
| 2407 |
|
| 2408 |
|
| 2409 |
|
| 2410 |
|
| 2411 |
|
| 2412 |
|
| 2413 |
|
| 2414 |
|
| 2415 |
|
| 2416 |
|
| 2417 |
|
| 2418 |
|
| 2419 |
|
| 2420 |
|
| 2421 |
|
| 2422 |
|
| 2423 |
|
| 2424 |
|
| 2425 |
|
| 2426 |
|
| 2427 |
|
| 2428 |
|
| 2429 |
|
| 2430 |
|
| 2431 |
|
| 2432 |
|
| 2433 |
|
| 2434 |
|
| 2435 |
|
| 2436 |
|
| 2437 |
|
| 2438 |
|
| 2439 |
|
| 2440 |
|
| 2441 |
|
| 2442 |
|
| 2443 |
|
| 2444 |
|
| 2445 |
|
| 2446 |
|
| 2447 |
|
| 2448 |
|
| 2449 |
|
| 2450 |
|
| 2451 |
|
| 2452 |
|
| 2453 |
|
| 2454 |
|
| 2455 |
|
| 2456 |
|
| 2457 |
|
| 2458 |
|
| 2459 |
|
| 2460 |
|
| 2461 |
|
| 2462 |
|
| 2463 |
|
| 2464 |
|
| 2465 |
|
| 2466 |
|
| 2467 |
|
| 2468 |
|
| 2469 |
|
| 2470 |
|
| 2471 |
|
| 2472 |
|
| 2473 |
|
| 2474 |
|
| 2475 |
|
| 2476 |
|
| 2477 |
|
| 2478 |
|
| 2479 |
|
| 2480 |
|
| 2481 |
|
| 2482 |
|
| 2483 |
|
| 2484 |
|
| 2485 |
|
| 2486 |
|
| 2487 |
|
| 2488 |
|
| 2489 |
|
| 2490 |
|
| 2491 |
|
| 2492 |
|
| 2493 |
|
| 2494 |
|
| 2495 |
|
| 2496 |
|
| 2497 |
|
| 2498 |
|
| 2499 |
|
| 2500 |
|
| 2501 |
|
| 2502 |
|
| 2503 |
|
| 2504 |
|
| 2505 |
|
| 2506 |
|
| 2507 |
|
| 2508 |
|
| 2509 |
|
| 2510 |
|
| 2511 |
|
| 2512 |
|
| 2513 |
|
| 2514 |
|
| 2515 |
|
| 2516 |
|
| 2517 |
|
| 2518 |
|
| 2519 |
|
| 2520 |
|
| 2521 |
|
| 2522 |
|
| 2523 |
|
| 2524 |
|
| 2525 |
|
| 2526 |
|
| 2527 |
|
| 2528 |
|
| 2529 |
|
| 2530 |
|
| 2531 |
|
| 2532 |
|
| 2533 |
|
| 2534 |
|
| 2535 |
|
| 2536 |
|
| 2537 |
|
| 2538 |
|
| 2539 |
|
| 2540 |
|
| 2541 |
|
| 2542 |
|
| 2543 |
|
| 2544 |
|
| 2545 |
|
| 2546 |
|
| 2547 |
|
| 2548 |
|
| 2549 |
|
| 2550 |
|
| 2551 |
|
| 2552 |
|
| 2553 |
|
| 2554 |
|
| 2555 |
|
| 2556 |
|
| 2557 |
|
| 2558 |
|
| 2559 |
|
| 2560 |
|
| 2561 |
|
| 2562 |
|
| 2563 |
|
| 2564 |
|
| 2565 |
|
| 2566 |
|
| 2567 |
|
| 2568 |
|
| 2569 |
|
| 2570 |
|
| 2571 |
|
| 2572 |
|
| 2573 |
|
| 2574 |
|
| 2575 |
|
| 2576 |
|
| 2577 |
|
| 2578 |
|
| 2579 |
|
| 2580 |
|
| 2581 |
|
| 2582 |
|
| 2583 |
|
| 2584 |
|
| 2585 |
|
| 2586 |
|
| 2587 |
|
| 2588 |
|
| 2589 |
|
| 2590 |
|
| 2591 |
|
| 2592 |
|
| 2593 |
|
| 2594 |
|
| 2595 |
|
| 2596 |
|
| 2597 |
|
| 2598 |
|
| 2599 |
|
| 2600 |
|
| 2601 |
|
| 2602 |
|
| 2603 |
|
| 2604 |
|
| 2605 |
|
| 2606 |
|
| 2607 |
|
| 2608 |
|
| 2609 |
|
| 2610 |
|
| 2611 |
|
| 2612 |
|
| 2613 |
|
| 2614 |
|
| 2615 |
|
| 2616 |
|
| 2617 |
|
| 2618 |
|
| 2619 |
|
| 2620 |
|
| 2621 |
|
| 2622 |
|
| 2623 |
|
| 2624 |
|
| 2625 |
|
| 2626 |
|
| 2627 |
#ifndef _P_P_PORTABILITY_H_ |
| 2628 |
#define _P_P_PORTABILITY_H_ |
| 2629 |
|
| 2630 |
#ifndef DPPP_NAMESPACE |
| 2631 |
# define DPPP_NAMESPACE DPPP_ |
| 2632 |
#endif |
| 2633 |
|
| 2634 |
#define DPPP_CAT2(x,y) CAT2(x,y) |
| 2635 |
#define DPPP_(name) DPPP_CAT2(DPPP_NAMESPACE, name) |
| 2636 |
|
| 2637 |
#ifndef PERL_REVISION |
| 2638 |
# if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION)) |
| 2639 |
# define PERL_PATCHLEVEL_H_IMPLICIT |
| 2640 |
# include <patchlevel.h> |
| 2641 |
# endif |
| 2642 |
# if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL))) |
| 2643 |
# include <could_not_find_Perl_patchlevel.h> |
| 2644 |
# endif |
| 2645 |
# ifndef PERL_REVISION |
| 2646 |
# define PERL_REVISION (5) |
| 2647 |
|
| 2648 |
# define PERL_VERSION PATCHLEVEL |
| 2649 |
# define PERL_SUBVERSION SUBVERSION |
| 2650 |
|
| 2651 |
|
| 2652 |
# endif |
| 2653 |
#endif |
| 2654 |
|
| 2655 |
#define PERL_BCDVERSION ((PERL_REVISION * 0x1000000L) + (PERL_VERSION * 0x1000L) + PERL_SUBVERSION) |
| 2656 |
|
| 2657 |
|
| 2658 |
|
| 2659 |
|
| 2660 |
#if PERL_REVISION != 5 |
| 2661 |
# error ppport.h only works with Perl version 5 |
| 2662 |
#endif |
| 2663 |
|
| 2664 |
#ifdef I_LIMITS |
| 2665 |
# include <limits.h> |
| 2666 |
#endif |
| 2667 |
|
| 2668 |
#ifndef PERL_UCHAR_MIN |
| 2669 |
# define PERL_UCHAR_MIN ((unsigned char)0) |
| 2670 |
#endif |
| 2671 |
|
| 2672 |
#ifndef PERL_UCHAR_MAX |
| 2673 |
# ifdef UCHAR_MAX |
| 2674 |
# define PERL_UCHAR_MAX ((unsigned char)UCHAR_MAX) |
| 2675 |
# else |
| 2676 |
# ifdef MAXUCHAR |
| 2677 |
# define PERL_UCHAR_MAX ((unsigned char)MAXUCHAR) |
| 2678 |
# else |
| 2679 |
# define PERL_UCHAR_MAX ((unsigned char)~(unsigned)0) |
| 2680 |
# endif |
| 2681 |
# endif |
| 2682 |
#endif |
| 2683 |
|
| 2684 |
#ifndef PERL_USHORT_MIN |
| 2685 |
# define PERL_USHORT_MIN ((unsigned short)0) |
| 2686 |
#endif |
| 2687 |
|
| 2688 |
#ifndef PERL_USHORT_MAX |
| 2689 |
# ifdef USHORT_MAX |
| 2690 |
# define PERL_USHORT_MAX ((unsigned short)USHORT_MAX) |
| 2691 |
# else |
| 2692 |
# ifdef MAXUSHORT |
| 2693 |
# define PERL_USHORT_MAX ((unsigned short)MAXUSHORT) |
| 2694 |
# else |
| 2695 |
# ifdef USHRT_MAX |
| 2696 |
# define PERL_USHORT_MAX ((unsigned short)USHRT_MAX) |
| 2697 |
# else |
| 2698 |
# define PERL_USHORT_MAX ((unsigned short)~(unsigned)0) |
| 2699 |
# endif |
| 2700 |
# endif |
| 2701 |
# endif |
| 2702 |
#endif |
| 2703 |
|
| 2704 |
#ifndef PERL_SHORT_MAX |
| 2705 |
# ifdef SHORT_MAX |
| 2706 |
# define PERL_SHORT_MAX ((short)SHORT_MAX) |
| 2707 |
# else |
| 2708 |
# ifdef MAXSHORT |
| 2709 |
# define PERL_SHORT_MAX ((short)MAXSHORT) |
| 2710 |
# else |
| 2711 |
# ifdef SHRT_MAX |
| 2712 |
# define PERL_SHORT_MAX ((short)SHRT_MAX) |
| 2713 |
# else |
| 2714 |
# define PERL_SHORT_MAX ((short) (PERL_USHORT_MAX >> 1)) |
| 2715 |
# endif |
| 2716 |
# endif |
| 2717 |
# endif |
| 2718 |
#endif |
| 2719 |
|
| 2720 |
#ifndef PERL_SHORT_MIN |
| 2721 |
# ifdef SHORT_MIN |
| 2722 |
# define PERL_SHORT_MIN ((short)SHORT_MIN) |
| 2723 |
# else |
| 2724 |
# ifdef MINSHORT |
| 2725 |
# define PERL_SHORT_MIN ((short)MINSHORT) |
| 2726 |
# else |
| 2727 |
# ifdef SHRT_MIN |
| 2728 |
# define PERL_SHORT_MIN ((short)SHRT_MIN) |
| 2729 |
# else |
| 2730 |
# define PERL_SHORT_MIN (-PERL_SHORT_MAX - ((3 & -1) == 3)) |
| 2731 |
# endif |
| 2732 |
# endif |
| 2733 |
# endif |
| 2734 |
#endif |
| 2735 |
|
| 2736 |
#ifndef PERL_UINT_MAX |
| 2737 |
# ifdef UINT_MAX |
| 2738 |
# define PERL_UINT_MAX ((unsigned int)UINT_MAX) |
| 2739 |
# else |
| 2740 |
# ifdef MAXUINT |
| 2741 |
# define PERL_UINT_MAX ((unsigned int)MAXUINT) |
| 2742 |
# else |
| 2743 |
# define PERL_UINT_MAX (~(unsigned int)0) |
| 2744 |
# endif |
| 2745 |
# endif |
| 2746 |
#endif |
| 2747 |
|
| 2748 |
#ifndef PERL_UINT_MIN |
| 2749 |
# define PERL_UINT_MIN ((unsigned int)0) |
| 2750 |
#endif |
| 2751 |
|
| 2752 |
#ifndef PERL_INT_MAX |
| 2753 |
# ifdef INT_MAX |
| 2754 |
# define PERL_INT_MAX ((int)INT_MAX) |
| 2755 |
# else |
| 2756 |
# ifdef MAXINT |
| 2757 |
# define PERL_INT_MAX ((int)MAXINT) |
| 2758 |
# else |
| 2759 |
# define PERL_INT_MAX ((int)(PERL_UINT_MAX >> 1)) |
| 2760 |
# endif |
| 2761 |
# endif |
| 2762 |
#endif |
| 2763 |
|
| 2764 |
#ifndef PERL_INT_MIN |
| 2765 |
# ifdef INT_MIN |
| 2766 |
# define PERL_INT_MIN ((int)INT_MIN) |
| 2767 |
# else |
| 2768 |
# ifdef MININT |
| 2769 |
# define PERL_INT_MIN ((int)MININT) |
| 2770 |
# else |
| 2771 |
# define PERL_INT_MIN (-PERL_INT_MAX - ((3 & -1) == 3)) |
| 2772 |
# endif |
| 2773 |
# endif |
| 2774 |
#endif |
| 2775 |
|
| 2776 |
#ifndef PERL_ULONG_MAX |
| 2777 |
# ifdef ULONG_MAX |
| 2778 |
# define PERL_ULONG_MAX ((unsigned long)ULONG_MAX) |
| 2779 |
# else |
| 2780 |
# ifdef MAXULONG |
| 2781 |
# define PERL_ULONG_MAX ((unsigned long)MAXULONG) |
| 2782 |
# else |
| 2783 |
# define PERL_ULONG_MAX (~(unsigned long)0) |
| 2784 |
# endif |
| 2785 |
# endif |
| 2786 |
#endif |
| 2787 |
|
| 2788 |
#ifndef PERL_ULONG_MIN |
| 2789 |
# define PERL_ULONG_MIN ((unsigned long)0L) |
| 2790 |
#endif |
| 2791 |
|
| 2792 |
#ifndef PERL_LONG_MAX |
| 2793 |
# ifdef LONG_MAX |
| 2794 |
# define PERL_LONG_MAX ((long)LONG_MAX) |
| 2795 |
# else |
| 2796 |
# ifdef MAXLONG |
| 2797 |
# define PERL_LONG_MAX ((long)MAXLONG) |
| 2798 |
# else |
| 2799 |
# define PERL_LONG_MAX ((long) (PERL_ULONG_MAX >> 1)) |
| 2800 |
# endif |
| 2801 |
# endif |
| 2802 |
#endif |
| 2803 |
|
| 2804 |
#ifndef PERL_LONG_MIN |
| 2805 |
# ifdef LONG_MIN |
| 2806 |
# define PERL_LONG_MIN ((long)LONG_MIN) |
| 2807 |
# else |
| 2808 |
# ifdef MINLONG |
| 2809 |
# define PERL_LONG_MIN ((long)MINLONG) |
| 2810 |
# else |
| 2811 |
# define PERL_LONG_MIN (-PERL_LONG_MAX - ((3 & -1) == 3)) |
| 2812 |
# endif |
| 2813 |
# endif |
| 2814 |
#endif |
| 2815 |
|
| 2816 |
#if defined(HAS_QUAD) && (defined(convex) || defined(uts)) |
| 2817 |
# ifndef PERL_UQUAD_MAX |
| 2818 |
# ifdef ULONGLONG_MAX |
| 2819 |
# define PERL_UQUAD_MAX ((unsigned long long)ULONGLONG_MAX) |
| 2820 |
# else |
| 2821 |
# ifdef MAXULONGLONG |
| 2822 |
# define PERL_UQUAD_MAX ((unsigned long long)MAXULONGLONG) |
| 2823 |
# else |
| 2824 |
# define PERL_UQUAD_MAX (~(unsigned long long)0) |
| 2825 |
# endif |
| 2826 |
# endif |
| 2827 |
# endif |
| 2828 |
|
| 2829 |
# ifndef PERL_UQUAD_MIN |
| 2830 |
# define PERL_UQUAD_MIN ((unsigned long long)0L) |
| 2831 |
# endif |
| 2832 |
|
| 2833 |
# ifndef PERL_QUAD_MAX |
| 2834 |
# ifdef LONGLONG_MAX |
| 2835 |
# define PERL_QUAD_MAX ((long long)LONGLONG_MAX) |
| 2836 |
# else |
| 2837 |
# ifdef MAXLONGLONG |
| 2838 |
# define PERL_QUAD_MAX ((long long)MAXLONGLONG) |
| 2839 |
# else |
| 2840 |
# define PERL_QUAD_MAX ((long long) (PERL_UQUAD_MAX >> 1)) |
| 2841 |
# endif |
| 2842 |
# endif |
| 2843 |
# endif |
| 2844 |
|
| 2845 |
# ifndef PERL_QUAD_MIN |
| 2846 |
# ifdef LONGLONG_MIN |
| 2847 |
# define PERL_QUAD_MIN ((long long)LONGLONG_MIN) |
| 2848 |
# else |
| 2849 |
# ifdef MINLONGLONG |
| 2850 |
# define PERL_QUAD_MIN ((long long)MINLONGLONG) |
| 2851 |
# else |
| 2852 |
# define PERL_QUAD_MIN (-PERL_QUAD_MAX - ((3 & -1) == 3)) |
| 2853 |
# endif |
| 2854 |
# endif |
| 2855 |
# endif |
| 2856 |
#endif |
| 2857 |
|
| 2858 |
|
| 2859 |
#ifdef HAS_QUAD |
| 2860 |
# ifdef cray |
| 2861 |
#ifndef IVTYPE |
| 2862 |
# define IVTYPE int |
| 2863 |
#endif |
| 2864 |
|
| 2865 |
#ifndef IV_MIN |
| 2866 |
# define IV_MIN PERL_INT_MIN |
| 2867 |
#endif |
| 2868 |
|
| 2869 |
#ifndef IV_MAX |
| 2870 |
# define IV_MAX PERL_INT_MAX |
| 2871 |
#endif |
| 2872 |
|
| 2873 |
#ifndef UV_MIN |
| 2874 |
# define UV_MIN PERL_UINT_MIN |
| 2875 |
#endif |
| 2876 |
|
| 2877 |
#ifndef UV_MAX |
| 2878 |
# define UV_MAX PERL_UINT_MAX |
| 2879 |
#endif |
| 2880 |
|
| 2881 |
# ifdef INTSIZE |
| 2882 |
#ifndef IVSIZE |
| 2883 |
# define IVSIZE INTSIZE |
| 2884 |
#endif |
| 2885 |
|
| 2886 |
# endif |
| 2887 |
# else |
| 2888 |
# if defined(convex) || defined(uts) |
| 2889 |
#ifndef IVTYPE |
| 2890 |
# define IVTYPE long long |
| 2891 |
#endif |
| 2892 |
|
| 2893 |
#ifndef IV_MIN |
| 2894 |
# define IV_MIN PERL_QUAD_MIN |
| 2895 |
#endif |
| 2896 |
|
| 2897 |
#ifndef IV_MAX |
| 2898 |
# define IV_MAX PERL_QUAD_MAX |
| 2899 |
#endif |
| 2900 |
|
| 2901 |
#ifndef UV_MIN |
| 2902 |
# define UV_MIN PERL_UQUAD_MIN |
| 2903 |
#endif |
| 2904 |
|
| 2905 |
#ifndef UV_MAX |
| 2906 |
# define UV_MAX PERL_UQUAD_MAX |
| 2907 |
#endif |
| 2908 |
|
| 2909 |
# ifdef LONGLONGSIZE |
| 2910 |
#ifndef IVSIZE |
| 2911 |
# define IVSIZE LONGLONGSIZE |
| 2912 |
#endif |
| 2913 |
|
| 2914 |
# endif |
| 2915 |
# else |
| 2916 |
#ifndef IVTYPE |
| 2917 |
# define IVTYPE long |
| 2918 |
#endif |
| 2919 |
|
| 2920 |
#ifndef IV_MIN |
| 2921 |
# define IV_MIN PERL_LONG_MIN |
| 2922 |
#endif |
| 2923 |
|
| 2924 |
#ifndef IV_MAX |
| 2925 |
# define IV_MAX PERL_LONG_MAX |
| 2926 |
#endif |
| 2927 |
|
| 2928 |
#ifndef UV_MIN |
| 2929 |
# define UV_MIN PERL_ULONG_MIN |
| 2930 |
#endif |
| 2931 |
|
| 2932 |
#ifndef UV_MAX |
| 2933 |
# define UV_MAX PERL_ULONG_MAX |
| 2934 |
#endif |
| 2935 |
|
| 2936 |
# ifdef LONGSIZE |
| 2937 |
#ifndef IVSIZE |
| 2938 |
# define IVSIZE LONGSIZE |
| 2939 |
#endif |
| 2940 |
|
| 2941 |
# endif |
| 2942 |
# endif |
| 2943 |
# endif |
| 2944 |
#ifndef IVSIZE |
| 2945 |
# define IVSIZE 8 |
| 2946 |
#endif |
| 2947 |
|
| 2948 |
#ifndef PERL_QUAD_MIN |
| 2949 |
# define PERL_QUAD_MIN IV_MIN |
| 2950 |
#endif |
| 2951 |
|
| 2952 |
#ifndef PERL_QUAD_MAX |
| 2953 |
# define PERL_QUAD_MAX IV_MAX |
| 2954 |
#endif |
| 2955 |
|
| 2956 |
#ifndef PERL_UQUAD_MIN |
| 2957 |
# define PERL_UQUAD_MIN UV_MIN |
| 2958 |
#endif |
| 2959 |
|
| 2960 |
#ifndef PERL_UQUAD_MAX |
| 2961 |
# define PERL_UQUAD_MAX UV_MAX |
| 2962 |
#endif |
| 2963 |
|
| 2964 |
#else |
| 2965 |
#ifndef IVTYPE |
| 2966 |
# define IVTYPE long |
| 2967 |
#endif |
| 2968 |
|
| 2969 |
#ifndef IV_MIN |
| 2970 |
# define IV_MIN PERL_LONG_MIN |
| 2971 |
#endif |
| 2972 |
|
| 2973 |
#ifndef IV_MAX |
| 2974 |
# define IV_MAX PERL_LONG_MAX |
| 2975 |
#endif |
| 2976 |
|
| 2977 |
#ifndef UV_MIN |
| 2978 |
# define UV_MIN PERL_ULONG_MIN |
| 2979 |
#endif |
| 2980 |
|
| 2981 |
#ifndef UV_MAX |
| 2982 |
# define UV_MAX PERL_ULONG_MAX |
| 2983 |
#endif |
| 2984 |
|
| 2985 |
#endif |
| 2986 |
|
| 2987 |
#ifndef IVSIZE |
| 2988 |
# ifdef LONGSIZE |
| 2989 |
# define IVSIZE LONGSIZE |
| 2990 |
# else |
| 2991 |
# define IVSIZE 4 |
| 2992 |
# endif |
| 2993 |
#endif |
| 2994 |
#ifndef UVTYPE |
| 2995 |
# define UVTYPE unsigned IVTYPE |
| 2996 |
#endif |
| 2997 |
|
| 2998 |
#ifndef UVSIZE |
| 2999 |
# define UVSIZE IVSIZE |
| 3000 |
#endif |
| 3001 |
|
| 3002 |
#ifndef sv_setuv |
| 3003 |
# define sv_setuv(sv, uv) \ |
| 3004 |
STMT_START { \ |
| 3005 |
UV TeMpUv = uv; \ |
| 3006 |
if (TeMpUv <= IV_MAX) \ |
| 3007 |
sv_setiv(sv, TeMpUv); \ |
| 3008 |
else \ |
| 3009 |
sv_setnv(sv, (double)TeMpUv); \ |
| 3010 |
} STMT_END |
| 3011 |
#endif |
| 3012 |
|
| 3013 |
#ifndef newSVuv |
| 3014 |
# define newSVuv(uv) ((uv) <= IV_MAX ? newSViv((IV)uv) : newSVnv((NV)uv)) |
| 3015 |
#endif |
| 3016 |
#ifndef sv_2uv |
| 3017 |
# define sv_2uv(sv) ((PL_Sv = (sv)), (UV) (SvNOK(PL_Sv) ? SvNV(PL_Sv) : sv_2nv(PL_Sv))) |
| 3018 |
#endif |
| 3019 |
|
| 3020 |
#ifndef SvUVX |
| 3021 |
# define SvUVX(sv) ((UV)SvIVX(sv)) |
| 3022 |
#endif |
| 3023 |
|
| 3024 |
#ifndef SvUVXx |
| 3025 |
# define SvUVXx(sv) SvUVX(sv) |
| 3026 |
#endif |
| 3027 |
|
| 3028 |
#ifndef SvUV |
| 3029 |
# define SvUV(sv) (SvIOK(sv) ? SvUVX(sv) : sv_2uv(sv)) |
| 3030 |
#endif |
| 3031 |
|
| 3032 |
#ifndef SvUVx |
| 3033 |
# define SvUVx(sv) ((PL_Sv = (sv)), SvUV(PL_Sv)) |
| 3034 |
#endif |
| 3035 |
|
| 3036 |
|
| 3037 |
|
| 3038 |
|
| 3039 |
#ifndef sv_uv |
| 3040 |
# define sv_uv(sv) SvUVx(sv) |
| 3041 |
#endif |
| 3042 |
#ifndef XST_mUV |
| 3043 |
# define XST_mUV(i,v) (ST(i) = sv_2mortal(newSVuv(v)) ) |
| 3044 |
#endif |
| 3045 |
|
| 3046 |
#ifndef XSRETURN_UV |
| 3047 |
# define XSRETURN_UV(v) STMT_START { XST_mUV(0,v); XSRETURN(1); } STMT_END |
| 3048 |
#endif |
| 3049 |
#ifndef PUSHu |
| 3050 |
# define PUSHu(u) STMT_START { sv_setuv(TARG, (UV)(u)); PUSHTARG; } STMT_END |
| 3051 |
#endif |
| 3052 |
|
| 3053 |
#ifndef XPUSHu |
| 3054 |
# define XPUSHu(u) STMT_START { sv_setuv(TARG, (UV)(u)); XPUSHTARG; } STMT_END |
| 3055 |
#endif |
| 3056 |
|
| 3057 |
#if (PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)) |
| 3058 |
|
| 3059 |
# define PL_DBsingle DBsingle |
| 3060 |
# define PL_DBsub DBsub |
| 3061 |
# define PL_Sv Sv |
| 3062 |
# define PL_compiling compiling |
| 3063 |
# define PL_copline copline |
| 3064 |
# define PL_curcop curcop |
| 3065 |
# define PL_curstash curstash |
| 3066 |
# define PL_debstash debstash |
| 3067 |
# define PL_defgv defgv |
| 3068 |
# define PL_diehook diehook |
| 3069 |
# define PL_dirty dirty |
| 3070 |
# define PL_dowarn dowarn |
| 3071 |
# define PL_errgv errgv |
| 3072 |
# define PL_hexdigit hexdigit |
| 3073 |
# define PL_hints hints |
| 3074 |
# define PL_na na |
| 3075 |
# define PL_no_modify no_modify |
| 3076 |
# define PL_perl_destruct_level perl_destruct_level |
| 3077 |
# define PL_perldb perldb |
| 3078 |
# define PL_ppaddr ppaddr |
| 3079 |
# define PL_rsfp_filters rsfp_filters |
| 3080 |
# define PL_rsfp rsfp |
| 3081 |
# define PL_stack_base stack_base |
| 3082 |
# define PL_stack_sp stack_sp |
| 3083 |
# define PL_stdingv stdingv |
| 3084 |
# define PL_sv_arenaroot sv_arenaroot |
| 3085 |
# define PL_sv_no sv_no |
| 3086 |
# define PL_sv_undef sv_undef |
| 3087 |
# define PL_sv_yes sv_yes |
| 3088 |
# define PL_tainted tainted |
| 3089 |
# define PL_tainting tainting |
| 3090 |
|
| 3091 |
#endif |
| 3092 |
|
| 3093 |
#ifndef PERL_UNUSED_DECL |
| 3094 |
# ifdef HASATTRIBUTE |
| 3095 |
# if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER) |
| 3096 |
# define PERL_UNUSED_DECL |
| 3097 |
# else |
| 3098 |
# define PERL_UNUSED_DECL __attribute__((unused)) |
| 3099 |
# endif |
| 3100 |
# else |
| 3101 |
# define PERL_UNUSED_DECL |
| 3102 |
# endif |
| 3103 |
#endif |
| 3104 |
#ifndef NOOP |
| 3105 |
# define NOOP (void)0 |
| 3106 |
#endif |
| 3107 |
|
| 3108 |
#ifndef dNOOP |
| 3109 |
# define dNOOP extern int Perl___notused PERL_UNUSED_DECL |
| 3110 |
#endif |
| 3111 |
|
| 3112 |
#ifndef NVTYPE |
| 3113 |
# if defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE) |
| 3114 |
# define NVTYPE long double |
| 3115 |
# else |
| 3116 |
# define NVTYPE double |
| 3117 |
# endif |
| 3118 |
typedef NVTYPE NV; |
| 3119 |
#endif |
| 3120 |
|
| 3121 |
#ifndef INT2PTR |
| 3122 |
|
| 3123 |
# if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE) |
| 3124 |
# define PTRV UV |
| 3125 |
# define INT2PTR(any,d) (any)(d) |
| 3126 |
# else |
| 3127 |
# if PTRSIZE == LONGSIZE |
| 3128 |
# define PTRV unsigned long |
| 3129 |
# else |
| 3130 |
# define PTRV unsigned |
| 3131 |
# endif |
| 3132 |
# define INT2PTR(any,d) (any)(PTRV)(d) |
| 3133 |
# endif |
| 3134 |
|
| 3135 |
# define NUM2PTR(any,d) (any)(PTRV)(d) |
| 3136 |
# define PTR2IV(p) INT2PTR(IV,p) |
| 3137 |
# define PTR2UV(p) INT2PTR(UV,p) |
| 3138 |
# define PTR2NV(p) NUM2PTR(NV,p) |
| 3139 |
|
| 3140 |
# if PTRSIZE == LONGSIZE |
| 3141 |
# define PTR2ul(p) (unsigned long)(p) |
| 3142 |
# else |
| 3143 |
# define PTR2ul(p) INT2PTR(unsigned long,p) |
| 3144 |
# endif |
| 3145 |
|
| 3146 |
#endif |
| 3147 |
|
| 3148 |
#undef START_EXTERN_C |
| 3149 |
#undef END_EXTERN_C |
| 3150 |
#undef EXTERN_C |
| 3151 |
#ifdef __cplusplus |
| 3152 |
# define START_EXTERN_C extern "C" { |
| 3153 |
# define END_EXTERN_C } |
| 3154 |
# define EXTERN_C extern "C" |
| 3155 |
#else |
| 3156 |
# define START_EXTERN_C |
| 3157 |
# define END_EXTERN_C |
| 3158 |
# define EXTERN_C extern |
| 3159 |
#endif |
| 3160 |
|
| 3161 |
#ifndef PERL_GCC_BRACE_GROUPS_FORBIDDEN |
| 3162 |
# if defined(__STRICT_ANSI__) && defined(PERL_GCC_PEDANTIC) |
| 3163 |
# define PERL_GCC_BRACE_GROUPS_FORBIDDEN |
| 3164 |
# endif |
| 3165 |
#endif |
| 3166 |
|
| 3167 |
#undef STMT_START |
| 3168 |
#undef STMT_END |
| 3169 |
#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) && !defined(__cplusplus) |
| 3170 |
# define STMT_START (void)( |
| 3171 |
# define STMT_END ) |
| 3172 |
#else |
| 3173 |
# if defined(VOIDFLAGS) && (VOIDFLAGS) && (defined(sun) || defined(__sun__)) && !defined(__GNUC__) |
| 3174 |
# define STMT_START if (1) |
| 3175 |
# define STMT_END else (void)0 |
| 3176 |
# else |
| 3177 |
# define STMT_START do |
| 3178 |
# define STMT_END while (0) |
| 3179 |
# endif |
| 3180 |
#endif |
| 3181 |
#ifndef boolSV |
| 3182 |
# define boolSV(b) ((b) ? &PL_sv_yes : &PL_sv_no) |
| 3183 |
#endif |
| 3184 |
|
| 3185 |
|
| 3186 |
#ifndef DEFSV |
| 3187 |
# define DEFSV GvSV(PL_defgv) |
| 3188 |
#endif |
| 3189 |
|
| 3190 |
#ifndef SAVE_DEFSV |
| 3191 |
# define SAVE_DEFSV SAVESPTR(GvSV(PL_defgv)) |
| 3192 |
#endif |
| 3193 |
|
| 3194 |
|
| 3195 |
#ifndef AvFILLp |
| 3196 |
# define AvFILLp AvFILL |
| 3197 |
#endif |
| 3198 |
#ifndef ERRSV |
| 3199 |
# define ERRSV get_sv("@",FALSE) |
| 3200 |
#endif |
| 3201 |
#ifndef newSVpvn |
| 3202 |
# define newSVpvn(data,len) ((data) \ |
| 3203 |
? ((len) ? newSVpv((data), (len)) : newSVpv("", 0)) \ |
| 3204 |
: newSV(0)) |
| 3205 |
#endif |
| 3206 |
|
| 3207 |
|
| 3208 |
|
| 3209 |
|
| 3210 |
|
| 3211 |
|
| 3212 |
|
| 3213 |
#ifndef gv_stashpvn |
| 3214 |
# define gv_stashpvn(str,len,create) gv_stashpv(str,create) |
| 3215 |
#endif |
| 3216 |
|
| 3217 |
|
| 3218 |
#ifndef get_cv |
| 3219 |
# define get_cv perl_get_cv |
| 3220 |
#endif |
| 3221 |
|
| 3222 |
#ifndef get_sv |
| 3223 |
# define get_sv perl_get_sv |
| 3224 |
#endif |
| 3225 |
|
| 3226 |
#ifndef get_av |
| 3227 |
# define get_av perl_get_av |
| 3228 |
#endif |
| 3229 |
|
| 3230 |
#ifndef get_hv |
| 3231 |
# define get_hv perl_get_hv |
| 3232 |
#endif |
| 3233 |
|
| 3234 |
|
| 3235 |
|
| 3236 |
#ifdef HAS_MEMCMP |
| 3237 |
#ifndef memNE |
| 3238 |
# define memNE(s1,s2,l) (memcmp(s1,s2,l)) |
| 3239 |
#endif |
| 3240 |
|
| 3241 |
#ifndef memEQ |
| 3242 |
# define memEQ(s1,s2,l) (!memcmp(s1,s2,l)) |
| 3243 |
#endif |
| 3244 |
|
| 3245 |
#else |
| 3246 |
#ifndef memNE |
| 3247 |
# define memNE(s1,s2,l) (bcmp(s1,s2,l)) |
| 3248 |
#endif |
| 3249 |
|
| 3250 |
#ifndef memEQ |
| 3251 |
# define memEQ(s1,s2,l) (!bcmp(s1,s2,l)) |
| 3252 |
#endif |
| 3253 |
|
| 3254 |
#endif |
| 3255 |
#ifndef MoveD |
| 3256 |
# define MoveD(s,d,n,t) memmove((char*)(d),(char*)(s), (n) * sizeof(t)) |
| 3257 |
#endif |
| 3258 |
|
| 3259 |
#ifndef CopyD |
| 3260 |
# define CopyD(s,d,n,t) memcpy((char*)(d),(char*)(s), (n) * sizeof(t)) |
| 3261 |
#endif |
| 3262 |
|
| 3263 |
#ifdef HAS_MEMSET |
| 3264 |
#ifndef ZeroD |
| 3265 |
# define ZeroD(d,n,t) memzero((char*)(d), (n) * sizeof(t)) |
| 3266 |
#endif |
| 3267 |
|
| 3268 |
#else |
| 3269 |
#ifndef ZeroD |
| 3270 |
# define ZeroD(d,n,t) ((void)memzero((char*)(d), (n) * sizeof(t)),d) |
| 3271 |
#endif |
| 3272 |
|
| 3273 |
#endif |
| 3274 |
#ifndef Poison |
| 3275 |
# define Poison(d,n,t) (void)memset((char*)(d), 0xAB, (n) * sizeof(t)) |
| 3276 |
#endif |
| 3277 |
#ifndef dUNDERBAR |
| 3278 |
# define dUNDERBAR dNOOP |
| 3279 |
#endif |
| 3280 |
|
| 3281 |
#ifndef UNDERBAR |
| 3282 |
# define UNDERBAR DEFSV |
| 3283 |
#endif |
| 3284 |
#ifndef dAX |
| 3285 |
# define dAX I32 ax = MARK - PL_stack_base + 1 |
| 3286 |
#endif |
| 3287 |
|
| 3288 |
#ifndef dITEMS |
| 3289 |
# define dITEMS I32 items = SP - MARK |
| 3290 |
#endif |
| 3291 |
#ifndef dXSTARG |
| 3292 |
# define dXSTARG SV * targ = sv_newmortal() |
| 3293 |
#endif |
| 3294 |
#ifndef dTHR |
| 3295 |
# define dTHR dNOOP |
| 3296 |
#endif |
| 3297 |
#ifndef dTHX |
| 3298 |
# define dTHX dNOOP |
| 3299 |
#endif |
| 3300 |
|
| 3301 |
#ifndef dTHXa |
| 3302 |
# define dTHXa(x) dNOOP |
| 3303 |
#endif |
| 3304 |
#ifndef pTHX |
| 3305 |
# define pTHX void |
| 3306 |
#endif |
| 3307 |
|
| 3308 |
#ifndef pTHX_ |
| 3309 |
# define pTHX_ |
| 3310 |
#endif |
| 3311 |
|
| 3312 |
#ifndef aTHX |
| 3313 |
# define aTHX |
| 3314 |
#endif |
| 3315 |
|
| 3316 |
#ifndef aTHX_ |
| 3317 |
# define aTHX_ |
| 3318 |
#endif |
| 3319 |
#ifndef dTHXoa |
| 3320 |
# define dTHXoa(x) dTHXa(x) |
| 3321 |
#endif |
| 3322 |
#ifndef PUSHmortal |
| 3323 |
# define PUSHmortal PUSHs(sv_newmortal()) |
| 3324 |
#endif |
| 3325 |
|
| 3326 |
#ifndef mPUSHp |
| 3327 |
# define mPUSHp(p,l) sv_setpvn_mg(PUSHmortal, (p), (l)) |
| 3328 |
#endif |
| 3329 |
|
| 3330 |
#ifndef mPUSHn |
| 3331 |
# define mPUSHn(n) sv_setnv_mg(PUSHmortal, (NV)(n)) |
| 3332 |
#endif |
| 3333 |
|
| 3334 |
#ifndef mPUSHi |
| 3335 |
# define mPUSHi(i) sv_setiv_mg(PUSHmortal, (IV)(i)) |
| 3336 |
#endif |
| 3337 |
|
| 3338 |
#ifndef mPUSHu |
| 3339 |
# define mPUSHu(u) sv_setuv_mg(PUSHmortal, (UV)(u)) |
| 3340 |
#endif |
| 3341 |
#ifndef XPUSHmortal |
| 3342 |
# define XPUSHmortal XPUSHs(sv_newmortal()) |
| 3343 |
#endif |
| 3344 |
|
| 3345 |
#ifndef mXPUSHp |
| 3346 |
# define mXPUSHp(p,l) STMT_START { EXTEND(sp,1); sv_setpvn_mg(PUSHmortal, (p), (l)); } STMT_END |
| 3347 |
#endif |
| 3348 |
|
| 3349 |
#ifndef mXPUSHn |
| 3350 |
# define mXPUSHn(n) STMT_START { EXTEND(sp,1); sv_setnv_mg(PUSHmortal, (NV)(n)); } STMT_END |
| 3351 |
#endif |
| 3352 |
|
| 3353 |
#ifndef mXPUSHi |
| 3354 |
# define mXPUSHi(i) STMT_START { EXTEND(sp,1); sv_setiv_mg(PUSHmortal, (IV)(i)); } STMT_END |
| 3355 |
#endif |
| 3356 |
|
| 3357 |
#ifndef mXPUSHu |
| 3358 |
# define mXPUSHu(u) STMT_START { EXTEND(sp,1); sv_setuv_mg(PUSHmortal, (UV)(u)); } STMT_END |
| 3359 |
#endif |
| 3360 |
|
| 3361 |
|
| 3362 |
#ifndef call_sv |
| 3363 |
# define call_sv perl_call_sv |
| 3364 |
#endif |
| 3365 |
|
| 3366 |
#ifndef call_pv |
| 3367 |
# define call_pv perl_call_pv |
| 3368 |
#endif |
| 3369 |
|
| 3370 |
#ifndef call_argv |
| 3371 |
# define call_argv perl_call_argv |
| 3372 |
#endif |
| 3373 |
|
| 3374 |
#ifndef call_method |
| 3375 |
# define call_method perl_call_method |
| 3376 |
#endif |
| 3377 |
#ifndef eval_sv |
| 3378 |
# define eval_sv perl_eval_sv |
| 3379 |
#endif |
| 3380 |
|
| 3381 |
|
| 3382 |
|
| 3383 |
|
| 3384 |
|
| 3385 |
|
| 3386 |
#ifndef eval_pv |
| 3387 |
#if defined(NEED_eval_pv) |
| 3388 |
static SV* DPPP_(my_eval_pv)(char *p, I32 croak_on_error); |
| 3389 |
static |
| 3390 |
#else |
| 3391 |
extern SV* DPPP_(my_eval_pv)(char *p, I32 croak_on_error); |
| 3392 |
#endif |
| 3393 |
|
| 3394 |
#ifdef eval_pv |
| 3395 |
# undef eval_pv |
| 3396 |
#endif |
| 3397 |
#define eval_pv(a,b) DPPP_(my_eval_pv)(aTHX_ a,b) |
| 3398 |
#define Perl_eval_pv DPPP_(my_eval_pv) |
| 3399 |
|
| 3400 |
#if defined(NEED_eval_pv) || defined(NEED_eval_pv_GLOBAL) |
| 3401 |
|
| 3402 |
SV* |
| 3403 |
DPPP_(my_eval_pv)(char *p, I32 croak_on_error) |
| 3404 |
{ |
| 3405 |
dSP; |
| 3406 |
SV* sv = newSVpv(p, 0); |
| 3407 |
|
| 3408 |
PUSHMARK(sp); |
| 3409 |
eval_sv(sv, G_SCALAR); |
| 3410 |
SvREFCNT_dec(sv); |
| 3411 |
|
| 3412 |
SPAGAIN; |
| 3413 |
sv = POPs; |
| 3414 |
PUTBACK; |
| 3415 |
|
| 3416 |
if (croak_on_error && SvTRUE(GvSV(errgv))) |
| 3417 |
croak(SvPVx(GvSV(errgv), na)); |
| 3418 |
|
| 3419 |
return sv; |
| 3420 |
} |
| 3421 |
|
| 3422 |
#endif |
| 3423 |
#endif |
| 3424 |
#ifndef newRV_inc |
| 3425 |
# define newRV_inc(sv) newRV(sv) |
| 3426 |
#endif |
| 3427 |
|
| 3428 |
#ifndef newRV_noinc |
| 3429 |
#if defined(NEED_newRV_noinc) |
| 3430 |
static SV * DPPP_(my_newRV_noinc)(SV *sv); |
| 3431 |
static |
| 3432 |
#else |
| 3433 |
extern SV * DPPP_(my_newRV_noinc)(SV *sv); |
| 3434 |
#endif |
| 3435 |
|
| 3436 |
#ifdef newRV_noinc |
| 3437 |
# undef newRV_noinc |
| 3438 |
#endif |
| 3439 |
#define newRV_noinc(a) DPPP_(my_newRV_noinc)(aTHX_ a) |
| 3440 |
#define Perl_newRV_noinc DPPP_(my_newRV_noinc) |
| 3441 |
|
| 3442 |
#if defined(NEED_newRV_noinc) || defined(NEED_newRV_noinc_GLOBAL) |
| 3443 |
SV * |
| 3444 |
DPPP_(my_newRV_noinc)(SV *sv) |
| 3445 |
{ |
| 3446 |
SV *rv = (SV *)newRV(sv); |
| 3447 |
SvREFCNT_dec(sv); |
| 3448 |
return rv; |
| 3449 |
} |
| 3450 |
#endif |
| 3451 |
#endif |
| 3452 |
|
| 3453 |
|
| 3454 |
|
| 3455 |
|
| 3456 |
|
| 3457 |
|
| 3458 |
|
| 3459 |
#if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION < 63))) && ((PERL_VERSION != 4) || (PERL_SUBVERSION != 5)) |
| 3460 |
#if defined(NEED_newCONSTSUB) |
| 3461 |
static void DPPP_(my_newCONSTSUB)(HV *stash, char *name, SV *sv); |
| 3462 |
static |
| 3463 |
#else |
| 3464 |
extern void DPPP_(my_newCONSTSUB)(HV *stash, char *name, SV *sv); |
| 3465 |
#endif |
| 3466 |
|
| 3467 |
#ifdef newCONSTSUB |
| 3468 |
# undef newCONSTSUB |
| 3469 |
#endif |
| 3470 |
#define newCONSTSUB(a,b,c) DPPP_(my_newCONSTSUB)(aTHX_ a,b,c) |
| 3471 |
#define Perl_newCONSTSUB DPPP_(my_newCONSTSUB) |
| 3472 |
|
| 3473 |
#if defined(NEED_newCONSTSUB) || defined(NEED_newCONSTSUB_GLOBAL) |
| 3474 |
|
| 3475 |
void |
| 3476 |
DPPP_(my_newCONSTSUB)(HV *stash, char *name, SV *sv) |
| 3477 |
{ |
| 3478 |
U32 oldhints = PL_hints; |
| 3479 |
HV *old_cop_stash = PL_curcop->cop_stash; |
| 3480 |
HV *old_curstash = PL_curstash; |
| 3481 |
line_t oldline = PL_curcop->cop_line; |
| 3482 |
PL_curcop->cop_line = PL_copline; |
| 3483 |
|
| 3484 |
PL_hints &= ~HINT_BLOCK_SCOPE; |
| 3485 |
if (stash) |
| 3486 |
PL_curstash = PL_curcop->cop_stash = stash; |
| 3487 |
|
| 3488 |
newSUB( |
| 3489 |
|
| 3490 |
#if ((PERL_VERSION < 3) || ((PERL_VERSION == 3) && (PERL_SUBVERSION < 22))) |
| 3491 |
start_subparse(), |
| 3492 |
#elif ((PERL_VERSION == 3) && (PERL_SUBVERSION == 22)) |
| 3493 |
start_subparse(0), |
| 3494 |
#else |
| 3495 |
start_subparse(FALSE, 0), |
| 3496 |
#endif |
| 3497 |
|
| 3498 |
newSVOP(OP_CONST, 0, newSVpv(name,0)), |
| 3499 |
newSVOP(OP_CONST, 0, &PL_sv_no), |
| 3500 |
newSTATEOP(0, Nullch, newSVOP(OP_CONST, 0, sv)) |
| 3501 |
); |
| 3502 |
|
| 3503 |
PL_hints = oldhints; |
| 3504 |
PL_curcop->cop_stash = old_cop_stash; |
| 3505 |
PL_curstash = old_curstash; |
| 3506 |
PL_curcop->cop_line = oldline; |
| 3507 |
} |
| 3508 |
#endif |
| 3509 |
#endif |
| 3510 |
|
| 3511 |
|
| 3512 |
|
| 3513 |
|
| 3514 |
|
| 3515 |
|
| 3516 |
|
| 3517 |
|
| 3518 |
|
| 3519 |
|
| 3520 |
|
| 3521 |
|
| 3522 |
|
| 3523 |
|
| 3524 |
|
| 3525 |
|
| 3526 |
|
| 3527 |
|
| 3528 |
|
| 3529 |
|
| 3530 |
#if defined(MULTIPLICITY) || defined(PERL_OBJECT) || \ |
| 3531 |
defined(PERL_CAPI) || defined(PERL_IMPLICIT_CONTEXT) |
| 3532 |
|
| 3533 |
#ifndef START_MY_CXT |
| 3534 |
|
| 3535 |
|
| 3536 |
|
| 3537 |
|
| 3538 |
#define START_MY_CXT |
| 3539 |
|
| 3540 |
#if (PERL_VERSION < 4 || (PERL_VERSION == 4 && PERL_SUBVERSION < 68 )) |
| 3541 |
|
| 3542 |
#define dMY_CXT_SV \ |
| 3543 |
SV *my_cxt_sv = get_sv(MY_CXT_KEY, FALSE) |
| 3544 |
#else |
| 3545 |
#define dMY_CXT_SV \ |
| 3546 |
SV *my_cxt_sv = *hv_fetch(PL_modglobal, MY_CXT_KEY, \ |
| 3547 |
sizeof(MY_CXT_KEY)-1, TRUE) |
| 3548 |
#endif |
| 3549 |
|
| 3550 |
|
| 3551 |
|
| 3552 |
#define dMY_CXT \ |
| 3553 |
dMY_CXT_SV; \ |
| 3554 |
my_cxt_t *my_cxtp = INT2PTR(my_cxt_t*,SvUV(my_cxt_sv)) |
| 3555 |
|
| 3556 |
|
| 3557 |
|
| 3558 |
|
| 3559 |
#define MY_CXT_INIT \ |
| 3560 |
dMY_CXT_SV; \ |
| 3561 |
\ |
| 3562 |
my_cxt_t *my_cxtp = (my_cxt_t*)SvPVX(newSV(sizeof(my_cxt_t)-1));\ |
| 3563 |
Zero(my_cxtp, 1, my_cxt_t); \ |
| 3564 |
sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) |
| 3565 |
|
| 3566 |
|
| 3567 |
|
| 3568 |
#define MY_CXT (*my_cxtp) |
| 3569 |
|
| 3570 |
|
| 3571 |
|
| 3572 |
#define pMY_CXT my_cxt_t *my_cxtp |
| 3573 |
#define pMY_CXT_ pMY_CXT, |
| 3574 |
#define _pMY_CXT ,pMY_CXT |
| 3575 |
#define aMY_CXT my_cxtp |
| 3576 |
#define aMY_CXT_ aMY_CXT, |
| 3577 |
#define _aMY_CXT ,aMY_CXT |
| 3578 |
|
| 3579 |
#endif |
| 3580 |
|
| 3581 |
#ifndef MY_CXT_CLONE |
| 3582 |
|
| 3583 |
#define MY_CXT_CLONE \ |
| 3584 |
dMY_CXT_SV; \ |
| 3585 |
my_cxt_t *my_cxtp = (my_cxt_t*)SvPVX(newSV(sizeof(my_cxt_t)-1));\ |
| 3586 |
Copy(INT2PTR(my_cxt_t*, SvUV(my_cxt_sv)), my_cxtp, 1, my_cxt_t);\ |
| 3587 |
sv_setuv(my_cxt_sv, PTR2UV(my_cxtp)) |
| 3588 |
#endif |
| 3589 |
|
| 3590 |
#else |
| 3591 |
|
| 3592 |
#ifndef START_MY_CXT |
| 3593 |
|
| 3594 |
#define START_MY_CXT static my_cxt_t my_cxt; |
| 3595 |
#define dMY_CXT_SV dNOOP |
| 3596 |
#define dMY_CXT dNOOP |
| 3597 |
#define MY_CXT_INIT NOOP |
| 3598 |
#define MY_CXT my_cxt |
| 3599 |
|
| 3600 |
#define pMY_CXT void |
| 3601 |
#define pMY_CXT_ |
| 3602 |
#define _pMY_CXT |
| 3603 |
#define aMY_CXT |
| 3604 |
#define aMY_CXT_ |
| 3605 |
#define _aMY_CXT |
| 3606 |
|
| 3607 |
#endif |
| 3608 |
|
| 3609 |
#ifndef MY_CXT_CLONE |
| 3610 |
#define MY_CXT_CLONE NOOP |
| 3611 |
#endif |
| 3612 |
|
| 3613 |
#endif |
| 3614 |
|
| 3615 |
#ifndef IVdf |
| 3616 |
# if IVSIZE == LONGSIZE |
| 3617 |
# define IVdf "ld" |
| 3618 |
# define UVuf "lu" |
| 3619 |
# define UVof "lo" |
| 3620 |
# define UVxf "lx" |
| 3621 |
# define UVXf "lX" |
| 3622 |
# else |
| 3623 |
# if IVSIZE == INTSIZE |
| 3624 |
# define IVdf "d" |
| 3625 |
# define UVuf "u" |
| 3626 |
# define UVof "o" |
| 3627 |
# define UVxf "x" |
| 3628 |
# define UVXf "X" |
| 3629 |
# endif |
| 3630 |
# endif |
| 3631 |
#endif |
| 3632 |
|
| 3633 |
#ifndef NVef |
| 3634 |
# if defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE) && \ |
| 3635 |
defined(PERL_PRIfldbl) |
| 3636 |
# define NVef PERL_PRIeldbl |
| 3637 |
# define NVff PERL_PRIfldbl |
| 3638 |
# define NVgf PERL_PRIgldbl |
| 3639 |
# else |
| 3640 |
# define NVef "e" |
| 3641 |
# define NVff "f" |
| 3642 |
# define NVgf "g" |
| 3643 |
# endif |
| 3644 |
#endif |
| 3645 |
|
| 3646 |
#ifndef SvPV_nolen |
| 3647 |
|
| 3648 |
#if defined(NEED_sv_2pv_nolen) |
| 3649 |
static char * DPPP_(my_sv_2pv_nolen)(pTHX_ register SV *sv); |
| 3650 |
static |
| 3651 |
#else |
| 3652 |
extern char * DPPP_(my_sv_2pv_nolen)(pTHX_ register SV *sv); |
| 3653 |
#endif |
| 3654 |
|
| 3655 |
#ifdef sv_2pv_nolen |
| 3656 |
# undef sv_2pv_nolen |
| 3657 |
#endif |
| 3658 |
#define sv_2pv_nolen(a) DPPP_(my_sv_2pv_nolen)(aTHX_ a) |
| 3659 |
#define Perl_sv_2pv_nolen DPPP_(my_sv_2pv_nolen) |
| 3660 |
|
| 3661 |
#if defined(NEED_sv_2pv_nolen) || defined(NEED_sv_2pv_nolen_GLOBAL) |
| 3662 |
|
| 3663 |
char * |
| 3664 |
DPPP_(my_sv_2pv_nolen)(pTHX_ register SV *sv) |
| 3665 |
{ |
| 3666 |
STRLEN n_a; |
| 3667 |
return sv_2pv(sv, &n_a); |
| 3668 |
} |
| 3669 |
|
| 3670 |
#endif |
| 3671 |
|
| 3672 |
|
| 3673 |
|
| 3674 |
|
| 3675 |
|
| 3676 |
|
| 3677 |
#define SvPV_nolen(sv) \ |
| 3678 |
((SvFLAGS(sv) & (SVf_POK)) == SVf_POK \ |
| 3679 |
? SvPVX(sv) : sv_2pv_nolen(sv)) |
| 3680 |
|
| 3681 |
#endif |
| 3682 |
|
| 3683 |
#ifdef SvPVbyte |
| 3684 |
|
| 3685 |
|
| 3686 |
|
| 3687 |
|
| 3688 |
|
| 3689 |
|
| 3690 |
#if ((PERL_VERSION < 7) || ((PERL_VERSION == 7) && (PERL_SUBVERSION < 0))) |
| 3691 |
|
| 3692 |
#if defined(NEED_sv_2pvbyte) |
| 3693 |
static char * DPPP_(my_sv_2pvbyte)(pTHX_ register SV *sv, STRLEN *lp); |
| 3694 |
static |
| 3695 |
#else |
| 3696 |
extern char * DPPP_(my_sv_2pvbyte)(pTHX_ register SV *sv, STRLEN *lp); |
| 3697 |
#endif |
| 3698 |
|
| 3699 |
#ifdef sv_2pvbyte |
| 3700 |
# undef sv_2pvbyte |
| 3701 |
#endif |
| 3702 |
#define sv_2pvbyte(a,b) DPPP_(my_sv_2pvbyte)(aTHX_ a,b) |
| 3703 |
#define Perl_sv_2pvbyte DPPP_(my_sv_2pvbyte) |
| 3704 |
|
| 3705 |
#if defined(NEED_sv_2pvbyte) || defined(NEED_sv_2pvbyte_GLOBAL) |
| 3706 |
|
| 3707 |
char * |
| 3708 |
DPPP_(my_sv_2pvbyte)(pTHX_ register SV *sv, STRLEN *lp) |
| 3709 |
{ |
| 3710 |
sv_utf8_downgrade(sv,0); |
| 3711 |
return SvPV(sv,*lp); |
| 3712 |
} |
| 3713 |
|
| 3714 |
#endif |
| 3715 |
|
| 3716 |
|
| 3717 |
|
| 3718 |
|
| 3719 |
|
| 3720 |
#undef SvPVbyte |
| 3721 |
|
| 3722 |
|
| 3723 |
#define SvPVbyte(sv, lp) \ |
| 3724 |
((SvFLAGS(sv) & (SVf_POK|SVf_UTF8)) == (SVf_POK) \ |
| 3725 |
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pvbyte(sv, &lp)) |
| 3726 |
|
| 3727 |
#endif |
| 3728 |
|
| 3729 |
#else |
| 3730 |
|
| 3731 |
# define SvPVbyte SvPV |
| 3732 |
# define sv_2pvbyte sv_2pv |
| 3733 |
|
| 3734 |
#endif |
| 3735 |
|
| 3736 |
|
| 3737 |
#ifndef sv_2pvbyte_nolen |
| 3738 |
# define sv_2pvbyte_nolen sv_2pv_nolen |
| 3739 |
#endif |
| 3740 |
|
| 3741 |
|
| 3742 |
|
| 3743 |
|
| 3744 |
#ifndef sv_pvn |
| 3745 |
# define sv_pvn(sv, len) SvPV(sv, len) |
| 3746 |
#endif |
| 3747 |
|
| 3748 |
|
| 3749 |
|
| 3750 |
|
| 3751 |
#ifndef sv_pvn_force |
| 3752 |
# define sv_pvn_force(sv, len) SvPV_force(sv, len) |
| 3753 |
#endif |
| 3754 |
|
| 3755 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(vnewSVpvf) |
| 3756 |
#if defined(NEED_vnewSVpvf) |
| 3757 |
static SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args); |
| 3758 |
static |
| 3759 |
#else |
| 3760 |
extern SV * DPPP_(my_vnewSVpvf)(pTHX_ const char * pat, va_list * args); |
| 3761 |
#endif |
| 3762 |
|
| 3763 |
#ifdef vnewSVpvf |
| 3764 |
# undef vnewSVpvf |
| 3765 |
#endif |
| 3766 |
#define vnewSVpvf(a,b) DPPP_(my_vnewSVpvf)(aTHX_ a,b) |
| 3767 |
#define Perl_vnewSVpvf DPPP_(my_vnewSVpvf) |
| 3768 |
|
| 3769 |
#if defined(NEED_vnewSVpvf) || defined(NEED_vnewSVpvf_GLOBAL) |
| 3770 |
|
| 3771 |
SV * |
| 3772 |
DPPP_(my_vnewSVpvf)(pTHX_ const char *pat, va_list *args) |
| 3773 |
{ |
| 3774 |
register SV *sv = newSV(0); |
| 3775 |
sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); |
| 3776 |
return sv; |
| 3777 |
} |
| 3778 |
|
| 3779 |
#endif |
| 3780 |
#endif |
| 3781 |
|
| 3782 |
|
| 3783 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_vcatpvf) |
| 3784 |
# define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)) |
| 3785 |
#endif |
| 3786 |
|
| 3787 |
|
| 3788 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_vsetpvf) |
| 3789 |
# define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)) |
| 3790 |
#endif |
| 3791 |
|
| 3792 |
|
| 3793 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_catpvf_mg) |
| 3794 |
#if defined(NEED_sv_catpvf_mg) |
| 3795 |
static void DPPP_(my_sv_catpvf_mg)(pTHX_ SV * sv, const char * pat, ...); |
| 3796 |
static |
| 3797 |
#else |
| 3798 |
extern void DPPP_(my_sv_catpvf_mg)(pTHX_ SV * sv, const char * pat, ...); |
| 3799 |
#endif |
| 3800 |
|
| 3801 |
#define Perl_sv_catpvf_mg DPPP_(my_sv_catpvf_mg) |
| 3802 |
|
| 3803 |
#if defined(NEED_sv_catpvf_mg) || defined(NEED_sv_catpvf_mg_GLOBAL) |
| 3804 |
|
| 3805 |
void |
| 3806 |
DPPP_(my_sv_catpvf_mg)(pTHX_ SV *sv, const char *pat, ...) |
| 3807 |
{ |
| 3808 |
va_list args; |
| 3809 |
va_start(args, pat); |
| 3810 |
sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); |
| 3811 |
SvSETMAGIC(sv); |
| 3812 |
va_end(args); |
| 3813 |
} |
| 3814 |
|
| 3815 |
#endif |
| 3816 |
#endif |
| 3817 |
|
| 3818 |
|
| 3819 |
#ifdef PERL_IMPLICIT_CONTEXT |
| 3820 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_catpvf_mg_nocontext) |
| 3821 |
#if defined(NEED_sv_catpvf_mg_nocontext) |
| 3822 |
static void DPPP_(my_sv_catpvf_mg_nocontext)(SV * sv, const char * pat, ...); |
| 3823 |
static |
| 3824 |
#else |
| 3825 |
extern void DPPP_(my_sv_catpvf_mg_nocontext)(SV * sv, const char * pat, ...); |
| 3826 |
#endif |
| 3827 |
|
| 3828 |
#define sv_catpvf_mg_nocontext DPPP_(my_sv_catpvf_mg_nocontext) |
| 3829 |
#define Perl_sv_catpvf_mg_nocontext DPPP_(my_sv_catpvf_mg_nocontext) |
| 3830 |
|
| 3831 |
#if defined(NEED_sv_catpvf_mg_nocontext) || defined(NEED_sv_catpvf_mg_nocontext_GLOBAL) |
| 3832 |
|
| 3833 |
void |
| 3834 |
DPPP_(my_sv_catpvf_mg_nocontext)(SV *sv, const char *pat, ...) |
| 3835 |
{ |
| 3836 |
dTHX; |
| 3837 |
va_list args; |
| 3838 |
va_start(args, pat); |
| 3839 |
sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); |
| 3840 |
SvSETMAGIC(sv); |
| 3841 |
va_end(args); |
| 3842 |
} |
| 3843 |
|
| 3844 |
#endif |
| 3845 |
#endif |
| 3846 |
#endif |
| 3847 |
|
| 3848 |
#ifndef sv_catpvf_mg |
| 3849 |
# ifdef PERL_IMPLICIT_CONTEXT |
| 3850 |
# define sv_catpvf_mg Perl_sv_catpvf_mg_nocontext |
| 3851 |
# else |
| 3852 |
# define sv_catpvf_mg Perl_sv_catpvf_mg |
| 3853 |
# endif |
| 3854 |
#endif |
| 3855 |
|
| 3856 |
|
| 3857 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_vcatpvf_mg) |
| 3858 |
# define sv_vcatpvf_mg(sv, pat, args) \ |
| 3859 |
STMT_START { \ |
| 3860 |
sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); \ |
| 3861 |
SvSETMAGIC(sv); \ |
| 3862 |
} STMT_END |
| 3863 |
#endif |
| 3864 |
|
| 3865 |
|
| 3866 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_setpvf_mg) |
| 3867 |
#if defined(NEED_sv_setpvf_mg) |
| 3868 |
static void DPPP_(my_sv_setpvf_mg)(pTHX_ SV * sv, const char * pat, ...); |
| 3869 |
static |
| 3870 |
#else |
| 3871 |
extern void DPPP_(my_sv_setpvf_mg)(pTHX_ SV * sv, const char * pat, ...); |
| 3872 |
#endif |
| 3873 |
|
| 3874 |
#define Perl_sv_setpvf_mg DPPP_(my_sv_setpvf_mg) |
| 3875 |
|
| 3876 |
#if defined(NEED_sv_setpvf_mg) || defined(NEED_sv_setpvf_mg_GLOBAL) |
| 3877 |
|
| 3878 |
void |
| 3879 |
DPPP_(my_sv_setpvf_mg)(pTHX_ SV *sv, const char *pat, ...) |
| 3880 |
{ |
| 3881 |
va_list args; |
| 3882 |
va_start(args, pat); |
| 3883 |
sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); |
| 3884 |
SvSETMAGIC(sv); |
| 3885 |
va_end(args); |
| 3886 |
} |
| 3887 |
|
| 3888 |
#endif |
| 3889 |
#endif |
| 3890 |
|
| 3891 |
|
| 3892 |
#ifdef PERL_IMPLICIT_CONTEXT |
| 3893 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_setpvf_mg_nocontext) |
| 3894 |
#if defined(NEED_sv_setpvf_mg_nocontext) |
| 3895 |
static void DPPP_(my_sv_setpvf_mg_nocontext)(SV * sv, const char * pat, ...); |
| 3896 |
static |
| 3897 |
#else |
| 3898 |
extern void DPPP_(my_sv_setpvf_mg_nocontext)(SV * sv, const char * pat, ...); |
| 3899 |
#endif |
| 3900 |
|
| 3901 |
#define sv_setpvf_mg_nocontext DPPP_(my_sv_setpvf_mg_nocontext) |
| 3902 |
#define Perl_sv_setpvf_mg_nocontext DPPP_(my_sv_setpvf_mg_nocontext) |
| 3903 |
|
| 3904 |
#if defined(NEED_sv_setpvf_mg_nocontext) || defined(NEED_sv_setpvf_mg_nocontext_GLOBAL) |
| 3905 |
|
| 3906 |
void |
| 3907 |
DPPP_(my_sv_setpvf_mg_nocontext)(SV *sv, const char *pat, ...) |
| 3908 |
{ |
| 3909 |
dTHX; |
| 3910 |
va_list args; |
| 3911 |
va_start(args, pat); |
| 3912 |
sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*)); |
| 3913 |
SvSETMAGIC(sv); |
| 3914 |
va_end(args); |
| 3915 |
} |
| 3916 |
|
| 3917 |
#endif |
| 3918 |
#endif |
| 3919 |
#endif |
| 3920 |
|
| 3921 |
#ifndef sv_setpvf_mg |
| 3922 |
# ifdef PERL_IMPLICIT_CONTEXT |
| 3923 |
# define sv_setpvf_mg Perl_sv_setpvf_mg_nocontext |
| 3924 |
# else |
| 3925 |
# define sv_setpvf_mg Perl_sv_setpvf_mg |
| 3926 |
# endif |
| 3927 |
#endif |
| 3928 |
|
| 3929 |
|
| 3930 |
#if ((PERL_VERSION > 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION >= 0))) && !defined(sv_vsetpvf_mg) |
| 3931 |
# define sv_vsetpvf_mg(sv, pat, args) \ |
| 3932 |
STMT_START { \ |
| 3933 |
sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*)); \ |
| 3934 |
SvSETMAGIC(sv); \ |
| 3935 |
} STMT_END |
| 3936 |
#endif |
| 3937 |
#ifndef SvGETMAGIC |
| 3938 |
# define SvGETMAGIC(x) STMT_START { if (SvGMAGICAL(x)) mg_get(x); } STMT_END |
| 3939 |
#endif |
| 3940 |
#ifndef PERL_MAGIC_sv |
| 3941 |
# define PERL_MAGIC_sv '\0' |
| 3942 |
#endif |
| 3943 |
|
| 3944 |
#ifndef PERL_MAGIC_overload |
| 3945 |
# define PERL_MAGIC_overload 'A' |
| 3946 |
#endif |
| 3947 |
|
| 3948 |
#ifndef PERL_MAGIC_overload_elem |
| 3949 |
# define PERL_MAGIC_overload_elem 'a' |
| 3950 |
#endif |
| 3951 |
|
| 3952 |
#ifndef PERL_MAGIC_overload_table |
| 3953 |
# define PERL_MAGIC_overload_table 'c' |
| 3954 |
#endif |
| 3955 |
|
| 3956 |
#ifndef PERL_MAGIC_bm |
| 3957 |
# define PERL_MAGIC_bm 'B' |
| 3958 |
#endif |
| 3959 |
|
| 3960 |
#ifndef PERL_MAGIC_regdata |
| 3961 |
# define PERL_MAGIC_regdata 'D' |
| 3962 |
#endif |
| 3963 |
|
| 3964 |
#ifndef PERL_MAGIC_regdatum |
| 3965 |
# define PERL_MAGIC_regdatum 'd' |
| 3966 |
#endif |
| 3967 |
|
| 3968 |
#ifndef PERL_MAGIC_env |
| 3969 |
# define PERL_MAGIC_env 'E' |
| 3970 |
#endif |
| 3971 |
|
| 3972 |
#ifndef PERL_MAGIC_envelem |
| 3973 |
# define PERL_MAGIC_envelem 'e' |
| 3974 |
#endif |
| 3975 |
|
| 3976 |
#ifndef PERL_MAGIC_fm |
| 3977 |
# define PERL_MAGIC_fm 'f' |
| 3978 |
#endif |
| 3979 |
|
| 3980 |
#ifndef PERL_MAGIC_regex_global |
| 3981 |
# define PERL_MAGIC_regex_global 'g' |
| 3982 |
#endif |
| 3983 |
|
| 3984 |
#ifndef PERL_MAGIC_isa |
| 3985 |
# define PERL_MAGIC_isa 'I' |
| 3986 |
#endif |
| 3987 |
|
| 3988 |
#ifndef PERL_MAGIC_isaelem |
| 3989 |
# define PERL_MAGIC_isaelem 'i' |
| 3990 |
#endif |
| 3991 |
|
| 3992 |
#ifndef PERL_MAGIC_nkeys |
| 3993 |
# define PERL_MAGIC_nkeys 'k' |
| 3994 |
#endif |
| 3995 |
|
| 3996 |
#ifndef PERL_MAGIC_dbfile |
| 3997 |
# define PERL_MAGIC_dbfile 'L' |
| 3998 |
#endif |
| 3999 |
|
| 4000 |
#ifndef PERL_MAGIC_dbline |
| 4001 |
# define PERL_MAGIC_dbline 'l' |
| 4002 |
#endif |
| 4003 |
|
| 4004 |
#ifndef PERL_MAGIC_mutex |
| 4005 |
# define PERL_MAGIC_mutex 'm' |
| 4006 |
#endif |
| 4007 |
|
| 4008 |
#ifndef PERL_MAGIC_shared |
| 4009 |
# define PERL_MAGIC_shared 'N' |
| 4010 |
#endif |
| 4011 |
|
| 4012 |
#ifndef PERL_MAGIC_shared_scalar |
| 4013 |
# define PERL_MAGIC_shared_scalar 'n' |
| 4014 |
#endif |
| 4015 |
|
| 4016 |
#ifndef PERL_MAGIC_collxfrm |
| 4017 |
# define PERL_MAGIC_collxfrm 'o' |
| 4018 |
#endif |
| 4019 |
|
| 4020 |
#ifndef PERL_MAGIC_tied |
| 4021 |
# define PERL_MAGIC_tied 'P' |
| 4022 |
#endif |
| 4023 |
|
| 4024 |
#ifndef PERL_MAGIC_tiedelem |
| 4025 |
# define PERL_MAGIC_tiedelem 'p' |
| 4026 |
#endif |
| 4027 |
|
| 4028 |
#ifndef PERL_MAGIC_tiedscalar |
| 4029 |
# define PERL_MAGIC_tiedscalar 'q' |
| 4030 |
#endif |
| 4031 |
|
| 4032 |
#ifndef PERL_MAGIC_qr |
| 4033 |
# define PERL_MAGIC_qr 'r' |
| 4034 |
#endif |
| 4035 |
|
| 4036 |
#ifndef PERL_MAGIC_sig |
| 4037 |
# define PERL_MAGIC_sig 'S' |
| 4038 |
#endif |
| 4039 |
|
| 4040 |
#ifndef PERL_MAGIC_sigelem |
| 4041 |
# define PERL_MAGIC_sigelem 's' |
| 4042 |
#endif |
| 4043 |
|
| 4044 |
#ifndef PERL_MAGIC_taint |
| 4045 |
# define PERL_MAGIC_taint 't' |
| 4046 |
#endif |
| 4047 |
|
| 4048 |
#ifndef PERL_MAGIC_uvar |
| 4049 |
# define PERL_MAGIC_uvar 'U' |
| 4050 |
#endif |
| 4051 |
|
| 4052 |
#ifndef PERL_MAGIC_uvar_elem |
| 4053 |
# define PERL_MAGIC_uvar_elem 'u' |
| 4054 |
#endif |
| 4055 |
|
| 4056 |
#ifndef PERL_MAGIC_vstring |
| 4057 |
# define PERL_MAGIC_vstring 'V' |
| 4058 |
#endif |
| 4059 |
|
| 4060 |
#ifndef PERL_MAGIC_vec |
| 4061 |
# define PERL_MAGIC_vec 'v' |
| 4062 |
#endif |
| 4063 |
|
| 4064 |
#ifndef PERL_MAGIC_utf8 |
| 4065 |
# define PERL_MAGIC_utf8 'w' |
| 4066 |
#endif |
| 4067 |
|
| 4068 |
#ifndef PERL_MAGIC_substr |
| 4069 |
# define PERL_MAGIC_substr 'x' |
| 4070 |
#endif |
| 4071 |
|
| 4072 |
#ifndef PERL_MAGIC_defelem |
| 4073 |
# define PERL_MAGIC_defelem 'y' |
| 4074 |
#endif |
| 4075 |
|
| 4076 |
#ifndef PERL_MAGIC_glob |
| 4077 |
# define PERL_MAGIC_glob '*' |
| 4078 |
#endif |
| 4079 |
|
| 4080 |
#ifndef PERL_MAGIC_arylen |
| 4081 |
# define PERL_MAGIC_arylen '#' |
| 4082 |
#endif |
| 4083 |
|
| 4084 |
#ifndef PERL_MAGIC_pos |
| 4085 |
# define PERL_MAGIC_pos '.' |
| 4086 |
#endif |
| 4087 |
|
| 4088 |
#ifndef PERL_MAGIC_backref |
| 4089 |
# define PERL_MAGIC_backref '<' |
| 4090 |
#endif |
| 4091 |
|
| 4092 |
#ifndef PERL_MAGIC_ext |
| 4093 |
# define PERL_MAGIC_ext '~' |
| 4094 |
#endif |
| 4095 |
|
| 4096 |
|
| 4097 |
#ifndef SvPV_force_nomg |
| 4098 |
# define SvPV_force_nomg SvPV_force |
| 4099 |
#endif |
| 4100 |
|
| 4101 |
#ifndef SvPV_nomg |
| 4102 |
# define SvPV_nomg SvPV |
| 4103 |
#endif |
| 4104 |
|
| 4105 |
#ifndef sv_catpvn_nomg |
| 4106 |
# define sv_catpvn_nomg sv_catpvn |
| 4107 |
#endif |
| 4108 |
|
| 4109 |
#ifndef sv_catsv_nomg |
| 4110 |
# define sv_catsv_nomg sv_catsv |
| 4111 |
#endif |
| 4112 |
|
| 4113 |
#ifndef sv_setsv_nomg |
| 4114 |
# define sv_setsv_nomg sv_setsv |
| 4115 |
#endif |
| 4116 |
|
| 4117 |
#ifndef sv_pvn_nomg |
| 4118 |
# define sv_pvn_nomg sv_pvn |
| 4119 |
#endif |
| 4120 |
|
| 4121 |
#ifndef SvIV_nomg |
| 4122 |
# define SvIV_nomg SvIV |
| 4123 |
#endif |
| 4124 |
|
| 4125 |
#ifndef SvUV_nomg |
| 4126 |
# define SvUV_nomg SvUV |
| 4127 |
#endif |
| 4128 |
|
| 4129 |
#ifndef sv_catpv_mg |
| 4130 |
# define sv_catpv_mg(sv, ptr) \ |
| 4131 |
STMT_START { \ |
| 4132 |
SV *TeMpSv = sv; \ |
| 4133 |
sv_catpv(TeMpSv,ptr); \ |
| 4134 |
SvSETMAGIC(TeMpSv); \ |
| 4135 |
} STMT_END |
| 4136 |
#endif |
| 4137 |
|
| 4138 |
#ifndef sv_catpvn_mg |
| 4139 |
# define sv_catpvn_mg(sv, ptr, len) \ |
| 4140 |
STMT_START { \ |
| 4141 |
SV *TeMpSv = sv; \ |
| 4142 |
sv_catpvn(TeMpSv,ptr,len); \ |
| 4143 |
SvSETMAGIC(TeMpSv); \ |
| 4144 |
} STMT_END |
| 4145 |
#endif |
| 4146 |
|
| 4147 |
#ifndef sv_catsv_mg |
| 4148 |
# define sv_catsv_mg(dsv, ssv) \ |
| 4149 |
STMT_START { \ |
| 4150 |
SV *TeMpSv = dsv; \ |
| 4151 |
sv_catsv(TeMpSv,ssv); \ |
| 4152 |
SvSETMAGIC(TeMpSv); \ |
| 4153 |
} STMT_END |
| 4154 |
#endif |
| 4155 |
|
| 4156 |
#ifndef sv_setiv_mg |
| 4157 |
# define sv_setiv_mg(sv, i) \ |
| 4158 |
STMT_START { \ |
| 4159 |
SV *TeMpSv = sv; \ |
| 4160 |
sv_setiv(TeMpSv,i); \ |
| 4161 |
SvSETMAGIC(TeMpSv); \ |
| 4162 |
} STMT_END |
| 4163 |
#endif |
| 4164 |
|
| 4165 |
#ifndef sv_setnv_mg |
| 4166 |
# define sv_setnv_mg(sv, num) \ |
| 4167 |
STMT_START { \ |
| 4168 |
SV *TeMpSv = sv; \ |
| 4169 |
sv_setnv(TeMpSv,num); \ |
| 4170 |
SvSETMAGIC(TeMpSv); \ |
| 4171 |
} STMT_END |
| 4172 |
#endif |
| 4173 |
|
| 4174 |
#ifndef sv_setpv_mg |
| 4175 |
# define sv_setpv_mg(sv, ptr) \ |
| 4176 |
STMT_START { \ |
| 4177 |
SV *TeMpSv = sv; \ |
| 4178 |
sv_setpv(TeMpSv,ptr); \ |
| 4179 |
SvSETMAGIC(TeMpSv); \ |
| 4180 |
} STMT_END |
| 4181 |
#endif |
| 4182 |
|
| 4183 |
#ifndef sv_setpvn_mg |
| 4184 |
# define sv_setpvn_mg(sv, ptr, len) \ |
| 4185 |
STMT_START { \ |
| 4186 |
SV *TeMpSv = sv; \ |
| 4187 |
sv_setpvn(TeMpSv,ptr,len); \ |
| 4188 |
SvSETMAGIC(TeMpSv); \ |
| 4189 |
} STMT_END |
| 4190 |
#endif |
| 4191 |
|
| 4192 |
#ifndef sv_setsv_mg |
| 4193 |
# define sv_setsv_mg(dsv, ssv) \ |
| 4194 |
STMT_START { \ |
| 4195 |
SV *TeMpSv = dsv; \ |
| 4196 |
sv_setsv(TeMpSv,ssv); \ |
| 4197 |
SvSETMAGIC(TeMpSv); \ |
| 4198 |
} STMT_END |
| 4199 |
#endif |
| 4200 |
|
| 4201 |
#ifndef sv_setuv_mg |
| 4202 |
# define sv_setuv_mg(sv, i) \ |
| 4203 |
STMT_START { \ |
| 4204 |
SV *TeMpSv = sv; \ |
| 4205 |
sv_setuv(TeMpSv,i); \ |
| 4206 |
SvSETMAGIC(TeMpSv); \ |
| 4207 |
} STMT_END |
| 4208 |
#endif |
| 4209 |
|
| 4210 |
#ifndef sv_usepvn_mg |
| 4211 |
# define sv_usepvn_mg(sv, ptr, len) \ |
| 4212 |
STMT_START { \ |
| 4213 |
SV *TeMpSv = sv; \ |
| 4214 |
sv_usepvn(TeMpSv,ptr,len); \ |
| 4215 |
SvSETMAGIC(TeMpSv); \ |
| 4216 |
} STMT_END |
| 4217 |
#endif |
| 4218 |
|
| 4219 |
#ifdef USE_ITHREADS |
| 4220 |
#ifndef CopFILE |
| 4221 |
# define CopFILE(c) ((c)->cop_file) |
| 4222 |
#endif |
| 4223 |
|
| 4224 |
#ifndef CopFILEGV |
| 4225 |
# define CopFILEGV(c) (CopFILE(c) ? gv_fetchfile(CopFILE(c)) : Nullgv) |
| 4226 |
#endif |
| 4227 |
|
| 4228 |
#ifndef CopFILE_set |
| 4229 |
# define CopFILE_set(c,pv) ((c)->cop_file = savepv(pv)) |
| 4230 |
#endif |
| 4231 |
|
| 4232 |
#ifndef CopFILESV |
| 4233 |
# define CopFILESV(c) (CopFILE(c) ? GvSV(gv_fetchfile(CopFILE(c))) : Nullsv) |
| 4234 |
#endif |
| 4235 |
|
| 4236 |
#ifndef CopFILEAV |
| 4237 |
# define CopFILEAV(c) (CopFILE(c) ? GvAV(gv_fetchfile(CopFILE(c))) : Nullav) |
| 4238 |
#endif |
| 4239 |
|
| 4240 |
#ifndef CopSTASHPV |
| 4241 |
# define CopSTASHPV(c) ((c)->cop_stashpv) |
| 4242 |
#endif |
| 4243 |
|
| 4244 |
#ifndef CopSTASHPV_set |
| 4245 |
# define CopSTASHPV_set(c,pv) ((c)->cop_stashpv = ((pv) ? savepv(pv) : Nullch)) |
| 4246 |
#endif |
| 4247 |
|
| 4248 |
#ifndef CopSTASH |
| 4249 |
# define CopSTASH(c) (CopSTASHPV(c) ? gv_stashpv(CopSTASHPV(c),GV_ADD) : Nullhv) |
| 4250 |
#endif |
| 4251 |
|
| 4252 |
#ifndef CopSTASH_set |
| 4253 |
# define CopSTASH_set(c,hv) CopSTASHPV_set(c, (hv) ? HvNAME(hv) : Nullch) |
| 4254 |
#endif |
| 4255 |
|
| 4256 |
#ifndef CopSTASH_eq |
| 4257 |
# define CopSTASH_eq(c,hv) ((hv) && (CopSTASHPV(c) == HvNAME(hv) \ |
| 4258 |
|| (CopSTASHPV(c) && HvNAME(hv) \ |
| 4259 |
&& strEQ(CopSTASHPV(c), HvNAME(hv))))) |
| 4260 |
#endif |
| 4261 |
|
| 4262 |
#else |
| 4263 |
#ifndef CopFILEGV |
| 4264 |
# define CopFILEGV(c) ((c)->cop_filegv) |
| 4265 |
#endif |
| 4266 |
|
| 4267 |
#ifndef CopFILEGV_set |
| 4268 |
# define CopFILEGV_set(c,gv) ((c)->cop_filegv = (GV*)SvREFCNT_inc(gv)) |
| 4269 |
#endif |
| 4270 |
|
| 4271 |
#ifndef CopFILE_set |
| 4272 |
# define CopFILE_set(c,pv) CopFILEGV_set((c), gv_fetchfile(pv)) |
| 4273 |
#endif |
| 4274 |
|
| 4275 |
#ifndef CopFILESV |
| 4276 |
# define CopFILESV(c) (CopFILEGV(c) ? GvSV(CopFILEGV(c)) : Nullsv) |
| 4277 |
#endif |
| 4278 |
|
| 4279 |
#ifndef CopFILEAV |
| 4280 |
# define CopFILEAV(c) (CopFILEGV(c) ? GvAV(CopFILEGV(c)) : Nullav) |
| 4281 |
#endif |
| 4282 |
|
| 4283 |
#ifndef CopFILE |
| 4284 |
# define CopFILE(c) (CopFILESV(c) ? SvPVX(CopFILESV(c)) : Nullch) |
| 4285 |
#endif |
| 4286 |
|
| 4287 |
#ifndef CopSTASH |
| 4288 |
# define CopSTASH(c) ((c)->cop_stash) |
| 4289 |
#endif |
| 4290 |
|
| 4291 |
#ifndef CopSTASH_set |
| 4292 |
# define CopSTASH_set(c,hv) ((c)->cop_stash = (hv)) |
| 4293 |
#endif |
| 4294 |
|
| 4295 |
#ifndef CopSTASHPV |
| 4296 |
# define CopSTASHPV(c) (CopSTASH(c) ? HvNAME(CopSTASH(c)) : Nullch) |
| 4297 |
#endif |
| 4298 |
|
| 4299 |
#ifndef CopSTASHPV_set |
| 4300 |
# define CopSTASHPV_set(c,pv) CopSTASH_set((c), gv_stashpv(pv,GV_ADD)) |
| 4301 |
#endif |
| 4302 |
|
| 4303 |
#ifndef CopSTASH_eq |
| 4304 |
# define CopSTASH_eq(c,hv) (CopSTASH(c) == (hv)) |
| 4305 |
#endif |
| 4306 |
|
| 4307 |
#endif |
| 4308 |
#ifndef IN_PERL_COMPILETIME |
| 4309 |
# define IN_PERL_COMPILETIME (PL_curcop == &PL_compiling) |
| 4310 |
#endif |
| 4311 |
|
| 4312 |
#ifndef IN_LOCALE_RUNTIME |
| 4313 |
# define IN_LOCALE_RUNTIME (PL_curcop->op_private & HINT_LOCALE) |
| 4314 |
#endif |
| 4315 |
|
| 4316 |
#ifndef IN_LOCALE_COMPILETIME |
| 4317 |
# define IN_LOCALE_COMPILETIME (PL_hints & HINT_LOCALE) |
| 4318 |
#endif |
| 4319 |
|
| 4320 |
#ifndef IN_LOCALE |
| 4321 |
# define IN_LOCALE (IN_PERL_COMPILETIME ? IN_LOCALE_COMPILETIME : IN_LOCALE_RUNTIME) |
| 4322 |
#endif |
| 4323 |
#ifndef IS_NUMBER_IN_UV |
| 4324 |
# define IS_NUMBER_IN_UV 0x01 |
| 4325 |
#endif |
| 4326 |
|
| 4327 |
#ifndef IS_NUMBER_GREATER_THAN_UV_MAX |
| 4328 |
# define IS_NUMBER_GREATER_THAN_UV_MAX 0x02 |
| 4329 |
#endif |
| 4330 |
|
| 4331 |
#ifndef IS_NUMBER_NOT_INT |
| 4332 |
# define IS_NUMBER_NOT_INT 0x04 |
| 4333 |
#endif |
| 4334 |
|
| 4335 |
#ifndef IS_NUMBER_NEG |
| 4336 |
# define IS_NUMBER_NEG 0x08 |
| 4337 |
#endif |
| 4338 |
|
| 4339 |
#ifndef IS_NUMBER_INFINITY |
| 4340 |
# define IS_NUMBER_INFINITY 0x10 |
| 4341 |
#endif |
| 4342 |
|
| 4343 |
#ifndef IS_NUMBER_NAN |
| 4344 |
# define IS_NUMBER_NAN 0x20 |
| 4345 |
#endif |
| 4346 |
|
| 4347 |
|
| 4348 |
#ifndef GROK_NUMERIC_RADIX |
| 4349 |
# define GROK_NUMERIC_RADIX(sp, send) grok_numeric_radix(sp, send) |
| 4350 |
#endif |
| 4351 |
#ifndef PERL_SCAN_GREATER_THAN_UV_MAX |
| 4352 |
# define PERL_SCAN_GREATER_THAN_UV_MAX 0x02 |
| 4353 |
#endif |
| 4354 |
|
| 4355 |
#ifndef PERL_SCAN_SILENT_ILLDIGIT |
| 4356 |
# define PERL_SCAN_SILENT_ILLDIGIT 0x04 |
| 4357 |
#endif |
| 4358 |
|
| 4359 |
#ifndef PERL_SCAN_ALLOW_UNDERSCORES |
| 4360 |
# define PERL_SCAN_ALLOW_UNDERSCORES 0x01 |
| 4361 |
#endif |
| 4362 |
|
| 4363 |
#ifndef PERL_SCAN_DISALLOW_PREFIX |
| 4364 |
# define PERL_SCAN_DISALLOW_PREFIX 0x02 |
| 4365 |
#endif |
| 4366 |
|
| 4367 |
#ifndef grok_numeric_radix |
| 4368 |
#if defined(NEED_grok_numeric_radix) |
| 4369 |
static bool DPPP_(my_grok_numeric_radix)(pTHX_ const char ** sp, const char * send); |
| 4370 |
static |
| 4371 |
#else |
| 4372 |
extern bool DPPP_(my_grok_numeric_radix)(pTHX_ const char ** sp, const char * send); |
| 4373 |
#endif |
| 4374 |
|
| 4375 |
#ifdef grok_numeric_radix |
| 4376 |
# undef grok_numeric_radix |
| 4377 |
#endif |
| 4378 |
#define grok_numeric_radix(a,b) DPPP_(my_grok_numeric_radix)(aTHX_ a,b) |
| 4379 |
#define Perl_grok_numeric_radix DPPP_(my_grok_numeric_radix) |
| 4380 |
|
| 4381 |
#if defined(NEED_grok_numeric_radix) || defined(NEED_grok_numeric_radix_GLOBAL) |
| 4382 |
bool |
| 4383 |
DPPP_(my_grok_numeric_radix)(pTHX_ const char **sp, const char *send) |
| 4384 |
{ |
| 4385 |
#ifdef USE_LOCALE_NUMERIC |
| 4386 |
#ifdef PL_numeric_radix_sv |
| 4387 |
if (PL_numeric_radix_sv && IN_LOCALE) { |
| 4388 |
STRLEN len; |
| 4389 |
char* radix = SvPV(PL_numeric_radix_sv, len); |
| 4390 |
if (*sp + len <= send && memEQ(*sp, radix, len)) { |
| 4391 |
*sp += len; |
| 4392 |
return TRUE; |
| 4393 |
} |
| 4394 |
} |
| 4395 |
#else |
| 4396 |
|
| 4397 |
|
| 4398 |
|
| 4399 |
#include <locale.h> |
| 4400 |
dTHR; |
| 4401 |
struct lconv *lc = localeconv(); |
| 4402 |
char *radix = lc->decimal_point; |
| 4403 |
if (radix && IN_LOCALE) { |
| 4404 |
STRLEN len = strlen(radix); |
| 4405 |
if (*sp + len <= send && memEQ(*sp, radix, len)) { |
| 4406 |
*sp += len; |
| 4407 |
return TRUE; |
| 4408 |
} |
| 4409 |
} |
| 4410 |
#endif |
| 4411 |
#endif |
| 4412 |
|
| 4413 |
|
| 4414 |
if (*sp < send && **sp == '.') { |
| 4415 |
++*sp; |
| 4416 |
return TRUE; |
| 4417 |
} |
| 4418 |
return FALSE; |
| 4419 |
} |
| 4420 |
#endif |
| 4421 |
#endif |
| 4422 |
|
| 4423 |
|
| 4424 |
|
| 4425 |
#ifndef grok_number |
| 4426 |
#if defined(NEED_grok_number) |
| 4427 |
static int DPPP_(my_grok_number)(pTHX_ const char * pv, STRLEN len, UV * valuep); |
| 4428 |
static |
| 4429 |
#else |
| 4430 |
extern int DPPP_(my_grok_number)(pTHX_ const char * pv, STRLEN len, UV * valuep); |
| 4431 |
#endif |
| 4432 |
|
| 4433 |
#ifdef grok_number |
| 4434 |
# undef grok_number |
| 4435 |
#endif |
| 4436 |
#define grok_number(a,b,c) DPPP_(my_grok_number)(aTHX_ a,b,c) |
| 4437 |
#define Perl_grok_number DPPP_(my_grok_number) |
| 4438 |
|
| 4439 |
#if defined(NEED_grok_number) || defined(NEED_grok_number_GLOBAL) |
| 4440 |
int |
| 4441 |
DPPP_(my_grok_number)(pTHX_ const char *pv, STRLEN len, UV *valuep) |
| 4442 |
{ |
| 4443 |
const char *s = pv; |
| 4444 |
const char *send = pv + len; |
| 4445 |
const UV max_div_10 = UV_MAX / 10; |
| 4446 |
const char max_mod_10 = UV_MAX % 10; |
| 4447 |
int numtype = 0; |
| 4448 |
int sawinf = 0; |
| 4449 |
int sawnan = 0; |
| 4450 |
|
| 4451 |
while (s < send && isSPACE(*s)) |
| 4452 |
s++; |
| 4453 |
if (s == send) { |
| 4454 |
return 0; |
| 4455 |
} else if (*s == '-') { |
| 4456 |
s++; |
| 4457 |
numtype = IS_NUMBER_NEG; |
| 4458 |
} |
| 4459 |
else if (*s == '+') |
| 4460 |
s++; |
| 4461 |
|
| 4462 |
if (s == send) |
| 4463 |
return 0; |
| 4464 |
|
| 4465 |
|
| 4466 |
if (isDIGIT(*s)) { |
| 4467 |
|
| 4468 |
|
| 4469 |
UV value = *s - '0'; |
| 4470 |
|
| 4471 |
|
| 4472 |
|
| 4473 |
|
| 4474 |
|
| 4475 |
if (++s < send) { |
| 4476 |
int digit = *s - '0'; |
| 4477 |
if (digit >= 0 && digit <= 9) { |
| 4478 |
value = value * 10 + digit; |
| 4479 |
if (++s < send) { |
| 4480 |
digit = *s - '0'; |
| 4481 |
if (digit >= 0 && digit <= 9) { |
| 4482 |
value = value * 10 + digit; |
| 4483 |
if (++s < send) { |
| 4484 |
digit = *s - '0'; |
| 4485 |
if (digit >= 0 && digit <= 9) { |
| 4486 |
value = value * 10 + digit; |
| 4487 |
if (++s < send) { |
| 4488 |
digit = *s - '0'; |
| 4489 |
if (digit >= 0 && digit <= 9) { |
| 4490 |
value = value * 10 + digit; |
| 4491 |
if (++s < send) { |
| 4492 |
digit = *s - '0'; |
| 4493 |
if (digit >= 0 && digit <= 9) { |
| 4494 |
value = value * 10 + digit; |
| 4495 |
if (++s < send) { |
| 4496 |
digit = *s - '0'; |
| 4497 |
if (digit >= 0 && digit <= 9) { |
| 4498 |
value = value * 10 + digit; |
| 4499 |
if (++s < send) { |
| 4500 |
digit = *s - '0'; |
| 4501 |
if (digit >= 0 && digit <= 9) { |
| 4502 |
value = value * 10 + digit; |
| 4503 |
if (++s < send) { |
| 4504 |
digit = *s - '0'; |
| 4505 |
if (digit >= 0 && digit <= 9) { |
| 4506 |
value = value * 10 + digit; |
| 4507 |
if (++s < send) { |
| 4508 |
|
| 4509 |
|
| 4510 |
digit = *s - '0'; |
| 4511 |
while (digit >= 0 && digit <= 9 |
| 4512 |
&& (value < max_div_10 |
| 4513 |
|| (value == max_div_10 |
| 4514 |
&& digit <= max_mod_10))) { |
| 4515 |
value = value * 10 + digit; |
| 4516 |
if (++s < send) |
| 4517 |
digit = *s - '0'; |
| 4518 |
else |
| 4519 |
break; |
| 4520 |
} |
| 4521 |
if (digit >= 0 && digit <= 9 |
| 4522 |
&& (s < send)) { |
| 4523 |
|
| 4524 |
|
| 4525 |
|
| 4526 |
do { |
| 4527 |
s++; |
| 4528 |
} while (s < send && isDIGIT(*s)); |
| 4529 |
numtype |= |
| 4530 |
IS_NUMBER_GREATER_THAN_UV_MAX; |
| 4531 |
goto skip_value; |
| 4532 |
} |
| 4533 |
} |
| 4534 |
} |
| 4535 |
} |
| 4536 |
} |
| 4537 |
} |
| 4538 |
} |
| 4539 |
} |
| 4540 |
} |
| 4541 |
} |
| 4542 |
} |
| 4543 |
} |
| 4544 |
} |
| 4545 |
} |
| 4546 |
} |
| 4547 |
} |
| 4548 |
} |
| 4549 |
} |
| 4550 |
numtype |= IS_NUMBER_IN_UV; |
| 4551 |
if (valuep) |
| 4552 |
*valuep = value; |
| 4553 |
|
| 4554 |
skip_value: |
| 4555 |
if (GROK_NUMERIC_RADIX(&s, send)) { |
| 4556 |
numtype |= IS_NUMBER_NOT_INT; |
| 4557 |
while (s < send && isDIGIT(*s)) |
| 4558 |
s++; |
| 4559 |
} |
| 4560 |
} |
| 4561 |
else if (GROK_NUMERIC_RADIX(&s, send)) { |
| 4562 |
numtype |= IS_NUMBER_NOT_INT | IS_NUMBER_IN_UV; |
| 4563 |
|
| 4564 |
if (s < send && isDIGIT(*s)) { |
| 4565 |
do { |
| 4566 |
s++; |
| 4567 |
} while (s < send && isDIGIT(*s)); |
| 4568 |
if (valuep) { |
| 4569 |
|
| 4570 |
*valuep = 0; |
| 4571 |
} |
| 4572 |
} |
| 4573 |
else |
| 4574 |
return 0; |
| 4575 |
} else if (*s == 'I' || *s == 'i') { |
| 4576 |
s++; if (s == send || (*s != 'N' && *s != 'n')) return 0; |
| 4577 |
s++; if (s == send || (*s != 'F' && *s != 'f')) return 0; |
| 4578 |
s++; if (s < send && (*s == 'I' || *s == 'i')) { |
| 4579 |
s++; if (s == send || (*s != 'N' && *s != 'n')) return 0; |
| 4580 |
s++; if (s == send || (*s != 'I' && *s != 'i')) return 0; |
| 4581 |
s++; if (s == send || (*s != 'T' && *s != 't')) return 0; |
| 4582 |
s++; if (s == send || (*s != 'Y' && *s != 'y')) return 0; |
| 4583 |
s++; |
| 4584 |
} |
| 4585 |
sawinf = 1; |
| 4586 |
} else if (*s == 'N' || *s == 'n') { |
| 4587 |
|
| 4588 |
s++; if (s == send || (*s != 'A' && *s != 'a')) return 0; |
| 4589 |
s++; if (s == send || (*s != 'N' && *s != 'n')) return 0; |
| 4590 |
s++; |
| 4591 |
sawnan = 1; |
| 4592 |
} else |
| 4593 |
return 0; |
| 4594 |
|
| 4595 |
if (sawinf) { |
| 4596 |
numtype &= IS_NUMBER_NEG; |
| 4597 |
numtype |= IS_NUMBER_INFINITY | IS_NUMBER_NOT_INT; |
| 4598 |
} else if (sawnan) { |
| 4599 |
numtype &= IS_NUMBER_NEG; |
| 4600 |
numtype |= IS_NUMBER_NAN | IS_NUMBER_NOT_INT; |
| 4601 |
} else if (s < send) { |
| 4602 |
|
| 4603 |
if (*s == 'e' || *s == 'E') { |
| 4604 |
|
| 4605 |
numtype &= IS_NUMBER_NEG; |
| 4606 |
numtype |= IS_NUMBER_NOT_INT; |
| 4607 |
s++; |
| 4608 |
if (s < send && (*s == '-' || *s == '+')) |
| 4609 |
s++; |
| 4610 |
if (s < send && isDIGIT(*s)) { |
| 4611 |
do { |
| 4612 |
s++; |
| 4613 |
} while (s < send && isDIGIT(*s)); |
| 4614 |
} |
| 4615 |
else |
| 4616 |
return 0; |
| 4617 |
} |
| 4618 |
} |
| 4619 |
while (s < send && isSPACE(*s)) |
| 4620 |
s++; |
| 4621 |
if (s >= send) |
| 4622 |
return numtype; |
| 4623 |
if (len == 10 && memEQ(pv, "0 but true", 10)) { |
| 4624 |
if (valuep) |
| 4625 |
*valuep = 0; |
| 4626 |
return IS_NUMBER_IN_UV; |
| 4627 |
} |
| 4628 |
return 0; |
| 4629 |
} |
| 4630 |
#endif |
| 4631 |
#endif |
| 4632 |
|
| 4633 |
|
| 4634 |
|
| 4635 |
|
| 4636 |
|
| 4637 |
|
| 4638 |
|
| 4639 |
#ifndef grok_bin |
| 4640 |
#if defined(NEED_grok_bin) |
| 4641 |
static UV DPPP_(my_grok_bin)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4642 |
static |
| 4643 |
#else |
| 4644 |
extern UV DPPP_(my_grok_bin)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4645 |
#endif |
| 4646 |
|
| 4647 |
#ifdef grok_bin |
| 4648 |
# undef grok_bin |
| 4649 |
#endif |
| 4650 |
#define grok_bin(a,b,c,d) DPPP_(my_grok_bin)(aTHX_ a,b,c,d) |
| 4651 |
#define Perl_grok_bin DPPP_(my_grok_bin) |
| 4652 |
|
| 4653 |
#if defined(NEED_grok_bin) || defined(NEED_grok_bin_GLOBAL) |
| 4654 |
UV |
| 4655 |
DPPP_(my_grok_bin)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) |
| 4656 |
{ |
| 4657 |
const char *s = start; |
| 4658 |
STRLEN len = *len_p; |
| 4659 |
UV value = 0; |
| 4660 |
NV value_nv = 0; |
| 4661 |
|
| 4662 |
const UV max_div_2 = UV_MAX / 2; |
| 4663 |
bool allow_underscores = *flags & PERL_SCAN_ALLOW_UNDERSCORES; |
| 4664 |
bool overflowed = FALSE; |
| 4665 |
|
| 4666 |
if (!(*flags & PERL_SCAN_DISALLOW_PREFIX)) { |
| 4667 |
|
| 4668 |
|
| 4669 |
|
| 4670 |
if (len >= 1) { |
| 4671 |
if (s[0] == 'b') { |
| 4672 |
s++; |
| 4673 |
len--; |
| 4674 |
} |
| 4675 |
else if (len >= 2 && s[0] == '0' && s[1] == 'b') { |
| 4676 |
s+=2; |
| 4677 |
len-=2; |
| 4678 |
} |
| 4679 |
} |
| 4680 |
} |
| 4681 |
|
| 4682 |
for (; len-- && *s; s++) { |
| 4683 |
char bit = *s; |
| 4684 |
if (bit == '0' || bit == '1') { |
| 4685 |
|
| 4686 |
|
| 4687 |
|
| 4688 |
redo: |
| 4689 |
if (!overflowed) { |
| 4690 |
if (value <= max_div_2) { |
| 4691 |
value = (value << 1) | (bit - '0'); |
| 4692 |
continue; |
| 4693 |
} |
| 4694 |
|
| 4695 |
warn("Integer overflow in binary number"); |
| 4696 |
overflowed = TRUE; |
| 4697 |
value_nv = (NV) value; |
| 4698 |
} |
| 4699 |
value_nv *= 2.0; |
| 4700 |
|
| 4701 |
|
| 4702 |
|
| 4703 |
|
| 4704 |
|
| 4705 |
|
| 4706 |
value_nv += (NV)(bit - '0'); |
| 4707 |
continue; |
| 4708 |
} |
| 4709 |
if (bit == '_' && len && allow_underscores && (bit = s[1]) |
| 4710 |
&& (bit == '0' || bit == '1')) |
| 4711 |
{ |
| 4712 |
--len; |
| 4713 |
++s; |
| 4714 |
goto redo; |
| 4715 |
} |
| 4716 |
if (!(*flags & PERL_SCAN_SILENT_ILLDIGIT)) |
| 4717 |
warn("Illegal binary digit '%c' ignored", *s); |
| 4718 |
break; |
| 4719 |
} |
| 4720 |
|
| 4721 |
if ( ( overflowed && value_nv > 4294967295.0) |
| 4722 |
#if UVSIZE > 4 |
| 4723 |
|| (!overflowed && value > 0xffffffff ) |
| 4724 |
#endif |
| 4725 |
) { |
| 4726 |
warn("Binary number > 0b11111111111111111111111111111111 non-portable"); |
| 4727 |
} |
| 4728 |
*len_p = s - start; |
| 4729 |
if (!overflowed) { |
| 4730 |
*flags = 0; |
| 4731 |
return value; |
| 4732 |
} |
| 4733 |
*flags = PERL_SCAN_GREATER_THAN_UV_MAX; |
| 4734 |
if (result) |
| 4735 |
*result = value_nv; |
| 4736 |
return UV_MAX; |
| 4737 |
} |
| 4738 |
#endif |
| 4739 |
#endif |
| 4740 |
|
| 4741 |
#ifndef grok_hex |
| 4742 |
#if defined(NEED_grok_hex) |
| 4743 |
static UV DPPP_(my_grok_hex)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4744 |
static |
| 4745 |
#else |
| 4746 |
extern UV DPPP_(my_grok_hex)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4747 |
#endif |
| 4748 |
|
| 4749 |
#ifdef grok_hex |
| 4750 |
# undef grok_hex |
| 4751 |
#endif |
| 4752 |
#define grok_hex(a,b,c,d) DPPP_(my_grok_hex)(aTHX_ a,b,c,d) |
| 4753 |
#define Perl_grok_hex DPPP_(my_grok_hex) |
| 4754 |
|
| 4755 |
#if defined(NEED_grok_hex) || defined(NEED_grok_hex_GLOBAL) |
| 4756 |
UV |
| 4757 |
DPPP_(my_grok_hex)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) |
| 4758 |
{ |
| 4759 |
const char *s = start; |
| 4760 |
STRLEN len = *len_p; |
| 4761 |
UV value = 0; |
| 4762 |
NV value_nv = 0; |
| 4763 |
|
| 4764 |
const UV max_div_16 = UV_MAX / 16; |
| 4765 |
bool allow_underscores = *flags & PERL_SCAN_ALLOW_UNDERSCORES; |
| 4766 |
bool overflowed = FALSE; |
| 4767 |
const char *xdigit; |
| 4768 |
|
| 4769 |
if (!(*flags & PERL_SCAN_DISALLOW_PREFIX)) { |
| 4770 |
|
| 4771 |
|
| 4772 |
|
| 4773 |
if (len >= 1) { |
| 4774 |
if (s[0] == 'x') { |
| 4775 |
s++; |
| 4776 |
len--; |
| 4777 |
} |
| 4778 |
else if (len >= 2 && s[0] == '0' && s[1] == 'x') { |
| 4779 |
s+=2; |
| 4780 |
len-=2; |
| 4781 |
} |
| 4782 |
} |
| 4783 |
} |
| 4784 |
|
| 4785 |
for (; len-- && *s; s++) { |
| 4786 |
xdigit = strchr((char *) PL_hexdigit, *s); |
| 4787 |
if (xdigit) { |
| 4788 |
|
| 4789 |
|
| 4790 |
|
| 4791 |
redo: |
| 4792 |
if (!overflowed) { |
| 4793 |
if (value <= max_div_16) { |
| 4794 |
value = (value << 4) | ((xdigit - PL_hexdigit) & 15); |
| 4795 |
continue; |
| 4796 |
} |
| 4797 |
warn("Integer overflow in hexadecimal number"); |
| 4798 |
overflowed = TRUE; |
| 4799 |
value_nv = (NV) value; |
| 4800 |
} |
| 4801 |
value_nv *= 16.0; |
| 4802 |
|
| 4803 |
|
| 4804 |
|
| 4805 |
|
| 4806 |
|
| 4807 |
|
| 4808 |
value_nv += (NV)((xdigit - PL_hexdigit) & 15); |
| 4809 |
continue; |
| 4810 |
} |
| 4811 |
if (*s == '_' && len && allow_underscores && s[1] |
| 4812 |
&& (xdigit = strchr((char *) PL_hexdigit, s[1]))) |
| 4813 |
{ |
| 4814 |
--len; |
| 4815 |
++s; |
| 4816 |
goto redo; |
| 4817 |
} |
| 4818 |
if (!(*flags & PERL_SCAN_SILENT_ILLDIGIT)) |
| 4819 |
warn("Illegal hexadecimal digit '%c' ignored", *s); |
| 4820 |
break; |
| 4821 |
} |
| 4822 |
|
| 4823 |
if ( ( overflowed && value_nv > 4294967295.0) |
| 4824 |
#if UVSIZE > 4 |
| 4825 |
|| (!overflowed && value > 0xffffffff ) |
| 4826 |
#endif |
| 4827 |
) { |
| 4828 |
warn("Hexadecimal number > 0xffffffff non-portable"); |
| 4829 |
} |
| 4830 |
*len_p = s - start; |
| 4831 |
if (!overflowed) { |
| 4832 |
*flags = 0; |
| 4833 |
return value; |
| 4834 |
} |
| 4835 |
*flags = PERL_SCAN_GREATER_THAN_UV_MAX; |
| 4836 |
if (result) |
| 4837 |
*result = value_nv; |
| 4838 |
return UV_MAX; |
| 4839 |
} |
| 4840 |
#endif |
| 4841 |
#endif |
| 4842 |
|
| 4843 |
#ifndef grok_oct |
| 4844 |
#if defined(NEED_grok_oct) |
| 4845 |
static UV DPPP_(my_grok_oct)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4846 |
static |
| 4847 |
#else |
| 4848 |
extern UV DPPP_(my_grok_oct)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result); |
| 4849 |
#endif |
| 4850 |
|
| 4851 |
#ifdef grok_oct |
| 4852 |
# undef grok_oct |
| 4853 |
#endif |
| 4854 |
#define grok_oct(a,b,c,d) DPPP_(my_grok_oct)(aTHX_ a,b,c,d) |
| 4855 |
#define Perl_grok_oct DPPP_(my_grok_oct) |
| 4856 |
|
| 4857 |
#if defined(NEED_grok_oct) || defined(NEED_grok_oct_GLOBAL) |
| 4858 |
UV |
| 4859 |
DPPP_(my_grok_oct)(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) |
| 4860 |
{ |
| 4861 |
const char *s = start; |
| 4862 |
STRLEN len = *len_p; |
| 4863 |
UV value = 0; |
| 4864 |
NV value_nv = 0; |
| 4865 |
|
| 4866 |
const UV max_div_8 = UV_MAX / 8; |
| 4867 |
bool allow_underscores = *flags & PERL_SCAN_ALLOW_UNDERSCORES; |
| 4868 |
bool overflowed = FALSE; |
| 4869 |
|
| 4870 |
for (; len-- && *s; s++) { |
| 4871 |
|
| 4872 |
|
| 4873 |
int digit = *s - '0'; |
| 4874 |
if (digit >= 0 && digit <= 7) { |
| 4875 |
|
| 4876 |
|
| 4877 |
|
| 4878 |
redo: |
| 4879 |
if (!overflowed) { |
| 4880 |
if (value <= max_div_8) { |
| 4881 |
value = (value << 3) | digit; |
| 4882 |
continue; |
| 4883 |
} |
| 4884 |
|
| 4885 |
warn("Integer overflow in octal number"); |
| 4886 |
overflowed = TRUE; |
| 4887 |
value_nv = (NV) value; |
| 4888 |
} |
| 4889 |
value_nv *= 8.0; |
| 4890 |
|
| 4891 |
|
| 4892 |
|
| 4893 |
|
| 4894 |
|
| 4895 |
|
| 4896 |
value_nv += (NV)digit; |
| 4897 |
continue; |
| 4898 |
} |
| 4899 |
if (digit == ('_' - '0') && len && allow_underscores |
| 4900 |
&& (digit = s[1] - '0') && (digit >= 0 && digit <= 7)) |
| 4901 |
{ |
| 4902 |
--len; |
| 4903 |
++s; |
| 4904 |
goto redo; |
| 4905 |
} |
| 4906 |
|
| 4907 |
|
| 4908 |
|
| 4909 |
if (digit == 8 || digit == 9) { |
| 4910 |
if (!(*flags & PERL_SCAN_SILENT_ILLDIGIT)) |
| 4911 |
warn("Illegal octal digit '%c' ignored", *s); |
| 4912 |
} |
| 4913 |
break; |
| 4914 |
} |
| 4915 |
|
| 4916 |
if ( ( overflowed && value_nv > 4294967295.0) |
| 4917 |
#if UVSIZE > 4 |
| 4918 |
|| (!overflowed && value > 0xffffffff ) |
| 4919 |
#endif |
| 4920 |
) { |
| 4921 |
warn("Octal number > 037777777777 non-portable"); |
| 4922 |
} |
| 4923 |
*len_p = s - start; |
| 4924 |
if (!overflowed) { |
| 4925 |
*flags = 0; |
| 4926 |
return value; |
| 4927 |
} |
| 4928 |
*flags = PERL_SCAN_GREATER_THAN_UV_MAX; |
| 4929 |
if (result) |
| 4930 |
*result = value_nv; |
| 4931 |
return UV_MAX; |
| 4932 |
} |
| 4933 |
#endif |
| 4934 |
#endif |
| 4935 |
|
| 4936 |
#ifdef NO_XSLOCKS |
| 4937 |
# ifdef dJMPENV |
| 4938 |
# define dXCPT dJMPENV; int rEtV = 0 |
| 4939 |
# define XCPT_TRY_START JMPENV_PUSH(rEtV); if (rEtV == 0) |
| 4940 |
# define XCPT_TRY_END JMPENV_POP; |
| 4941 |
# define XCPT_CATCH if (rEtV != 0) |
| 4942 |
# define XCPT_RETHROW JMPENV_JUMP(rEtV) |
| 4943 |
# else |
| 4944 |
# define dXCPT Sigjmp_buf oldTOP; int rEtV = 0 |
| 4945 |
# define XCPT_TRY_START Copy(top_env, oldTOP, 1, Sigjmp_buf); rEtV = Sigsetjmp(top_env, 1); if (rEtV == 0) |
| 4946 |
# define XCPT_TRY_END Copy(oldTOP, top_env, 1, Sigjmp_buf); |
| 4947 |
# define XCPT_CATCH if (rEtV != 0) |
| 4948 |
# define XCPT_RETHROW Siglongjmp(top_env, rEtV) |
| 4949 |
# endif |
| 4950 |
#endif |
| 4951 |
|
| 4952 |
#endif |
| 4953 |
|
| 4954 |
|