PIPS
scalopes_private.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _newgen_struct_entity_task_buffers_
 
struct  _newgen_struct_sesam_buffers_processing_context_
 
struct  _newgen_struct_task_buffers_
 

Macros

#define _gen_scalopes_private_start   217
 
#define _newgen_entity_domain_defined_
 
#define ENTITY_NEWGEN_DOMAIN   (entity_domain)
 
#define entity_NEWGEN_DOMAIN   (entity_domain)
 
#define _newgen_effect_domain_defined_
 newgen_entity_domain_defined More...
 
#define EFFECT_NEWGEN_DOMAIN   (effect_domain)
 
#define effect_NEWGEN_DOMAIN   (effect_domain)
 
#define entity_task_buffers_domain   (_gen_scalopes_private_start+0)
 newgen_effect_domain_defined More...
 
#define _newgen_entity_task_buffers_domain_defined_
 
#define ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN   (entity_task_buffers_domain)
 
#define entity_task_buffers_NEWGEN_DOMAIN   (entity_task_buffers_domain)
 
#define sesam_buffers_processing_context_domain   (_gen_scalopes_private_start+1)
 newgen_entity_task_buffers_domain_defined More...
 
#define _newgen_sesam_buffers_processing_context_domain_defined_
 
#define SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN   (sesam_buffers_processing_context_domain)
 
#define sesam_buffers_processing_context_NEWGEN_DOMAIN   (sesam_buffers_processing_context_domain)
 
#define task_buffers_domain   (_gen_scalopes_private_start+2)
 newgen_sesam_buffers_processing_context_domain_defined More...
 
#define _newgen_task_buffers_domain_defined_
 
#define TASK_BUFFERS_NEWGEN_DOMAIN   (task_buffers_domain)
 
#define task_buffers_NEWGEN_DOMAIN   (task_buffers_domain)
 
#define ENTITY_TASK_BUFFERS(x)   ((entity_task_buffers)((x).p))
 newgen_task_buffers_domain_defined More...
 
#define entity_task_buffers_CAST(x)   ENTITY_TASK_BUFFERS(x)
 
#define ENTITY_TASK_BUFFERS_CAST(x)   ENTITY_TASK_BUFFERS(x)
 
#define ENTITY_TASK_BUFFERS_(x)   ((x).e)
 
#define ENTITY_TASK_BUFFERS_TYPE   entity_task_buffers
 
#define entity_task_buffers_TYPE   entity_task_buffers
 
#define entity_task_buffers_undefined   ((entity_task_buffers)gen_chunk_undefined)
 
#define entity_task_buffers_undefined_p(x)   ((x)==entity_task_buffers_undefined)
 
#define gen_ENTITY_TASK_BUFFERS_cons   gen_entity_task_buffers_cons
 
#define entity_task_buffers_domain_number(x)   ((x)->_type_)
 
#define entity_task_buffers_hash_table(x)   ((x)->_entity_task_buffers_holder_)
 
#define entity_task_buffers_key_type   entity
 
#define entity_task_buffers_value_type   task_buffers
 
#define ENTITY_TASK_BUFFERS_MAP(k, v, c, f)   FUNCTION_MAP(entity_task_buffers,p,p,k,v,c,f)
 
#define ENTITY_TASK_BUFFERS_FOREACH(k, v, f)   FUNCTION_FOREACH(entity_task_buffers,p,p,k,v,f)
 
#define SESAM_BUFFERS_PROCESSING_CONTEXT(x)   ((sesam_buffers_processing_context)((x).p))
 SESAM_BUFFERS_PROCESSING_CONTEXT. More...
 
#define sesam_buffers_processing_context_CAST(x)   SESAM_BUFFERS_PROCESSING_CONTEXT(x)
 
#define SESAM_BUFFERS_PROCESSING_CONTEXT_CAST(x)   SESAM_BUFFERS_PROCESSING_CONTEXT(x)
 
#define SESAM_BUFFERS_PROCESSING_CONTEXT_(x)   ((x).e)
 
#define SESAM_BUFFERS_PROCESSING_CONTEXT_TYPE   sesam_buffers_processing_context
 
#define sesam_buffers_processing_context_TYPE   sesam_buffers_processing_context
 
#define sesam_buffers_processing_context_undefined   ((sesam_buffers_processing_context)gen_chunk_undefined)
 
#define sesam_buffers_processing_context_undefined_p(x)   ((x)==sesam_buffers_processing_context_undefined)
 
#define gen_SESAM_BUFFERS_PROCESSING_CONTEXT_cons   gen_sesam_buffers_processing_context_cons
 
#define sesam_buffers_processing_context_domain_number(x)   ((x)->_type_)
 
