Esempio n. 1
0
int verify_set(Parse_info * pi) {
    X_table_connector *t;
    int i;
    int overflowed;

    overflowed=FALSE;
    assert(pi->x_table != NULL, "called verify_set when x_table==NULL");
    for (i=0; i<pi->x_table_size; i++) {
	for(t = pi->x_table[i]; t!= NULL; t=t->next) {
	    overflowed = (overflowed || verify_set_node(t->set));
	}
    }
    return overflowed;
}
Esempio n. 2
0
static bool verify_set(Parse_info pi)
{
    unsigned int i;

    assert(pi->x_table != NULL, "called verify_set when x_table==NULL");
    for (i=0; i<pi->x_table_size; i++)
    {
        X_table_connector *t;
        for(t = pi->x_table[i]; t != NULL; t = t->next)
        {
            if (verify_set_node(t->set)) return true;
        }
    }
    return false;
}
Esempio n. 3
0
static int verify_set(Parse_info pi)
{
	int i;

	assert(pi->x_table != NULL, "called verify_set when x_table==NULL");
	for (i=0; i<pi->x_table_size; i++)
	{
		X_table_connector *t;
		for(t = pi->x_table[i]; t != NULL; t = t->next)
		{
			if (verify_set_node(t->set)) return TRUE;
		}
	}
	return FALSE;
}