Home
last modified time | relevance | path

Searched refs:error (Results 1 – 10 of 10) sorted by relevance

/src/klibc/
A Dkerrno.c31 … rt_err_t error; /**< Error code of type rt_err_t, representing different kinds of errors. */ member
68 const char *rt_strerror(rt_err_t error) in rt_strerror() argument
72 if (error < 0) in rt_strerror()
73 error = -error; in rt_strerror()
77 if (rt_errno_strs[i].error == error) in rt_strerror()
106 return tid->error; in rt_get_errno()
115 void rt_set_errno(rt_err_t error) in rt_set_errno() argument
122 __rt_errno = error; in rt_set_errno()
130 __rt_errno = error; in rt_set_errno()
135 tid->error = error; in rt_set_errno()
[all …]
A Drt_vsnprintf_std.c118 #error "At least one non-constant Taylor expansion is necessary for the log10() calculation"
164 #error "No basic integer type has a size of 16 bits exactly"
176 #error "No basic integer type has a size of 32 bits exactly"
188 #error "No basic integer type has a size of 64 bits exactly"
225 #error "Non-binary-radix floating-point types are unsupported."
247 #error "Unsupported double type configuration"
/src/
A Dthread.c230 thread->error = RT_EOK; in _thread_init()
483 rt_err_t error; in _thread_detach() local
500 return error; in _thread_detach()
634 thread->error = RT_EOK; in _thread_sleep()
706 thread->error = RT_EOK; in rt_thread_delay_until()
742 return thread->error; in rt_thread_delay_until()
804 return error; in rt_thread_control()
814 return error; in rt_thread_control()
1026 rt_err_t error; in rt_thread_resume() local
1038 if (!error) in rt_thread_resume()
[all …]
A Dscheduler_comm.c76 rt_err_t error; in rt_sched_thread_timer_stop() local
81 error = rt_timer_stop(&thread->thread_timer); in rt_sched_thread_timer_stop()
88 error = RT_EOK; in rt_sched_thread_timer_stop()
90 return error; in rt_sched_thread_timer_stop()
230 rt_err_t error; in rt_sched_thread_ready() local
237 error = -RT_EINVAL; in rt_sched_thread_ready()
248 error = rt_sched_thread_timer_stop(thread); in rt_sched_thread_ready()
252 error = RT_EOK; in rt_sched_thread_ready()
255 if (!error) in rt_sched_thread_ready()
269 return error; in rt_sched_thread_ready()
A Dipc.c109 rt_err_t error; in rt_susp_list_dequeue() local
120 if (error) in rt_susp_list_dequeue()
634 return thread->error > 0 ? -thread->error : thread->error; in _rt_sem_take()
1350 thread->error = RT_EOK; in _rt_mutex_take()
2123 thread->error = -RT_EINTR; in _rt_event_recv()
2148 thread->error = RT_EOK; in _rt_event_recv()
2204 return thread->error; in _rt_event_recv()
2219 return thread->error; in _rt_event_recv()
2645 return thread->error; in _rt_mb_send_wait()
2926 return thread->error; in _rt_mb_recv()
[all …]
A Dsignal.c389 if (tid->error == -RT_ETIMEOUT) in rt_signal_wait()
391 tid->error = RT_EOK; in rt_signal_wait()
467 int signo, error; in rt_thread_handle_sig() local
488 error = -RT_EINTR; in rt_thread_handle_sig()
492 tid->error = error; in rt_thread_handle_sig()
A Dobject.c644 rt_err_t error; in rt_object_for_each() local
664 if ((error = iter(object, data)) != RT_EOK) in rt_object_for_each()
668 return error >= 0 ? RT_EOK : error; in rt_object_for_each()
A Dmempool.c310 thread->error = RT_EOK; in rt_mp_alloc()
333 if (thread->error != RT_EOK) in rt_mp_alloc()
A Dclock.c249 #error "RT_TICK_PER_SECOND must be greater than zero" in rt_tick_get_millisecond()
A Dscheduler_mp.c807 rt_err_t error = RT_EOK; in rt_sched_unlock_n_resched() local
842 error = -RT_ESCHEDLOCKED; in rt_sched_unlock_n_resched()
879 return error; in rt_sched_unlock_n_resched()

Completed in 24 milliseconds