#define sesam_buffers_processing_context_kernel_tasks_(x)   sesam_buffers_processing_context_kernel_tasks(x) /**old hack compatible */
 
#define sesam_buffers_processing_context_kernel_tasks(x)   ((x)->_sesam_buffers_processing_context_kernel_tasks_)
 
#define sesam_buffers_processing_context_server_tasks_(x)   sesam_buffers_processing_context_server_tasks(x) /**old hack compatible */
 
#define sesam_buffers_processing_context_server_tasks(x)   ((x)->_sesam_buffers_processing_context_server_tasks_)
 
#define sesam_buffers_processing_context_kernel_buffers_(x)   sesam_buffers_processing_context_kernel_buffers(x) /**old hack compatible */
 
#define sesam_buffers_processing_context_kernel_buffers(x)   ((x)->_sesam_buffers_processing_context_kernel_buffers_)
 
#define sesam_buffers_processing_context_server_buffers_(x)   sesam_buffers_processing_context_server_buffers(x) /**old hack compatible */
 
#define sesam_buffers_processing_context_server_buffers(x)   ((x)->_sesam_buffers_processing_context_server_buffers_)
 
#define sesam_buffers_processing_context_buffers_(x)   sesam_buffers_processing_context_buffers(x) /**old hack compatible */
 
#define sesam_buffers_processing_context_buffers(x)   ((x)->_sesam_buffers_processing_context_buffers_)
 
#define TASK_BUFFERS(x)   ((task_buffers)((x).p))
 TASK_BUFFERS. More...
 
#define task_buffers_CAST(x)   TASK_BUFFERS(x)
 
#define TASK_BUFFERS_CAST(x)   TASK_BUFFERS(x)
 
#define TASK_BUFFERS_(x)   ((x).e)
 
#define TASK_BUFFERS_TYPE   task_buffers
 
#define task_buffers_TYPE   task_buffers
 
#define task_buffers_undefined   ((task_buffers)gen_chunk_undefined)
 
#define task_buffers_undefined_p(x)   ((x)==task_buffers_undefined)
 
#define gen_TASK_BUFFERS_cons   gen_task_buffers_cons
 
#define task_buffers_domain_number(x)   ((x)->_type_)
 
#define task_buffers_input_(x)   task_buffers_input(x) /**old hack compatible */
 
#define task_buffers_input(x)   ((x)->_task_buffers_input_)
 
#define task_buffers_output_(x)   task_buffers_output(x) /**old hack compatible */
 
#define task_buffers_output(x)   ((x)->_task_buffers_output_)
 
#define scalopes_private_spec   "\--NEWGEN-START 217\n\import entity from \"ri.newgen\";\n\import effect from \"effects.newgen\";\n\entity_task_buffers = entity:entity -> task_buffers:task_buffers;\n\sesam_buffers_processing_context = kernel_tasks:entity{} x server_tasks:entity{} x kernel_buffers:entity_task_buffers x server_buffers:entity_task_buffers x buffers:entity{};\n\task_buffers = input:entity{} x output:entity{};\n\"
 

Typedefs

typedef struct _newgen_struct_entity_entity
 
typedef struct _newgen_struct_effect_effect
 
typedef struct _newgen_struct_entity_task_buffers_entity_task_buffers
 
typedef struct _newgen_struct_sesam_buffers_processing_context_sesam_buffers_processing_context
 
typedef struct _newgen_struct_task_buffers_task_buffers
 

Functions

entity_task_buffers copy_entity_task_buffers (entity_task_buffers)
 ENTITY_TASK_BUFFERS. More...
 
void free_entity_task_buffers (entity_task_buffers)
 
entity_task_buffers check_entity_task_buffers (entity_task_buffers)
 
bool entity_task_buffers_consistent_p (entity_task_buffers)
 
bool entity_task_buffers_defined_p (entity_task_buffers)
 
list gen_entity_task_buffers_cons (entity_task_buffers, list)
 
void entity_task_buffers_assign_contents (entity_task_buffers, entity_task_buffers)
 
void entity_task_buffers_non_recursive_free (entity_task_buffers)
 
void write_entity_task_buffers (FILE *, entity_task_buffers)
 
entity_task_buffers read_entity_task_buffers (FILE *)
 
entity_task_buffers make_entity_task_buffers (void)
 
task_buffers apply_entity_task_buffers (entity_task_buffers, entity)
 
void update_entity_task_buffers (entity_task_buffers, entity, task_buffers)
 
void extend_entity_task_buffers (entity_task_buffers, entity, task_buffers)
 
task_buffers delete_entity_task_buffers (entity_task_buffers, entity)
 
bool bound_entity_task_buffers_p (entity_task_buffers, entity)
 
