Home
last modified time | relevance | path

Searched refs:err_code (Results 1 – 22 of 22) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dble_port.c38 int err_code; in storage_read()
42 err_code = aos_kv_get(s, data, length, 1); in storage_read()
48 if(!err_code){ in storage_read()
53 if(err_code == 0){ in storage_read()
61 } else if(err_code == -ENOENT){ in storage_read()
67 printf("KV read failed(%d)\n", err_code); in storage_read()
78 uint32_t err_code; in storage_write()
84 err_code = aos_kv_set(s, data, length, 1); in storage_write()
94 if(!err_code){ in storage_write()
97 if(!err_code){ in storage_write()
[all …]
/AliOS-Things-master/components/linkkit/iot_coap/client/
A DCloud_CoAPNetwork.c25 unsigned int err_code = DTLS_SUCCESS; in Cloud_CoAPNetworkDTLS_read() local
36 if (DTLS_PEER_CLOSE_NOTIFY == err_code || in Cloud_CoAPNetworkDTLS_read()
37 DTLS_FATAL_ALERT_MESSAGE == err_code) { in Cloud_CoAPNetworkDTLS_read()
41 if (DTLS_SUCCESS == err_code) { in Cloud_CoAPNetworkDTLS_read()
55 unsigned int err_code = DTLS_SUCCESS; in Cloud_CoAPNetworkDTLS_write() local
57 err_code = in Cloud_CoAPNetworkDTLS_write()
59 if (DTLS_SUCCESS == err_code) { in Cloud_CoAPNetworkDTLS_write()
145 unsigned int err_code = COAP_SUCCESS; in Cloud_CoAPNetwork_init() local
172 return err_code; in Cloud_CoAPNetwork_init()
177 unsigned int err_code = COAP_SUCCESS; in Cloud_CoAPNetwork_deinit() local
[all …]
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_DTLS_mbedtls.c199 unsigned int err_code = DTLS_SUCCESS; in _DTLSVerifyOptions_set() local
220 err_code = DTLS_INVALID_CA_CERTIFICATE; in _DTLSVerifyOptions_set()
232 return err_code; in _DTLSVerifyOptions_set()
481 unsigned int err_code = DTLS_SUCCESS; in HAL_DTLSSession_write() local
497 err_code = DTLS_SUCCESS; in HAL_DTLSSession_write()
501 return err_code; in HAL_DTLSSession_write()
508 unsigned int err_code = DTLS_READ_DATA_FAILED; in HAL_DTLSSession_read() local
517 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
525 err_code = DTLS_PEER_CLOSE_NOTIFY; in HAL_DTLSSession_read()
528 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
[all …]
/AliOS-Things-master/components/linkkit/wrappers/platform/ssl/
A DHAL_DTLS_mbedtls.c239 unsigned int err_code = DTLS_SUCCESS; in _DTLSVerifyOptions_set() local
256 err_code = DTLS_INVALID_CA_CERTIFICATE; in _DTLSVerifyOptions_set()
268 return err_code; in _DTLSVerifyOptions_set()
485 unsigned int err_code = DTLS_SUCCESS; in HAL_DTLSSession_write() local
501 err_code = DTLS_SUCCESS; in HAL_DTLSSession_write()
505 return err_code; in HAL_DTLSSession_write()
512 unsigned int err_code = DTLS_READ_DATA_FAILED; in HAL_DTLSSession_read() local
521 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
529 err_code = DTLS_PEER_CLOSE_NOTIFY; in HAL_DTLSSession_read()
532 err_code = DTLS_SUCCESS; in HAL_DTLSSession_read()
[all …]
/AliOS-Things-master/components/amp_adapter/platform/aos/network/
A Daos_tcp.c121 int ret, err_code; in aos_tcp_write() local
131 err_code = 0; in aos_tcp_write()
162 err_code = -1; in aos_tcp_write()
180 err_code = -1; in aos_tcp_write()
188 return err_code == 0 ? len_sent : err_code; in aos_tcp_write()
/AliOS-Things-master/hardware/chip/smarth_rv64/hal/
A Duart.c29 kstat_t err_code; in hal_uart_init() local
34 err_code = krhino_buf_queue_create(&g_buf_queue_uart, "buf_queue_uart", in hal_uart_init()
36 if(err_code){ in hal_uart_init()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dppp.c325 pcb->err_code = PPPERR_USER; in ppp_close()
335 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_close()
427 *(int *)arg = (int)(pcb->err_code); in ppp_ioctl()
750 pcb->err_code = PPPERR_OPEN; in ppp_link_failed()
751 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_link_failed()
758 if (pcb->err_code == PPPERR_NONE) { in ppp_link_end()
759 pcb->err_code = PPPERR_CONNECT; in ppp_link_end()
761 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in ppp_link_end()
1179 pcb->err_code = PPPERR_NONE; in sifup()
1183 pcb->link_status_cb(pcb, pcb->err_code, pcb->ctx_cb); in sifup()
[all …]
A Dauth.c798 pcb->err_code = PPPERR_AUTHFAIL; in link_established()
1039 pcb->err_code = PPPERR_AUTHFAIL; in auth_peer_fail()
1129 pcb->err_code = PPPERR_AUTHFAIL; in auth_withpeer_fail()
1342 pcb->err_code = PPPERR_IDLETIMEOUT; in check_idle()
1360 pcb->err_code = PPPERR_CONNECTTIME; in connect_time_expired()
A Dlcp.c1564 pcb->err_code = PPPERR_LOOPBACK; in lcp_nakci()
2644 pcb->err_code = PPPERR_PEERDEAD; in LcpLinkFailure()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/homepage/
A Dhomepage.md83 uint8_t err_code;
85 err_code = hardware_init();
86 if (err_code != 0) {
87 return err_code;
92 return err_code;
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_llcp.h171 uint8_t err_code; member
275 uint8_t err_code; member
357 uint8_t err_code; member
/AliOS-Things-master/components/uvoice/codec/opensource/pvmp3/
A Doscl_base.h19 #define OSCL_LEAVE(err_code) do \ argument
/AliOS-Things-master/components/uvoice/codec/opensource/pvaac/oscl/
A Doscl_base.h19 #define OSCL_LEAVE(err_code) do \ argument
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/
A Dppp.h192 typedef void (*ppp_link_status_cb_fn)(ppp_pcb *pcb, int err_code, void *ctx);
316 void (*link_status_cb)(ppp_pcb *pcb, int err_code, void *ctx); /* Status change callback */
323 u8_t err_code; /* Code indicating why interface is down. */ member
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/
A Dppp.h192 typedef void (*ppp_link_status_cb_fn)(ppp_pcb *pcb, int err_code, void *ctx);
316 void (*link_status_cb)(ppp_pcb *pcb, int err_code, void *ctx); /* Status change callback */
323 u8_t err_code; /* Code indicating why interface is down. */ member
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.h542 #define duk_error(ctx,err_code,...) \ argument
543 …(duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DU…
567 …EXTERNAL_DECL duk_ret_t duk_error_stash(duk_context *ctx, duk_errcode_t err_code, const char *fmt,…
611 #define duk_error_va(ctx,err_code,fmt,ap) \ argument
612 …(duk_error_va_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) …
742 DUK_EXTERNAL_DECL duk_idx_t duk_push_error_object_raw(duk_context *ctx, duk_errcode_t err_code, con…
745 #define duk_push_error_object(ctx,err_code,...) \ argument
746 …duk_push_error_object_raw((ctx), (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LIN…
748 DUK_EXTERNAL_DECL duk_idx_t duk_push_error_object_stash(duk_context *ctx, duk_errcode_t err_code, c…
757 #define duk_push_error_object_va(ctx,err_code,fmt,ap) \ argument
[all …]
A Dduktape.c29185 if (err_code & DUK_ERRCODE_FLAG_NOBLAME_FILELINE) { in duk_push_error_object_va_raw()
29189 err_code = err_code & (~DUK_ERRCODE_FLAG_NOBLAME_FILELINE); in duk_push_error_object_va_raw()
29192 proto = duk_error_prototype_from_code(thr, err_code); in duk_push_error_object_va_raw()
29210 duk_push_int(thr, err_code); in duk_push_error_object_va_raw()
29232 ret = duk_push_error_object_va_raw(thr, err_code, filename, line, fmt, ap); in duk_push_error_object_raw()
29249 ret = duk_push_error_object_va_raw(thr, err_code, filename, line, fmt, ap); in duk_push_error_object_stash()
30165 duk_push_error_object_va_raw(thr, err_code, filename, line, fmt, ap); in duk_error_va_raw()
30176 duk_push_error_object_va_raw(thr, err_code, filename, line, fmt, ap); in duk_error_raw()
30202 duk_push_error_object_va_raw(thr, err_code, filename, line, fmt, ap); in duk__throw_error_from_stash()
30217 DUK__ERROR_STASH_SHARED(err_code); in duk_error_stash()
[all …]
/AliOS-Things-master/components/drivers/external_device/sh1106/src/
A Dsh1106.c803 uint8_t err_code; in sh1106_init() local
805 err_code = hardware_init(); in sh1106_init()
806 if (err_code != 0) { in sh1106_init()
807 return err_code; in sh1106_init()
810 return err_code; in sh1106_init()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_bin_cmds.c31 static void genie_bin_cmds_error(uint8_t err_code) in genie_bin_cmds_error() argument
33 uint8_t code = err_code; in genie_bin_cmds_error()
A Dgenie_time.c276 static int _genie_time_errcode_status(u16_t attr_type, u8_t err_code, u8_t index, uint8_t tid) in _genie_time_errcode_status() argument
285 payload[4] = err_code; in _genie_time_errcode_status()
/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPMessage.c358 CoAPMessage *message, unsigned char err_code) in CoAPErrRespMessage_send() argument
365 CoAPMessageCode_set(&response, err_code); in CoAPErrRespMessage_send()
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c309 int err_code; in TTF_SetFTError() member
320 if (error == ft_errors[i].err_code) { in TTF_SetFTError()

Completed in 313 milliseconds