PIPS
effects.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "effects.h"
+ Include dependency graph for effects.c:

Go to the source code of this file.

Typedefs

typedef void * Psysteme
 

Functions

action_kind copy_action_kind (action_kind p)
 ACTION_KIND. More...
 
void free_action_kind (action_kind p)
 
action_kind check_action_kind (action_kind p)
 
bool action_kind_consistent_p (action_kind p)
 
bool action_kind_defined_p (action_kind p)
 
list gen_action_kind_cons (action_kind p, list l)
 
void action_kind_assign_contents (action_kind r, action_kind v)
 
void action_kind_non_recursive_free (action_kind p)
 
void write_action_kind (FILE *f, action_kind p)
 
action_kind read_action_kind (FILE *f)
 
string action_kind_tag_as_string (enum action_kind_utype tag)
 
action_kind make_action_kind (enum action_kind_utype tag, void *val)
 
action_kind make_action_kind_store (void)
 
action_kind make_action_kind_environment (void)
 
action_kind make_action_kind_type_declaration (void)
 
action copy_action (action p)
 ACTION. More...
 
void free_action (action p)
 
action check_action (action p)
 
bool action_consistent_p (action p)
 
bool action_defined_p (action p)
 
list gen_action_cons (action p, list l)
 
void action_assign_contents (action r, action v)
 
void action_non_recursive_free (action p)
 
void write_action (FILE *f, action p)
 
action read_action (FILE *f)
 
string action_tag_as_string (enum action_utype tag)
 
action make_action (enum action_utype tag, void *val)
 
action make_action_read (action_kind _field_)
 
action make_action_write (action_kind _field_)
 
approximation copy_approximation (approximation p)
 APPROXIMATION. More...
 
void free_approximation (approximation p)
 
approximation check_approximation (approximation p)
 
bool approximation_consistent_p (approximation p)
 
bool approximation_defined_p (approximation p)
 
list gen_approximation_cons (approximation p, list l)
 
void approximation_assign_contents (approximation r, approximation v)
 
void approximation_non_recursive_free (approximation p)
 
void write_approximation (FILE *f, approximation p)
 
approximation read_approximation (FILE *f)
 
string approximation_tag_as_string (enum approximation_utype tag)
 
approximation make_approximation (enum approximation_utype tag, void *val)
 
approximation make_approximation_may (void)
 
approximation make_approximation_must (void)
 
approximation make_approximation_exact (void)
 
cell_interpretation copy_cell_interpretation (cell_interpretation p)
 CELL_INTERPRETATION. More...
 
void free_cell_interpretation (cell_interpretation p)
 
cell_interpretation check_cell_interpretation (cell_interpretation p)
 
bool cell_interpretation_consistent_p (cell_interpretation p)
 
bool cell_interpretation_defined_p (cell_interpretation p)
 
list gen_cell_interpretation_cons (cell_interpretation p, list l)
 
void cell_interpretation_assign_contents (cell_interpretation r, cell_interpretation v)
 
void cell_interpretation_non_recursive_free (cell_interpretation p)
 
void write_cell_interpretation (FILE *f, cell_interpretation p)
 
cell_interpretation read_cell_interpretation (FILE *f)
 
string cell_interpretation_tag_as_string (enum cell_interpretation_utype tag)
 
cell_interpretation make_cell_interpretation (enum cell_interpretation_utype tag, void *val)
 
cell_interpretation make_cell_interpretation_value_of (void)
 
cell_interpretation make_cell_interpretation_address_of (void)
 
cell copy_cell (cell p)
 CELL. More...
 
void free_cell (cell p)
 
cell check_cell (cell p)
 
bool cell_consistent_p (cell p)
 
bool cell_defined_p (cell p)
 
list gen_cell_cons (cell p, list l)
 
void cell_assign_contents (cell r, cell v)
 
void cell_non_recursive_free (cell p)
 
void write_cell (FILE *f, cell p)
 
cell read_cell (FILE *f)
 
string cell_tag_as_string (enum cell_utype tag)
 
cell make_cell (enum cell_utype tag, void *val)
 
cell make_cell_reference (reference _field_)
 
cell make_cell_preference (preference _field_)
 
cell make_cell_gap (gap _field_)
 
cell_relation copy_cell_relation (cell_relation p)
 CELL_RELATION. More...
 
void free_cell_relation (cell_relation p)
 
cell_relation check_cell_relation (cell_relation p)
 
bool cell_relation_consistent_p (cell_relation p)
 
bool cell_relation_defined_p (cell_relation p)
 
list gen_cell_relation_cons (cell_relation p, list l)
 
void cell_relation_assign_contents (cell_relation r, cell_relation v)
 
void cell_relation_non_recursive_free (cell_relation p)
 
void write_cell_relation (FILE *f, cell_relation p)
 
cell_relation read_cell_relation (FILE *f)
 
cell_relation make_cell_relation (interpreted_cell a1, interpreted_cell a2, approximation a3, descriptor a4)
 
cell_relations copy_cell_relations (cell_relations p)
 CELL_RELATIONS. More...
 
void free_cell_relations (cell_relations p)
 
cell_relations check_cell_relations (cell_relations p)
 
bool cell_relations_consistent_p (cell_relations p)
 
bool cell_relations_defined_p (cell_relations p)
 
list gen_cell_relations_cons (cell_relations p, list l)
 
void cell_relations_assign_contents (cell_relations r, cell_relations v)
 
void cell_relations_non_recursive_free (cell_relations p)
 
void write_cell_relations (FILE *f, cell_relations p)
 
cell_relations read_cell_relations (FILE *f)
 
cell_relations make_cell_relations (list a)
 
descriptor copy_descriptor (descriptor p)
 DESCRIPTOR. More...
 
void free_descriptor (descriptor p)
 
descriptor check_descriptor (descriptor p)
 
bool descriptor_consistent_p (descriptor p)
 
bool descriptor_defined_p (descriptor p)
 
list gen_descriptor_cons (descriptor p, list l)
 
void descriptor_assign_contents (descriptor r, descriptor v)
 
void descriptor_non_recursive_free (descriptor p)
 
void write_descriptor (FILE *f, descriptor p)
 
descriptor read_descriptor (FILE *f)
 
string descriptor_tag_as_string (enum descriptor_utype tag)
 
descriptor make_descriptor (enum descriptor_utype tag, void *val)
 
descriptor make_descriptor_convexunion (list _field_)
 
descriptor make_descriptor_convex (Psysteme _field_)
 
descriptor make_descriptor_none (void)
 
effect copy_effect (effect p)
 EFFECT. More...
 
void free_effect (effect p)
 
effect check_effect (effect p)
 
bool effect_consistent_p (effect p)
 
bool effect_defined_p (effect p)
 
list gen_effect_cons (effect p, list l)
 
void effect_assign_contents (effect r, effect v)
 
void effect_non_recursive_free (effect p)
 
void write_effect (FILE *f, effect p)
 
effect read_effect (FILE *f)
 
effect make_effect (cell a1, action a2, approximation a3, descriptor a4)
 
effects_classes copy_effects_classes (effects_classes p)
 EFFECTS_CLASSES. More...
 
void free_effects_classes (effects_classes p)
 
effects_classes check_effects_classes (effects_classes p)
 
bool effects_classes_consistent_p (effects_classes p)
 
bool effects_classes_defined_p (effects_classes p)
 
list gen_effects_classes_cons (effects_classes p, list l)
 
void effects_classes_assign_contents (effects_classes r, effects_classes v)
 
void effects_classes_non_recursive_free (effects_classes p)
 
void write_effects_classes (FILE *f, effects_classes p)
 
effects_classes read_effects_classes (FILE *f)
 
effects_classes make_effects_classes (list a)
 
effects copy_effects (effects p)
 EFFECTS. More...
 
void free_effects (effects p)
 
effects check_effects (effects p)
 
bool effects_consistent_p (effects p)
 
bool effects_defined_p (effects p)
 
list gen_effects_cons (effects p, list l)
 
void effects_assign_contents (effects r, effects v)
 
void effects_non_recursive_free (effects p)
 
void write_effects (FILE *f, effects p)
 
effects read_effects (FILE *f)
 
effects make_effects (list a)
 
entity_effects copy_entity_effects (entity_effects p)
 ENTITY_EFFECTS. More...
 
void free_entity_effects (entity_effects p)
 
entity_effects check_entity_effects (entity_effects p)
 
bool entity_effects_consistent_p (entity_effects p)
 
bool entity_effects_defined_p (entity_effects p)
 
list gen_entity_effects_cons (entity_effects p, list l)
 
void entity_effects_assign_contents (entity_effects r, entity_effects v)
 
void entity_effects_non_recursive_free (entity_effects p)
 
void write_entity_effects (FILE *f, entity_effects p)
 
entity_effects read_entity_effects (FILE *f)
 
entity_effects make_entity_effects (void)
 
effects apply_entity_effects (entity_effects f, entity k)
 
void update_entity_effects (entity_effects f, entity k, effects v)
 
void extend_entity_effects (entity_effects f, entity k, effects v)
 
effects delete_entity_effects (entity_effects f, entity k)
 
bool bound_entity_effects_p (entity_effects f, entity k)
 
gap copy_gap (gap p)
 GAP. More...
 
void free_gap (gap p)
 
gap check_gap (gap p)
 
bool gap_consistent_p (gap p)
 
bool gap_defined_p (gap p)
 
list gen_gap_cons (gap p, list l)
 
void gap_assign_contents (gap r, gap v)
 
void gap_non_recursive_free (gap p)
 
void write_gap (FILE *f, gap p)
 
gap read_gap (FILE *f)
 
gap make_gap (entity a1, path_selectors a2)
 
interpreted_cell copy_interpreted_cell (interpreted_cell p)
 INTERPRETED_CELL. More...
 
void free_interpreted_cell (interpreted_cell p)
 
interpreted_cell check_interpreted_cell (interpreted_cell p)
 
bool interpreted_cell_consistent_p (interpreted_cell p)
 
bool interpreted_cell_defined_p (interpreted_cell p)
 
list gen_interpreted_cell_cons (interpreted_cell p, list l)
 
void interpreted_cell_assign_contents (interpreted_cell r, interpreted_cell v)
 
void interpreted_cell_non_recursive_free (interpreted_cell p)
 
void write_interpreted_cell (FILE *f, interpreted_cell p)
 
interpreted_cell read_interpreted_cell (FILE *f)
 
interpreted_cell make_interpreted_cell (cell a1, cell_interpretation a2)
 
path_selector copy_path_selector (path_selector p)
 PATH_SELECTOR. More...
 
void free_path_selector (path_selector p)
 
path_selector check_path_selector (path_selector p)
 
bool path_selector_consistent_p (path_selector p)
 
bool path_selector_defined_p (path_selector p)
 
list gen_path_selector_cons (path_selector p, list l)
 
void path_selector_assign_contents (path_selector r, path_selector v)
 
void path_selector_non_recursive_free (path_selector p)
 
void write_path_selector (FILE *f, path_selector p)
 
path_selector read_path_selector (FILE *f)
 
string path_selector_tag_as_string (enum path_selector_utype tag)
 
path_selector make_path_selector (enum path_selector_utype tag, void *val)
 
path_selector make_path_selector_expression (expression _field_)
 
path_selector make_path_selector_recursive_selector (recursive_selector _field_)
 
path_selectors copy_path_selectors (path_selectors p)
 PATH_SELECTORS. More...
 
void free_path_selectors (path_selectors p)
 
path_selectors check_path_selectors (path_selectors p)
 
bool path_selectors_consistent_p (path_selectors p)
 
bool path_selectors_defined_p (path_selectors p)
 