sesam_buffers_processing_context copy_sesam_buffers_processing_context (sesam_buffers_processing_context)
 SESAM_BUFFERS_PROCESSING_CONTEXT. More...
 
void free_sesam_buffers_processing_context (sesam_buffers_processing_context)
 
sesam_buffers_processing_context check_sesam_buffers_processing_context (sesam_buffers_processing_context)
 
bool sesam_buffers_processing_context_consistent_p (sesam_buffers_processing_context)
 
bool sesam_buffers_processing_context_defined_p (sesam_buffers_processing_context)
 
list gen_sesam_buffers_processing_context_cons (sesam_buffers_processing_context, list)
 
void sesam_buffers_processing_context_assign_contents (sesam_buffers_processing_context, sesam_buffers_processing_context)
 
void sesam_buffers_processing_context_non_recursive_free (sesam_buffers_processing_context)
 
void write_sesam_buffers_processing_context (FILE *, sesam_buffers_processing_context)
 
sesam_buffers_processing_context read_sesam_buffers_processing_context (FILE *)
 
sesam_buffers_processing_context make_sesam_buffers_processing_context (set, set, entity_task_buffers, entity_task_buffers, set)
 
task_buffers copy_task_buffers (task_buffers)
 TASK_BUFFERS. More...
 
void free_task_buffers (task_buffers)
 
task_buffers check_task_buffers (task_buffers)
 
bool task_buffers_consistent_p (task_buffers)
 
bool task_buffers_defined_p (task_buffers)
 
list gen_task_buffers_cons (task_buffers, list)
 
void task_buffers_assign_contents (task_buffers, task_buffers)
 
void task_buffers_non_recursive_free (task_buffers)
 
void write_task_buffers (FILE *, task_buffers)
 
task_buffers read_task_buffers (FILE *)
 
task_buffers make_task_buffers (set, set)
 

Macro Definition Documentation

◆ _gen_scalopes_private_start

#define _gen_scalopes_private_start   217

Definition at line 3 of file scalopes_private.h.

◆ _newgen_effect_domain_defined_

#define _newgen_effect_domain_defined_

newgen_entity_domain_defined

Definition at line 18 of file scalopes_private.h.

◆ _newgen_entity_domain_defined_

#define _newgen_entity_domain_defined_

Definition at line 11 of file scalopes_private.h.

◆ _newgen_entity_task_buffers_domain_defined_

#define _newgen_entity_task_buffers_domain_defined_

Definition at line 26 of file scalopes_private.h.

◆ _newgen_sesam_buffers_processing_context_domain_defined_

#define _newgen_sesam_buffers_processing_context_domain_defined_

Definition at line 34 of file scalopes_private.h.

◆ _newgen_task_buffers_domain_defined_

#define _newgen_task_buffers_domain_defined_

Definition at line 42 of file scalopes_private.h.

◆ EFFECT_NEWGEN_DOMAIN

#define EFFECT_NEWGEN_DOMAIN   (effect_domain)

Definition at line 19 of file scalopes_private.h.

◆ effect_NEWGEN_DOMAIN

#define effect_NEWGEN_DOMAIN   (effect_domain)

Definition at line 20 of file scalopes_private.h.

◆ ENTITY_NEWGEN_DOMAIN

#define ENTITY_NEWGEN_DOMAIN   (entity_domain)

Definition at line 12 of file scalopes_private.h.

◆ entity_NEWGEN_DOMAIN

#define entity_NEWGEN_DOMAIN   (entity_domain)

Definition at line 13 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS

#define ENTITY_TASK_BUFFERS (   x)    ((entity_task_buffers)((x).p))

newgen_task_buffers_domain_defined

ENTITY_TASK_BUFFERS

Definition at line 50 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_

#define ENTITY_TASK_BUFFERS_ (   x)    ((x).e)

Definition at line 53 of file scalopes_private.h.

◆ entity_task_buffers_CAST

#define entity_task_buffers_CAST (   x)    ENTITY_TASK_BUFFERS(x)

Definition at line 51 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_CAST

#define ENTITY_TASK_BUFFERS_CAST (   x)    ENTITY_TASK_BUFFERS(x)

Definition at line 52 of file scalopes_private.h.

◆ entity_task_buffers_domain

#define entity_task_buffers_domain   (_gen_scalopes_private_start+0)

newgen_effect_domain_defined

Definition at line 24 of file scalopes_private.h.

◆ entity_task_buffers_domain_number

#define entity_task_buffers_domain_number (   x)    ((x)->_type_)

Definition at line 77 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_FOREACH

#define ENTITY_TASK_BUFFERS_FOREACH (   k,
  v,
  f 
)    FUNCTION_FOREACH(entity_task_buffers,p,p,k,v,f)

Definition at line 82 of file scalopes_private.h.

