Home
last modified time | relevance | path

Searched refs:vm_val_t (Results 1 – 25 of 73) sorted by relevance

123

/dports/games/tads/tads-3.0.8/tads3/
H A Dvmlst.h208 const vm_val_t *index_val, const vm_val_t *new_val);
317 vm_val_t *p; in index_and_push()
358 static int getp_undef(VMG_ vm_val_t *, const vm_val_t *, in getp_undef() argument
363 static int getp_subset(VMG_ vm_val_t *retval, const vm_val_t *self_val,
367 static int getp_map(VMG_ vm_val_t *retval, const vm_val_t *self_val,
371 static int getp_len(VMG_ vm_val_t *retval, const vm_val_t *self_val,
375 static int getp_sublist(VMG_ vm_val_t *retval, const vm_val_t *self_val,
384 static int getp_index_of(VMG_ vm_val_t *retval, const vm_val_t *self_val,
388 static int getp_car(VMG_ vm_val_t *retval, const vm_val_t *self_val,
392 static int getp_cdr(VMG_ vm_val_t *retval, const vm_val_t *self_val,
[all …]
H A Dvmstr.h128 void add_val(VMG_ vm_val_t *result,
278 static int const_get_prop(VMG_ vm_val_t *retval, const vm_val_t *self_val,
288 static int getp_undef(VMG_ vm_val_t *, const vm_val_t *, in getp_undef() argument
293 static int getp_len(VMG_ vm_val_t *retval, const vm_val_t *self_val,
297 static int getp_substr(VMG_ vm_val_t *retval, const vm_val_t *self_val,
301 static int getp_upper(VMG_ vm_val_t *retval, const vm_val_t *self_val,
305 static int getp_lower(VMG_ vm_val_t *retval, const vm_val_t *self_val,
309 static int getp_find(VMG_ vm_val_t *retval, const vm_val_t *self_val,
313 static int getp_to_uni(VMG_ vm_val_t *retval, const vm_val_t *self_val,
317 static int getp_htmlify(VMG_ vm_val_t *retval, const vm_val_t *self_val,
[all …]
H A Dvmvec.h112 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
116 void add_val(VMG_ vm_val_t *result,
120 void sub_val(VMG_ vm_val_t *result,
176 vm_val_t idx_val; in get_coll_addsub_rhs_ele()
187 const vm_val_t *index_val);
191 const vm_val_t *index_val, const vm_val_t *new_val);
231 virtual void new_iterator(VMG_ vm_val_t *retval,
304 void get_element(size_t idx, vm_val_t *val) const in get_element()
313 vm_val_t *p; in push_element()
330 void set_element(size_t idx, const vm_val_t *val) in set_element()
[all …]
H A Dvmrun.h300 void popval_2(VMG_ vm_val_t *val1, vm_val_t *val2) in popval_2()
311 void pop_int_2(VMG_ vm_val_t *val1, vm_val_t *val2) in pop_int_2()
323 void pop_num_2(VMG_ vm_val_t *val1, vm_val_t *val2) in pop_num_2()
349 vm_val_t *get_param_from_frame(VMG_ vm_val_t *fp, int idx) const in get_param_from_frame()
396 static vm_val_t *get_enclosing_frame_ptr(VMG_ vm_val_t *fp) in get_enclosing_frame_ptr()
906 void compute_sum(VMG_ vm_val_t *val1, vm_val_t *val2);
909 void compute_diff(VMG_ vm_val_t *val1, vm_val_t *val2);
912 void compute_product(VMG_ vm_val_t *val1, vm_val_t *val2);
915 void compute_quotient(VMG_ vm_val_t *val1, vm_val_t *val2);
918 void xor_and_push(VMG_ vm_val_t *val1, vm_val_t *val2);
[all …]
H A Dvmbignum.h421 static int call_stat_prop(VMG_ vm_val_t *result,
481 void add_val(VMG_ vm_val_t *result,
485 void sub_val(VMG_ vm_val_t *result,
489 void mul_val(VMG_ vm_val_t *result,
493 void div_val(VMG_ vm_val_t *result,
577 static void compute_sum(VMG_ vm_val_t *result,
581 static void compute_diff(VMG_ vm_val_t *result,
585 static void compute_prod(VMG_ vm_val_t *result,
593 static void compute_rem(VMG_ vm_val_t *result,
804 vm_val_t *retval, uint *argc,
[all …]
H A Dvmlst.cpp435 vm_val_t val; in add_to_list()
458 vm_val_t self_val; in sub_val()
722 vm_val_t val1; in const_equals()
723 vm_val_t val2; in const_equals()
783 vm_val_t ele; in const_calc_hash()
1210 vm_val_t ele; in getp_subset()
1440 vm_val_t val2; in getp_intersect()
1478 vm_val_t subval; in getp_index_of()
1813 vm_val_t subval; in getp_last_index_of()
1889 vm_val_t *val; in getp_count_of()
[all …]
H A Dvmlookup.h81 vm_val_t key;
84 vm_val_t val;
151 void add_val(uint hash, const vm_val_t *key, const vm_val_t *val) in add_val()
366 void index_val(VMG_ vm_val_t *result,
377 void add_entry(VMG_ const vm_val_t *key, const vm_val_t *val);
392 const vm_val_t *key, const vm_val_t *val);
395 void del_entry(VMG_ const vm_val_t *key);
411 void mod_entry(VMG_ const vm_val_t *key, const vm_val_t *val);
515 const vm_val_t *key,
520 vm_val_t *retval, uint *argc);
[all …]
H A Dvmcoll.h57 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
63 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *retval,
81 virtual void new_iterator(VMG_ vm_val_t *retval,
82 const vm_val_t *self_val) = 0;
89 virtual void new_live_iterator(VMG_ vm_val_t *retval,
90 const vm_val_t *self_val) = 0;
93 int getp_undef(VMG_ vm_val_t *, const vm_val_t *, uint *) in getp_undef() argument
97 int getp_create_iter(VMG_ vm_val_t *retval, const vm_val_t *self_val,
101 int getp_create_live_iter(VMG_ vm_val_t *retval,
106 const vm_val_t *self_val, uint *argc);
[all …]
H A Dvmstack.h64 ulong ptr_to_index(vm_val_t *p) const in ptr_to_index()
69 vm_val_t *index_to_ptr(ulong idx) const in index_to_ptr()
85 vm_val_t *get_sp() const { return sp_; } in get_sp()
91 void set_sp(vm_val_t *p) { sp_ = p; } in set_sp()
100 static vm_val_t *get_from_frame(vm_val_t *fp, int i) in get_from_frame()
112 vm_val_t *push() { return sp_++; } in push()
122 vm_val_t *push(unsigned int n) in push()
125 vm_val_t *ret = sp_; in push()
142 void pop(vm_val_t *val) { *val = *--sp_; } in pop()
213 vm_val_t *arr_;
[all …]
H A Dvmfilobj.h113 static int call_stat_prop(VMG_ vm_val_t *result,
146 virtual int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
233 static int s_getp_open_text(VMG_ vm_val_t *retval, uint *argc,
235 static int s_getp_open_data(VMG_ vm_val_t *retval, uint *argc);
236 static int s_getp_open_raw(VMG_ vm_val_t *retval, uint *argc,
244 void read_text_mode(VMG_ vm_val_t *retval);
245 void read_data_mode(VMG_ vm_val_t *retval);
248 void write_text_mode(VMG_ const vm_val_t *val);
249 void write_data_mode(VMG_ const vm_val_t *val);
287 VMG_ vm_obj_id_t self, vm_val_t *retval, uint *argc);
[all …]
H A Dvmiter.h53 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
60 vm_obj_id_t, vm_prop_id_t, const vm_val_t *) in set_prop() argument
67 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
75 virtual int getp_get_next(VMG_ vm_obj_id_t self, vm_val_t *retval,
160 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
172 static vm_obj_id_t create_for_coll(VMG_ const vm_val_t *coll,
232 CVmObjIterIdx(VMG_ const vm_val_t *coll, long first_valid_index,
236 void get_indexed_val(VMG_ long idx, vm_val_t *retval);
259 void get_coll_val(vm_val_t *val) { vmb_get_dh(ext_, val); } in get_coll_val()
316 int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
[all …]
H A Dvmvec.cpp141 vm_val_t *arg1; in create_from_stack()
177 vm_val_t *arg2; in create_from_stack()
222 vm_val_t ele; in create_from_stack()
363 vm_val_t copy_val; in new_iterator()
938 vm_val_t ele; in calc_hash()
1009 vm_val_t ele; in add_val()
1062 vm_val_t ele; in sub_val()
2121 vm_val_t *val2; in getp_append_unique()
2478 vm_val_t val; in getp_prepend()
2692 vm_val_t *valp; in getp_append()
[all …]
H A Dvmbytarr.h93 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
144 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
176 void index_val(VMG_ vm_val_t *result, vm_obj_id_t self,
177 const vm_val_t *index_val);
180 void set_index_val(VMG_ vm_val_t *new_container, vm_obj_id_t self,
181 const vm_val_t *index_val, const vm_val_t *new_val);
240 static int read_from_data_file(VMG_ vm_val_t *retval, osfildef *fp);
272 int getp_length(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
275 int getp_subarray(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
396 VMG_ vm_obj_id_t self, vm_val_t *retval, uint *argc);
[all …]
H A Dvmcoll.cpp45 *CVmObjCollection::func_table_[])(VMG_ vm_val_t *retval,
46 const vm_val_t *self_val,
60 int CVmObjCollection::get_prop(VMG_ vm_prop_id_t prop, vm_val_t *retval, in get_prop()
64 vm_val_t self_val; in get_prop()
84 vm_val_t *retval, in const_get_coll_prop()
85 const vm_val_t *self_val, in const_get_coll_prop()
109 int CVmObjCollection::getp_create_iter(VMG_ vm_val_t *retval, in getp_create_iter()
110 const vm_val_t *self_val, uint *argc) in getp_create_iter()
134 int CVmObjCollection::getp_create_live_iter(VMG_ vm_val_t *retval, in getp_create_live_iter()
135 const vm_val_t *self_val, in getp_create_live_iter()
H A Dvmtobj.h121 const vm_val_t *val,
221 vm_val_t val;
299 static int call_stat_prop(VMG_ vm_val_t *result,
371 const vm_val_t *val),
379 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
383 int inh_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
539 vm_val_t *val,
638 int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
692 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
700 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
[all …]
H A Dvmlookup.cpp57 vm_val_t key;
247 vm_val_t empty; in CVmObjLookupTable()
740 vm_val_t nil_val; in add_undo_rec()
1051 vm_val_t key; in getp_key_present()
1078 vm_val_t key; in getp_remove_entry()
1121 vm_val_t *fn; in getp_apply_all()
1196 vm_val_t *fn; in for_each_gen()
1646 vm_val_t coll; in find_first_valid_entry()
1695 vm_val_t coll; in getp_get_next()
1772 vm_val_t coll; in get_cur_entry()
[all …]
H A Dvmstr.cpp283 vm_val_t new_obj2; in add_to_str()
676 vm_val_t self_val; in get_prop()
735 int CVmObjString::getp_len(VMG_ vm_val_t *retval, const vm_val_t *self_val, in getp_len()
759 int CVmObjString::getp_substr(VMG_ vm_val_t *retval, const vm_val_t *self_val, in getp_substr()
864 int CVmObjString::getp_upper(VMG_ vm_val_t *retval, const vm_val_t *self_val, in getp_upper()
929 int CVmObjString::getp_lower(VMG_ vm_val_t *retval, const vm_val_t *self_val, in getp_lower()
994 int CVmObjString::getp_find(VMG_ vm_val_t *retval, const vm_val_t *self_val, in getp_find()
1042 vm_val_t arg1; in getp_replace()
1043 vm_val_t arg2; in getp_replace()
1274 vm_val_t ele_val; in getp_to_uni()
[all …]
H A Dvmobj.h283 const vm_val_t *val) = 0;
580 virtual void add_val(VMG_ vm_val_t * /*result*/, in add_val() argument
593 virtual void sub_val(VMG_ vm_val_t * /*result*/, in sub_val() argument
601 virtual void mul_val(VMG_ vm_val_t * /* result*/, in mul_val() argument
609 virtual void div_val(VMG_ vm_val_t * /* result*/, in div_val() argument
651 virtual void index_val(VMG_ vm_val_t * /*result*/, in index_val() argument
653 const vm_val_t * /*index_val*/) in index_val() argument
1066 virtual int call_stat_prop(VMG_ vm_val_t *result,
1132 int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
1243 vm_val_t val;
[all …]
H A Dvmdict.h160 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
173 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
229 const vm_val_t *),
230 void *cb_ctx, const vm_val_t *strval,
250 int match_strings(VMG_ const vm_val_t *valstrval,
253 vm_val_t *result_val);
261 unsigned int calc_hash(VMG_ const vm_val_t *valstrval,
292 int getp_find(VMG_ vm_obj_id_t, vm_val_t *val, uint *argc);
295 int getp_add(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
303 int getp_del(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
[all …]
H A Dvmpat.h56 vm_val_t str;
88 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
101 vm_obj_id_t self, vm_prop_id_t prop, const vm_val_t *val);
104 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
151 CVmObjPattern(VMG_ re_compiled_pattern *pat, const vm_val_t *src_str);
157 const vm_val_t *get_orig_str() const { return &get_ext()->str; } in get_orig_str()
158 void set_orig_str(const vm_val_t *val) { get_ext()->str = *val; } in set_orig_str()
164 int getp_undef(VMG_ vm_obj_id_t, vm_val_t *, uint *) { return FALSE; } in getp_undef() argument
167 int getp_get_str(VMG_ vm_obj_id_t, vm_val_t *val, uint *argc);
171 vm_val_t *retval, uint *argc);
[all …]
H A Dvmtype.cpp35 int vm_val_t::equals(VMG_ const vm_val_t *val, int depth) const in equals()
103 uint vm_val_t::calc_hash(VMG_ int depth) const in calc_hash()
169 int vm_val_t::gen_compare_to(VMG_ const vm_val_t *val) const in gen_compare_to()
225 const char *vm_val_t::get_as_string(VMG0_) const in get_as_string()
249 const char *vm_val_t::get_as_list(VMG0_) const in get_as_list()
275 size_t vm_val_t::get_coll_addsub_rhs_ele_cnt(VMG0_) const in get_coll_addsub_rhs_ele_cnt()
298 void vm_val_t::get_coll_addsub_rhs_ele(VMG_ size_t idx, in get_coll_addsub_rhs_ele()
299 vm_val_t *result) const in get_coll_addsub_rhs_ele()
327 void vm_val_t::set_datatype(VMG_ const vm_val_t *val) in set_datatype()
H A Dvmbift3.cpp67 vm_val_t val; in set_say()
208 vm_val_t *fp; in get_stack_trace()
209 vm_val_t lst_val; in get_stack_trace()
256 vm_val_t info_self; in get_stack_trace()
257 vm_val_t info_func; in get_stack_trace()
258 vm_val_t info_obj; in get_stack_trace()
259 vm_val_t info_prop; in get_stack_trace()
263 vm_val_t ele; in get_stack_trace()
410 vm_val_t ele; in get_source_info()
503 vm_val_t val; in get_obj_id()
[all …]
H A Dvmiter.cpp51 vm_val_t *retval, uint *argc) =
64 int CVmObjIter::get_prop(VMG_ vm_prop_id_t prop, vm_val_t *retval, in get_prop()
99 vm_obj_id_t CVmObjIterIdx::create_for_coll(VMG_ const vm_val_t *coll, in create_for_coll()
125 CVmObjIterIdx::CVmObjIterIdx(VMG_ const vm_val_t *coll, in CVmObjIterIdx()
162 int CVmObjIterIdx::getp_get_cur_val(VMG_ vm_obj_id_t self, vm_val_t *retval, in getp_get_cur_val()
216 int CVmObjIterIdx::getp_get_next(VMG_ vm_obj_id_t self, vm_val_t *retval, in getp_get_next()
246 void CVmObjIterIdx::get_indexed_val(VMG_ long idx, vm_val_t *retval) in get_indexed_val()
248 vm_val_t coll; in get_indexed_val()
249 vm_val_t idx_val; in get_indexed_val()
335 vm_val_t dummy; in set_cur_index()
[all …]
H A Dvmcset.h72 static int call_stat_prop(VMG_ vm_val_t *result, in call_stat_prop()
113 vm_obj_id_t self, vm_prop_id_t prop, const vm_val_t *val);
116 int get_prop(VMG_ vm_prop_id_t prop, vm_val_t *val,
146 int equals(VMG_ vm_obj_id_t self, const vm_val_t *val, int depth) const;
180 int getp_undef(VMG_ vm_obj_id_t, vm_val_t *, uint *) { return FALSE; } in getp_undef() argument
183 int getp_get_name(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
186 int getp_is_known(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
193 int getp_is_mappable(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
200 int getp_is_rt_mappable(VMG_ vm_obj_id_t self, vm_val_t *val, uint *argc);
204 VMG_ vm_obj_id_t self, vm_val_t *retval, uint *argc);
[all …]
H A Dvmdict.cpp88 vm_val_t val; in compute_hash()
464 vm_val_t result; in calc_hash()
833 vm_val_t *arg0; in getp_find()
834 vm_val_t *arg1; in getp_find()
893 vm_val_t str_val; in getp_add()
1007 vm_val_t str_val; in getp_del()
1137 vm_val_t strval;
1222 vm_val_t *arg0; in getp_is_defined()
1225 vm_val_t filter; in getp_is_defined()
1280 vm_val_t *cb_val;
[all …]

123