list gen_path_selectors_cons (path_selectors p, list l)
 
void path_selectors_assign_contents (path_selectors r, path_selectors v)
 
void path_selectors_non_recursive_free (path_selectors p)
 
void write_path_selectors (FILE *f, path_selectors p)
 
path_selectors read_path_selectors (FILE *f)
 
path_selectors make_path_selectors (list a)
 
persistant_expression_to_effects copy_persistant_expression_to_effects (persistant_expression_to_effects p)
 PERSISTANT_EXPRESSION_TO_EFFECTS. More...
 
void free_persistant_expression_to_effects (persistant_expression_to_effects p)
 
persistant_expression_to_effects check_persistant_expression_to_effects (persistant_expression_to_effects p)
 
bool persistant_expression_to_effects_consistent_p (persistant_expression_to_effects p)
 
bool persistant_expression_to_effects_defined_p (persistant_expression_to_effects p)
 
list gen_persistant_expression_to_effects_cons (persistant_expression_to_effects p, list l)
 
void persistant_expression_to_effects_assign_contents (persistant_expression_to_effects r, persistant_expression_to_effects v)
 
void persistant_expression_to_effects_non_recursive_free (persistant_expression_to_effects p)
 
void write_persistant_expression_to_effects (FILE *f, persistant_expression_to_effects p)
 
persistant_expression_to_effects read_persistant_expression_to_effects (FILE *f)
 
persistant_expression_to_effects make_persistant_expression_to_effects (void)
 
effects apply_persistant_expression_to_effects (persistant_expression_to_effects f, expression k)
 
void update_persistant_expression_to_effects (persistant_expression_to_effects f, expression k, effects v)
 
void extend_persistant_expression_to_effects (persistant_expression_to_effects f, expression k, effects v)
 
effects delete_persistant_expression_to_effects (persistant_expression_to_effects f, expression k)
 
bool bound_persistant_expression_to_effects_p (persistant_expression_to_effects f, expression k)
 
recursive_selector copy_recursive_selector (recursive_selector p)
 RECURSIVE_SELECTOR. More...
 
void free_recursive_selector (recursive_selector p)
 
recursive_selector check_recursive_selector (recursive_selector p)
 
bool recursive_selector_consistent_p (recursive_selector p)
 
bool recursive_selector_defined_p (recursive_selector p)
 
list gen_recursive_selector_cons (recursive_selector p, list l)
 
void recursive_selector_assign_contents (recursive_selector r, recursive_selector v)
 
void recursive_selector_non_recursive_free (recursive_selector p)
 
void write_recursive_selector (FILE *f, recursive_selector p)
 
recursive_selector read_recursive_selector (FILE *f)
 
recursive_selector make_recursive_selector (list a1, expression a2)
 
statement_cell_relations copy_statement_cell_relations (statement_cell_relations p)
 STATEMENT_CELL_RELATIONS. More...
 
void free_statement_cell_relations (statement_cell_relations p)
 
statement_cell_relations check_statement_cell_relations (statement_cell_relations p)
 
bool statement_cell_relations_consistent_p (statement_cell_relations p)
 
bool statement_cell_relations_defined_p (statement_cell_relations p)
 
list gen_statement_cell_relations_cons (statement_cell_relations p, list l)
 
void statement_cell_relations_assign_contents (statement_cell_relations r, statement_cell_relations v)
 
void statement_cell_relations_non_recursive_free (statement_cell_relations p)
 
void write_statement_cell_relations (FILE *f, statement_cell_relations p)
 
statement_cell_relations read_statement_cell_relations (FILE *f)
 
statement_cell_relations make_statement_cell_relations (void)
 
cell_relations apply_statement_cell_relations (statement_cell_relations f, statement k)
 
void update_statement_cell_relations (statement_cell_relations f, statement k, cell_relations v)
 
void extend_statement_cell_relations (statement_cell_relations f, statement k, cell_relations v)
 
cell_relations delete_statement_cell_relations (statement_cell_relations f, statement k)
 
bool bound_statement_cell_relations_p (statement_cell_relations f, statement k)
 
statement_effects copy_statement_effects (statement_effects p)
 STATEMENT_EFFECTS. More...
 
void free_statement_effects (statement_effects p)
 
statement_effects check_statement_effects (statement_effects p)
 
bool statement_effects_consistent_p (statement_effects p)
 
bool statement_effects_defined_p (statement_effects p)
 
list gen_statement_effects_cons (statement_effects p, list l)
 
void statement_effects_assign_contents (statement_effects r, statement_effects v)
 
void statement_effects_non_recursive_free (statement_effects p)
 
void write_statement_effects (FILE *f, statement_effects p)
 
statement_effects read_statement_effects (FILE *f)
 
statement_effects make_statement_effects (void)
 
effects apply_statement_effects (statement_effects f, statement k)
 
void update_statement_effects (statement_effects f, statement k, effects v)
 
void extend_statement_effects (statement_effects f, statement k, effects v)
 
effects delete_statement_effects (statement_effects f, statement k)
 
bool bound_statement_effects_p (statement_effects f, statement k)
 

Typedef Documentation

◆ Psysteme

typedef void* Psysteme

Definition at line 7 of file effects.c.

Function Documentation

◆ action_assign_contents()

void action_assign_contents ( action  r,
action  v 
)

Definition at line 96 of file effects.c.

