Home
last modified time | relevance | path

Searched refs:a_nxo (Results 1 – 25 of 49) sorted by relevance

12

/dports/lang/onyx/onyx-5.1.2/lib/libonyx/include/libonyx/
H A Dnxo_thread.h405 cw_check_ptr(a_nxo); in nxo_thread_nx_get()
420 cw_check_ptr(a_nxo); in nxo_thread_maxestack_get()
436 cw_check_ptr(a_nxo); in nxo_thread_tailopt_get()
460 cw_check_ptr(a_nxo); in nxo_thread_ostack_get()
476 cw_check_ptr(a_nxo); in nxo_thread_cstack_get()
492 cw_check_ptr(a_nxo); in nxo_thread_dstack_get()
507 cw_check_ptr(a_nxo); in nxo_thread_estack_get()
522 cw_check_ptr(a_nxo); in nxo_thread_istack_get()
537 cw_check_ptr(a_nxo); in nxo_thread_tstack_get()
552 cw_check_ptr(a_nxo); in nxo_thread_stdin_get()
[all …]
H A Dnxo_array_l.h82 nxo_l_array_lock(const cw_nxo_t *a_nxo);
97 nxo_l_array_bound_set(cw_nxo_t *a_nxo);
183 cw_check_ptr(a_nxo); in nxo_l_array_locking()
212 cw_check_ptr(a_nxo); in nxo_l_array_lock()
234 cw_check_ptr(a_nxo); in nxo_l_array_unlock()
255 cw_check_ptr(a_nxo); in nxo_l_array_el_get()
280 cw_check_ptr(a_nxo); in nxo_l_array_bound_get()
284 return ((a_nxo->flags >> 5) & 1); in nxo_l_array_bound_get()
288 nxo_l_array_bound_set(cw_nxo_t *a_nxo) in nxo_l_array_bound_set() argument
290 cw_check_ptr(a_nxo); in nxo_l_array_bound_set()
[all …]
H A Dnxo_boolean.h42 nxo_boolean_get(const cw_nxo_t *a_nxo);
50 nxo_boolean_new(cw_nxo_t *a_nxo, bool a_val) in nxo_boolean_new() argument
52 cw_check_ptr(a_nxo); in nxo_boolean_new()
54 nxo_p_new(a_nxo, NXOT_BOOLEAN); in nxo_boolean_new()
55 a_nxo->o.boolean.val = a_val; in nxo_boolean_new()
59 nxo_boolean_get(const cw_nxo_t *a_nxo) in nxo_boolean_get() argument
61 cw_check_ptr(a_nxo); in nxo_boolean_get()
65 return a_nxo->o.boolean.val; in nxo_boolean_get()
69 nxo_boolean_set(cw_nxo_t *a_nxo, bool a_val) in nxo_boolean_set() argument
71 cw_check_ptr(a_nxo); in nxo_boolean_set()
[all …]
H A Dnxo_real.h43 nxo_real_get(const cw_nxo_t *a_nxo);
53 cw_check_ptr(a_nxo); in nxo_real_new()
55 nxo_p_new(a_nxo, NXOT_REAL); in nxo_real_new()
56 a_nxo->o.real.r = a_val; in nxo_real_new()
60 nxo_real_get(const cw_nxo_t *a_nxo) in nxo_real_get() argument
62 cw_check_ptr(a_nxo); in nxo_real_get()
63 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_real_get()
66 return a_nxo->o.real.r; in nxo_real_get()
72 cw_check_ptr(a_nxo); in nxo_real_set()
73 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_real_set()
[all …]
H A Dnxo_integer.h42 nxo_integer_get(const cw_nxo_t *a_nxo);
52 cw_check_ptr(a_nxo); in nxo_integer_new()
54 nxo_p_new(a_nxo, NXOT_INTEGER); in nxo_integer_new()
55 a_nxo->o.integer.i = a_val; in nxo_integer_new()
59 nxo_integer_get(const cw_nxo_t *a_nxo) in nxo_integer_get() argument
61 cw_check_ptr(a_nxo); in nxo_integer_get()
62 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_integer_get()
65 return a_nxo->o.integer.i; in nxo_integer_get()
71 cw_check_ptr(a_nxo); in nxo_integer_set()
72 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_integer_set()
[all …]
H A Dnxo.h214 nxo_ilocked(cw_nxo_t *a_nxo);
253 nxo_type_get(const cw_nxo_t *a_nxo) in nxo_type_get() argument
255 cw_check_ptr(a_nxo); in nxo_type_get()
262 nxo_attr_get(const cw_nxo_t *a_nxo) in nxo_attr_get() argument
264 cw_check_ptr(a_nxo); in nxo_attr_get()
273 cw_check_ptr(a_nxo); in nxo_attr_set()
276 a_nxo->flags = (a_nxo->flags & 0xfffffe3f) | (a_attr << 6); in nxo_attr_set()
284 a_nxo->flags = 0; in nxo_p_new()
286 a_nxo->magic = CW_NXO_MAGIC; in nxo_p_new()
291 a_nxo->o.integer.i = 0; in nxo_p_new()
[all …]
H A Dnxo_pmark.h39 nxo_pmark_new(cw_nxo_t *a_nxo);
42 nxo_pmark_line_get(cw_nxo_t *a_nxo);
50 nxo_pmark_new(cw_nxo_t *a_nxo) in nxo_pmark_new() argument
52 cw_check_ptr(a_nxo); in nxo_pmark_new()
54 nxo_p_new(a_nxo, NXOT_PMARK); in nxo_pmark_new()
58 nxo_pmark_line_get(cw_nxo_t *a_nxo) in nxo_pmark_line_get() argument
60 cw_check_ptr(a_nxo); in nxo_pmark_line_get()
61 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_pmark_line_get()
64 return a_nxo->o.pmark.line; in nxo_pmark_line_get()
70 cw_check_ptr(a_nxo); in nxo_pmark_line_set()
[all …]
H A Dnxo_file.h49 nxo_file_new(cw_nxo_t *a_nxo, bool a_locking);
69 nxo_file_close(cw_nxo_t *a_nxo);
76 nxo_file_origin_set(cw_nxo_t *a_nxo, const char *a_origin,
81 nxo_file_fd_get(const cw_nxo_t *a_nxo);
85 nxo_file_nonblocking_get(const cw_nxo_t *a_nxo);
103 nxo_file_truncate(cw_nxo_t *a_nxo, off_t a_length);
107 nxo_file_position_get(cw_nxo_t *a_nxo);
115 nxo_file_buffer_size_get(const cw_nxo_t *a_nxo);
118 nxo_file_buffer_size_set(cw_nxo_t *a_nxo, uint32_t a_size);
121 nxo_file_buffer_count(const cw_nxo_t *a_nxo);
[all …]
H A Dnxo_stack.h252 cw_check_ptr(a_nxo); in nxo_stack_count()
306 cw_check_ptr(a_nxo); in nxo_stack_push()
362 cw_check_ptr(a_nxo); in nxo_stack_bpush()
430 cw_check_ptr(a_nxo); in nxo_stack_pop()
496 cw_check_ptr(a_nxo); in nxo_stack_bpop()
567 cw_check_ptr(a_nxo); in nxo_stack_npop()
639 cw_check_ptr(a_nxo); in nxo_stack_nbpop()
684 cw_check_ptr(a_nxo); in nxo_stack_get()
729 cw_check_ptr(a_nxo); in nxo_stack_bget()
774 cw_check_ptr(a_nxo); in nxo_stack_nget()
[all …]
H A Dnxo_string.h38 nxo_string_new(cw_nxo_t *a_nxo, bool a_locking, uint32_t a_len);
41 nxo_string_substring_new(cw_nxo_t *a_nxo, cw_nxo_t *a_string,
51 nxo_string_len_get(const cw_nxo_t *a_nxo);
54 nxo_string_el_get(const cw_nxo_t *a_nxo, cw_nxoi_t a_offset, char *r_el);
57 nxo_string_el_set(cw_nxo_t *a_nxo, char a_el, cw_nxoi_t a_offset);
61 nxo_string_lock(cw_nxo_t *a_nxo);
64 nxo_string_unlock(cw_nxo_t *a_nxo);
66 #define nxo_string_lock(a_nxo) argument
67 #define nxo_string_unlock(a_nxo) argument
71 nxo_string_get(const cw_nxo_t *a_nxo);
[all …]
H A Dnxo_operator.h38 nxo_operator_new(cw_nxo_t *a_nxo, cw_op_t *a_op, cw_nxn_t a_nxn);
42 nxo_operator_f(const cw_nxo_t *a_nxo);
47 nxo_operator_f(const cw_nxo_t *a_nxo) in nxo_operator_f() argument
49 cw_check_ptr(a_nxo); in nxo_operator_f()
50 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_operator_f()
51 cw_assert(nxo_type_get(a_nxo) == NXOT_OPERATOR); in nxo_operator_f()
53 return a_nxo->o.oper.f; in nxo_operator_f()
H A Dnxo_class.h42 nxo_class_new(cw_nxo_t *a_nxo, void *a_opaque,
47 nxo_class_name_get(const cw_nxo_t *a_nxo);
50 nxo_class_super_get(const cw_nxo_t *a_nxo);
53 nxo_class_methods_get(const cw_nxo_t *a_nxo);
56 nxo_class_data_get(const cw_nxo_t *a_nxo);
59 nxo_class_opaque_get(const cw_nxo_t *a_nxo);
62 nxo_class_opaque_set(cw_nxo_t *a_nxo, void *a_opaque);
H A Dnxo_thread_l.h38 nxo_l_thread_token(cw_nxo_t *a_nxo, cw_nxo_threadp_t *a_threadp,
43 nxo_l_thread_trapped_arg_get(cw_nxo_t *a_nxo);
47 nxo_l_thread_regex_cache_get(cw_nxo_t *a_nxo);
59 nxo_l_thread_trapped_arg_get(cw_nxo_t *a_nxo) in nxo_l_thread_trapped_arg_get() argument
63 cw_check_ptr(a_nxo); in nxo_l_thread_trapped_arg_get()
64 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_l_thread_trapped_arg_get()
66 thread = (cw_nxoe_thread_t *) a_nxo->o.nxoe; in nxo_l_thread_trapped_arg_get()
75 nxo_l_thread_regex_cache_get(cw_nxo_t *a_nxo) in nxo_l_thread_regex_cache_get() argument
79 cw_check_ptr(a_nxo); in nxo_l_thread_regex_cache_get()
80 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_l_thread_regex_cache_get()
[all …]
/dports/lang/onyx/onyx-5.1.2/lib/libonyx/src/
H A Dnxo_class.c62 nxo_no_new(a_nxo); in nxo_class_new()
63 a_nxo->o.nxoe = (cw_nxoe_t *) class_; in nxo_class_new()
64 nxo_p_type_set(a_nxo, NXOT_CLASS); in nxo_class_new()
70 nxo_class_name_get(const cw_nxo_t *a_nxo) in nxo_class_name_get() argument
75 cw_check_ptr(a_nxo); in nxo_class_name_get()
96 cw_check_ptr(a_nxo); in nxo_class_super_get()
117 cw_check_ptr(a_nxo); in nxo_class_methods_get()
133 nxo_class_data_get(const cw_nxo_t *a_nxo) in nxo_class_data_get() argument
138 cw_check_ptr(a_nxo); in nxo_class_data_get()
159 cw_check_ptr(a_nxo); in nxo_class_opaque_get()
[all …]
H A Dnxo_handle.c60 nxo_no_new(a_nxo); in nxo_handle_new()
61 a_nxo->o.nxoe = (cw_nxoe_t *) handle; in nxo_handle_new()
62 nxo_p_type_set(a_nxo, NXOT_HANDLE); in nxo_handle_new()
68 nxo_handle_tag_get(const cw_nxo_t *a_nxo) in nxo_handle_tag_get() argument
73 cw_check_ptr(a_nxo); in nxo_handle_tag_get()
74 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_handle_tag_get()
89 nxo_handle_opaque_get(const cw_nxo_t *a_nxo) in nxo_handle_opaque_get() argument
94 cw_check_ptr(a_nxo); in nxo_handle_opaque_get()
114 cw_check_ptr(a_nxo); in nxo_handle_opaque_set()
132 cw_check_ptr(a_nxo); in nxo_handle_eval()
[all …]
H A Dnxo_instance.c60 nxo_no_new(a_nxo); in nxo_instance_new()
61 a_nxo->o.nxoe = (cw_nxoe_t *) instance; in nxo_instance_new()
62 nxo_p_type_set(a_nxo, NXOT_INSTANCE); in nxo_instance_new()
68 nxo_instance_isa_get(const cw_nxo_t *a_nxo) in nxo_instance_isa_get() argument
73 cw_check_ptr(a_nxo); in nxo_instance_isa_get()
74 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_instance_isa_get()
89 nxo_instance_data_get(const cw_nxo_t *a_nxo) in nxo_instance_data_get() argument
94 cw_check_ptr(a_nxo); in nxo_instance_data_get()
95 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_instance_data_get()
115 cw_check_ptr(a_nxo); in nxo_instance_opaque_get()
[all …]
H A Dnxo_condition.c46 nxo_condition_new(cw_nxo_t *a_nxo) in nxo_condition_new() argument
55 nxo_no_new(a_nxo); in nxo_condition_new()
56 a_nxo->o.nxoe = (cw_nxoe_t *) condition; in nxo_condition_new()
57 nxo_p_type_set(a_nxo, NXOT_CONDITION); in nxo_condition_new()
63 nxo_condition_signal(cw_nxo_t *a_nxo) in nxo_condition_signal() argument
67 cw_check_ptr(a_nxo); in nxo_condition_signal()
68 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_condition_signal()
81 nxo_condition_broadcast(cw_nxo_t *a_nxo) in nxo_condition_broadcast() argument
85 cw_check_ptr(a_nxo); in nxo_condition_broadcast()
104 cw_check_ptr(a_nxo); in nxo_condition_wait()
[all …]
H A Dnxo_mutex.c46 nxo_mutex_new(cw_nxo_t *a_nxo) in nxo_mutex_new() argument
55 nxo_no_new(a_nxo); in nxo_mutex_new()
56 a_nxo->o.nxoe = (cw_nxoe_t *) mutex; in nxo_mutex_new()
57 nxo_p_type_set(a_nxo, NXOT_MUTEX); in nxo_mutex_new()
63 nxo_mutex_lock(cw_nxo_t *a_nxo) in nxo_mutex_lock() argument
67 cw_check_ptr(a_nxo); in nxo_mutex_lock()
68 cw_dassert(a_nxo->magic == CW_NXO_MAGIC); in nxo_mutex_lock()
81 nxo_mutex_trylock(cw_nxo_t *a_nxo) in nxo_mutex_trylock() argument
86 cw_check_ptr(a_nxo); in nxo_mutex_trylock()
102 nxo_mutex_unlock(cw_nxo_t *a_nxo) in nxo_mutex_unlock() argument
[all …]
H A Dnxm.c144 nxo_attr_set(a_nxo, NXOA_EXECUTABLE); in nxm_new()
156 nxm_iter_get(cw_nxo_t *a_nxo) in nxm_iter_get() argument
160 cw_check_ptr(a_nxo); in nxm_iter_get()
164 nxm = nxo_handle_opaque_get(a_nxo); in nxm_iter_get()
175 cw_check_ptr(a_nxo); in nxm_iter_set()
179 nxm = nxo_handle_opaque_get(a_nxo); in nxm_iter_set()
186 nxm_pre_unload_hook_get(cw_nxo_t *a_nxo) in nxm_pre_unload_hook_get() argument
190 cw_check_ptr(a_nxo); in nxm_pre_unload_hook_get()
194 nxm = nxo_handle_opaque_get(a_nxo); in nxm_pre_unload_hook_get()
205 cw_check_ptr(a_nxo); in nxm_pre_unload_hook_set()
[all …]
H A Dnxo_file.c104 nxo_no_new(a_nxo); in nxo_file_new()
118 cw_check_ptr(a_nxo); in nxo_file_fd_wrap()
153 cw_check_ptr(a_nxo); in nxo_file_synthetic()
207 cw_check_ptr(a_nxo); in nxo_file_open()
343 cw_check_ptr(a_nxo); in nxo_file_close()
424 cw_check_ptr(a_nxo); in nxo_file_origin_get()
444 cw_check_ptr(a_nxo); in nxo_file_origin_set()
478 cw_check_ptr(a_nxo); in nxo_file_fd_get()
521 cw_check_ptr(a_nxo); in nxo_file_nonblocking_get()
551 cw_check_ptr(a_nxo); in nxo_file_nonblocking_set()
[all …]
H A Dnxo_string.c92 nxo_no_new(a_nxo); in nxo_string_new()
105 cw_check_ptr(a_nxo); in nxo_string_substring_new()
131 nxo_no_new(a_nxo); in nxo_string_substring_new()
254 cw_check_ptr(a_nxo); in nxo_string_len_get()
281 cw_check_ptr(a_nxo); in nxo_string_el_get()
307 cw_check_ptr(a_nxo); in nxo_string_el_set()
330 nxo_string_lock(cw_nxo_t *a_nxo) in nxo_string_lock() argument
334 cw_check_ptr(a_nxo); in nxo_string_lock()
358 cw_check_ptr(a_nxo); in nxo_string_unlock()
384 cw_check_ptr(a_nxo); in nxo_string_get()
[all …]
H A Dnxo_array.c72 nxo_no_new(a_nxo); in nxo_array_new()
73 a_nxo->o.nxoe = (cw_nxoe_t *) array; in nxo_array_new()
74 nxo_p_type_set(a_nxo, NXOT_ARRAY); in nxo_array_new()
85 cw_check_ptr(a_nxo); in nxo_array_subarray_new()
111 nxo_no_new(a_nxo); in nxo_array_subarray_new()
113 nxo_p_type_set(a_nxo, NXOT_ARRAY); in nxo_array_subarray_new()
235 cw_check_ptr(a_nxo); in nxo_array_len_get()
262 cw_check_ptr(a_nxo); in nxo_array_el_get()
319 cw_check_ptr(a_nxo); in nxo_array_el_set()
375 cw_check_ptr(a_nxo); in nxo_array_origin_get()
[all …]
H A Dnxo_name.c124 nxo_no_new(a_nxo); in nxo_name_new()
125 a_nxo->o.nxoe = (cw_nxoe_t *) name; in nxo_name_new()
126 nxo_p_type_set(a_nxo, NXOT_NAME); in nxo_name_new()
131 nxo_no_new(a_nxo); in nxo_name_new()
132 a_nxo->o.nxoe = (cw_nxoe_t *) name; in nxo_name_new()
133 nxo_p_type_set(a_nxo, NXOT_NAME); in nxo_name_new()
191 nxo_name_str_get(const cw_nxo_t *a_nxo) in nxo_name_str_get() argument
196 cw_check_ptr(a_nxo); in nxo_name_str_get()
200 name = (cw_nxoe_name_t *) a_nxo->o.nxoe; in nxo_name_str_get()
212 nxo_name_len_get(const cw_nxo_t *a_nxo) in nxo_name_len_get() argument
[all …]
H A Dnxo_thread.c345 nxo_no_new(a_nxo); in nxo_thread_new()
396 cw_check_ptr(a_nxo); in nxo_p_thread_start()
416 cw_check_ptr(a_nxo); in nxo_thread_start()
433 nxo_thread_loop(a_nxo); in nxo_thread_start()
442 cw_check_ptr(a_nxo); in nxo_thread_exit()
503 cw_check_ptr(a_nxo); in nxo_thread_thread()
526 cw_check_ptr(a_nxo); in nxo_thread_detach()
548 cw_check_ptr(a_nxo); in nxo_thread_join()
584 cw_check_ptr(a_nxo); in nxo_thread_state()
600 cw_check_ptr(a_nxo); in nxo_thread_deferred()
[all …]
H A Dnxo_operator.c42 #define nxo_p_operator_nxn_set(a_nxo, a_nxn) \ argument
45 (a_nxo)->flags = ((a_nxo)->flags & 0xfff801ff) | \
50 nxo_operator_new(cw_nxo_t *a_nxo, cw_op_t *a_op, cw_nxn_t a_nxn) in nxo_operator_new() argument
52 nxo_p_new(a_nxo, NXOT_OPERATOR); in nxo_operator_new()
53 a_nxo->o.oper.f = a_op; in nxo_operator_new()
54 nxo_p_operator_nxn_set(a_nxo, a_nxn); in nxo_operator_new()

12