PIPS
|
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_ |
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 |
#define _gen_scalopes_private_start 217 |
Definition at line 3 of file scalopes_private.h.
#define _newgen_effect_domain_defined_ |
newgen_entity_domain_defined
Definition at line 18 of file scalopes_private.h.
#define _newgen_entity_domain_defined_ |
Definition at line 11 of file scalopes_private.h.
#define _newgen_entity_task_buffers_domain_defined_ |
Definition at line 26 of file scalopes_private.h.
#define _newgen_sesam_buffers_processing_context_domain_defined_ |
Definition at line 34 of file scalopes_private.h.
#define _newgen_task_buffers_domain_defined_ |
Definition at line 42 of file scalopes_private.h.
#define EFFECT_NEWGEN_DOMAIN (effect_domain) |
Definition at line 19 of file scalopes_private.h.
#define effect_NEWGEN_DOMAIN (effect_domain) |
Definition at line 20 of file scalopes_private.h.
#define ENTITY_NEWGEN_DOMAIN (entity_domain) |
Definition at line 12 of file scalopes_private.h.
#define entity_NEWGEN_DOMAIN (entity_domain) |
Definition at line 13 of file scalopes_private.h.
#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.
Definition at line 53 of file scalopes_private.h.
#define entity_task_buffers_CAST | ( | x | ) | ENTITY_TASK_BUFFERS(x) |
Definition at line 51 of file scalopes_private.h.
#define ENTITY_TASK_BUFFERS_CAST | ( | x | ) | ENTITY_TASK_BUFFERS(x) |
Definition at line 52 of file scalopes_private.h.
#define entity_task_buffers_domain (_gen_scalopes_private_start+0) |
newgen_effect_domain_defined
Definition at line 24 of file scalopes_private.h.
Definition at line 77 of file scalopes_private.h.
#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.
Definition at line 78 of file scalopes_private.h.
#define entity_task_buffers_key_type entity |
Definition at line 79 of file scalopes_private.h.
#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.
#define ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN (entity_task_buffers_domain) |
Definition at line 27 of file scalopes_private.h.
#define entity_task_buffers_NEWGEN_DOMAIN (entity_task_buffers_domain) |
Definition at line 28 of file scalopes_private.h.
#define ENTITY_TASK_BUFFERS_TYPE entity_task_buffers |
Definition at line 54 of file scalopes_private.h.
#define entity_task_buffers_TYPE entity_task_buffers |
Definition at line 55 of file scalopes_private.h.
#define entity_task_buffers_undefined ((entity_task_buffers)gen_chunk_undefined) |
Definition at line 56 of file scalopes_private.h.
#define entity_task_buffers_undefined_p | ( | x | ) | ((x)==entity_task_buffers_undefined) |
Definition at line 57 of file scalopes_private.h.
#define entity_task_buffers_value_type task_buffers |
Definition at line 80 of file scalopes_private.h.
#define gen_ENTITY_TASK_BUFFERS_cons gen_entity_task_buffers_cons |
Definition at line 64 of file scalopes_private.h.
#define gen_SESAM_BUFFERS_PROCESSING_CONTEXT_cons gen_sesam_buffers_processing_context_cons |
Definition at line 105 of file scalopes_private.h.
#define gen_TASK_BUFFERS_cons gen_task_buffers_cons |
Definition at line 150 of file scalopes_private.h.
#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.
#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.
Definition at line 94 of file scalopes_private.h.
#define sesam_buffers_processing_context_buffers | ( | x | ) | ((x)->_sesam_buffers_processing_context_buffers_) |
Definition at line 132 of file scalopes_private.h.
#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.
#define sesam_buffers_processing_context_CAST | ( | x | ) | SESAM_BUFFERS_PROCESSING_CONTEXT(x) |
Definition at line 92 of file scalopes_private.h.
#define SESAM_BUFFERS_PROCESSING_CONTEXT_CAST | ( | x | ) | SESAM_BUFFERS_PROCESSING_CONTEXT(x) |
Definition at line 93 of file scalopes_private.h.
#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.
Definition at line 122 of file scalopes_private.h.
#define sesam_buffers_processing_context_kernel_buffers | ( | x | ) | ((x)->_sesam_buffers_processing_context_kernel_buffers_) |
Definition at line 128 of file scalopes_private.h.
#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.
#define sesam_buffers_processing_context_kernel_tasks | ( | x | ) | ((x)->_sesam_buffers_processing_context_kernel_tasks_) |
Definition at line 124 of file scalopes_private.h.
#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.
#define SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN (sesam_buffers_processing_context_domain) |
Definition at line 35 of file scalopes_private.h.
#define sesam_buffers_processing_context_NEWGEN_DOMAIN (sesam_buffers_processing_context_domain) |
Definition at line 36 of file scalopes_private.h.
#define sesam_buffers_processing_context_server_buffers | ( | x | ) | ((x)->_sesam_buffers_processing_context_server_buffers_) |
Definition at line 130 of file scalopes_private.h.
#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.
#define sesam_buffers_processing_context_server_tasks | ( | x | ) | ((x)->_sesam_buffers_processing_context_server_tasks_) |
Definition at line 126 of file scalopes_private.h.
#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.
#define SESAM_BUFFERS_PROCESSING_CONTEXT_TYPE sesam_buffers_processing_context |
Definition at line 95 of file scalopes_private.h.
#define sesam_buffers_processing_context_TYPE sesam_buffers_processing_context |
Definition at line 96 of file scalopes_private.h.
#define sesam_buffers_processing_context_undefined ((sesam_buffers_processing_context)gen_chunk_undefined) |
Definition at line 97 of file scalopes_private.h.
#define sesam_buffers_processing_context_undefined_p | ( | x | ) | ((x)==sesam_buffers_processing_context_undefined) |
Definition at line 98 of file scalopes_private.h.
#define TASK_BUFFERS | ( | x | ) | ((task_buffers)((x).p)) |
TASK_BUFFERS.
Definition at line 136 of file scalopes_private.h.
Definition at line 139 of file scalopes_private.h.
#define task_buffers_CAST | ( | x | ) | TASK_BUFFERS(x) |
Definition at line 137 of file scalopes_private.h.
#define TASK_BUFFERS_CAST | ( | x | ) | TASK_BUFFERS(x) |
Definition at line 138 of file scalopes_private.h.
#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.
Definition at line 164 of file scalopes_private.h.
Definition at line 166 of file scalopes_private.h.
#define task_buffers_input_ | ( | x | ) | task_buffers_input(x) /**old hack compatible */ |
Definition at line 165 of file scalopes_private.h.
#define TASK_BUFFERS_NEWGEN_DOMAIN (task_buffers_domain) |
Definition at line 43 of file scalopes_private.h.
#define task_buffers_NEWGEN_DOMAIN (task_buffers_domain) |
Definition at line 44 of file scalopes_private.h.
Definition at line 168 of file scalopes_private.h.
#define task_buffers_output_ | ( | x | ) | task_buffers_output(x) /**old hack compatible */ |
Definition at line 167 of file scalopes_private.h.
#define TASK_BUFFERS_TYPE task_buffers |
Definition at line 140 of file scalopes_private.h.
#define task_buffers_TYPE task_buffers |
Definition at line 141 of file scalopes_private.h.
#define task_buffers_undefined ((task_buffers)gen_chunk_undefined) |
Definition at line 142 of file scalopes_private.h.
#define task_buffers_undefined_p | ( | x | ) | ((x)==task_buffers_undefined) |
Definition at line 143 of file scalopes_private.h.
typedef struct _newgen_struct_effect_* effect |
Definition at line 21 of file scalopes_private.h.
typedef struct _newgen_struct_entity_* entity |
Definition at line 14 of file scalopes_private.h.
typedef struct _newgen_struct_entity_task_buffers_* entity_task_buffers |
Definition at line 29 of file scalopes_private.h.
Definition at line 37 of file scalopes_private.h.
typedef struct _newgen_struct_task_buffers_* task_buffers |
Definition at line 45 of file scalopes_private.h.
task_buffers apply_entity_task_buffers | ( | entity_task_buffers | f, |
entity | k | ||
) |
Definition at line 55 of file scalopes_private.c.
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().
bool bound_entity_task_buffers_p | ( | entity_task_buffers | f, |
entity | k | ||
) |
Definition at line 67 of file scalopes_private.c.
References entity_task_buffers_hash_table, f(), HASH_BOUND_P, and intptr_t.
Referenced by sbp_context_add_kernel_task_buffer().
entity_task_buffers check_entity_task_buffers | ( | entity_task_buffers | p | ) |
Definition at line 22 of file scalopes_private.c.
References entity_task_buffers_domain, and gen_check().
Referenced by entity_task_buffers_assign_contents(), and entity_task_buffers_consistent_p().
sesam_buffers_processing_context check_sesam_buffers_processing_context | ( | sesam_buffers_processing_context | p | ) |
Definition at line 79 of file scalopes_private.c.
References gen_check(), and sesam_buffers_processing_context_domain.
Referenced by sesam_buffers_processing_context_assign_contents(), and sesam_buffers_processing_context_consistent_p().
task_buffers check_task_buffers | ( | task_buffers | p | ) |
Definition at line 121 of file scalopes_private.c.
References gen_check(), and task_buffers_domain.
Referenced by task_buffers_assign_contents(), and task_buffers_consistent_p().
entity_task_buffers copy_entity_task_buffers | ( | entity_task_buffers | p | ) |
ENTITY_TASK_BUFFERS.
Definition at line 16 of file scalopes_private.c.
References gen_copy_tree().
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.
References gen_copy_tree().
task_buffers copy_task_buffers | ( | task_buffers | p | ) |
TASK_BUFFERS.
Definition at line 115 of file scalopes_private.c.
References gen_copy_tree().
task_buffers delete_entity_task_buffers | ( | entity_task_buffers | f, |
entity | k | ||
) |
Definition at line 64 of file scalopes_private.c.
References entity_task_buffers_hash_table, f(), HASH_DELETE, and intptr_t.
void entity_task_buffers_assign_contents | ( | entity_task_buffers | r, |
entity_task_buffers | v | ||
) |
Definition at line 35 of file scalopes_private.c.
References check_entity_task_buffers(), entity_task_buffers_defined_p(), and message_assert.
bool entity_task_buffers_consistent_p | ( | entity_task_buffers | p | ) |
Definition at line 25 of file scalopes_private.c.
References check_entity_task_buffers(), and gen_consistent_p().
bool entity_task_buffers_defined_p | ( | entity_task_buffers | p | ) |
Definition at line 29 of file scalopes_private.c.
References gen_defined_p().
Referenced by entity_task_buffers_assign_contents().
void entity_task_buffers_non_recursive_free | ( | entity_task_buffers | p | ) |
Definition at line 42 of file scalopes_private.c.
References free().
void extend_entity_task_buffers | ( | entity_task_buffers | f, |
entity | k, | ||
task_buffers | v | ||
) |
Definition at line 61 of file scalopes_private.c.
References entity_task_buffers_hash_table, f(), HASH_EXTEND, and intptr_t.
Referenced by sbp_context_add_kernel_task_buffer().
void free_entity_task_buffers | ( | entity_task_buffers | p | ) |
Definition at line 19 of file scalopes_private.c.
References gen_free().
void free_sesam_buffers_processing_context | ( | sesam_buffers_processing_context | p | ) |
Definition at line 76 of file scalopes_private.c.
References gen_free().
Referenced by sesam_buffers_processing().
void free_task_buffers | ( | task_buffers | p | ) |
Definition at line 118 of file scalopes_private.c.
References gen_free().
list gen_entity_task_buffers_cons | ( | entity_task_buffers | p, |
list | l | ||
) |
Definition at line 32 of file scalopes_private.c.
References ENTITY_TASK_BUFFERS_NEWGEN_DOMAIN, and gen_typed_cons().
list gen_sesam_buffers_processing_context_cons | ( | sesam_buffers_processing_context | p, |
list | l | ||
) |
Definition at line 89 of file scalopes_private.c.
References gen_typed_cons(), and SESAM_BUFFERS_PROCESSING_CONTEXT_NEWGEN_DOMAIN.
list gen_task_buffers_cons | ( | task_buffers | p, |
list | l | ||
) |
Definition at line 131 of file scalopes_private.c.
References gen_typed_cons(), and TASK_BUFFERS_NEWGEN_DOMAIN.
entity_task_buffers make_entity_task_buffers | ( | void | ) |
Definition at line 52 of file scalopes_private.c.
References entity_task_buffers_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by sbp_context_init().
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.
References gen_alloc(), GEN_CHECK_ALLOC, and sesam_buffers_processing_context_domain.
Referenced by sbp_context_init().
task_buffers make_task_buffers | ( | set | a1, |
set | a2 | ||
) |
Definition at line 151 of file scalopes_private.c.
References gen_alloc(), GEN_CHECK_ALLOC, and task_buffers_domain.
Referenced by sbp_context_add_kernel_task_buffer().
entity_task_buffers read_entity_task_buffers | ( | FILE * | f | ) |
Definition at line 49 of file scalopes_private.c.
References f(), and gen_read().
sesam_buffers_processing_context read_sesam_buffers_processing_context | ( | FILE * | f | ) |
Definition at line 106 of file scalopes_private.c.
References f(), and gen_read().
task_buffers read_task_buffers | ( | FILE * | f | ) |
Definition at line 148 of file scalopes_private.c.
References f(), and gen_read().
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.
References check_sesam_buffers_processing_context(), message_assert, and sesam_buffers_processing_context_defined_p().
bool sesam_buffers_processing_context_consistent_p | ( | sesam_buffers_processing_context | p | ) |
Definition at line 82 of file scalopes_private.c.
References check_sesam_buffers_processing_context(), and gen_consistent_p().
bool sesam_buffers_processing_context_defined_p | ( | sesam_buffers_processing_context | p | ) |
Definition at line 86 of file scalopes_private.c.
References gen_defined_p().
Referenced by sesam_buffers_processing_context_assign_contents().
void sesam_buffers_processing_context_non_recursive_free | ( | sesam_buffers_processing_context | p | ) |
Definition at line 99 of file scalopes_private.c.
References free().
void task_buffers_assign_contents | ( | task_buffers | r, |
task_buffers | v | ||
) |
Definition at line 134 of file scalopes_private.c.
References check_task_buffers(), message_assert, and task_buffers_defined_p().
bool task_buffers_consistent_p | ( | task_buffers | p | ) |
Definition at line 124 of file scalopes_private.c.
References check_task_buffers(), and gen_consistent_p().
bool task_buffers_defined_p | ( | task_buffers | p | ) |
Definition at line 128 of file scalopes_private.c.
References gen_defined_p().
Referenced by task_buffers_assign_contents().
void task_buffers_non_recursive_free | ( | task_buffers | p | ) |
Definition at line 141 of file scalopes_private.c.
References free().
void update_entity_task_buffers | ( | entity_task_buffers | f, |
entity | k, | ||
task_buffers | v | ||
) |
Definition at line 58 of file scalopes_private.c.
References entity_task_buffers_hash_table, f(), HASH_UPDATE, and intptr_t.
void write_entity_task_buffers | ( | FILE * | f, |
entity_task_buffers | p | ||
) |
Definition at line 46 of file scalopes_private.c.
References f(), and gen_write().
void write_sesam_buffers_processing_context | ( | FILE * | f, |
sesam_buffers_processing_context | p | ||
) |
Definition at line 103 of file scalopes_private.c.
References f(), and gen_write().
void write_task_buffers | ( | FILE * | f, |
task_buffers | p | ||
) |
Definition at line 145 of file scalopes_private.c.
References f(), and gen_write().