96  {
97  check_action(r);
98  check_action(v);
99  message_assert("defined references to domain action",
101  memcpy(r, v, sizeof(struct _newgen_struct_action_));
102 }
bool action_defined_p(action p)
Definition: effects.c:90
action check_action(action p)
Definition: effects.c:83
#define message_assert(msg, ex)
Definition: newgen_assert.h:47

References action_defined_p(), check_action(), and message_assert.

+ Here is the call graph for this function:

◆ action_consistent_p()

bool action_consistent_p ( action  p)

Definition at line 86 of file effects.c.

86  {
87  check_action(p);
88  return gen_consistent_p((gen_chunk*) p);
89 }
int gen_consistent_p(gen_chunk *obj)
GEN_CONSISTENT_P dynamically checks the type correctness of OBJ.
Definition: genClib.c:2398
A gen_chunk is used to store every object.
Definition: genC.h:58

References check_action(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ action_defined_p()

bool action_defined_p ( action  p)

Definition at line 90 of file effects.c.

90  {
91  return gen_defined_p((gen_chunk*) p);
92 }
int gen_defined_p(gen_chunk *obj)
Definition: genClib.c:2438

References gen_defined_p().

+ Here is the call graph for this function:

◆ action_kind_assign_contents()

void action_kind_assign_contents ( action_kind  r,
action_kind  v 
)

Definition at line 37 of file effects.c.

37  {
40  message_assert("defined references to domain action_kind",
42  memcpy(r, v, sizeof(struct _newgen_struct_action_kind_));
43 }
bool action_kind_defined_p(action_kind p)
Definition: effects.c:31
action_kind check_action_kind(action_kind p)
Definition: effects.c:24

References action_kind_defined_p(), check_action_kind(), and message_assert.

+ Here is the call graph for this function:

◆ action_kind_consistent_p()

bool action_kind_consistent_p ( action_kind  p)

Definition at line 27 of file effects.c.

27  {
29  return gen_consistent_p((gen_chunk*) p);
30 }

References check_action_kind(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ action_kind_defined_p()

bool action_kind_defined_p ( action_kind  p)

Definition at line 31 of file effects.c.

31  {
32  return gen_defined_p((gen_chunk*) p);
33 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ action_kind_non_recursive_free()

void action_kind_non_recursive_free ( action_kind  p)

Definition at line 44 of file effects.c.

44  {
45  // should clear up contents...
46  free(p);
47 }
void free(void *)

References free().

+ Here is the call graph for this function:

◆ action_kind_tag_as_string()

string action_kind_tag_as_string ( enum action_kind_utype  tag)

Definition at line 54 of file effects.c.

54  {
55  switch (tag) {
56  case is_action_kind_store: return "store";
57  case is_action_kind_environment: return "environment";
58  case is_action_kind_type_declaration: return "type_declaration";
59  default: return string_undefined;
60  }
61 }
@ is_action_kind_store
Definition: effects.h:237
@ is_action_kind_environment
Definition: effects.h:238
@ is_action_kind_type_declaration
Definition: effects.h:239
int tag
TAG.
Definition: newgen_types.h:92
#define string_undefined
Definition: newgen_types.h:40

References is_action_kind_environment, is_action_kind_store, is_action_kind_type_declaration, and string_undefined.

◆ action_non_recursive_free()

void action_non_recursive_free ( action  p)

Definition at line 103 of file effects.c.

103  {
104  // should clear up contents...
105  free(p);
106 }

References free().

+ Here is the call graph for this function:

◆ action_tag_as_string()

string action_tag_as_string ( enum action_utype  tag)

Definition at line 113 of file effects.c.

113  {
114  switch (tag) {
115  case is_action_read: return "read";
116  case is_action_write: return "write";
117  default: return string_undefined;
118  }
119 }
@ is_action_write
Definition: effects.h:293
@ is_action_read
Definition: effects.h:292

References is_action_read, is_action_write, and string_undefined.

◆ apply_entity_effects()

effects apply_entity_effects ( entity_effects  f,
entity  k 
)

Definition at line 613 of file effects.c.

613  {
614  return (effects) (intptr_t)HASH_GET(p, p, entity_effects_hash_table(f), k);
615 }
#define entity_effects_hash_table(x)
Definition: effects.h:742
#define HASH_GET(start, image, h, k)
Definition: newgen_map.h:30
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
Definition: offsets.c:15
#define intptr_t
Definition: stdint.in.h:294

References entity_effects_hash_table, f(), HASH_GET, and intptr_t.

+ Here is the call graph for this function:

◆ apply_persistant_expression_to_effects()

effects apply_persistant_expression_to_effects ( persistant_expression_to_effects  f,
expression  k 
)

Definition at line 851 of file effects.c.

851  {
853 }
#define persistant_expression_to_effects_hash_table(x)
Definition: effects.h:936

References f(), HASH_GET, intptr_t, and persistant_expression_to_effects_hash_table.

+ Here is the call graph for this function:

◆ apply_statement_cell_relations()

cell_relations apply_statement_cell_relations ( statement_cell_relations  f,
statement  k 
)

Definition at line 950 of file effects.c.

950  {
952 }
#define statement_cell_relations_hash_table(x)
Definition: effects.h:1013

References f(), HASH_GET, intptr_t, and statement_cell_relations_hash_table.

+ Here is the call graph for this function:

◆ apply_statement_effects()

effects apply_statement_effects ( statement_effects  f,
statement  k 
)

Definition at line 1007 of file effects.c.

1007  {
1009 }
#define statement_effects_hash_table(x)
Definition: effects.h:1054

References f(), HASH_GET, intptr_t, and statement_effects_hash_table.

+ Here is the call graph for this function:

◆ approximation_assign_contents()

void approximation_assign_contents ( approximation  r,
approximation  v 
)

Definition at line 151 of file effects.c.

151  {
154  message_assert("defined references to domain approximation",
156  memcpy(r, v, sizeof(struct _newgen_struct_approximation_));
157 }
bool approximation_defined_p(approximation p)
Definition: effects.c:145
approximation check_approximation(approximation p)
Definition: effects.c:138

References approximation_defined_p(), check_approximation(), and message_assert.

+ Here is the call graph for this function:

◆ approximation_consistent_p()

bool approximation_consistent_p ( approximation  p)

Definition at line 141 of file effects.c.

141  {
143  return gen_consistent_p((gen_chunk*) p);
144 }

References check_approximation(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ approximation_defined_p()

bool approximation_defined_p ( approximation  p)

Definition at line 145 of file effects.c.

145  {
146  return gen_defined_p((gen_chunk*) p);
147 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ approximation_non_recursive_free()

void approximation_non_recursive_free ( approximation  p)

Definition at line 158 of file effects.c.

158  {
159  // should clear up contents...
160  free(p);
161 }

References free().

+ Here is the call graph for this function:

◆ approximation_tag_as_string()

string approximation_tag_as_string ( enum approximation_utype  tag)

Definition at line 168 of file effects.c.

168  {
169  switch (tag) {
170  case is_approximation_may: return "may";
171  case is_approximation_must: return "must";
172  case is_approximation_exact: return "exact";
173  default: return string_undefined;
174  }
175 }
@ is_approximation_may
Definition: effects.h:341
@ is_approximation_exact
Definition: effects.h:343
@ is_approximation_must
Definition: effects.h:342

References is_approximation_exact, is_approximation_may, is_approximation_must, and string_undefined.

◆ bound_entity_effects_p()

bool bound_entity_effects_p ( entity_effects  f,
entity  k 
)

Definition at line 625 of file effects.c.

625  {
627 }
#define HASH_BOUND_P(start, image, h, k)
Definition: newgen_map.h:32

References entity_effects_hash_table, f(), HASH_BOUND_P, and intptr_t.

+ Here is the call graph for this function:

◆ bound_persistant_expression_to_effects_p()

bool bound_persistant_expression_to_effects_p ( persistant_expression_to_effects  f,
expression  k 
)

Definition at line 863 of file effects.c.

863  {
865 }

References f(), HASH_BOUND_P, intptr_t, and persistant_expression_to_effects_hash_table.

+ Here is the call graph for this function:

◆ bound_statement_cell_relations_p()

bool bound_statement_cell_relations_p ( statement_cell_relations  f,
statement  k 
)

Definition at line 962 of file effects.c.

962  {
964 }

References f(), HASH_BOUND_P, intptr_t, and statement_cell_relations_hash_table.

+ Here is the call graph for this function:

◆ bound_statement_effects_p()

bool bound_statement_effects_p ( statement_effects  f,
statement  k 
)

Definition at line 1019 of file effects.c.

1019  {
1021 }

References f(), HASH_BOUND_P, intptr_t, and statement_effects_hash_table.

+ Here is the call graph for this function:

◆ cell_assign_contents()

void cell_assign_contents ( cell  r,
cell  v 
)

Definition at line 265 of file effects.c.

265  {
266  check_cell(r);
267  check_cell(v);
268  message_assert("defined references to domain cell",
269  cell_defined_p(r) && cell_defined_p(v));
270  memcpy(r, v, sizeof(struct _newgen_struct_cell_));
271 }
bool cell_defined_p(cell p)
Definition: effects.c:259
cell check_cell(cell p)
Definition: effects.c:252

References cell_defined_p(), check_cell(), and message_assert.

+ Here is the call graph for this function:

◆ cell_consistent_p()

bool cell_consistent_p ( cell  p)

Definition at line 255 of file effects.c.

255  {
256  check_cell(p);
257  return gen_consistent_p((gen_chunk*) p);
258 }

References check_cell(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ cell_defined_p()

bool cell_defined_p ( cell  p)

Definition at line 259 of file effects.c.

259  {
260  return gen_defined_p((gen_chunk*) p);
261 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ cell_interpretation_assign_contents()

void cell_interpretation_assign_contents ( cell_interpretation  r,
cell_interpretation  v 
)

Definition at line 210 of file effects.c.

210  {
213  message_assert("defined references to domain cell_interpretation",
215  memcpy(r, v, sizeof(struct _newgen_struct_cell_interpretation_));
216 }
bool cell_interpretation_defined_p(cell_interpretation p)
Definition: effects.c:204
cell_interpretation check_cell_interpretation(cell_interpretation p)
Definition: effects.c:197

References cell_interpretation_defined_p(), check_cell_interpretation(), and message_assert.

+ Here is the call graph for this function:

◆ cell_interpretation_consistent_p()

bool cell_interpretation_consistent_p ( cell_interpretation  p)

Definition at line 200 of file effects.c.

200  {
202  return gen_consistent_p((gen_chunk*) p);
203 }

References check_cell_interpretation(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ cell_interpretation_defined_p()

bool cell_interpretation_defined_p ( cell_interpretation  p)

Definition at line 204 of file effects.c.

204  {
205  return gen_defined_p((gen_chunk*) p);
206 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ cell_interpretation_non_recursive_free()

void cell_interpretation_non_recursive_free ( cell_interpretation  p)

Definition at line 217 of file effects.c.

217  {
218  // should clear up contents...
219  free(p);
220 }

References free().

+ Here is the call graph for this function:

◆ cell_interpretation_tag_as_string()

string cell_interpretation_tag_as_string ( enum cell_interpretation_utype  tag)

Definition at line 227 of file effects.c.

227  {
228  switch (tag) {
229  case is_cell_interpretation_value_of: return "value_of";
230  case is_cell_interpretation_address_of: return "address_of";
231  default: return string_undefined;
232  }
233 }
@ is_cell_interpretation_address_of
Definition: effects.h:397
@ is_cell_interpretation_value_of
Definition: effects.h:396

References is_cell_interpretation_address_of, is_cell_interpretation_value_of, and string_undefined.

◆ cell_non_recursive_free()

void cell_non_recursive_free ( cell  p)

Definition at line 272 of file effects.c.

272  {
273  // should clear up contents...
274  free(p);
275 }

References free().

+ Here is the call graph for this function:

◆ cell_relation_assign_contents()

void cell_relation_assign_contents ( cell_relation  r,
cell_relation  v 
)

Definition at line 324 of file effects.c.

324  {
327  message_assert("defined references to domain cell_relation",
329  memcpy(r, v, sizeof(struct _newgen_struct_cell_relation_));
330 }
cell_relation check_cell_relation(cell_relation p)
Definition: effects.c:311
bool cell_relation_defined_p(cell_relation p)
Definition: effects.c:318

References cell_relation_defined_p(), check_cell_relation(), and message_assert.

+ Here is the call graph for this function:

◆ cell_relation_consistent_p()

bool cell_relation_consistent_p ( cell_relation  p)

Definition at line 314 of file effects.c.

314  {
316  return gen_consistent_p((gen_chunk*) p);
317 }

References check_cell_relation(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ cell_relation_defined_p()

bool cell_relation_defined_p ( cell_relation  p)

Definition at line 318 of file effects.c.

318  {
319  return gen_defined_p((gen_chunk*) p);
320 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ cell_relation_non_recursive_free()

void cell_relation_non_recursive_free ( cell_relation  p)

Definition at line 331 of file effects.c.

331  {
332  // should clear up contents...
333  free(p);
334 }

References free().

+ Here is the call graph for this function:

◆ cell_relations_assign_contents()

void cell_relations_assign_contents ( cell_relations  r,
cell_relations  v 
)

Definition at line 366 of file effects.c.

366  {
369  message_assert("defined references to domain cell_relations",
371  memcpy(r, v, sizeof(struct _newgen_struct_cell_relations_));
372 }
cell_relations check_cell_relations(cell_relations p)
Definition: effects.c:353
bool cell_relations_defined_p(cell_relations p)
Definition: effects.c:360

References cell_relations_defined_p(), check_cell_relations(), and message_assert.

+ Here is the call graph for this function:

◆ cell_relations_consistent_p()

bool cell_relations_consistent_p ( cell_relations  p)

Definition at line 356 of file effects.c.

356  {
358  return gen_consistent_p((gen_chunk*) p);
359 }

References check_cell_relations(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ cell_relations_defined_p()

bool cell_relations_defined_p ( cell_relations  p)

Definition at line 360 of file effects.c.

360  {
361  return gen_defined_p((gen_chunk*) p);
362 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ cell_relations_non_recursive_free()

void cell_relations_non_recursive_free ( cell_relations  p)

Definition at line 373 of file effects.c.

373  {
374  // should clear up contents...
375  free(p);
376 }

References free().

+ Here is the call graph for this function:

◆ cell_tag_as_string()

string cell_tag_as_string ( enum cell_utype  tag)

Definition at line 282 of file effects.c.

282  {
283  switch (tag) {
284  case is_cell_reference: return "reference";
285  case is_cell_preference: return "preference";
286  case is_cell_gap: return "gap";
287  default: return string_undefined;
288  }
289 }
@ is_cell_reference
Definition: effects.h:445
@ is_cell_gap
Definition: effects.h:447
@ is_cell_preference
Definition: effects.h:446

References is_cell_gap, is_cell_preference, is_cell_reference, and string_undefined.

◆ check_action()

action check_action ( action  p)

Definition at line 83 of file effects.c.

83  {
84  return (action) gen_check((gen_chunk*) p, action_domain);
85 }
#define action_domain
newgen_action_kind_domain_defined
Definition: effects.h:61
gen_chunk * gen_check(gen_chunk *obj, int t)
GEN_CHECK checks that the gen_chunk received OBJ is of the appropriate TYPE.
Definition: genClib.c:2356

References action_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_action_kind()

action_kind check_action_kind ( action_kind  p)

Definition at line 24 of file effects.c.

24  {
26 }
#define action_kind_domain
newgen_Psysteme_domain_defined
Definition: effects.h:53

References action_kind_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_approximation()

approximation check_approximation ( approximation  p)

Definition at line 138 of file effects.c.

138  {
140 }
#define approximation_domain
newgen_action_domain_defined
Definition: effects.h:69

References approximation_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_cell()

cell check_cell ( cell  p)

Definition at line 252 of file effects.c.

252  {
253  return (cell) gen_check((gen_chunk*) p, cell_domain);
254 }
#define cell_domain
newgen_cell_interpretation_domain_defined
Definition: effects.h:85

References cell_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_cell_interpretation()

cell_interpretation check_cell_interpretation ( cell_interpretation  p)

Definition at line 197 of file effects.c.

197  {
199 }
#define cell_interpretation_domain
newgen_approximation_domain_defined
Definition: effects.h:77

References cell_interpretation_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_cell_relation()

cell_relation check_cell_relation ( cell_relation  p)

Definition at line 311 of file effects.c.

311  {
313 }
#define cell_relation_domain
newgen_cell_domain_defined
Definition: effects.h:93

References cell_relation_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_cell_relations()

cell_relations check_cell_relations ( cell_relations  p)

Definition at line 353 of file effects.c.

353  {
355 }
#define cell_relations_domain
newgen_cell_relation_domain_defined
Definition: effects.h:101

References cell_relations_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_descriptor()

descriptor check_descriptor ( descriptor  p)

Definition at line 395 of file effects.c.

395  {
397 }
#define descriptor_domain
newgen_cell_relations_domain_defined
Definition: effects.h:109

References descriptor_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_effect()

effect check_effect ( effect  p)

Definition at line 454 of file effects.c.

454  {
455  return (effect) gen_check((gen_chunk*) p, effect_domain);
456 }
#define effect_domain
newgen_descriptor_domain_defined
Definition: effects.h:117

References effect_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_effects()

effects check_effects ( effects  p)

Definition at line 538 of file effects.c.

538  {
539  return (effects) gen_check((gen_chunk*) p, effects_domain);
540 }
#define effects_domain
newgen_effects_classes_domain_defined
Definition: effects.h:133

References effects_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_effects_classes()

effects_classes check_effects_classes ( effects_classes  p)

Definition at line 496 of file effects.c.

496  {
498 }
#define effects_classes_domain
newgen_effect_domain_defined
Definition: effects.h:125

References effects_classes_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_entity_effects()

entity_effects check_entity_effects ( entity_effects  p)

Definition at line 580 of file effects.c.

580  {
582 }
#define entity_effects_domain
newgen_effects_domain_defined
Definition: effects.h:141

References entity_effects_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_gap()

gap check_gap ( gap  p)

Definition at line 637 of file effects.c.

637  {
638  return (gap) gen_check((gen_chunk*) p, gap_domain);
639 }
#define gap_domain
newgen_entity_effects_domain_defined
Definition: effects.h:149

References gap_domain, and gen_check().

+ Here is the call graph for this function:

◆ check_interpreted_cell()

interpreted_cell check_interpreted_cell ( interpreted_cell  p)

Definition at line 679 of file effects.c.

679  {
681 }
#define interpreted_cell_domain
newgen_gap_domain_defined
Definition: effects.h:157

References gen_check(), and interpreted_cell_domain.

+ Here is the call graph for this function:

◆ check_path_selector()

path_selector check_path_selector ( path_selector  p)

Definition at line 721 of file effects.c.

721  {
723 }
#define path_selector_domain
newgen_interpreted_cell_domain_defined
Definition: effects.h:165

References gen_check(), and path_selector_domain.

+ Here is the call graph for this function:

◆ check_path_selectors()

path_selectors check_path_selectors ( path_selectors  p)

Definition at line 776 of file effects.c.

776  {
778 }
#define path_selectors_domain
newgen_path_selector_domain_defined
Definition: effects.h:173

References gen_check(), and path_selectors_domain.

+ Here is the call graph for this function:

◆ check_persistant_expression_to_effects()

persistant_expression_to_effects check_persistant_expression_to_effects ( persistant_expression_to_effects  p)

Definition at line 818 of file effects.c.

818  {
820 }
#define persistant_expression_to_effects_domain
newgen_path_selectors_domain_defined
Definition: effects.h:181

References gen_check(), and persistant_expression_to_effects_domain.

+ Here is the call graph for this function:

◆ check_recursive_selector()

recursive_selector check_recursive_selector ( recursive_selector  p)

Definition at line 875 of file effects.c.

875  {
877 }
#define recursive_selector_domain
newgen_persistant_expression_to_effects_domain_defined
Definition: effects.h:189

References gen_check(), and recursive_selector_domain.

+ Here is the call graph for this function:

◆ check_statement_cell_relations()

statement_cell_relations check_statement_cell_relations ( statement_cell_relations  p)

Definition at line 917 of file effects.c.

917  {
919 }
#define statement_cell_relations_domain
newgen_recursive_selector_domain_defined
Definition: effects.h:197

References gen_check(), and statement_cell_relations_domain.

+ Here is the call graph for this function:

◆ check_statement_effects()

statement_effects check_statement_effects ( statement_effects  p)

Definition at line 974 of file effects.c.

974  {
976 }
#define statement_effects_domain
newgen_statement_cell_relations_domain_defined
Definition: effects.h:205

References gen_check(), and statement_effects_domain.

+ Here is the call graph for this function:

◆ copy_action()

action copy_action ( action  p)

ACTION.

Definition at line 77 of file effects.c.

77  {
78  return (action) gen_copy_tree((gen_chunk*) p);
79 }
gen_chunk * gen_copy_tree(gen_chunk *obj)
Definition: genClib.c:1429

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_action_kind()

action_kind copy_action_kind ( action_kind  p)

ACTION_KIND.

Definition at line 18 of file effects.c.

18  {
19  return (action_kind) gen_copy_tree((gen_chunk*) p);
20 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_approximation()

approximation copy_approximation ( approximation  p)

APPROXIMATION.

Definition at line 132 of file effects.c.

132  {
133  return (approximation) gen_copy_tree((gen_chunk*) p);
134 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_cell()

cell copy_cell ( cell  p)

CELL.

Definition at line 246 of file effects.c.

246  {
247  return (cell) gen_copy_tree((gen_chunk*) p);
248 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_cell_interpretation()

cell_interpretation copy_cell_interpretation ( cell_interpretation  p)

CELL_INTERPRETATION.

Definition at line 191 of file effects.c.

191  {
193 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_cell_relation()

cell_relation copy_cell_relation ( cell_relation  p)

CELL_RELATION.

Definition at line 305 of file effects.c.

305  {
306  return (cell_relation) gen_copy_tree((gen_chunk*) p);
307 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_cell_relations()

cell_relations copy_cell_relations ( cell_relations  p)

CELL_RELATIONS.

Definition at line 347 of file effects.c.

347  {
348  return (cell_relations) gen_copy_tree((gen_chunk*) p);
349 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_descriptor()

descriptor copy_descriptor ( descriptor  p)

DESCRIPTOR.

Definition at line 389 of file effects.c.

389  {
390  return (descriptor) gen_copy_tree((gen_chunk*) p);
391 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_effect()

effect copy_effect ( effect  p)

EFFECT.

Definition at line 448 of file effects.c.

448  {
449  return (effect) gen_copy_tree((gen_chunk*) p);
450 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_effects()

effects copy_effects ( effects  p)

EFFECTS.

Definition at line 532 of file effects.c.

532  {
533  return (effects) gen_copy_tree((gen_chunk*) p);
534 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_effects_classes()

effects_classes copy_effects_classes ( effects_classes  p)

EFFECTS_CLASSES.

Definition at line 490 of file effects.c.

490  {
491  return (effects_classes) gen_copy_tree((gen_chunk*) p);
492 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_entity_effects()

entity_effects copy_entity_effects ( entity_effects  p)

ENTITY_EFFECTS.

Definition at line 574 of file effects.c.

574  {
575  return (entity_effects) gen_copy_tree((gen_chunk*) p);
576 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_gap()

gap copy_gap ( gap  p)

GAP.

Definition at line 631 of file effects.c.

631  {
632  return (gap) gen_copy_tree((gen_chunk*) p);
633 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_interpreted_cell()

interpreted_cell copy_interpreted_cell ( interpreted_cell  p)

INTERPRETED_CELL.

Definition at line 673 of file effects.c.

673  {
675 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_path_selector()

path_selector copy_path_selector ( path_selector  p)

PATH_SELECTOR.

Definition at line 715 of file effects.c.

715  {
716  return (path_selector) gen_copy_tree((gen_chunk*) p);
717 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_path_selectors()

path_selectors copy_path_selectors ( path_selectors  p)

PATH_SELECTORS.

Definition at line 770 of file effects.c.

770  {
771  return (path_selectors) gen_copy_tree((gen_chunk*) p);
772 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_persistant_expression_to_effects()

persistant_expression_to_effects copy_persistant_expression_to_effects ( persistant_expression_to_effects  p)

PERSISTANT_EXPRESSION_TO_EFFECTS.

Definition at line 812 of file effects.c.

812  {
814 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_recursive_selector()

recursive_selector copy_recursive_selector ( recursive_selector  p)

RECURSIVE_SELECTOR.

Definition at line 869 of file effects.c.

869  {
871 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_statement_cell_relations()

statement_cell_relations copy_statement_cell_relations ( statement_cell_relations  p)

STATEMENT_CELL_RELATIONS.

Definition at line 911 of file effects.c.

911  {
913 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_statement_effects()

statement_effects copy_statement_effects ( statement_effects  p)

STATEMENT_EFFECTS.

Definition at line 968 of file effects.c.

968  {
970 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ delete_entity_effects()

effects delete_entity_effects ( entity_effects  f,
entity  k 
)

Definition at line 622 of file effects.c.

622  {
624 }
#define HASH_DELETE(start, image, h, k)
Definition: newgen_map.h:38

References entity_effects_hash_table, f(), HASH_DELETE, and intptr_t.

+ Here is the call graph for this function:

◆ delete_persistant_expression_to_effects()

effects delete_persistant_expression_to_effects ( persistant_expression_to_effects  f,
expression  k 
)

Definition at line 860 of file effects.c.

860  {
862 }

References f(), HASH_DELETE, intptr_t, and persistant_expression_to_effects_hash_table.

+ Here is the call graph for this function:

◆ delete_statement_cell_relations()

cell_relations delete_statement_cell_relations ( statement_cell_relations  f,
statement  k 
)

Definition at line 959 of file effects.c.

959  {
961 }

References f(), HASH_DELETE, intptr_t, and statement_cell_relations_hash_table.

+ Here is the call graph for this function:

◆ delete_statement_effects()

effects delete_statement_effects ( statement_effects  f,
statement  k 
)

Definition at line 1016 of file effects.c.

1016  {
1018 }

References f(), HASH_DELETE, intptr_t, and statement_effects_hash_table.

+ Here is the call graph for this function:

◆ descriptor_assign_contents()

void descriptor_assign_contents ( descriptor  r,
descriptor  v 
)

Definition at line 408 of file effects.c.

408  {
409  check_descriptor(r);
410  check_descriptor(v);
411  message_assert("defined references to domain descriptor",
413  memcpy(r, v, sizeof(struct _newgen_struct_descriptor_));
414 }
bool descriptor_defined_p(descriptor p)
Definition: effects.c:402
descriptor check_descriptor(descriptor p)
Definition: effects.c:395

References check_descriptor(), descriptor_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ descriptor_consistent_p()

bool descriptor_consistent_p ( descriptor  p)

Definition at line 398 of file effects.c.

398  {
399  check_descriptor(p);
400  return gen_consistent_p((gen_chunk*) p);
401 }

References check_descriptor(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ descriptor_defined_p()

bool descriptor_defined_p ( descriptor  p)

Definition at line 402 of file effects.c.

402  {
403  return gen_defined_p((gen_chunk*) p);
404 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ descriptor_non_recursive_free()

void descriptor_non_recursive_free ( descriptor  p)

Definition at line 415 of file effects.c.

415  {
416  // should clear up contents...
417  free(p);
418 }

References free().

+ Here is the call graph for this function:

◆ descriptor_tag_as_string()

string descriptor_tag_as_string ( enum descriptor_utype  tag)

Definition at line 425 of file effects.c.

425  {
426  switch (tag) {
427  case is_descriptor_convexunion: return "convexunion";
428  case is_descriptor_convex: return "convex";
429  case is_descriptor_none: return "none";
430  default: return string_undefined;
431  }
432 }
@ is_descriptor_none
Definition: effects.h:576
@ is_descriptor_convexunion
Definition: effects.h:574
@ is_descriptor_convex
Definition: effects.h:575

References is_descriptor_convex, is_descriptor_convexunion, is_descriptor_none, and string_undefined.

◆ effect_assign_contents()

void effect_assign_contents ( effect  r,
effect  v 
)

Definition at line 467 of file effects.c.

467  {
468  check_effect(r);
469  check_effect(v);
470  message_assert("defined references to domain effect",
472  memcpy(r, v, sizeof(struct _newgen_struct_effect_));
473 }
effect check_effect(effect p)
Definition: effects.c:454
bool effect_defined_p(effect p)
Definition: effects.c:461

References check_effect(), effect_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ effect_consistent_p()

bool effect_consistent_p ( effect  p)

Definition at line 457 of file effects.c.

457  {
458  check_effect(p);
459  return gen_consistent_p((gen_chunk*) p);
460 }

References check_effect(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ effect_defined_p()

bool effect_defined_p ( effect  p)

Definition at line 461 of file effects.c.

461  {
462  return gen_defined_p((gen_chunk*) p);
463 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ effect_non_recursive_free()

void effect_non_recursive_free ( effect  p)

Definition at line 474 of file effects.c.

474  {
475  // should clear up contents...
476  free(p);
477 }

References free().

+ Here is the call graph for this function:

◆ effects_assign_contents()

void effects_assign_contents ( effects  r,
effects  v 
)

Definition at line 551 of file effects.c.

551  {
552  check_effects(r);
553  check_effects(v);
554  message_assert("defined references to domain effects",
556  memcpy(r, v, sizeof(struct _newgen_struct_effects_));
557 }
bool effects_defined_p(effects p)
Definition: effects.c:545
effects check_effects(effects p)
Definition: effects.c:538

References check_effects(), effects_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ effects_classes_assign_contents()

void effects_classes_assign_contents ( effects_classes  r,
effects_classes  v 
)

Definition at line 509 of file effects.c.

509  {
512  message_assert("defined references to domain effects_classes",
514  memcpy(r, v, sizeof(struct _newgen_struct_effects_classes_));
515 }
bool effects_classes_defined_p(effects_classes p)
Definition: effects.c:503
effects_classes check_effects_classes(effects_classes p)
Definition: effects.c:496

References check_effects_classes(), effects_classes_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ effects_classes_consistent_p()

bool effects_classes_consistent_p ( effects_classes  p)

Definition at line 499 of file effects.c.

499  {
501  return gen_consistent_p((gen_chunk*) p);
502 }

References check_effects_classes(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ effects_classes_defined_p()

bool effects_classes_defined_p ( effects_classes  p)

Definition at line 503 of file effects.c.

503  {
504  return gen_defined_p((gen_chunk*) p);
505 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ effects_classes_non_recursive_free()

void effects_classes_non_recursive_free ( effects_classes  p)

Definition at line 516 of file effects.c.

516  {
517  // should clear up contents...
518  free(p);
519 }

References free().

+ Here is the call graph for this function:

◆ effects_consistent_p()

bool effects_consistent_p ( effects  p)

Definition at line 541 of file effects.c.

541  {
542  check_effects(p);
543  return gen_consistent_p((gen_chunk*) p);
544 }

References check_effects(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ effects_defined_p()

bool effects_defined_p ( effects  p)

Definition at line 545 of file effects.c.

545  {
546  return gen_defined_p((gen_chunk*) p);
547 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ effects_non_recursive_free()

void effects_non_recursive_free ( effects  p)

Definition at line 558 of file effects.c.

558  {
559  // should clear up contents...
560  free(p);
561 }

References free().

+ Here is the call graph for this function:

◆ entity_effects_assign_contents()

void entity_effects_assign_contents ( entity_effects  r,
entity_effects  v 
)

Definition at line 593 of file effects.c.

593  {
596  message_assert("defined references to domain entity_effects",
598  memcpy(r, v, sizeof(struct _newgen_struct_entity_effects_));
599 }
entity_effects check_entity_effects(entity_effects p)
Definition: effects.c:580
bool entity_effects_defined_p(entity_effects p)
Definition: effects.c:587

References check_entity_effects(), entity_effects_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ entity_effects_consistent_p()

bool entity_effects_consistent_p ( entity_effects  p)

Definition at line 583 of file effects.c.

583  {
585  return gen_consistent_p((gen_chunk*) p);
586 }

References check_entity_effects(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ entity_effects_defined_p()

bool entity_effects_defined_p ( entity_effects  p)

Definition at line 587 of file effects.c.

587  {
588  return gen_defined_p((gen_chunk*) p);
589 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ entity_effects_non_recursive_free()

void entity_effects_non_recursive_free ( entity_effects  p)

Definition at line 600 of file effects.c.

600  {
601  // should clear up contents...
602  free(p);
603 }

References free().

+ Here is the call graph for this function:

◆ extend_entity_effects()

void extend_entity_effects ( entity_effects  f,
entity  k,
effects  v 
)

Definition at line 619 of file effects.c.

619  {
621 }
#define HASH_EXTEND(start, image, h, k, v)
Definition: newgen_map.h:36

References entity_effects_hash_table, f(), HASH_EXTEND, and intptr_t.

+ Here is the call graph for this function:

◆ extend_persistant_expression_to_effects()

void extend_persistant_expression_to_effects ( persistant_expression_to_effects  f,
expression  k,
effects  v 
)

Definition at line 857 of file effects.c.

857  {
859 }

References f(), HASH_EXTEND, intptr_t, and persistant_expression_to_effects_hash_table.

+ Here is the call graph for this function:

◆ extend_statement_cell_relations()

void extend_statement_cell_relations ( statement_cell_relations  f,
statement  k,
cell_relations  v 
)

Definition at line 956 of file effects.c.

956  {
958 }

References f(), HASH_EXTEND, intptr_t, and statement_cell_relations_hash_table.

+ Here is the call graph for this function:

◆ extend_statement_effects()

void extend_statement_effects ( statement_effects  f,
statement  k,
effects  v 
)

Definition at line 1013 of file effects.c.

1013  {
1015 }

References f(), HASH_EXTEND, intptr_t, and statement_effects_hash_table.

+ Here is the call graph for this function:

◆ free_action()

void free_action ( action  p)

Definition at line 80 of file effects.c.

80  {
81  gen_free((gen_chunk*) p);
82 }
void gen_free(gen_chunk *obj)
version without shared_pointers.
Definition: genClib.c:992

References gen_free().

+ Here is the call graph for this function:

◆ free_action_kind()

void free_action_kind ( action_kind  p)

Definition at line 21 of file effects.c.

21  {
22  gen_free((gen_chunk*) p);
23 }

References gen_free().

+ Here is the call graph for this function:

◆ free_approximation()

void free_approximation ( approximation  p)

Definition at line 135 of file effects.c.

135  {
136  gen_free((gen_chunk*) p);
137 }

References gen_free().

+ Here is the call graph for this function:

◆ free_cell()

void free_cell ( cell  p)

Definition at line 249 of file effects.c.

249  {
250  gen_free((gen_chunk*) p);
251 }

References gen_free().

+ Here is the call graph for this function:

◆ free_cell_interpretation()

void free_cell_interpretation ( cell_interpretation  p)

Definition at line 194 of file effects.c.

194  {
195  gen_free((gen_chunk*) p);
196 }

References gen_free().

+ Here is the call graph for this function:

◆ free_cell_relation()

void free_cell_relation ( cell_relation  p)

Definition at line 308 of file effects.c.

308  {
309  gen_free((gen_chunk*) p);
310 }

References gen_free().

+ Here is the call graph for this function:

◆ free_cell_relations()

void free_cell_relations ( cell_relations  p)

Definition at line 350 of file effects.c.

350  {
351  gen_free((gen_chunk*) p);
352 }

References gen_free().

+ Here is the call graph for this function:

◆ free_descriptor()

void free_descriptor ( descriptor  p)

Definition at line 392 of file effects.c.

392  {
393  gen_free((gen_chunk*) p);
394 }

References gen_free().

+ Here is the call graph for this function:

◆ free_effect()

void free_effect ( effect  p)

Definition at line 451 of file effects.c.

451  {
452  gen_free((gen_chunk*) p);
453 }

References gen_free().

+ Here is the call graph for this function:

◆ free_effects()

void free_effects ( effects  p)

Definition at line 535 of file effects.c.

535  {
536  gen_free((gen_chunk*) p);
537 }

References gen_free().

+ Here is the call graph for this function:

◆ free_effects_classes()

void free_effects_classes ( effects_classes  p)

Definition at line 493 of file effects.c.

493  {
494  gen_free((gen_chunk*) p);
495 }

References gen_free().

+ Here is the call graph for this function:

◆ free_entity_effects()

void free_entity_effects ( entity_effects  p)

Definition at line 577 of file effects.c.

577  {
578  gen_free((gen_chunk*) p);
579 }

References gen_free().

+ Here is the call graph for this function:

◆ free_gap()

void free_gap ( gap  p)

Definition at line 634 of file effects.c.

634  {
635  gen_free((gen_chunk*) p);
636 }

References gen_free().

+ Here is the call graph for this function:

◆ free_interpreted_cell()

void free_interpreted_cell ( interpreted_cell  p)

Definition at line 676 of file effects.c.

676  {
677  gen_free((gen_chunk*) p);
678 }

References gen_free().

+ Here is the call graph for this function:

◆ free_path_selector()

void free_path_selector ( path_selector  p)

Definition at line 718 of file effects.c.

718  {
719  gen_free((gen_chunk*) p);
720 }

References gen_free().

+ Here is the call graph for this function:

◆ free_path_selectors()

void free_path_selectors ( path_selectors  p)

Definition at line 773 of file effects.c.

773  {
774  gen_free((gen_chunk*) p);
775 }

References gen_free().

+ Here is the call graph for this function:

◆ free_persistant_expression_to_effects()

void free_persistant_expression_to_effects ( persistant_expression_to_effects  p)

Definition at line 815 of file effects.c.

815  {
816  gen_free((gen_chunk*) p);
817 }

References gen_free().

+ Here is the call graph for this function:

◆ free_recursive_selector()

void free_recursive_selector ( recursive_selector  p)

Definition at line 872 of file effects.c.

872  {
873  gen_free((gen_chunk*) p);
874 }

References gen_free().

+ Here is the call graph for this function:

◆ free_statement_cell_relations()

void free_statement_cell_relations ( statement_cell_relations  p)

Definition at line 914 of file effects.c.

914  {
915  gen_free((gen_chunk*) p);
916 }

References gen_free().

+ Here is the call graph for this function:

◆ free_statement_effects()

void free_statement_effects ( statement_effects  p)

Definition at line 971 of file effects.c.

971  {
972  gen_free((gen_chunk*) p);
973 }

References gen_free().

+ Here is the call graph for this function:

◆ gap_assign_contents()

void gap_assign_contents ( gap  r,
gap  v 
)

Definition at line 650 of file effects.c.

650  {
651  check_gap(r);
652  check_gap(v);
653  message_assert("defined references to domain gap",
654  gap_defined_p(r) && gap_defined_p(v));
655  memcpy(r, v, sizeof(struct _newgen_struct_gap_));
656 }
gap check_gap(gap p)
Definition: effects.c:637
bool gap_defined_p(gap p)
Definition: effects.c:644

References check_gap(), gap_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ gap_consistent_p()

bool gap_consistent_p ( gap  p)

Definition at line 640 of file effects.c.

640  {
641  check_gap(p);
642  return gen_consistent_p((gen_chunk*) p);
643 }

References check_gap(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ gap_defined_p()

bool gap_defined_p ( gap  p)

Definition at line 644 of file effects.c.

644  {
645  return gen_defined_p((gen_chunk*) p);
646 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ gap_non_recursive_free()

void gap_non_recursive_free ( gap  p)

Definition at line 657 of file effects.c.

657  {
658  // should clear up contents...
659  free(p);
660 }

References free().

+ Here is the call graph for this function:

◆ gen_action_cons()

list gen_action_cons ( action  p,
list  l 
)

Definition at line 93 of file effects.c.

93  {
95 }
#define ACTION_NEWGEN_DOMAIN
Definition: compsec.h:19
list gen_typed_cons(_int type, const void *item, const list next)
CONS a list with minimal type checking this cannot be done within the CONS macro because possible fun...
Definition: list.c:900

References ACTION_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_action_kind_cons()

list gen_action_kind_cons ( action_kind  p,
list  l 
)

Definition at line 34 of file effects.c.

34  {
36 }
#define ACTION_KIND_NEWGEN_DOMAIN
Definition: effects.h:56

References ACTION_KIND_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_approximation_cons()

list gen_approximation_cons ( approximation  p,
list  l 
)

Definition at line 148 of file effects.c.

148  {
150 }
#define APPROXIMATION_NEWGEN_DOMAIN
Definition: effects.h:72

References APPROXIMATION_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_cell_cons()

list gen_cell_cons ( cell  p,
list  l 
)

Definition at line 262 of file effects.c.

262  {
263  return gen_typed_cons(CELL_NEWGEN_DOMAIN, p, l);
264 }
#define CELL_NEWGEN_DOMAIN
Definition: effects.h:88

References CELL_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_cell_interpretation_cons()

list gen_cell_interpretation_cons ( cell_interpretation  p,
list  l 
)

Definition at line 207 of file effects.c.

207  {
209 }
#define CELL_INTERPRETATION_NEWGEN_DOMAIN
Definition: effects.h:80

References CELL_INTERPRETATION_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_cell_relation_cons()

list gen_cell_relation_cons ( cell_relation  p,
list  l 
)

Definition at line 321 of file effects.c.

321  {
323 }
#define CELL_RELATION_NEWGEN_DOMAIN
Definition: effects.h:96

References CELL_RELATION_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_cell_relations_cons()

list gen_cell_relations_cons ( cell_relations  p,
list  l 
)

Definition at line 363 of file effects.c.

363  {
365 }
#define CELL_RELATIONS_NEWGEN_DOMAIN
Definition: effects.h:104

References CELL_RELATIONS_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_descriptor_cons()

list gen_descriptor_cons ( descriptor  p,
list  l 
)

Definition at line 405 of file effects.c.

405  {
407 }
#define DESCRIPTOR_NEWGEN_DOMAIN
Definition: effects.h:112

References DESCRIPTOR_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_effect_cons()

list gen_effect_cons ( effect  p,
list  l 
)

Definition at line 464 of file effects.c.

464  {
465  return gen_typed_cons(EFFECT_NEWGEN_DOMAIN, p, l);
466 }
#define EFFECT_NEWGEN_DOMAIN
Definition: dg.h:19

References EFFECT_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_effects_classes_cons()

list gen_effects_classes_cons ( effects_classes  p,
list  l 
)

Definition at line 506 of file effects.c.

506  {
508 }
#define EFFECTS_CLASSES_NEWGEN_DOMAIN
Definition: effects.h:128

References EFFECTS_CLASSES_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_effects_cons()

list gen_effects_cons ( effects  p,
list  l 
)

Definition at line 548 of file effects.c.

548  {
550 }
#define EFFECTS_NEWGEN_DOMAIN
Definition: effects.h:136

References EFFECTS_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_entity_effects_cons()

list gen_entity_effects_cons ( entity_effects  p,
list  l 
)

Definition at line 590 of file effects.c.

590  {
592 }
#define ENTITY_EFFECTS_NEWGEN_DOMAIN
Definition: effects.h:144

References ENTITY_EFFECTS_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_gap_cons()

list gen_gap_cons ( gap  p,
list  l 
)

Definition at line 647 of file effects.c.

647  {
648  return gen_typed_cons(GAP_NEWGEN_DOMAIN, p, l);
649 }
#define GAP_NEWGEN_DOMAIN
Definition: effects.h:152

References GAP_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_interpreted_cell_cons()

list gen_interpreted_cell_cons ( interpreted_cell  p,
list  l 
)

Definition at line 689 of file effects.c.

689  {
691 }
#define INTERPRETED_CELL_NEWGEN_DOMAIN
Definition: effects.h:160

References gen_typed_cons(), and INTERPRETED_CELL_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_path_selector_cons()

list gen_path_selector_cons ( path_selector  p,
list  l 
)

Definition at line 731 of file effects.c.

731  {
733 }
#define PATH_SELECTOR_NEWGEN_DOMAIN
Definition: effects.h:168

References gen_typed_cons(), and PATH_SELECTOR_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_path_selectors_cons()

list gen_path_selectors_cons ( path_selectors  p,
list  l 
)

Definition at line 786 of file effects.c.

786  {
788 }
#define PATH_SELECTORS_NEWGEN_DOMAIN
Definition: effects.h:176

References gen_typed_cons(), and PATH_SELECTORS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_persistant_expression_to_effects_cons()

list gen_persistant_expression_to_effects_cons ( persistant_expression_to_effects  p,
list  l 
)

Definition at line 828 of file effects.c.

828  {
830 }
#define PERSISTANT_EXPRESSION_TO_EFFECTS_NEWGEN_DOMAIN
Definition: effects.h:184

References gen_typed_cons(), and PERSISTANT_EXPRESSION_TO_EFFECTS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_recursive_selector_cons()

list gen_recursive_selector_cons ( recursive_selector  p,
list  l 
)

Definition at line 885 of file effects.c.

885  {
887 }
#define RECURSIVE_SELECTOR_NEWGEN_DOMAIN
Definition: effects.h:192

References gen_typed_cons(), and RECURSIVE_SELECTOR_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_statement_cell_relations_cons()

list gen_statement_cell_relations_cons ( statement_cell_relations  p,
list  l 
)

Definition at line 927 of file effects.c.

927  {
929 }
#define STATEMENT_CELL_RELATIONS_NEWGEN_DOMAIN
Definition: effects.h:200

References gen_typed_cons(), and STATEMENT_CELL_RELATIONS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_statement_effects_cons()

list gen_statement_effects_cons ( statement_effects  p,
list  l 
)

Definition at line 984 of file effects.c.

984  {
986 }
#define STATEMENT_EFFECTS_NEWGEN_DOMAIN
Definition: effects.h:208

References gen_typed_cons(), and STATEMENT_EFFECTS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ interpreted_cell_assign_contents()

void interpreted_cell_assign_contents ( interpreted_cell  r,
interpreted_cell  v 
)

Definition at line 692 of file effects.c.

692  {
695  message_assert("defined references to domain interpreted_cell",
697  memcpy(r, v, sizeof(struct _newgen_struct_interpreted_cell_));
698 }
interpreted_cell check_interpreted_cell(interpreted_cell p)
Definition: effects.c:679
bool interpreted_cell_defined_p(interpreted_cell p)
Definition: effects.c:686

References check_interpreted_cell(), interpreted_cell_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ interpreted_cell_consistent_p()

bool interpreted_cell_consistent_p ( interpreted_cell  p)

Definition at line 682 of file effects.c.

682  {
684  return gen_consistent_p((gen_chunk*) p);
685 }

References check_interpreted_cell(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ interpreted_cell_defined_p()

bool interpreted_cell_defined_p ( interpreted_cell  p)

Definition at line 686 of file effects.c.

686  {
687  return gen_defined_p((gen_chunk*) p);
688 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ interpreted_cell_non_recursive_free()

void interpreted_cell_non_recursive_free ( interpreted_cell  p)

Definition at line 699 of file effects.c.

699  {
700  // should clear up contents...
701  free(p);
702 }

References free().

+ Here is the call graph for this function:

◆ make_action()

action make_action ( enum action_utype  tag,
void *  val 
)

Definition at line 120 of file effects.c.

120  {
121  return (action) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, action_domain, tag, val);
122 }
#define GEN_CHECK_ALLOC
Definition: genC.h:307
gen_chunk * gen_alloc(int size, int gen_check_p, int dom,...)
allocates something in newgen.
Definition: genClib.c:298

References action_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_action_kind()

action_kind make_action_kind ( enum action_kind_utype  tag,
void *  val 
)

Definition at line 62 of file effects.c.

62  {
64 }

References action_kind_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_action_kind_environment()

action_kind make_action_kind_environment ( void  )

Definition at line 68 of file effects.c.

68  {
70 }
action_kind make_action_kind(enum action_kind_utype tag, void *val)
Definition: effects.c:62
#define UU
Definition: newgen_types.h:98

References is_action_kind_environment, make_action_kind(), and UU.

+ Here is the call graph for this function:

◆ make_action_kind_store()

action_kind make_action_kind_store ( void  )

Definition at line 65 of file effects.c.

65  {
67 }

References is_action_kind_store, make_action_kind(), and UU.

+ Here is the call graph for this function:

◆ make_action_kind_type_declaration()

action_kind make_action_kind_type_declaration ( void  )

Definition at line 71 of file effects.c.

References is_action_kind_type_declaration, make_action_kind(), and UU.

+ Here is the call graph for this function:

◆ make_action_read()

action make_action_read ( action_kind  _field_)

Definition at line 123 of file effects.c.

123  {
124  return make_action(is_action_read, (void*)(intptr_t) _field_);
125 }
action make_action(enum action_utype tag, void *val)
Definition: effects.c:120

References intptr_t, is_action_read, and make_action().

+ Here is the call graph for this function:

◆ make_action_write()

action make_action_write ( action_kind  _field_)

Definition at line 126 of file effects.c.

126  {
127  return make_action(is_action_write, (void*)(intptr_t) _field_);
128 }

References intptr_t, is_action_write, and make_action().

+ Here is the call graph for this function:

◆ make_approximation()

approximation make_approximation ( enum approximation_utype  tag,
void *  val 
)

Definition at line 176 of file effects.c.

176  {
178 }

References approximation_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_approximation_exact()

approximation make_approximation_exact ( void  )

Definition at line 185 of file effects.c.

185  {
187 }
approximation make_approximation(enum approximation_utype tag, void *val)
Definition: effects.c:176

References is_approximation_exact, make_approximation(), and UU.

+ Here is the call graph for this function:

◆ make_approximation_may()

approximation make_approximation_may ( void  )

Definition at line 179 of file effects.c.

179  {
181 }

References is_approximation_may, make_approximation(), and UU.

+ Here is the call graph for this function:

◆ make_approximation_must()

approximation make_approximation_must ( void  )

Definition at line 182 of file effects.c.

182  {
184 }

References is_approximation_must, make_approximation(), and UU.

+ Here is the call graph for this function:

◆ make_cell()

cell make_cell ( enum cell_utype  tag,
void *  val 
)

Definition at line 290 of file effects.c.

290  {
291  return (cell) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, cell_domain, tag, val);
292 }

References cell_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_cell_gap()

cell make_cell_gap ( gap  _field_)

Definition at line 299 of file effects.c.

299  {
300  return make_cell(is_cell_gap, (void*)(intptr_t) _field_);
301 }
cell make_cell(enum cell_utype tag, void *val)
Definition: effects.c:290

References intptr_t, is_cell_gap, and make_cell().

+ Here is the call graph for this function:

◆ make_cell_interpretation()

cell_interpretation make_cell_interpretation ( enum cell_interpretation_utype  tag,
void *  val 
)

Definition at line 234 of file effects.c.

234  {
236 }

References cell_interpretation_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_cell_interpretation_address_of()

cell_interpretation make_cell_interpretation_address_of ( void  )

Definition at line 240 of file effects.c.

240  {
242 }
cell_interpretation make_cell_interpretation(enum cell_interpretation_utype tag, void *val)
Definition: effects.c:234

References is_cell_interpretation_address_of, make_cell_interpretation(), and UU.

+ Here is the call graph for this function:

◆ make_cell_interpretation_value_of()

cell_interpretation make_cell_interpretation_value_of ( void  )

Definition at line 237 of file effects.c.

References is_cell_interpretation_value_of, make_cell_interpretation(), and UU.

+ Here is the call graph for this function:

◆ make_cell_preference()

cell make_cell_preference ( preference  _field_)

Definition at line 296 of file effects.c.

296  {
297  return make_cell(is_cell_preference, (void*)(intptr_t) _field_);
298 }

References intptr_t, is_cell_preference, and make_cell().

+ Here is the call graph for this function:

◆ make_cell_reference()

cell make_cell_reference ( reference  _field_)

Definition at line 293 of file effects.c.

293  {
294  return make_cell(is_cell_reference, (void*)(intptr_t) _field_);
295 }

References intptr_t, is_cell_reference, and make_cell().

+ Here is the call graph for this function:

◆ make_cell_relation()

cell_relation make_cell_relation ( interpreted_cell  a1,
interpreted_cell  a2,
approximation  a3,
descriptor  a4 
)

Definition at line 341 of file effects.c.

341  {
342  return (cell_relation) gen_alloc(5*sizeof(gen_chunk), GEN_CHECK_ALLOC, cell_relation_domain, a1, a2, a3, a4);
343 }

References cell_relation_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_cell_relations()

cell_relations make_cell_relations ( list  a)

Definition at line 383 of file effects.c.

383  {
385 }

References cell_relations_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_descriptor()

descriptor make_descriptor ( enum descriptor_utype  tag,
void *  val 
)

Definition at line 433 of file effects.c.

433  {
435 }

References descriptor_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_descriptor_convex()

descriptor make_descriptor_convex ( Psysteme  _field_)

Definition at line 439 of file effects.c.

439  {
440  return make_descriptor(is_descriptor_convex, (void*)(intptr_t) _field_);
441 }
descriptor make_descriptor(enum descriptor_utype tag, void *val)
Definition: effects.c:433

References intptr_t, is_descriptor_convex, and make_descriptor().

+ Here is the call graph for this function:

◆ make_descriptor_convexunion()

descriptor make_descriptor_convexunion ( list  _field_)

Definition at line 436 of file effects.c.

436  {
437  return make_descriptor(is_descriptor_convexunion, (void*)(intptr_t) _field_);
438 }

References intptr_t, is_descriptor_convexunion, and make_descriptor().

+ Here is the call graph for this function:

◆ make_descriptor_none()

descriptor make_descriptor_none ( void  )

Definition at line 442 of file effects.c.

442  {
444 }

References is_descriptor_none, make_descriptor(), and UU.

+ Here is the call graph for this function:

◆ make_effect()

effect make_effect ( cell  a1,
action  a2,
approximation  a3,
descriptor  a4 
)

Definition at line 484 of file effects.c.

484  {
485  return (effect) gen_alloc(5*sizeof(gen_chunk), GEN_CHECK_ALLOC, effect_domain, a1, a2, a3, a4);
486 }

References effect_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_effects()

effects make_effects ( list  a)

Definition at line 568 of file effects.c.

568  {
569  return (effects) gen_alloc(2*sizeof(gen_chunk), GEN_CHECK_ALLOC, effects_domain, a);
570 }

References effects_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_effects_classes()

effects_classes make_effects_classes ( list  a)

Definition at line 526 of file effects.c.

526  {
528 }

References effects_classes_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_entity_effects()

entity_effects make_entity_effects ( void  )

Definition at line 610 of file effects.c.

610  {
612 }

References entity_effects_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_gap()

gap make_gap ( entity  a1,
path_selectors  a2 
)

Definition at line 667 of file effects.c.

667  {
668  return (gap) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, gap_domain, a1, a2);
669 }

References gap_domain, gen_alloc(), and GEN_CHECK_ALLOC.

+ Here is the call graph for this function:

◆ make_interpreted_cell()

interpreted_cell make_interpreted_cell ( cell  a1,
cell_interpretation  a2 
)

Definition at line 709 of file effects.c.

709  {
711 }

References gen_alloc(), GEN_CHECK_ALLOC, and interpreted_cell_domain.

+ Here is the call graph for this function:

◆ make_path_selector()

path_selector make_path_selector ( enum path_selector_utype  tag,
void *  val 
)

Definition at line 758 of file effects.c.

758  {
760 }

References gen_alloc(), GEN_CHECK_ALLOC, and path_selector_domain.

+ Here is the call graph for this function:

◆ make_path_selector_expression()

path_selector make_path_selector_expression ( expression  _field_)

Definition at line 761 of file effects.c.

761  {
762  return make_path_selector(is_path_selector_expression, (void*)(intptr_t) _field_);
763 }
path_selector make_path_selector(enum path_selector_utype tag, void *val)
Definition: effects.c:758
@ is_path_selector_expression
Definition: effects.h:848

References intptr_t, is_path_selector_expression, and make_path_selector().

+ Here is the call graph for this function:

◆ make_path_selector_recursive_selector()

path_selector make_path_selector_recursive_selector ( recursive_selector  _field_)

Definition at line 764 of file effects.c.

764  {
766 }
@ is_path_selector_recursive_selector
Definition: effects.h:849

References intptr_t, is_path_selector_recursive_selector, and make_path_selector().

+ Here is the call graph for this function:

◆ make_path_selectors()

path_selectors make_path_selectors ( list  a)

Definition at line 806 of file effects.c.

806  {
808 }

References gen_alloc(), GEN_CHECK_ALLOC, and path_selectors_domain.

+ Here is the call graph for this function:

◆ make_persistant_expression_to_effects()

persistant_expression_to_effects make_persistant_expression_to_effects ( void  )

Definition at line 848 of file effects.c.

References gen_alloc(), GEN_CHECK_ALLOC, and persistant_expression_to_effects_domain.

+ Here is the call graph for this function:

◆ make_recursive_selector()

recursive_selector make_recursive_selector ( list  a1,
expression  a2 
)

Definition at line 905 of file effects.c.

905  {
907 }

References gen_alloc(), GEN_CHECK_ALLOC, and recursive_selector_domain.

+ Here is the call graph for this function:

◆ make_statement_cell_relations()

statement_cell_relations make_statement_cell_relations ( void  )

Definition at line 947 of file effects.c.

References gen_alloc(), GEN_CHECK_ALLOC, and statement_cell_relations_domain.

+ Here is the call graph for this function:

◆ make_statement_effects()

statement_effects make_statement_effects ( void  )

Definition at line 1004 of file effects.c.

1004  {
1006 }

References gen_alloc(), GEN_CHECK_ALLOC, and statement_effects_domain.

+ Here is the call graph for this function:

◆ path_selector_assign_contents()

void path_selector_assign_contents ( path_selector  r,
path_selector  v 
)

Definition at line 734 of file effects.c.

734  {
737  message_assert("defined references to domain path_selector",
739  memcpy(r, v, sizeof(struct _newgen_struct_path_selector_));
740 }
path_selector check_path_selector(path_selector p)
Definition: effects.c:721
bool path_selector_defined_p(path_selector p)
Definition: effects.c:728

References check_path_selector(), message_assert, and path_selector_defined_p().

+ Here is the call graph for this function:

◆ path_selector_consistent_p()

bool path_selector_consistent_p ( path_selector  p)

Definition at line 724 of file effects.c.

724  {
726  return gen_consistent_p((gen_chunk*) p);
727 }

References check_path_selector(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ path_selector_defined_p()

bool path_selector_defined_p ( path_selector  p)

Definition at line 728 of file effects.c.

728  {
729  return gen_defined_p((gen_chunk*) p);
730 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ path_selector_non_recursive_free()

void path_selector_non_recursive_free ( path_selector  p)

Definition at line 741 of file effects.c.

741  {
742  // should clear up contents...
743  free(p);
744 }

References free().

+ Here is the call graph for this function:

◆ path_selector_tag_as_string()

string path_selector_tag_as_string ( enum path_selector_utype  tag)

Definition at line 751 of file effects.c.

751  {
752  switch (tag) {
753  case is_path_selector_expression: return "expression";
754  case is_path_selector_recursive_selector: return "recursive_selector";
755  default: return string_undefined;
756  }
757 }

References is_path_selector_expression, is_path_selector_recursive_selector, and string_undefined.

◆ path_selectors_assign_contents()

void path_selectors_assign_contents ( path_selectors  r,
path_selectors  v 
)

Definition at line 789 of file effects.c.

789  {
792  message_assert("defined references to domain path_selectors",
794  memcpy(r, v, sizeof(struct _newgen_struct_path_selectors_));
795 }
path_selectors check_path_selectors(path_selectors p)
Definition: effects.c:776
bool path_selectors_defined_p(path_selectors p)
Definition: effects.c:783

References check_path_selectors(), message_assert, and path_selectors_defined_p().

+ Here is the call graph for this function:

◆ path_selectors_consistent_p()

bool path_selectors_consistent_p ( path_selectors  p)

Definition at line 779 of file effects.c.

779  {
781  return gen_consistent_p((gen_chunk*) p);
782 }

References check_path_selectors(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ path_selectors_defined_p()

bool path_selectors_defined_p ( path_selectors  p)

Definition at line 783 of file effects.c.

783  {
784  return gen_defined_p((gen_chunk*) p);
785 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ path_selectors_non_recursive_free()

void path_selectors_non_recursive_free ( path_selectors  p)

Definition at line 796 of file effects.c.

796  {
797  // should clear up contents...
798  free(p);
799 }

References free().

+ Here is the call graph for this function:

◆ persistant_expression_to_effects_assign_contents()

void persistant_expression_to_effects_assign_contents ( persistant_expression_to_effects  r,
persistant_expression_to_effects  v 
)

Definition at line 831 of file effects.c.

831  {
834  message_assert("defined references to domain persistant_expression_to_effects",
836  memcpy(r, v, sizeof(struct _newgen_struct_persistant_expression_to_effects_));
837 }
bool persistant_expression_to_effects_defined_p(persistant_expression_to_effects p)
Definition: effects.c:825
persistant_expression_to_effects check_persistant_expression_to_effects(persistant_expression_to_effects p)
Definition: effects.c:818

References check_persistant_expression_to_effects(), message_assert, and persistant_expression_to_effects_defined_p().

+ Here is the call graph for this function:

◆ persistant_expression_to_effects_consistent_p()

bool persistant_expression_to_effects_consistent_p ( persistant_expression_to_effects  p)

Definition at line 821 of file effects.c.

821  {
823  return gen_consistent_p((gen_chunk*) p);
824 }

References check_persistant_expression_to_effects(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ persistant_expression_to_effects_defined_p()

bool persistant_expression_to_effects_defined_p ( persistant_expression_to_effects  p)

Definition at line 825 of file effects.c.

825  {
826  return gen_defined_p((gen_chunk*) p);
827 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ persistant_expression_to_effects_non_recursive_free()

void persistant_expression_to_effects_non_recursive_free ( persistant_expression_to_effects  p)

Definition at line 838 of file effects.c.

838  {
839  // should clear up contents...
840  free(p);
841 }

References free().

+ Here is the call graph for this function:

◆ read_action()

action read_action ( FILE *  f)

Definition at line 110 of file effects.c.

110  {
111  return (action) gen_read(f);
112 }
gen_chunk * gen_read(FILE *file)
GEN_READ reads any object from the FILE stream.
Definition: genClib.c:2323

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_action_kind()

action_kind read_action_kind ( FILE *  f)

Definition at line 51 of file effects.c.

51  {
52  return (action_kind) gen_read(f);
53 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_approximation()

approximation read_approximation ( FILE *  f)

Definition at line 165 of file effects.c.

165  {
166  return (approximation) gen_read(f);
167 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_cell()

cell read_cell ( FILE *  f)

Definition at line 279 of file effects.c.

279  {
280  return (cell) gen_read(f);
281 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_cell_interpretation()

cell_interpretation read_cell_interpretation ( FILE *  f)

Definition at line 224 of file effects.c.

224  {
225  return (cell_interpretation) gen_read(f);
226 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_cell_relation()

cell_relation read_cell_relation ( FILE *  f)

Definition at line 338 of file effects.c.

338  {
339  return (cell_relation) gen_read(f);
340 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_cell_relations()

cell_relations read_cell_relations ( FILE *  f)

Definition at line 380 of file effects.c.

380  {
381  return (cell_relations) gen_read(f);
382 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_descriptor()

descriptor read_descriptor ( FILE *  f)

Definition at line 422 of file effects.c.

422  {
423  return (descriptor) gen_read(f);
424 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_effect()

effect read_effect ( FILE *  f)

Definition at line 481 of file effects.c.

481  {
482  return (effect) gen_read(f);
483 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_effects()

effects read_effects ( FILE *  f)

Definition at line 565 of file effects.c.

565  {
566  return (effects) gen_read(f);
567 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_effects_classes()

effects_classes read_effects_classes ( FILE *  f)

Definition at line 523 of file effects.c.

523  {
524  return (effects_classes) gen_read(f);
525 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_entity_effects()

entity_effects read_entity_effects ( FILE *  f)

Definition at line 607 of file effects.c.

607  {
608  return (entity_effects) gen_read(f);
609 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_gap()

gap read_gap ( FILE *  f)

Definition at line 664 of file effects.c.

664  {
665  return (gap) gen_read(f);
666 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_interpreted_cell()

interpreted_cell read_interpreted_cell ( FILE *  f)

Definition at line 706 of file effects.c.

706  {
707  return (interpreted_cell) gen_read(f);
708 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_path_selector()

path_selector read_path_selector ( FILE *  f)

Definition at line 748 of file effects.c.

748  {
749  return (path_selector) gen_read(f);
750 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_path_selectors()

path_selectors read_path_selectors ( FILE *  f)

Definition at line 803 of file effects.c.

803  {
804  return (path_selectors) gen_read(f);
805 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_persistant_expression_to_effects()

persistant_expression_to_effects read_persistant_expression_to_effects ( FILE *  f)

Definition at line 845 of file effects.c.

845  {
847 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_recursive_selector()

recursive_selector read_recursive_selector ( FILE *  f)

Definition at line 902 of file effects.c.

902  {
903  return (recursive_selector) gen_read(f);
904 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_statement_cell_relations()

statement_cell_relations read_statement_cell_relations ( FILE *  f)

Definition at line 944 of file effects.c.

944  {
946 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_statement_effects()

statement_effects read_statement_effects ( FILE *  f)

Definition at line 1001 of file effects.c.

1001  {
1002  return (statement_effects) gen_read(f);
1003 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ recursive_selector_assign_contents()

void recursive_selector_assign_contents ( recursive_selector  r,
recursive_selector  v 
)

Definition at line 888 of file effects.c.

888  {
891  message_assert("defined references to domain recursive_selector",
893  memcpy(r, v, sizeof(struct _newgen_struct_recursive_selector_));
894 }
recursive_selector check_recursive_selector(recursive_selector p)
Definition: effects.c:875
bool recursive_selector_defined_p(recursive_selector p)
Definition: effects.c:882

References check_recursive_selector(), message_assert, and recursive_selector_defined_p().

+ Here is the call graph for this function:

◆ recursive_selector_consistent_p()

bool recursive_selector_consistent_p ( recursive_selector  p)

Definition at line 878 of file effects.c.

878  {
880  return gen_consistent_p((gen_chunk*) p);
881 }

References check_recursive_selector(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ recursive_selector_defined_p()

bool recursive_selector_defined_p ( recursive_selector  p)

Definition at line 882 of file effects.c.

882  {
883  return gen_defined_p((gen_chunk*) p);
884 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ recursive_selector_non_recursive_free()

void recursive_selector_non_recursive_free ( recursive_selector  p)

Definition at line 895 of file effects.c.

895  {
896  // should clear up contents...
897  free(p);
898 }

References free().

+ Here is the call graph for this function:

◆ statement_cell_relations_assign_contents()

void statement_cell_relations_assign_contents ( statement_cell_relations  r,
statement_cell_relations  v 
)

Definition at line 930 of file effects.c.

930  {
933  message_assert("defined references to domain statement_cell_relations",
935  memcpy(r, v, sizeof(struct _newgen_struct_statement_cell_relations_));
936 }
statement_cell_relations check_statement_cell_relations(statement_cell_relations p)
Definition: effects.c:917
bool statement_cell_relations_defined_p(statement_cell_relations p)
Definition: effects.c:924

References check_statement_cell_relations(), message_assert, and statement_cell_relations_defined_p().

+ Here is the call graph for this function:

◆ statement_cell_relations_consistent_p()

bool statement_cell_relations_consistent_p ( statement_cell_relations  p)

Definition at line 920 of file effects.c.

920  {
922  return gen_consistent_p((gen_chunk*) p);
923 }

References check_statement_cell_relations(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ statement_cell_relations_defined_p()

bool statement_cell_relations_defined_p ( statement_cell_relations  p)

Definition at line 924 of file effects.c.

924  {
925  return gen_defined_p((gen_chunk*) p);
926 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ statement_cell_relations_non_recursive_free()

void statement_cell_relations_non_recursive_free ( statement_cell_relations  p)

Definition at line 937 of file effects.c.

937  {
938  // should clear up contents...
939  free(p);
940 }

References free().

+ Here is the call graph for this function:

◆ statement_effects_assign_contents()

void statement_effects_assign_contents ( statement_effects  r,
statement_effects  v 
)

Definition at line 987 of file effects.c.

987  {
990  message_assert("defined references to domain statement_effects",
992  memcpy(r, v, sizeof(struct _newgen_struct_statement_effects_));
993 }
bool statement_effects_defined_p(statement_effects p)
Definition: effects.c:981
statement_effects check_statement_effects(statement_effects p)
Definition: effects.c:974

References check_statement_effects(), message_assert, and statement_effects_defined_p().

+ Here is the call graph for this function:

◆ statement_effects_consistent_p()

bool statement_effects_consistent_p ( statement_effects  p)

Definition at line 977 of file effects.c.

977  {
979  return gen_consistent_p((gen_chunk*) p);
980 }

References check_statement_effects(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ statement_effects_defined_p()

bool statement_effects_defined_p ( statement_effects  p)

Definition at line 981 of file effects.c.

981  {
982  return gen_defined_p((gen_chunk*) p);
983 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ statement_effects_non_recursive_free()

void statement_effects_non_recursive_free ( statement_effects  p)

Definition at line 994 of file effects.c.

994  {
995  // should clear up contents...
996  free(p);
997 }

References free().

+ Here is the call graph for this function:

◆ update_entity_effects()

void update_entity_effects ( entity_effects  f,
entity  k,
effects  v 
)

Definition at line 616 of file effects.c.

616  {
618 }
#define HASH_UPDATE(start, image, h, k, v)
Definition: newgen_map.h:34

References entity_effects_hash_table, f(), HASH_UPDATE, and intptr_t.

+ Here is the call graph for this function:

◆ update_persistant_expression_to_effects()

void update_persistant_expression_to_effects ( persistant_expression_to_effects  f,
expression  k,
effects  v 
)

Definition at line 854 of file effects.c.

854  {
856 }

References f(), HASH_UPDATE, intptr_t, and persistant_expression_to_effects_hash_table.

+ Here is the call graph for this function:

◆ update_statement_cell_relations()

void update_statement_cell_relations ( statement_cell_relations  f,
statement  k,
cell_relations  v 
)

Definition at line 953 of file effects.c.

953  {
955 }

References f(), HASH_UPDATE, intptr_t, and statement_cell_relations_hash_table.

+ Here is the call graph for this function:

◆ update_statement_effects()

void update_statement_effects ( statement_effects  f,
statement  k,
effects  v 
)

Definition at line 1010 of file effects.c.

1010  {
1012 }

References f(), HASH_UPDATE, intptr_t, and statement_effects_hash_table.

+ Here is the call graph for this function:

◆ write_action()

void write_action ( FILE *  f,
action  p 
)

Definition at line 107 of file effects.c.

107  {
108  gen_write(f, (gen_chunk*) p);
109 }
void gen_write(FILE *fd, gen_chunk *obj)
GEN_WRITE writes the OBJect on the stream FD.
Definition: genClib.c:1745

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_action_kind()

void write_action_kind ( FILE *  f,
action_kind  p 
)

Definition at line 48 of file effects.c.

48  {
49  gen_write(f, (gen_chunk*) p);
50 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_approximation()

void write_approximation ( FILE *  f,
approximation  p 
)

Definition at line 162 of file effects.c.

162  {
163  gen_write(f, (gen_chunk*) p);
164 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_cell()

void write_cell ( FILE *  f,
cell  p 
)

Definition at line 276 of file effects.c.

276  {
277  gen_write(f, (gen_chunk*) p);
278 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_cell_interpretation()

void write_cell_interpretation ( FILE *  f,
cell_interpretation  p 
)

Definition at line 221 of file effects.c.

221  {
222  gen_write(f, (gen_chunk*) p);
223 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_cell_relation()

void write_cell_relation ( FILE *  f,
cell_relation  p 
)

Definition at line 335 of file effects.c.

335  {
336  gen_write(f, (gen_chunk*) p);
337 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_cell_relations()

void write_cell_relations ( FILE *  f,
cell_relations  p 
)

Definition at line 377 of file effects.c.

377  {
378  gen_write(f, (gen_chunk*) p);
379 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_descriptor()

void write_descriptor ( FILE *  f,
descriptor  p 
)

Definition at line 419 of file effects.c.

419  {
420  gen_write(f, (gen_chunk*) p);
421 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_effect()

void write_effect ( FILE *  f,
effect  p 
)

Definition at line 478 of file effects.c.

478  {
479  gen_write(f, (gen_chunk*) p);
480 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_effects()

void write_effects ( FILE *  f,
effects  p 
)

Definition at line 562 of file effects.c.

562  {
563  gen_write(f, (gen_chunk*) p);
564 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_effects_classes()

void write_effects_classes ( FILE *  f,
effects_classes  p 
)

Definition at line 520 of file effects.c.

520  {
521  gen_write(f, (gen_chunk*) p);
522 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_entity_effects()

void write_entity_effects ( FILE *  f,
entity_effects  p 
)

Definition at line 604 of file effects.c.

604  {
605  gen_write(f, (gen_chunk*) p);
606 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_gap()

void write_gap ( FILE *  f,
gap  p 
)

Definition at line 661 of file effects.c.

661  {
662  gen_write(f, (gen_chunk*) p);
663 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_interpreted_cell()

void write_interpreted_cell ( FILE *  f,
interpreted_cell  p 
)

Definition at line 703 of file effects.c.

703  {
704  gen_write(f, (gen_chunk*) p);
705 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_path_selector()

void write_path_selector ( FILE *  f,
path_selector  p 
)

Definition at line 745 of file effects.c.

745  {
746  gen_write(f, (gen_chunk*) p);
747 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_path_selectors()

void write_path_selectors ( FILE *  f,
path_selectors  p 
)

Definition at line 800 of file effects.c.

800  {
801  gen_write(f, (gen_chunk*) p);
802 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_persistant_expression_to_effects()

void write_persistant_expression_to_effects ( FILE *  f,
persistant_expression_to_effects  p 
)

Definition at line 842 of file effects.c.

842  {
843  gen_write(f, (gen_chunk*) p);
844 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_recursive_selector()

void write_recursive_selector ( FILE *  f,
recursive_selector  p 
)

Definition at line 899 of file effects.c.

899  {
900  gen_write(f, (gen_chunk*) p);
901 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_statement_cell_relations()

void write_statement_cell_relations ( FILE *  f,
statement_cell_relations  p 
)

Definition at line 941 of file effects.c.

941  {
942  gen_write(f, (gen_chunk*) p);
943 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_statement_effects()

void write_statement_effects ( FILE *  f,
statement_effects  p 
)

Definition at line 998 of file effects.c.

998  {
999  gen_write(f, (gen_chunk*) p);
1000 }

References f(), and gen_write().

+ Here is the call graph for this function: