|
549 | 549 | has a
|
550 | 550 | \term{seekable area},
|
551 | 551 | delimited by the pointers \tcode{seeklow} and \tcode{seekhigh}.
|
552 |
| -If \tcode{gnext} is a null pointer, the seekable area is undefined. |
| 552 | +If \tcode{gnext} is a null pointer value, the seekable area is undefined. |
553 | 553 | Otherwise, \tcode{seeklow} equals \tcode{gbeg} and
|
554 | 554 | \tcode{seekhigh} is either \tcode{pend},
|
555 |
| -if \tcode{pend} is not a null pointer, or \tcode{gend}. |
| 555 | +if \tcode{pend} is a non-null pointer value, or \tcode{gend}. |
556 | 556 |
|
557 | 557 | \rSec3[depr.strstreambuf.cons]{\tcode{strstreambuf} constructors}
|
558 | 558 |
|
|
571 | 571 | \begin{libtab2}{\tcode{strstreambuf(streamsize)} effects}{depr.strstreambuf.cons.sz}
|
572 | 572 | {ll}
|
573 | 573 | {Element}{Value}
|
574 |
| -\tcode{strmode} & \tcode{dynamic} \\ |
575 |
| -\tcode{alsize} & \tcode{alsize_arg} \\ |
576 |
| -\tcode{palloc} & a null pointer \\ |
577 |
| -\tcode{pfree} & a null pointer \\ |
| 574 | +\tcode{strmode} & \tcode{dynamic} \\ |
| 575 | +\tcode{alsize} & \tcode{alsize_arg} \\ |
| 576 | +\tcode{palloc} & a null pointer value \\ |
| 577 | +\tcode{pfree} & a null pointer value \\ |
578 | 578 | \end{libtab2}
|
579 | 579 |
|
580 | 580 | \indexlibraryctor{strstreambuf}%
|
|
621 | 621 | {Element}{Value}
|
622 | 622 | \tcode{strmode} & 0 \\
|
623 | 623 | \tcode{alsize} & an unspecified value \\
|
624 |
| -\tcode{palloc} & a null pointer \\ |
625 |
| -\tcode{pfree} & a null pointer \\ |
| 624 | +\tcode{palloc} & a null pointer value \\ |
| 625 | +\tcode{pfree} & a null pointer value \\ |
626 | 626 | \end{libtab2}
|
627 | 627 |
|
628 | 628 | \pnum
|
|
651 | 651 | \end{itemize}
|
652 | 652 |
|
653 | 653 | \pnum
|
654 |
| -If \tcode{pbeg_arg} is a null pointer, the function executes: |
| 654 | +If \tcode{pbeg_arg} is a null pointer value, the function executes: |
655 | 655 |
|
656 | 656 | \begin{codeblock}
|
657 | 657 | setg(gnext_arg, gnext_arg, gnext_arg + N);
|
|
734 | 734 |
|
735 | 735 | \pnum
|
736 | 736 | \remarks
|
737 |
| -The return value can be a null pointer. |
| 737 | +The return value can be a null pointer value. |
738 | 738 | \end{itemdescr}
|
739 | 739 |
|
740 | 740 | \indexlibrarymember{pcount}{strstreambuf}%
|
|
746 | 746 | \pnum
|
747 | 747 | \effects
|
748 | 748 | If the next pointer for the output sequence, \tcode{pnext}, is
|
749 |
| -a null pointer, returns zero. |
| 749 | +a null pointer value, returns zero. |
750 | 750 | Otherwise, returns the current
|
751 | 751 | effective length of the array object as the next pointer minus the beginning
|
752 | 752 | pointer for the output sequence, \tcode{pnext - pbeg}.
|
|
806 | 806 | \indextext{unspecified}%
|
807 | 807 | \footnote{An implementation should consider \tcode{alsize} in making this
|
808 | 808 | decision.}
|
809 |
| -If \tcode{palloc} is not a null pointer, the function calls |
| 809 | +If \tcode{palloc} is a non-null pointer value, the function calls |
810 | 810 | \tcode{(*palloc)(n)}
|
811 | 811 | to allocate the new dynamic array object.
|
812 | 812 | Otherwise, it evaluates the expression
|
|
818 | 818 | \pnum
|
819 | 819 | To free a previously existing dynamic array object whose first
|
820 | 820 | element address is \tcode{p}:
|
821 |
| -If \tcode{pfree} is not a null pointer, |
| 821 | +If \tcode{pfree} is a non-null pointer value, |
822 | 822 | the function calls
|
823 | 823 | \tcode{(*pfree)(p)}.
|
824 | 824 | Otherwise, it evaluates the expression \tcode{delete[]p}.
|
|
905 | 905 | \tcode{(unsigned char)\brk*gnext}.
|
906 | 906 | \item
|
907 | 907 | Otherwise, if
|
908 |
| -the current write next pointer \tcode{pnext} is not a null pointer and |
| 908 | +the current write next pointer \tcode{pnext} is a non-null pointer value and |
909 | 909 | is greater than the current read end pointer \tcode{gend},
|
910 | 910 | makes a
|
911 | 911 | \term{read position}
|
|
955 | 955 | \end{libtab2}
|
956 | 956 |
|
957 | 957 | \pnum
|
958 |
| -For a sequence to be positioned, if its next pointer is a null pointer, |
| 958 | +For a sequence to be positioned, if its next pointer is a null pointer value, |
959 | 959 | the positioning operation fails.
|
960 | 960 | Otherwise, the function determines \tcode{newoff} as indicated in
|
961 | 961 | \tref{depr.strstreambuf.seekoff.newoff}.
|
|
1018 | 1018 | \end{itemize}
|
1019 | 1019 |
|
1020 | 1020 | \pnum
|
1021 |
| -For a sequence to be positioned, if its next pointer is a null pointer, |
| 1021 | +For a sequence to be positioned, if its next pointer is a null pointer value, |
1022 | 1022 | the positioning operation fails.
|
1023 | 1023 | Otherwise, the function determines \tcode{newoff} from
|
1024 | 1024 | \tcode{sp.offset()}:
|
|
1727 | 1727 |
|
1728 | 1728 | \begin{itemdescr}
|
1729 | 1729 | \pnum
|
1730 |
| -\requires \tcode{p} shall not be null. |
| 1730 | +\requires \tcode{p} shall be a non-null pointer value. |
1731 | 1731 |
|
1732 | 1732 | \pnum
|
1733 | 1733 | \returns
|
|
1745 | 1745 |
|
1746 | 1746 | \begin{itemdescr}
|
1747 | 1747 | \pnum
|
1748 |
| -\requires \tcode{p} shall not be null. |
| 1748 | +\requires \tcode{p} shall be a non-null pointer value. |
1749 | 1749 |
|
1750 | 1750 | \pnum
|
1751 | 1751 | \returns
|
|
1763 | 1763 |
|
1764 | 1764 | \begin{itemdescr}
|
1765 | 1765 | \pnum
|
1766 |
| -\requires \tcode{p} shall not be null. |
| 1766 | +\requires \tcode{p} shall be a non-null pointer value. |
1767 | 1767 |
|
1768 | 1768 | \pnum
|
1769 | 1769 | \requires \tcode{mo} shall not be \tcode{memory_order_release} or \tcode{memory_order_acq_rel}.
|
|
1784 | 1784 |
|
1785 | 1785 | \begin{itemdescr}
|
1786 | 1786 | \pnum
|
1787 |
| -\requires \tcode{p} shall not be null. |
| 1787 | +\requires \tcode{p} shall be a non-null pointer value. |
1788 | 1788 |
|
1789 | 1789 | \pnum
|
1790 | 1790 | \effects
|
|
1802 | 1802 |
|
1803 | 1803 | \begin{itemdescr}
|
1804 | 1804 | \pnum
|
1805 |
| -\requires \tcode{p} shall not be null. |
| 1805 | +\requires \tcode{p} shall be a non-null pointer value. |
1806 | 1806 |
|
1807 | 1807 | \pnum
|
1808 | 1808 | \requires \tcode{mo} shall not be \tcode{memory_order_acquire} or \tcode{memory_order_acq_rel}.
|
|
1823 | 1823 |
|
1824 | 1824 | \begin{itemdescr}
|
1825 | 1825 | \pnum
|
1826 |
| -\requires \tcode{p} shall not be null. |
| 1826 | +\requires \tcode{p} shall be a non-null pointer value |
1827 | 1827 |
|
1828 | 1828 | \pnum
|
1829 | 1829 | \returns
|
|
1842 | 1842 |
|
1843 | 1843 | \begin{itemdescr}
|
1844 | 1844 | \pnum
|
1845 |
| -\requires \tcode{p} shall not be null. |
| 1845 | +\requires \tcode{p} shall be a non-null pointer value. |
1846 | 1846 |
|
1847 | 1847 | \pnum
|
1848 | 1848 | \effects
|
|
1865 | 1865 |
|
1866 | 1866 | \begin{itemdescr}
|
1867 | 1867 | \pnum
|
1868 |
| -\requires \tcode{p} shall not be null and \tcode{v} shall not be null. |
| 1868 | +\requires \tcode{p} and \tcode{v} shall be non-null pointer values. |
1869 | 1869 |
|
1870 | 1870 | \pnum
|
1871 | 1871 | \returns
|
|
1907 | 1907 |
|
1908 | 1908 | \begin{itemdescr}
|
1909 | 1909 | \pnum
|
1910 |
| -\requires \tcode{p} shall not be null and \tcode{v} shall not be null. |
| 1910 | +\requires \tcode{p} and \tcode{v} shall be non-null pointer values. |
1911 | 1911 | The \tcode{failure} argument shall not be \tcode{memory_order_release} nor
|
1912 | 1912 | \tcode{memory_order_acq_rel}.
|
1913 | 1913 |
|
|
0 commit comments