Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 169) sorted by relevance

1234567

/components/libc/posix/pthreads/
A Dpthread_rwlock.c123 int result; in pthread_rwlock_destroy() local
167 if (result == 0) in pthread_rwlock_destroy()
170 return result; in pthread_rwlock_destroy()
199 int result; in pthread_rwlock_rdlock() local
255 int result; in pthread_rwlock_tryrdlock() local
272 return(result); in pthread_rwlock_tryrdlock()
308 int result; in pthread_rwlock_timedrdlock() local
372 int result; in pthread_rwlock_timedwrlock() local
428 int result; in pthread_rwlock_trywrlock() local
473 int result; in pthread_rwlock_unlock() local
[all …]
A Dpthread_barrier.c84 rt_err_t result; in pthread_barrier_destroy() local
90 result = pthread_mutex_lock(&(barrier->mutex)); in pthread_barrier_destroy()
91 if (result != 0) in pthread_barrier_destroy()
92 return result; in pthread_barrier_destroy()
103 if (result != 0) in pthread_barrier_destroy()
109 if (result != 0) in pthread_barrier_destroy()
115 return result; in pthread_barrier_destroy()
199 rt_err_t result; in pthread_barrier_wait() local
204 if (result != 0) in pthread_barrier_wait()
208 result = EINVAL; in pthread_barrier_wait()
[all …]
A Dpthread_cond.c101 rt_err_t result; in pthread_cond_init() local
124 if (result != RT_EOK) in pthread_cond_init()
163 rt_err_t result; in pthread_cond_destroy() local
180 if (result == EBUSY) in pthread_cond_destroy()
220 rt_err_t result; in pthread_cond_broadcast() local
279 rt_err_t result; in pthread_cond_signal() local
445 return result; in _pthread_cond_timedwait()
478 rt_err_t result; in pthread_cond_wait() local
482 if (result == RT_EOK) in pthread_cond_wait()
534 rt_err_t result; in pthread_cond_timedwait() local
[all …]
/components/dfs/dfs_v1/src/
A Ddfs_posix.c47 int fd, result; in open() local
163 int result; in close() local
205 int result; in read() local
245 int result; in write() local
289 int result; in lseek() local
351 int result; in rename() local
376 int result; in unlink() local
400 int result; in stat() local
554 int result; in ftruncate() local
594 int result; in statfs() local
[all …]
/components/drivers/spi/sfud/src/
A Dsfud.c104 return result; in sfud_device_init()
244 return result; in sfud_qspi_fast_read_enable()
376 return result; in hardware_init()
391 return result; in software_init()
443 return result; in sfud_read()
496 return result; in sfud_chip_erase()
597 return result;
684 return result;
776 return result;
800 return result;
[all …]
/components/drivers/spi/
A Ddev_spi_core.c33 rt_err_t result; in spi_bus_register() local
37 return result; in spi_bus_register()
94 rt_err_t result; in rt_spi_bus_attach_device_cspin() local
169 return result; in rt_spi_bus_configure()
222 rt_err_t result; in rt_spi_send_then_send() local
288 return result; in rt_spi_send_then_send()
363 return result; in rt_spi_send_then_recv()
421 return result; in rt_spi_transfer()
555 return result; in rt_spi_take_bus()
580 if (result < 0) in rt_spi_take()
[all …]
A Ddev_spi_msd.c54 rt_err_t result; in MSD_take_owner() local
57 if (result == RT_EOK) in MSD_take_owner()
71 return result; in MSD_take_owner()
103 return result; in rt_tick_timeout()
340 rt_err_t result; in _read_block() local
344 if (result != RT_EOK) in _read_block()
346 return result; in _read_block()
1197 return result; in rt_msd_init()
1368 rt_err_t result; in rt_msd_write() local
1488 rt_err_t result; in rt_msd_sdhc_write() local
[all …]
A Ddev_qspi_core.c26 if (result == RT_EOK) in rt_qspi_configure()
40 return result; in rt_qspi_configure()
82 rt_ssize_t result; in rt_qspi_transfer_message() local
88 if (result != RT_EOK) in rt_qspi_transfer_message()
119 if (result == 0) in rt_qspi_transfer_message()
128 return result; in rt_qspi_transfer_message()
205 if (result == 0) in rt_qspi_send_then_recv()
209 else if (result > 0) in rt_qspi_send_then_recv()
214 return result; in rt_qspi_send_then_recv()
291 if (result == 0) in rt_qspi_send()
[all …]
/components/drivers/misc/
A Drt_drv_pwm.c38 return result; in _pwm_control()
138 return result; in rt_device_pwm_register()
167 return result; in rt_pwm_enable()
196 return result; in rt_pwm_disable()
214 return result; in rt_pwm_set()
231 return result; in rt_pwm_set_period()
248 return result; in rt_pwm_set_pulse()
265 return result; in rt_pwm_set_dead_time()
283 return result; in rt_pwm_set_phase()
297 return result; in rt_pwm_get()
[all …]
A Dadc.c76 return result; in _adc_control()
94 rt_err_t result; in rt_hw_adc_register() local
115 return result; in rt_hw_adc_register()
122 rt_err_t result; in rt_adc_read() local
125 if (result != RT_EOK) in rt_adc_read()
134 rt_err_t result; in rt_adc_enable() local
145 return result; in rt_adc_enable()
151 rt_err_t result; in rt_adc_disable() local
162 return result; in rt_adc_disable()
172 rt_err_t result; in rt_adc_voltage() local
[all …]
A Ddac.c22 rt_err_t result = RT_EOK; in _dac_write() local
30 if (result != RT_EOK) in _dac_write()
60 result = RT_EOK; in _dac_control()
64 return result; in _dac_control()
81 rt_err_t result = RT_EOK; in rt_hw_dac_register() local
103 return result; in rt_hw_dac_register()
124 result = -RT_ENOSYS; in rt_dac_enable()
127 return result; in rt_dac_enable()
141 result = -RT_ENOSYS; in rt_dac_disable()
144 return result; in rt_dac_disable()
[all …]
/components/dfs/dfs_v2/src/
A Ddfs_posix.c50 int fd, result; in open() local
80 if (result < 0) in open()
286 int result; in close() local
458 int result; in rename() local
488 int result; in unlink() local
528 int result; in stat() local
705 int result; in ftruncate() local
746 int result; in statfs() local
814 int result; in mkdir() local
864 int result; in rmdir() local
[all …]
/components/drivers/wlan/
A Ddev_wlan.c87 return result; in rt_wlan_dev_init()
122 return result; in rt_wlan_dev_connect()
155 return result; in rt_wlan_dev_fast_connect()
168 return result; in rt_wlan_dev_disconnect()
204 return result; in rt_wlan_dev_ap_start()
217 return result; in rt_wlan_dev_ap_stop()
230 return result; in rt_wlan_dev_ap_deauth()
270 return result; in rt_wlan_dev_get_info()
289 return result; in rt_wlan_dev_ap_get_info()
302 return result; in rt_wlan_dev_get_mac()
[all …]
/components/dfs/dfs_v1/filesystems/elmfat/
A Ddfs_elm.c45 switch (result) in elm_result_to_dfs()
108 FRESULT result; in dfs_elm_mount() local
176 FRESULT result; in dfs_elm_unmount() local
208 FRESULT result; in dfs_elm_mkfs() local
335 FRESULT result; in dfs_elm_open() local
468 FRESULT result; in dfs_elm_close() local
475 result = FR_OK; in dfs_elm_close()
540 FRESULT result; in dfs_elm_read() local
563 FRESULT result; in dfs_elm_write() local
587 FRESULT result; in dfs_elm_flush() local
[all …]
/components/net/lwip/lwip-2.1.2/src/apps/snmp/
A Dsnmp_scalar.c134 result = array_node_def; in snmp_scalar_array_get_next_instance()
139 result = array_node_def; in snmp_scalar_array_get_next_instance()
149 result = array_node_def; in snmp_scalar_array_get_next_instance()
157 if (result == NULL) { in snmp_scalar_array_get_next_instance()
164 result = array_node_def; in snmp_scalar_array_get_next_instance()
174 if (result == NULL) { in snmp_scalar_array_get_next_instance()
188 instance->reference.const_ptr = result; in snmp_scalar_array_get_next_instance()
196 s16_t result = -1; in snmp_scalar_array_get_value() local
203 return result; in snmp_scalar_array_get_value()
216 return result; in snmp_scalar_array_set_test()
[all …]
/components/dfs/dfs_v2/filesystems/elmfat/
A Ddfs_elm.c69 switch (result) in elm_result_to_dfs()
132 FRESULT result; in dfs_elm_mount() local
214 FRESULT result; in dfs_elm_unmount() local
247 FRESULT result; in dfs_elm_mkfs() local
374 FRESULT result; in dfs_elm_open() local
510 FRESULT result; in dfs_elm_close() local
517 result = FR_OK; in dfs_elm_close()
594 FRESULT result; in dfs_elm_write() local
620 FRESULT result; in dfs_elm_flush() local
714 FRESULT result; in dfs_elm_getdents() local
[all …]
/components/fal/src/
A Dfal.c35 int result; in fal_init() local
38 result = fal_flash_init(); in fal_init()
40 if (result < 0) { in fal_init()
45 result = fal_partition_init(); in fal_init()
49 if ((result > 0) && (!init_ok)) in fal_init()
54 else if(result <= 0) in fal_init()
60 return result; in fal_init()
/components/drivers/ipc/
A Dcompletion_up.c68 rt_err_t result; in rt_completion_wait_flags() local
76 result = RT_EOK; in rt_completion_wait_flags()
89 result = -RT_ETIMEOUT; in rt_completion_wait_flags()
98 result = rt_thread_suspend_with_flag(thread, suspend_flag); in rt_completion_wait_flags()
99 if (result == RT_EOK) in rt_completion_wait_flags()
134 result = thread->error; in rt_completion_wait_flags()
135 result = result > 0 ? -result : result; in rt_completion_wait_flags()
136 RT_ASSERT(result != RT_EOK); in rt_completion_wait_flags()
148 return result; in rt_completion_wait_flags()
A Ddataqueue.c99 rt_err_t result; in rt_data_queue_push() local
107 result = RT_EOK; in rt_data_queue_push()
116 result = -RT_ETIMEOUT; in rt_data_queue_push()
127 if (result == RT_EOK) in rt_data_queue_push()
177 return result; in rt_data_queue_push()
187 return result; in rt_data_queue_push()
216 rt_err_t result; in rt_data_queue_pop() local
226 result = RT_EOK; in rt_data_queue_pop()
245 if (result == RT_EOK) in rt_data_queue_pop()
304 return result; in rt_data_queue_pop()
[all …]
/components/drivers/audio/
A Ddev_audio.c55 rt_err_t result = RT_EOK; in _audio_send_replay_frame() local
129 return result; in _audio_send_replay_frame()
153 return result; in _audio_flush_replay_frame()
177 return result; in _aduio_replay_start()
215 return result; in _aduio_replay_stop()
242 return result; in _audio_record_start()
269 return result; in _audio_record_stop()
361 return result; in _audio_dev_init()
631 return result; in _audio_dev_control()
687 if (result == RT_EOK) in rt_audio_register()
[all …]
/components/drivers/touch/
A Ddev_touch.c128 rt_size_t result = 0; in rt_touch_read() local
139 return result; in rt_touch_read()
145 rt_err_t result = RT_EOK; in rt_touch_control() local
154 if (result == RT_EOK) in rt_touch_control()
168 if (result == RT_EOK) in rt_touch_control()
178 if (result == RT_EOK) in rt_touch_control()
198 return result; in rt_touch_control()
221 rt_err_t result; in rt_hw_touch_register() local
244 if (result != RT_EOK) in rt_hw_touch_register()
246 LOG_E("rt_touch register err code: %d", result); in rt_hw_touch_register()
[all …]
/components/dfs/dfs_v1/filesystems/devfs/
A Ddevfs.c44 rt_err_t result; in dfs_device_fs_ioctl() local
61 return result; in dfs_device_fs_ioctl()
66 int result; in dfs_device_fs_read() local
80 file->pos += result; in dfs_device_fs_read()
82 return result; in dfs_device_fs_read()
87 int result; in dfs_device_fs_write() local
103 return result; in dfs_device_fs_write()
108 rt_err_t result; in dfs_device_fs_close() local
149 rt_err_t result; in dfs_device_fs_open() local
244 if (result == RT_EOK || result == -RT_ENOSYS) in dfs_device_fs_open()
[all …]
/components/drivers/hwtimer/
A Dhwtimer.c96 rt_err_t result = RT_EOK; in rt_hwtimer_init() local
119 result = -RT_ENOSYS; in rt_hwtimer_init()
122 return result; in rt_hwtimer_init()
127 rt_err_t result = RT_EOK; in rt_hwtimer_open() local
137 result = -RT_ENOSYS; in rt_hwtimer_open()
140 return result; in rt_hwtimer_open()
145 rt_err_t result = RT_EOK; in rt_hwtimer_close() local
155 result = -RT_ENOSYS; in rt_hwtimer_close()
161 return result; in rt_hwtimer_close()
235 rt_err_t result = RT_EOK; in rt_hwtimer_control() local
[all …]
/components/drivers/core/
A Ddevice.c188 rt_err_t result = RT_EOK; in rt_device_init() local
198 if (result != RT_EOK) in rt_device_init()
210 return result; in rt_device_init()
224 rt_err_t result = RT_EOK; in rt_device_open() local
236 if (result != RT_EOK) in rt_device_open()
241 return result; in rt_device_open()
271 if (result == RT_EOK || result == -RT_ENOSYS) in rt_device_open()
281 return result; in rt_device_open()
294 rt_err_t result = RT_EOK; in rt_device_close() local
315 if (result == RT_EOK || result == -RT_ENOSYS) in rt_device_close()
[all …]
/components/net/at/src/
A Dat_server.c118 switch (result) in at_server_print_result()
216 rt_err_t result = RT_EOK; in at_server_recv() local
429 return result; in at_server_getchar()
437 if(result <= 0) in at_server_getchar()
439 result = -RT_ERROR; in at_server_getchar()
445 return result; in at_server_getchar()
457 at_result_t result; in server_parser() local
544 return result; in at_server_init()
610 result = -RT_ERROR; in at_server_init()
629 if (!result) in at_server_init()
[all …]

Completed in 54 milliseconds

1234567