29 pcol = sm_col_freelist;
56#if defined(FAST_AND_LOOSE) && ! defined(COLS)
59 pcol->
last_row->next_row = sm_element_freelist;
65 sm_col_freelist = pcol;
110 next_row, prev_row, row_num, row, test);
113 if (element != test) {
132 for(
p = pcol->
first_row;
p != 0 &&
p->row_num < row;
p =
p->next_row)
134 if (
p != 0 &&
p->row_num == row) {
136 next_row, prev_row, pcol->
length);
152 for(
p = pcol->
first_row;
p != 0 &&
p->row_num < row;
p =
p->next_row)
154 if (
p != 0 &&
p->row_num == row) {
173 if (q2 == 0 || q1->row_num < q2->row_num) {
175 }
else if (q1->row_num == q2->row_num) {
197 if (q1 == 0 || q2 == 0)
return 0;
199 if (q1->row_num < q2->row_num) {
200 if ((q1 = q1->next_row) == 0) {
203 }
else if (q1->row_num > q2->row_num) {
204 if ((q2 = q2->next_row) == 0) {
225 while(q1 != 0 && q2 != 0) {
226 if (q1->row_num != q2->row_num) {
227 return q1->row_num - q2->row_num;
235 }
else if (q2 != 0) {
256 if (q1 == 0 || q2 == 0)
return result;
258 if (q1->row_num < q2->row_num) {
259 if ((q1 = q1->next_row) == 0) {
262 }
else if (q1->row_num > q2->row_num) {
263 if ((q2 = q2->next_row) == 0) {
268 if ((q1 = q1->next_row) == 0) {
271 if ((q2 = q2->next_row) == 0) {
288 sum = (sum*17 +
p->row_num) % modulus;
302 next_row, prev_row, pcol->
length);
315 (void) fprintf(fp,
" %d",
p->row_num);
#define ABC_NAMESPACE_IMPL_START
#define ABC_NAMESPACE_IMPL_END
ABC_NAMESPACE_IMPL_START sm_col * sm_col_alloc()
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
struct sm_col_struct sm_col
sm_element * sm_col_find()
sm_element * sm_col_insert()
#define sm_element_alloc(newobj)
void sm_col_remove_element()
#define dll_unlink(p, first, last, next, prev, count)
#define sm_element_free(e)