◆ entity_task_buffers_hash_table

#define entity_task_buffers_hash_table (   x)    ((x)->_entity_task_buffers_holder_)

Definition at line 78 of file scalopes_private.h.

◆ entity_task_buffers_key_type

#define entity_task_buffers_key_type   entity

Definition at line 79 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_MAP

#define ENTITY_TASK_BUFFERS_MAP (   k,
  v,
  c,
  f 
)    FUNCTION_MAP(entity_task_buffers,p,p,k,v,c,f)

Definition at line 81 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN

#define ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN   (entity_task_buffers_domain)

Definition at line 27 of file scalopes_private.h.

◆ entity_task_buffers_NEWGEN_DOMAIN

#define entity_task_buffers_NEWGEN_DOMAIN   (entity_task_buffers_domain)

Definition at line 28 of file scalopes_private.h.

◆ ENTITY_TASK_BUFFERS_TYPE

#define ENTITY_TASK_BUFFERS_TYPE   entity_task_buffers

Definition at line 54 of file scalopes_private.h.

◆ entity_task_buffers_TYPE

#define entity_task_buffers_TYPE   entity_task_buffers

Definition at line 55 of file scalopes_private.h.

◆ entity_task_buffers_undefined

#define entity_task_buffers_undefined   ((entity_task_buffers)gen_chunk_undefined)

Definition at line 56 of file scalopes_private.h.

◆ entity_task_buffers_undefined_p

#define entity_task_buffers_undefined_p (   x)    ((x)==entity_task_buffers_undefined)

Definition at line 57 of file scalopes_private.h.

◆ entity_task_buffers_value_type

#define entity_task_buffers_value_type   task_buffers

Definition at line 80 of file scalopes_private.h.

◆ gen_ENTITY_TASK_BUFFERS_cons

#define gen_ENTITY_TASK_BUFFERS_cons   gen_entity_task_buffers_cons

Definition at line 64 of file scalopes_private.h.

◆ gen_SESAM_BUFFERS_PROCESSING_CONTEXT_cons

#define gen_SESAM_BUFFERS_PROCESSING_CONTEXT_cons   gen_sesam_buffers_processing_context_cons

Definition at line 105 of file scalopes_private.h.

◆ gen_TASK_BUFFERS_cons

#define gen_TASK_BUFFERS_cons   gen_task_buffers_cons

Definition at line 150 of file scalopes_private.h.

◆ scalopes_private_spec

#define scalopes_private_spec   "\--NEWGEN-START 217\n\import entity from \"ri.newgen\";\n\import effect from \"effects.newgen\";\n\entity_task_buffers = entity:entity -> task_buffers:task_buffers;\n\sesam_buffers_processing_context = kernel_tasks:entity{} x server_tasks:entity{} x kernel_buffers:entity_task_buffers x server_buffers:entity_task_buffers x buffers:entity{};\n\task_buffers = input:entity{} x output:entity{};\n\"

Definition at line 170 of file scalopes_private.h.

◆ SESAM_BUFFERS_PROCESSING_CONTEXT

#define SESAM_BUFFERS_PROCESSING_CONTEXT (   x)    ((sesam_buffers_processing_context)((x).p))

SESAM_BUFFERS_PROCESSING_CONTEXT.

Definition at line 91 of file scalopes_private.h.

◆ SESAM_BUFFERS_PROCESSING_CONTEXT_

#define SESAM_BUFFERS_PROCESSING_CONTEXT_ (   x)    ((x).e)

Definition at line 94 of file scalopes_private.h.

◆ sesam_buffers_processing_context_buffers

#define sesam_buffers_processing_context_buffers (   x)    ((x)->_sesam_buffers_processing_context_buffers_)

Definition at line 132 of file scalopes_private.h.

◆ sesam_buffers_processing_context_buffers_

#define sesam_buffers_processing_context_buffers_ (   x)    sesam_buffers_processing_context_buffers(x) /**old hack compatible */

Definition at line 131 of file scalopes_private.h.

◆ sesam_buffers_processing_context_CAST

#define sesam_buffers_processing_context_CAST (   x)    SESAM_BUFFERS_PROCESSING_CONTEXT(x)

Definition at line 92 of file scalopes_private.h.

◆ SESAM_BUFFERS_PROCESSING_CONTEXT_CAST

#define SESAM_BUFFERS_PROCESSING_CONTEXT_CAST (   x)    SESAM_BUFFERS_PROCESSING_CONTEXT(x)

Definition at line 93 of file scalopes_private.h.

◆ sesam_buffers_processing_context_domain

#define sesam_buffers_processing_context_domain   (_gen_scalopes_private_start+1)

newgen_entity_task_buffers_domain_defined

Definition at line 32 of file scalopes_private.h.

◆ sesam_buffers_processing_context_domain_number

#define sesam_buffers_processing_context_domain_number (   x)    ((x)->_type_)

Definition at line 122 of file scalopes_private.h.

◆ sesam_buffers_processing_context_kernel_buffers

#define sesam_buffers_processing_context_kernel_buffers (   x)    ((x)->_sesam_buffers_processing_context_kernel_buffers_)

Definition at line 128 of file scalopes_private.h.

◆ sesam_buffers_processing_context_kernel_buffers_

#define sesam_buffers_processing_context_kernel_buffers_ (   x)    sesam_buffers_processing_context_kernel_buffers(x) /**old hack compatible */

Definition at line 127 of file scalopes_private.h.

◆ sesam_buffers_processing_context_kernel_tasks

#define sesam_buffers_processing_context_kernel_tasks (   x)    ((x)->_sesam_buffers_processing_context_kernel_tasks_)

Definition at line 124 of file scalopes_private.h.

◆ sesam_buffers_processing_context_kernel_tasks_

#define sesam_buffers_processing_context_kernel_tasks_ (   x)    sesam_buffers_processing_context_kernel_tasks(x) /**old hack compatible */

Definition at line 123 of file scalopes_private.h.

◆ SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN

#define SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN   (sesam_buffers_processing_context_domain)

Definition at line 35 of file scalopes_private.h.

◆ sesam_buffers_processing_context_NEWGEN_DOMAIN

#define sesam_buffers_processing_context_NEWGEN_DOMAIN   (sesam_buffers_processing_context_domain)

Definition at line 36 of file scalopes_private.h.

◆ sesam_buffers_processing_context_server_buffers

#define sesam_buffers_processing_context_server_buffers (   x)    ((x)->_sesam_buffers_processing_context_server_buffers_)

Definition at line 130 of file scalopes_private.h.

◆ sesam_buffers_processing_context_server_buffers_

#define sesam_buffers_processing_context_server_buffers_ (   x)    sesam_buffers_processing_context_server_buffers(x) /**old hack compatible */

Definition at line 129 of file scalopes_private.h.

◆ sesam_buffers_processing_context_server_tasks

#define sesam_buffers_processing_context_server_tasks (   x)    ((x)->_sesam_buffers_processing_context_server_tasks_)

Definition at line 126 of file scalopes_private.h.

◆ sesam_buffers_processing_context_server_tasks_

#define sesam_buffers_processing_context_server_tasks_ (   x)    sesam_buffers_processing_context_server_tasks(x) /**old hack compatible */

Definition at line 125 of file scalopes_private.h.

◆ SESAM_BUFFERS_PROCESSING_CONTEXT_TYPE

#define SESAM_BUFFERS_PROCESSING_CONTEXT_TYPE   sesam_buffers_processing_context

Definition at line 95 of file scalopes_private.h.

◆ sesam_buffers_processing_context_TYPE

#define sesam_buffers_processing_context_TYPE   sesam_buffers_processing_context

Definition at line 96 of file scalopes_private.h.

◆ sesam_buffers_processing_context_undefined

#define sesam_buffers_processing_context_undefined   ((sesam_buffers_processing_context)gen_chunk_undefined)

Definition at line 97 of file scalopes_private.h.

◆ sesam_buffers_processing_context_undefined_p

#define sesam_buffers_processing_context_undefined_p (   x)    ((x)==sesam_buffers_processing_context_undefined)

Definition at line 98 of file scalopes_private.h.

◆ TASK_BUFFERS

#define TASK_BUFFERS (   x)    ((task_buffers)((x).p))

TASK_BUFFERS.

Definition at line 136 of file scalopes_private.h.

◆ TASK_BUFFERS_

#define TASK_BUFFERS_ (   x)    ((x).e)

Definition at line 139 of file scalopes_private.h.

◆ task_buffers_CAST

#define task_buffers_CAST (   x)    TASK_BUFFERS(x)

Definition at line 137 of file scalopes_private.h.

◆ TASK_BUFFERS_CAST

#define TASK_BUFFERS_CAST (   x)    TASK_BUFFERS(x)

Definition at line 138 of file scalopes_private.h.

◆ task_buffers_domain

#define task_buffers_domain   (_gen_scalopes_private_start+2)

newgen_sesam_buffers_processing_context_domain_defined

Definition at line 40 of file scalopes_private.h.

◆ task_buffers_domain_number

#define task_buffers_domain_number (   x)    ((x)->_type_)

Definition at line 164 of file scalopes_private.h.

◆ task_buffers_input

#define task_buffers_input (   x)    ((x)->_task_buffers_input_)

Definition at line 166 of file scalopes_private.h.

◆ task_buffers_input_

#define task_buffers_input_ (   x)    task_buffers_input(x) /**old hack compatible */

Definition at line 165 of file scalopes_private.h.

◆ TASK_BUFFERS_NEWGEN_DOMAIN

#define TASK_BUFFERS_NEWGEN_DOMAIN   (task_buffers_domain)

Definition at line 43 of file scalopes_private.h.

◆ task_buffers_NEWGEN_DOMAIN

#define task_buffers_NEWGEN_DOMAIN   (task_buffers_domain)

Definition at line 44 of file scalopes_private.h.

◆ task_buffers_output

#define task_buffers_output (   x)    ((x)->_task_buffers_output_)

Definition at line 168 of file scalopes_private.h.

◆ task_buffers_output_

#define task_buffers_output_ (   x)    task_buffers_output(x) /**old hack compatible */

Definition at line 167 of file scalopes_private.h.

◆ TASK_BUFFERS_TYPE

#define TASK_BUFFERS_TYPE   task_buffers

Definition at line 140 of file scalopes_private.h.

◆ task_buffers_TYPE

#define task_buffers_TYPE   task_buffers

Definition at line 141 of file scalopes_private.h.

◆ task_buffers_undefined

#define task_buffers_undefined   ((task_buffers)gen_chunk_undefined)

Definition at line 142 of file scalopes_private.h.

◆ task_buffers_undefined_p

#define task_buffers_undefined_p (   x)    ((x)==task_buffers_undefined)

Definition at line 143 of file scalopes_private.h.

Typedef Documentation

◆ effect

typedef struct _newgen_struct_effect_* effect

Definition at line 21 of file scalopes_private.h.

◆ entity

typedef struct _newgen_struct_entity_* entity

Definition at line 14 of file scalopes_private.h.

◆ entity_task_buffers

◆ sesam_buffers_processing_context

◆ task_buffers

Definition at line 45 of file scalopes_private.h.

Function Documentation

◆ apply_entity_task_buffers()

task_buffers apply_entity_task_buffers ( entity_task_buffers  f,
entity  k 
)

Definition at line 55 of file scalopes_private.c.

55  {
57 }
#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 entity_task_buffers_hash_table(x)
#define intptr_t
Definition: stdint.in.h:294

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

Referenced by print_entity_task_buffers(), and sbp_context_add_kernel_task_buffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bound_entity_task_buffers_p()

bool bound_entity_task_buffers_p ( entity_task_buffers  f,
entity  k 
)

Definition at line 67 of file scalopes_private.c.

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

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

Referenced by sbp_context_add_kernel_task_buffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_entity_task_buffers()

entity_task_buffers check_entity_task_buffers ( entity_task_buffers  p)

Definition at line 22 of file scalopes_private.c.

22  {
24 }
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
#define entity_task_buffers_domain
newgen_effect_domain_defined
A gen_chunk is used to store every object.
Definition: genC.h:58

References entity_task_buffers_domain, and gen_check().

Referenced by entity_task_buffers_assign_contents(), and entity_task_buffers_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_sesam_buffers_processing_context()

sesam_buffers_processing_context check_sesam_buffers_processing_context ( sesam_buffers_processing_context  p)

Definition at line 79 of file scalopes_private.c.

79  {
81 }
#define sesam_buffers_processing_context_domain
newgen_entity_task_buffers_domain_defined

References gen_check(), and sesam_buffers_processing_context_domain.

Referenced by sesam_buffers_processing_context_assign_contents(), and sesam_buffers_processing_context_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_task_buffers()

task_buffers check_task_buffers ( task_buffers  p)

Definition at line 121 of file scalopes_private.c.

121  {
123 }
#define task_buffers_domain
newgen_sesam_buffers_processing_context_domain_defined

References gen_check(), and task_buffers_domain.

Referenced by task_buffers_assign_contents(), and task_buffers_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copy_entity_task_buffers()

entity_task_buffers copy_entity_task_buffers ( entity_task_buffers  p)

ENTITY_TASK_BUFFERS.

Definition at line 16 of file scalopes_private.c.

16  {
18 }
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_sesam_buffers_processing_context()

sesam_buffers_processing_context copy_sesam_buffers_processing_context ( sesam_buffers_processing_context  p)

SESAM_BUFFERS_PROCESSING_CONTEXT.

Definition at line 73 of file scalopes_private.c.

