/dports/lang/ocaml/ocaml-4.05.0/byterun/caml/ |
H A D | alloc.h | 30 CAMLextern value caml_alloc (mlsize_t wosize, tag_t); 31 CAMLextern value caml_alloc_small (mlsize_t wosize, tag_t); 32 CAMLextern value caml_alloc_tuple (mlsize_t wosize); 33 CAMLextern value caml_alloc_float_array (mlsize_t len); 34 CAMLextern value caml_alloc_string (mlsize_t len); /* len in bytes (chars) */ 45 CAMLextern value caml_alloc_with_profinfo (mlsize_t, tag_t, intnat); 47 mlsize_t, tag_t, uintnat); 48 CAMLextern value caml_alloc_small_with_profinfo (mlsize_t, tag_t, intnat); 51 CAMLextern value caml_alloc_final (mlsize_t wosize, 53 mlsize_t, /*resources consumed*/ [all …]
|
H A D | minor_gc.h | 45 mlsize_t offset; /* the offset that points in the minor heap */ 53 mlsize_t mem; /* The parameters for adjusting GC speed. */ 54 mlsize_t max; 92 value ar, mlsize_t offset) in add_to_ephe_ref_table() 106 mlsize_t mem, mlsize_t max) in add_to_custom_table()
|
H A D | mlvalues.h | 62 typedef uintnat mlsize_t; typedef 113 #define Wosize_hd(hd) ((mlsize_t) ((Hd_no_profinfo(hd)) >> 10)) 115 #define Wosize_hd(hd) ((mlsize_t) ((hd) >> 10)) 120 #define Profinfo_hd(hd) (((mlsize_t) ((hd) >> PROFINFO_SHIFT)) & PROFINFO_MASK) 256 CAMLextern mlsize_t caml_string_length (value); /* size in bytes */ 277 mlsize_t caml__temp_i = (i); \ 281 CAMLextern mlsize_t caml_array_length (value); /* size in items */
|
H A D | memory.h | 38 CAMLextern value caml_alloc_shr (mlsize_t wosize, tag_t); 40 CAMLextern value caml_alloc_shr_with_profinfo (mlsize_t, tag_t, intnat); 41 CAMLextern value caml_alloc_shr_preserving_profinfo (mlsize_t, tag_t, 49 CAMLextern value caml_alloc_shr_no_raise (mlsize_t wosize, tag_t); 50 CAMLextern void caml_adjust_gc_speed (mlsize_t, mlsize_t); 51 CAMLextern void caml_alloc_dependent_memory (mlsize_t bsz); 52 CAMLextern void caml_free_dependent_memory (mlsize_t bsz); 84 int caml_page_table_initialize(mlsize_t bytesize); 352 mlsize_t caml__temp_offset = (offset); \
|
/dports/lang/ocaml-nox11/ocaml-4.05.0/byterun/caml/ |
H A D | alloc.h | 30 CAMLextern value caml_alloc (mlsize_t wosize, tag_t); 31 CAMLextern value caml_alloc_small (mlsize_t wosize, tag_t); 32 CAMLextern value caml_alloc_tuple (mlsize_t wosize); 33 CAMLextern value caml_alloc_float_array (mlsize_t len); 34 CAMLextern value caml_alloc_string (mlsize_t len); /* len in bytes (chars) */ 45 CAMLextern value caml_alloc_with_profinfo (mlsize_t, tag_t, intnat); 47 mlsize_t, tag_t, uintnat); 48 CAMLextern value caml_alloc_small_with_profinfo (mlsize_t, tag_t, intnat); 51 CAMLextern value caml_alloc_final (mlsize_t wosize, 53 mlsize_t, /*resources consumed*/ [all …]
|
H A D | minor_gc.h | 45 mlsize_t offset; /* the offset that points in the minor heap */ 53 mlsize_t mem; /* The parameters for adjusting GC speed. */ 54 mlsize_t max; 92 value ar, mlsize_t offset) in add_to_ephe_ref_table() 106 mlsize_t mem, mlsize_t max) in add_to_custom_table()
|
H A D | mlvalues.h | 62 typedef uintnat mlsize_t; typedef 113 #define Wosize_hd(hd) ((mlsize_t) ((Hd_no_profinfo(hd)) >> 10)) 115 #define Wosize_hd(hd) ((mlsize_t) ((hd) >> 10)) 120 #define Profinfo_hd(hd) (((mlsize_t) ((hd) >> PROFINFO_SHIFT)) & PROFINFO_MASK) 256 CAMLextern mlsize_t caml_string_length (value); /* size in bytes */ 277 mlsize_t caml__temp_i = (i); \ 281 CAMLextern mlsize_t caml_array_length (value); /* size in items */
|
H A D | memory.h | 38 CAMLextern value caml_alloc_shr (mlsize_t wosize, tag_t); 40 CAMLextern value caml_alloc_shr_with_profinfo (mlsize_t, tag_t, intnat); 41 CAMLextern value caml_alloc_shr_preserving_profinfo (mlsize_t, tag_t, 49 CAMLextern value caml_alloc_shr_no_raise (mlsize_t wosize, tag_t); 50 CAMLextern void caml_adjust_gc_speed (mlsize_t, mlsize_t); 51 CAMLextern void caml_alloc_dependent_memory (mlsize_t bsz); 52 CAMLextern void caml_free_dependent_memory (mlsize_t bsz); 84 int caml_page_table_initialize(mlsize_t bytesize); 352 mlsize_t caml__temp_offset = (offset); \
|
/dports/lang/ocaml/ocaml-4.05.0/byterun/ |
H A D | alloc.c | 37 mlsize_t i; in caml_alloc() 87 CAMLexport value caml_alloc_tuple(mlsize_t n) in caml_alloc_tuple() 93 CAMLexport value caml_alloc_string (mlsize_t len) in caml_alloc_string() 96 mlsize_t offset_index; in caml_alloc_string() 115 mlsize_t mem, mlsize_t max) in caml_alloc_final() 136 mlsize_t nbr, n; in caml_alloc_array() 157 CAMLprim value caml_alloc_float_array(mlsize_t len) in caml_alloc_float_array() 159 mlsize_t wosize = len * Double_wosize; in caml_alloc_float_array() 197 mlsize_t wosize = Long_val(size); in caml_alloc_dummy() 213 mlsize_t wosize = Long_val(size) * Double_wosize; in caml_alloc_dummy_float() [all …]
|
H A D | weak.c | 64 mlsize_t size, i; in caml_ephe_create() 160 mlsize_t offset = Long_val (n) + 2; in caml_ephe_set_key() 172 mlsize_t offset = Long_val (n) + 2; in caml_ephe_unset_key() 184 mlsize_t offset = Long_val (n) + 2; in caml_ephe_set_key_option() 229 mlsize_t offset = Long_val (n) + 2; in caml_ephe_get_key() 255 mlsize_t offset = 1; in caml_ephe_get_data() 278 mlsize_t offset = Long_val (n) + 2; in caml_ephe_get_key_copy() 295 mlsize_t i; in caml_ephe_get_key_copy() 325 mlsize_t offset = 1; in caml_ephe_get_data_copy() 341 mlsize_t i; in caml_ephe_get_data_copy() [all …]
|
H A D | memory.c | 62 mlsize_t mask; /* mask == size - 1 */ 63 mlsize_t occupancy; 102 int caml_page_table_initialize(mlsize_t bytesize) in caml_page_table_initialize() 191 int caml_page_table_initialize(mlsize_t bytesize) in caml_page_table_initialize() 370 static value *expand_heap (mlsize_t request) in expand_heap() 440 mlsize_t i; in caml_shrink_heap() 561 CAMLexport value caml_alloc_shr (mlsize_t wosize, tag_t tag) in caml_alloc_shr() 567 CAMLexport value caml_alloc_shr (mlsize_t wosize, tag_t tag) in caml_alloc_shr() 582 CAMLexport void caml_alloc_dependent_memory (mlsize_t nbytes) in caml_alloc_dependent_memory() 588 CAMLexport void caml_free_dependent_memory (mlsize_t nbytes) in caml_free_dependent_memory() [all …]
|
H A D | compare.c | 32 struct compare_item { value * v1, * v2; mlsize_t count; }; 169 mlsize_t len1, len2; in compare_val() 208 mlsize_t sz1 = Wosize_val(v1) / Double_wosize; in compare_val() 209 mlsize_t sz2 = Wosize_val(v2) / Double_wosize; in compare_val() 210 mlsize_t i; in compare_val() 271 mlsize_t sz1 = Wosize_val(v1); in compare_val() 272 mlsize_t sz2 = Wosize_val(v2); in compare_val()
|
H A D | freelist.c | 122 static header_t *allocate_block (mlsize_t wh_sz, int flpi, value prev, in allocate_block() 188 header_t *caml_fl_allocate (mlsize_t wo_sz) in caml_fl_allocate() 193 mlsize_t sz, prevsz; in caml_fl_allocate() 337 mlsize_t oldsz = sz; in caml_fl_allocate() 451 mlsize_t prev_wosz; in caml_fl_merge_block() 469 mlsize_t bp_whsz = Whsize_val (bp); in caml_fl_merge_block() 483 mlsize_t cur_whsz = Whsize_val (cur); in caml_fl_merge_block() 582 void caml_make_free_blocks (value *p, mlsize_t size, int do_merge, int color) in caml_make_free_blocks() 584 mlsize_t sz; in caml_make_free_blocks()
|
/dports/lang/ocaml-nox11/ocaml-4.05.0/byterun/ |
H A D | alloc.c | 37 mlsize_t i; in caml_alloc() 87 CAMLexport value caml_alloc_tuple(mlsize_t n) in caml_alloc_tuple() 93 CAMLexport value caml_alloc_string (mlsize_t len) in caml_alloc_string() 96 mlsize_t offset_index; in caml_alloc_string() 115 mlsize_t mem, mlsize_t max) in caml_alloc_final() 136 mlsize_t nbr, n; in caml_alloc_array() 157 CAMLprim value caml_alloc_float_array(mlsize_t len) in caml_alloc_float_array() 159 mlsize_t wosize = len * Double_wosize; in caml_alloc_float_array() 197 mlsize_t wosize = Long_val(size); in caml_alloc_dummy() 213 mlsize_t wosize = Long_val(size) * Double_wosize; in caml_alloc_dummy_float() [all …]
|
H A D | weak.c | 64 mlsize_t size, i; in caml_ephe_create() 160 mlsize_t offset = Long_val (n) + 2; in caml_ephe_set_key() 172 mlsize_t offset = Long_val (n) + 2; in caml_ephe_unset_key() 184 mlsize_t offset = Long_val (n) + 2; in caml_ephe_set_key_option() 229 mlsize_t offset = Long_val (n) + 2; in caml_ephe_get_key() 255 mlsize_t offset = 1; in caml_ephe_get_data() 278 mlsize_t offset = Long_val (n) + 2; in caml_ephe_get_key_copy() 295 mlsize_t i; in caml_ephe_get_key_copy() 325 mlsize_t offset = 1; in caml_ephe_get_data_copy() 341 mlsize_t i; in caml_ephe_get_data_copy() [all …]
|
H A D | memory.c | 62 mlsize_t mask; /* mask == size - 1 */ 63 mlsize_t occupancy; 102 int caml_page_table_initialize(mlsize_t bytesize) in caml_page_table_initialize() 191 int caml_page_table_initialize(mlsize_t bytesize) in caml_page_table_initialize() 370 static value *expand_heap (mlsize_t request) in expand_heap() 440 mlsize_t i; in caml_shrink_heap() 561 CAMLexport value caml_alloc_shr (mlsize_t wosize, tag_t tag) in caml_alloc_shr() 567 CAMLexport value caml_alloc_shr (mlsize_t wosize, tag_t tag) in caml_alloc_shr() 582 CAMLexport void caml_alloc_dependent_memory (mlsize_t nbytes) in caml_alloc_dependent_memory() 588 CAMLexport void caml_free_dependent_memory (mlsize_t nbytes) in caml_free_dependent_memory() [all …]
|
H A D | compare.c | 32 struct compare_item { value * v1, * v2; mlsize_t count; }; 169 mlsize_t len1, len2; in compare_val() 208 mlsize_t sz1 = Wosize_val(v1) / Double_wosize; in compare_val() 209 mlsize_t sz2 = Wosize_val(v2) / Double_wosize; in compare_val() 210 mlsize_t i; in compare_val() 271 mlsize_t sz1 = Wosize_val(v1); in compare_val() 272 mlsize_t sz2 = Wosize_val(v2); in compare_val()
|
H A D | freelist.c | 122 static header_t *allocate_block (mlsize_t wh_sz, int flpi, value prev, in allocate_block() 188 header_t *caml_fl_allocate (mlsize_t wo_sz) in caml_fl_allocate() 193 mlsize_t sz, prevsz; in caml_fl_allocate() 337 mlsize_t oldsz = sz; in caml_fl_allocate() 451 mlsize_t prev_wosz; in caml_fl_merge_block() 469 mlsize_t bp_whsz = Whsize_val (bp); in caml_fl_merge_block() 483 mlsize_t cur_whsz = Whsize_val (cur); in caml_fl_merge_block() 582 void caml_make_free_blocks (value *p, mlsize_t size, int do_merge, int color) in caml_make_free_blocks() 584 mlsize_t sz; in caml_make_free_blocks()
|
/dports/lang/mosml/mosml-ver-2.10.1/src/runtime/ |
H A D | intern.c | 19 mlsize_t sz; in adjust_pointers() 23 mlsize_t bosize; in adjust_pointers() 62 mlsize_t n; in rev_pointers() 98 mlsize_t n; in rev_pointers_32() 124 static mlsize_t size_after_expansion(value32 * p, mlsize_t len) in size_after_expansion() 127 mlsize_t res; in size_after_expansion() 130 mlsize_t n; in size_after_expansion() 160 mlsize_t sz; in expand_block() 267 mlsize_t n; in rev_pointers_64() 303 mlsize_t n; in size_after_shrinkage() [all …]
|
H A D | alloc.h | 8 EXTERN value alloc(mlsize_t, tag_t); 9 EXTERN value alloc_tuple(mlsize_t); 10 EXTERN value alloc_string(mlsize_t); 11 EXTERN value alloc_final(mlsize_t, final_fun, mlsize_t, mlsize_t);
|
H A D | alloc.c | 17 value alloc (mlsize_t wosize, tag_t tag) in alloc() 26 value alloc_tuple(mlsize_t n) in alloc_tuple() 31 value alloc_string(mlsize_t len) in alloc_string() 34 mlsize_t offset_index; in alloc_string() 35 mlsize_t wosize = (len + sizeof (value)) / sizeof (value); in alloc_string() 48 value alloc_final (mlsize_t len, final_fun fun, mlsize_t mem, mlsize_t max) in alloc_final() 78 mlsize_t nbr, n; in alloc_array()
|
H A D | str.c | 10 mlsize_t string_length(value s) in string_length() 12 mlsize_t temp; in string_length() 25 mlsize_t len1, len2; in compare_strings() 26 register mlsize_t len; in compare_strings() 57 register mlsize_t n; in fill_string()
|
H A D | memory.h | 17 EXTERN value alloc_shr (mlsize_t, tag_t); 18 void adjust_gc_speed (mlsize_t, mlsize_t);
|
H A D | memory.c | 20 static char *expand_heap (mlsize_t request) in expand_heap() 130 EXTERN value alloc_shr (mlsize_t wosize, tag_t tag) in alloc_shr() 163 void adjust_gc_speed (mlsize_t mem, mlsize_t max) in adjust_gc_speed()
|
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/front/caml/ |
H A D | alloc.h | 26 CAMLextern value caml_alloc (mlsize_t, tag_t); 27 CAMLextern value caml_alloc_small (mlsize_t, tag_t); 28 CAMLextern value caml_alloc_tuple (mlsize_t); 29 CAMLextern value caml_alloc_string (mlsize_t); /* size in bytes */ 40 CAMLextern value caml_alloc_final (mlsize_t, /*size in words*/ 42 mlsize_t, /*resources consumed*/ 43 mlsize_t /*max resources*/);
|