C SYSTEMS
|
Type
|
Level
|
MID
|
UID
|
REFS
|
Title
|
Statement
|
Rationale
|
Comment
|
BIBLIOGRAPHY
|
STATUS
|
COMPONENT
|
APPLICABILITY
|
VERIFICATION_METHODS
|
VERIFICATION_CRITERIA
|
SOURCE
|
LANGUAGE
|
VISIBILITY
|
INTERFACE
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SW_SPEC
|
1 |
|
|
|
The Constraint_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied constraint with the native system's topology and dimension rules. The represented condition after insertion shall be the conjunction of the previous condition and the inserted constraint. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated. The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply. |
Systems own elements, while traversal only borrows them. |
|
|
|
|
|
Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories. |
interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc. |
|
|
Public header: <ppl_c.h>. int ppl_new_Constraint_System(ppl_Constraint_System_t *pcs); int ppl_new_Constraint_System_zero_dim_empty(ppl_Constraint_System_t *pcs); int ppl_new_Constraint_System_from_Constraint(ppl_Constraint_System_t *pcs, ppl_const_Constraint_t c); int ppl_new_Constraint_System_from_Constraint_System( ppl_Constraint_System_t *pcs, ppl_const_Constraint_System_t cs); int ppl_assign_Constraint_System_from_Constraint_System( ppl_Constraint_System_t dst, ppl_const_Constraint_System_t src); int ppl_delete_Constraint_System(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_space_dimension(ppl_const_Constraint_System_t cs, ppl_dimension_type *m); int ppl_Constraint_System_empty(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_has_strict_inequalities( ppl_const_Constraint_System_t cs); int ppl_Constraint_System_begin(ppl_const_Constraint_System_t cs, ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_end(ppl_const_Constraint_System_t cs, ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_OK(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_clear(ppl_Constraint_System_t cs); int ppl_Constraint_System_insert_Constraint(ppl_Constraint_System_t cs, ppl_const_Constraint_t c); |
||
|
SW_SPEC
|
2 |
|
|
|
The Generator_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied element with the native system's topology and dimension rules. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated. The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply. |
Systems own elements, while traversal only borrows them. |
|
|
|
|
|
Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories. |
interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc. |
|
|
Public header: <ppl_c.h>. int ppl_new_Generator_System(ppl_Generator_System_t *pgs); int ppl_new_Generator_System_zero_dim_univ(ppl_Generator_System_t *pgs); int ppl_new_Generator_System_from_Generator(ppl_Generator_System_t *pgs, ppl_const_Generator_t g); int ppl_new_Generator_System_from_Generator_System( ppl_Generator_System_t *pgs, ppl_const_Generator_System_t gs); int ppl_assign_Generator_System_from_Generator_System( ppl_Generator_System_t dst, ppl_const_Generator_System_t src); int ppl_delete_Generator_System(ppl_const_Generator_System_t gs); int ppl_Generator_System_space_dimension(ppl_const_Generator_System_t gs, ppl_dimension_type *m); int ppl_Generator_System_empty(ppl_const_Generator_System_t gs); int ppl_Generator_System_begin(ppl_const_Generator_System_t gs, ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_end(ppl_const_Generator_System_t gs, ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_OK(ppl_const_Generator_System_t gs); int ppl_Generator_System_clear(ppl_Generator_System_t gs); int ppl_Generator_System_insert_Generator(ppl_Generator_System_t gs, ppl_const_Generator_t g); |
||
|
SW_SPEC
|
3 |
|
|
|
The Congruence_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied congruence with the native system's dimension rules. The represented condition after insertion shall be the conjunction of the previous condition and the inserted congruence. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated. The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply. |
Systems own elements, while traversal only borrows them. |
|
|
|
|
|
Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories. |
interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc. |
|
|
Public header: <ppl_c.h>. int ppl_new_Congruence_System(ppl_Congruence_System_t *pcs); int ppl_new_Congruence_System_zero_dim_empty(ppl_Congruence_System_t *pcs); int ppl_new_Congruence_System_from_Congruence(ppl_Congruence_System_t *pcs, ppl_const_Congruence_t c); int ppl_new_Congruence_System_from_Congruence_System( ppl_Congruence_System_t *pcs, ppl_const_Congruence_System_t cs); int ppl_assign_Congruence_System_from_Congruence_System( ppl_Congruence_System_t dst, ppl_const_Congruence_System_t src); int ppl_delete_Congruence_System(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_space_dimension(ppl_const_Congruence_System_t cs, ppl_dimension_type *m); int ppl_Congruence_System_empty(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_begin(ppl_const_Congruence_System_t cs, ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_end(ppl_const_Congruence_System_t cs, ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_OK(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_clear(ppl_Congruence_System_t cs); int ppl_Congruence_System_insert_Congruence(ppl_Congruence_System_t cs, ppl_const_Congruence_t c); |
||
|
SW_SPEC
|
4 |
|
|
|
The Grid_Generator_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied element with the native system's topology and dimension rules. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated. The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply. |
Systems own elements, while traversal only borrows them. |
|
|
|
|
|
Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories. |
interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc. |
|
|
Public header: <ppl_c.h>. int ppl_new_Grid_Generator_System(ppl_Grid_Generator_System_t *pgs); int ppl_new_Grid_Generator_System_zero_dim_univ( ppl_Grid_Generator_System_t *pgs); int ppl_new_Grid_Generator_System_from_Grid_Generator( ppl_Grid_Generator_System_t *pgs, ppl_const_Grid_Generator_t g); int ppl_new_Grid_Generator_System_from_Grid_Generator_System( ppl_Grid_Generator_System_t *pgs, ppl_const_Grid_Generator_System_t gs); int ppl_assign_Grid_Generator_System_from_Grid_Generator_System( ppl_Grid_Generator_System_t dst, ppl_const_Grid_Generator_System_t src); int ppl_delete_Grid_Generator_System(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_space_dimension( ppl_const_Grid_Generator_System_t gs, ppl_dimension_type *m); int ppl_Grid_Generator_System_empty(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_begin( ppl_const_Grid_Generator_System_t gs, ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_end( ppl_const_Grid_Generator_System_t gs, ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_OK(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_clear(ppl_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_insert_Grid_Generator( ppl_Grid_Generator_System_t gs, ppl_const_Grid_Generator_t g); |
||
|
SW_SPEC
|
5 |
|
|
|
Iterator constructors shall allocate caller-owned iterator positions; copying and assignment shall copy positions without copying or extending the lifetime of their system or elements. Begin/end shall position them in the supplied live system. Equality shall compare valid positions in that same system. Increment shall advance a valid non-end position; dereference shall return a borrowed const element at a dereferenceable position. Mutation, replacement or destruction of the owning system shall obey the native invalidation rules. Iterator deletion shall release only iterator storage. The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply. |
An allocated iterator does not acquire ownership of its range. |
|
|
|
|
|
Traverse empty/nonempty systems, copy/assign positions and compare begin/end, then release iterators independently of borrowed elements. |
interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc. |
|
|
Public header: <ppl_c.h>. int ppl_new_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t *pcit); int ppl_new_Constraint_System_const_iterator_from_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t *pcit, ppl_const_Constraint_System_const_iterator_t cit); int ppl_assign_Constraint_System_const_iterator_from_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t dst, ppl_const_Constraint_System_const_iterator_t src); int ppl_delete_Constraint_System_const_iterator( ppl_const_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_const_iterator_dereference( ppl_const_Constraint_System_const_iterator_t cit, ppl_const_Constraint_t *pc); int ppl_Constraint_System_const_iterator_increment( ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_const_iterator_equal_test( ppl_const_Constraint_System_const_iterator_t x, ppl_const_Constraint_System_const_iterator_t y); int ppl_new_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t *pgit); int ppl_new_Generator_System_const_iterator_from_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t *pgit, ppl_const_Generator_System_const_iterator_t git); int ppl_assign_Generator_System_const_iterator_from_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t dst, ppl_const_Generator_System_const_iterator_t src); int ppl_delete_Generator_System_const_iterator( ppl_const_Generator_System_const_iterator_t git); int ppl_Generator_System_const_iterator_dereference( ppl_const_Generator_System_const_iterator_t git, ppl_const_Generator_t *pg); int ppl_Generator_System_const_iterator_increment( ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_const_iterator_equal_test( ppl_const_Generator_System_const_iterator_t x, ppl_const_Generator_System_const_iterator_t y); int ppl_new_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t *pcit); int ppl_new_Congruence_System_const_iterator_from_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t *pcit, ppl_const_Congruence_System_const_iterator_t cit); int ppl_assign_Congruence_System_const_iterator_from_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t dst, ppl_const_Congruence_System_const_iterator_t src); int ppl_delete_Congruence_System_const_iterator( ppl_const_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_const_iterator_dereference( ppl_const_Congruence_System_const_iterator_t cit, ppl_const_Congruence_t *pc); int ppl_Congruence_System_const_iterator_increment( ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_const_iterator_equal_test( ppl_const_Congruence_System_const_iterator_t x, ppl_const_Congruence_System_const_iterator_t y); int ppl_new_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t *pgit); int ppl_new_Grid_Generator_System_const_iterator_from_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t *pgit, ppl_const_Grid_Generator_System_const_iterator_t git); int ppl_assign_Grid_Generator_System_const_iterator_from_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t dst, ppl_const_Grid_Generator_System_const_iterator_t src); int ppl_delete_Grid_Generator_System_const_iterator( ppl_const_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_const_iterator_dereference( ppl_const_Grid_Generator_System_const_iterator_t git, ppl_const_Grid_Generator_t *pg); int ppl_Grid_Generator_System_const_iterator_increment( ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_const_iterator_equal_test( ppl_const_Grid_Generator_System_const_iterator_t x, ppl_const_Grid_Generator_System_const_iterator_t y); |