73  {
75 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_task_buffers()

task_buffers copy_task_buffers ( task_buffers  p)

TASK_BUFFERS.

Definition at line 115 of file scalopes_private.c.

115  {
116  return (task_buffers) gen_copy_tree((gen_chunk*) p);
117 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ delete_entity_task_buffers()

task_buffers delete_entity_task_buffers ( entity_task_buffers  f,
entity  k 
)

Definition at line 64 of file scalopes_private.c.

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

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

+ Here is the call graph for this function:

◆ entity_task_buffers_assign_contents()

void entity_task_buffers_assign_contents ( entity_task_buffers  r,
entity_task_buffers  v 
)

Definition at line 35 of file scalopes_private.c.

35  {
38  message_assert("defined references to domain entity_task_buffers",
40  memcpy(r, v, sizeof(struct _newgen_struct_entity_task_buffers_));
41 }
bool entity_task_buffers_defined_p(entity_task_buffers p)
entity_task_buffers check_entity_task_buffers(entity_task_buffers p)
#define message_assert(msg, ex)
Definition: newgen_assert.h:47

References check_entity_task_buffers(), entity_task_buffers_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ entity_task_buffers_consistent_p()

bool entity_task_buffers_consistent_p ( entity_task_buffers  p)

Definition at line 25 of file scalopes_private.c.

25  {
27  return gen_consistent_p((gen_chunk*) p);
28 }
int gen_consistent_p(gen_chunk *obj)
GEN_CONSISTENT_P dynamically checks the type correctness of OBJ.
Definition: genClib.c:2398

References check_entity_task_buffers(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ entity_task_buffers_defined_p()

bool entity_task_buffers_defined_p ( entity_task_buffers  p)

Definition at line 29 of file scalopes_private.c.

29  {
30  return gen_defined_p((gen_chunk*) p);
31 }
int gen_defined_p(gen_chunk *obj)
Definition: genClib.c:2438

References gen_defined_p().

Referenced by entity_task_buffers_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ entity_task_buffers_non_recursive_free()

void entity_task_buffers_non_recursive_free ( entity_task_buffers  p)

Definition at line 42 of file scalopes_private.c.

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

References free().

+ Here is the call graph for this function:

◆ extend_entity_task_buffers()

void extend_entity_task_buffers ( entity_task_buffers  f,
entity  k,
task_buffers  v 
)

Definition at line 61 of file scalopes_private.c.

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

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

Referenced by sbp_context_add_kernel_task_buffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_entity_task_buffers()

void free_entity_task_buffers ( entity_task_buffers  p)

Definition at line 19 of file scalopes_private.c.

19  {
20  gen_free((gen_chunk*) p);
21 }
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_sesam_buffers_processing_context()

void free_sesam_buffers_processing_context ( sesam_buffers_processing_context  p)

Definition at line 76 of file scalopes_private.c.

76  {
77  gen_free((gen_chunk*) p);
78 }

References gen_free().

Referenced by sesam_buffers_processing().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_task_buffers()

void free_task_buffers ( task_buffers  p)

Definition at line 118 of file scalopes_private.c.

118  {
119  gen_free((gen_chunk*) p);
120 }

References gen_free().

+ Here is the call graph for this function:

◆ gen_entity_task_buffers_cons()

list gen_entity_task_buffers_cons ( entity_task_buffers  p,
list  l 
)

Definition at line 32 of file scalopes_private.c.

32  {
34 }
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
#define ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN

References ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN, and gen_typed_cons().

+ Here is the call graph for this function:

◆ gen_sesam_buffers_processing_context_cons()

list gen_sesam_buffers_processing_context_cons ( sesam_buffers_processing_context  p,
list  l 
)

Definition at line 89 of file scalopes_private.c.

89  {
91 }
#define SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN

References gen_typed_cons(), and SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_task_buffers_cons()

list gen_task_buffers_cons ( task_buffers  p,
list  l 
)

Definition at line 131 of file scalopes_private.c.

131  {
133 }
#define TASK_BUFFERS_NEWGEN_DOMAIN

References gen_typed_cons(), and TASK_BUFFERS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ make_entity_task_buffers()

entity_task_buffers make_entity_task_buffers ( void  )

Definition at line 52 of file scalopes_private.c.

52  {
54 }
#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 entity_task_buffers_domain, gen_alloc(), and GEN_CHECK_ALLOC.

Referenced by sbp_context_init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_sesam_buffers_processing_context()

sesam_buffers_processing_context make_sesam_buffers_processing_context ( set  a1,
set  a2,
entity_task_buffers  a3,
entity_task_buffers  a4,
set  a5 
)

Definition at line 109 of file scalopes_private.c.

109  {
111 }

References gen_alloc(), GEN_CHECK_ALLOC, and sesam_buffers_processing_context_domain.

Referenced by sbp_context_init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_task_buffers()

task_buffers make_task_buffers ( set  a1,
set  a2 
)

Definition at line 151 of file scalopes_private.c.

151  {
153 }

References gen_alloc(), GEN_CHECK_ALLOC, and task_buffers_domain.

Referenced by sbp_context_add_kernel_task_buffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read_entity_task_buffers()

entity_task_buffers read_entity_task_buffers ( FILE *  f)

Definition at line 49 of file scalopes_private.c.

49  {
50  return (entity_task_buffers) gen_read(f);
51 }
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_sesam_buffers_processing_context()

sesam_buffers_processing_context read_sesam_buffers_processing_context ( FILE *  f)

Definition at line 106 of file scalopes_private.c.

106  {
108 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_task_buffers()

task_buffers read_task_buffers ( FILE *  f)

Definition at line 148 of file scalopes_private.c.

148  {
149  return (task_buffers) gen_read(f);
150 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ sesam_buffers_processing_context_assign_contents()

void sesam_buffers_processing_context_assign_contents ( sesam_buffers_processing_context  r,
sesam_buffers_processing_context  v 
)

Definition at line 92 of file scalopes_private.c.

92  {
95  message_assert("defined references to domain sesam_buffers_processing_context",
97  memcpy(r, v, sizeof(struct _newgen_struct_sesam_buffers_processing_context_));
98 }
sesam_buffers_processing_context check_sesam_buffers_processing_context(sesam_buffers_processing_context p)
bool sesam_buffers_processing_context_defined_p(sesam_buffers_processing_context p)

References check_sesam_buffers_processing_context(), message_assert, and sesam_buffers_processing_context_defined_p().

+ Here is the call graph for this function:

◆ sesam_buffers_processing_context_consistent_p()

bool sesam_buffers_processing_context_consistent_p ( sesam_buffers_processing_context  p)

Definition at line 82 of file scalopes_private.c.

82  {
84  return gen_consistent_p((gen_chunk*) p);
85 }

References check_sesam_buffers_processing_context(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ sesam_buffers_processing_context_defined_p()

bool sesam_buffers_processing_context_defined_p ( sesam_buffers_processing_context  p)

Definition at line 86 of file scalopes_private.c.

86  {
87  return gen_defined_p((gen_chunk*) p);
88 }

References gen_defined_p().

Referenced by sesam_buffers_processing_context_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sesam_buffers_processing_context_non_recursive_free()

void sesam_buffers_processing_context_non_recursive_free ( sesam_buffers_processing_context  p)

Definition at line 99 of file scalopes_private.c.

99  {
100  // should clear up contents...
101  free(p);
102 }

References free().

+ Here is the call graph for this function:

◆ task_buffers_assign_contents()

void task_buffers_assign_contents ( task_buffers  r,
task_buffers  v 
)

Definition at line 134 of file scalopes_private.c.

134  {
137  message_assert("defined references to domain task_buffers",
139  memcpy(r, v, sizeof(struct _newgen_struct_task_buffers_));
140 }
bool task_buffers_defined_p(task_buffers p)
task_buffers check_task_buffers(task_buffers p)

References check_task_buffers(), message_assert, and task_buffers_defined_p().

+ Here is the call graph for this function:

◆ task_buffers_consistent_p()

bool task_buffers_consistent_p ( task_buffers  p)

Definition at line 124 of file scalopes_private.c.

124  {
126  return gen_consistent_p((gen_chunk*) p);
127 }

References check_task_buffers(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ task_buffers_defined_p()

bool task_buffers_defined_p ( task_buffers  p)

Definition at line 128 of file scalopes_private.c.

128  {
129  return gen_defined_p((gen_chunk*) p);
130 }

References gen_defined_p().

Referenced by task_buffers_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ task_buffers_non_recursive_free()

void task_buffers_non_recursive_free ( task_buffers  p)

Definition at line 141 of file scalopes_private.c.

141  {
142  // should clear up contents...
143  free(p);
144 }

References free().

+ Here is the call graph for this function:

◆ update_entity_task_buffers()

void update_entity_task_buffers ( entity_task_buffers  f,
entity  k,
task_buffers  v 
)

Definition at line 58 of file scalopes_private.c.

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

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

+ Here is the call graph for this function:

◆ write_entity_task_buffers()

void write_entity_task_buffers ( FILE *  f,
entity_task_buffers  p 
)

Definition at line 46 of file scalopes_private.c.

46  {
47  gen_write(f, (gen_chunk*) p);
48 }
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_sesam_buffers_processing_context()

void write_sesam_buffers_processing_context ( FILE *  f,
sesam_buffers_processing_context  p 
)

Definition at line 103 of file scalopes_private.c.

103  {
104  gen_write(f, (gen_chunk*) p);
105 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_task_buffers()

void write_task_buffers ( FILE *  f,
task_buffers  p 
)

Definition at line 145 of file scalopes_private.c.

145  {
146  gen_write(f, (gen_chunk*) p);
147 }

References f(), and gen_write().

+ Here is the call graph for this function: