/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/ |
A D | gatt.c | 169 } *e; in event_gatt_discovery() local 176 uuid_str(&e->svc.uuid), e->svc.start_handle, e->svc.end_handle); in event_gatt_discovery() 187 uuid_str(&e->svc_inc.uuid), e->svc_inc.attr_handle, e->svc_inc.start_handle, in event_gatt_discovery() 303 hexdump(e->data, e->len); in event_gatt_read_cb() 551 hexdump(e->data, e->len); in event_gatt_notify() 774 e->conn_handle, e->char_handle, e->len, e->offset); in event_char_write() 775 hexdump(e->data, e->len); in event_char_write() 1068 e->conn_handle, e->char_handle, e->len, e->offset); in event2_char_write() 1069 hexdump(e->data, e->len); in event2_char_write() 1093 memcpy(test_svc.value3 + e->offset, e->data, BLE_MIN(e->len, sizeof(test_svc.value3))); in event2_char_write() [all …]
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/ |
A D | gatt.c | 141 } *e; in event_gatt_discovery() local 148 uuid_str(&e->svc.uuid), e->svc.start_handle, e->svc.end_handle); in event_gatt_discovery() 159 uuid_str(&e->svc_inc.uuid), e->svc_inc.attr_handle, e->svc_inc.start_handle, in event_gatt_discovery() 247 if(!e->len || !e->data){ in event_gatt_read_cb() 251 hexdump(e->data, e->len); in event_gatt_read_cb() 452 hexdump(e->data, e->len); in event_gatt_notify() 745 e->conn_handle, e->char_handle, e->len, e->offset); in event_char_write() 746 hexdump(e->data, e->len); in event_char_write() 1048 e->conn_handle, e->char_handle, e->len, e->offset); in event2_char_write() 1049 hexdump(e->data, e->len); in event2_char_write() [all …]
|
/AliOS-Things-master/components/amp/libjs/ |
A D | init.js | 1 …e=t.Promise,o=e&&"resolve"in e&&"reject"in e&&"all"in e&&"race"in e&&(new e(function(t){n=t}),"fun… class in T.then
|
/AliOS-Things-master/components/ble_host/ble_profiles/ |
A D | ota_server.c | 246 if (e->len == 9 && e->data[0] == OTA_PACKET_START && e->data[1] == OTA_CMD_START in event_char_write() 248 uint32_t firmware_size = e->data[2] << 16 | e->data[3] << 8 | e->data[4]; in event_char_write() 276 if (e->len == 3 && e->data[0] == OTA_PACKET_START && e->data[1] == OTA_CMD_STOP in event_char_write() 283 … else if (e->len == 3 && e->data[0] == OTA_PACKET_START && e->data[1] == OTA_CMD_COMPLETE in event_char_write() 308 ota_recv_data(e->data, e->len); in event_char_write() 322 e->len = 0; in event_char_write() 341 e->len = MIN(e->len, sizeof(ota_rx.rx_buf)); in event_char_read() 346 e->len = MIN(e->len, strlen(rx_char_des)); in event_char_read() 351 e->len = MIN(e->len, strlen(tx_char_des)); in event_char_read() 356 e->len = 0; in event_char_read() [all …]
|
A D | dis.c | 84 e->data = data; in read_dis_info() 85 e->len = len; in read_dis_info() 92 if (e && pnp_id) { in read_pnp_id() 96 e->data = data; in read_pnp_id() 97 e->len = 7; in read_pnp_id() 105 …if (e->char_handle < g_dis.dis_svc_handle || e->char_handle >= g_dis.dis_svc_handle + DIS_IDX_MAX)… in event_char_read() 144 read_pnp_id(e, g_dis.info->pnp_id); in event_char_read() 149 if (e->char_handle == g_dis.manu_num_char_val_handle) { in event_char_read() 155 } else if (e->char_handle == g_dis.hw_rev_char_val_handle) { in event_char_read() 175 if (e->connected == CONNECTED) { in conn_change() [all …]
|
A D | hids.c | 141 e->data = data; in read_report() 142 e->len = len; in read_report() 149 …if (g_hids.conn_handle == 0xFFFF || e->char_handle < g_hids.svc_handle || e->char_handle >= g_hids… in event_char_read() 181 read_report(e, &g_hids.protocol_mode, 1); in event_char_read() 221 …if (g_hids.conn_handle == 0xFFFF || e->char_handle < g_hids.svc_handle || e->char_handle >= g_hids… in event_char_write() 247 g_hids.protocol_mode = e->data[0]; in event_char_write() 263 …if (g_hids.conn_handle == 0xFFFF || e->char_handle < g_hids.svc_handle || e->char_handle >= g_hids… in event_char_ccc_change() 271 g_hids.input_ccc = e->ccc_value; in event_char_ccc_change() 275 g_hids.boot_input_ccc = e->ccc_value; in event_char_ccc_change() 284 if (e->connected == CONNECTED) { in conn_change() [all …]
|
A D | uart_client.c | 62 if (e->connected == CONNECTED) { in conn_change() 64 node->conn_handle = e->conn_handle; in conn_change() 93 if (e->err == 0) { in mtu_exchange() 233 evt_data_gap_dev_find_t *e; in device_find() local 237 e = ⅇ in device_find() 249 if (e->adv_type != ADV_IND) { in device_find() 253 if (e->adv_len > 31) { in device_find() 257 uuid_peer = find_uart_uuid_by_ad(e->adv_data, e->adv_len); in device_find() 263 put_dev_data(&g_dev_list, &e->dev_addr); in device_find() 380 e->len = e->len < RX_MAX_LEN ? e->len : RX_MAX_LEN; in event_notify() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/ |
A D | eui64.h | 56 #define eui64_iszero(e) (((e).e32[0] | (e).e32[1]) == 0) argument 57 #define eui64_equals(e, o) (((e).e32[0] == (o).e32[0]) && \ argument 58 ((e).e32[1] == (o).e32[1])) 59 #define eui64_zero(e) (e).e32[0] = (e).e32[1] = 0; argument 63 #define eui64_magic(e) do { \ argument 64 (e).e32[0] = magic(); \ 65 (e).e32[1] = magic(); \ 66 (e).e8[0] &= ~2; \ 86 (e).e32[0] = 0; \ 87 (e).e32[1] = lwip_htonl(l); \ [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/ |
A D | eui64.h | 56 #define eui64_iszero(e) (((e).e32[0] | (e).e32[1]) == 0) argument 57 #define eui64_equals(e, o) (((e).e32[0] == (o).e32[0]) && \ argument 58 ((e).e32[1] == (o).e32[1])) 59 #define eui64_zero(e) (e).e32[0] = (e).e32[1] = 0; argument 63 #define eui64_magic(e) do { \ argument 64 (e).e32[0] = magic(); \ 65 (e).e32[1] = magic(); \ 66 (e).e8[0] &= ~2; \ 86 (e).e32[0] = 0; \ 87 (e).e32[1] = lwip_htonl(l); \ [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_mem.c | 136 e = ent_get_next(e); in lv_mem_alloc() 139 if(e != NULL) { in lv_mem_alloc() 186 e->header.s.used = 0; in lv_mem_free() 197 e->header.s.d_size += e_next->header.s.d_size + sizeof(e->header); in lv_mem_free() 206 LV_MEM_CUSTOM_FREE(e); in lv_mem_free() 324 lv_mem_ent_t * e; in lv_mem_monitor() local 325 e = NULL; in lv_mem_monitor() 327 e = ent_get_next(e); in lv_mem_monitor() 329 while(e != NULL) { in lv_mem_monitor() 340 e = ent_get_next(e); in lv_mem_monitor() [all …]
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | heapalloc_exc_compressed.py | 17 except NameError as e: 18 print(type(e).__name__, e) 22 except KeyError as e: 23 print(type(e).__name__, e) 27 except NameError as e: 28 print(e.args[0]) 32 except KeyError as e: 33 print(e.args[0]) 40 except NameError as e: 41 print(type(e).__name__) [all …]
|
A D | heapalloc_exc_compressed_emg_exc.py | 20 except NameError as e: 21 print(type(e).__name__, e) 25 except KeyError as e: 26 print(type(e).__name__, e) 30 except NameError as e: 31 print(e.args[0]) 35 except KeyError as e: 36 print(e.args[0])
|
A D | extreme_exc.py | 30 e = Exception( 98 print(repr(e)) 111 e = er 113 print(repr(e)[:10]) 128 e = er 131 print(repr(e)[:10]) 142 e = er 154 def h(e): argument 155 raise e 161 e = er [all …]
|
/AliOS-Things-master/components/py_engine/tests/misc/ |
A D | print_exception.py | 20 def print_exc(e): argument 39 except Exception as e: 41 print_exc(e) 54 except Exception as e: 56 print_exc(e) 64 except Exception as e: 66 print_exc(e) 74 print_exc(e) 76 except Exception as e: 78 print_exc(e) [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | executor_ut.cc | 38 Executor* e = new Executor; in TEST() local 42 e->start(); in TEST() 48 e->instance()->execute(rf0); in TEST() 49 e->instance()->execute(rf1); in TEST() 53 e->shutdown(); in TEST() 63 e->execute(rf0); in TEST() 68 e->start(); in TEST() 70 e->start(); in TEST() 72 e->execute(rf1); in TEST() 73 e->execute(rf2); in TEST() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | jcarith.c | 142 if ((temp = (e->a - 1 + e->c) & 0xFFFF0000L) < e->c) in finish_pass() 147 e->c <<= e->ct; in finish_pass() 235 e->a -= qe; in arith_encode() 243 e->c += e->a; in arith_encode() 255 e->c += e->a; in arith_encode() 271 if (e->zc) in arith_encode() 279 e->sc = 0; in arith_encode() 289 ++e->zc; in arith_encode() 291 if (e->zc) in arith_encode() 296 if (e->sc) { in arith_encode() [all …]
|
/AliOS-Things-master/components/ble_netconfig/ |
A D | blecfg_stack.c | 122 if (e->connected == CONNECTED && e->err == 0) { in BleCfg_event_conn_change() 123 netCfg_info->conn_handle = e->conn_handle; in BleCfg_event_conn_change() 195 __func__, e->conn_handle, e->char_handle, e->len, e->offset); in BleCfg_event_char_read() 198 if (netCfg_info->conn_handle == e->conn_handle) { in BleCfg_event_char_read() 208 if (e->offset + e->len > sizeof(g_BLE_netCfg_gatt_read_char)) { in BleCfg_event_char_read() 214 …memcpy(e->data, g_BLE_netCfg_gatt_read_char + e->offset, BLE_MIN(e->len, sizeof(g_BLE_netCfg_gatt_… in BleCfg_event_char_read() 215 e->len = BLE_MIN(e->len, sizeof(g_BLE_netCfg_gatt_read_char)); in BleCfg_event_char_read() 218 e->len = 0; in BleCfg_event_char_read() 234 __func__, e->conn_handle, e->char_handle, e->len, e->offset); in BleCfg_event_char_write() 244 netCfg_info->miniapp_msg_cb(e->data, e->len); in BleCfg_event_char_write() [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | formatfloat.c | 170 int e, e1; in mp_format_float() local 178 e = 0; in mp_format_float() 207 e += e1; in mp_format_float() 214 if (e == 0) { in mp_format_float() 218 e++; in mp_format_float() 264 e += e1; in mp_format_float() 271 e += 1; in mp_format_float() 305 prec -= (e + 1); in mp_format_float() 308 dec = e; in mp_format_float() 388 e--; in mp_format_float() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | eui64.c | 47 char *eui64_ntoa(eui64_t e) { in eui64_ntoa() argument 51 e.e8[0], e.e8[1], e.e8[2], e.e8[3], in eui64_ntoa() 52 e.e8[4], e.e8[5], e.e8[6], e.e8[7]); in eui64_ntoa()
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | subclass_native3.py | 4 e = MyExc(100, "Some error") variable 5 print(e) 6 print(repr(e)) 7 print(e.args) 11 except MyExc as e: 12 print("Caught exception:", repr(e)) 16 except Exception as e: 17 print("Caught exception:", repr(e))
|
A D | with_raise.py | 22 except Exception as e: 23 print(e) 29 except Exception as e: 30 print(e) 36 except Exception as e: 37 print(e) 43 except Exception as e: 44 print(e)
|
A D | generator_pend_throw.py | 24 except Exception as e: 25 print("raised", repr(e)) 35 except Exception as e: 36 print("raised", repr(e)) 48 except Exception as e: 49 print("raised", repr(e)) 61 except Exception as e: 62 print("raised", repr(e)) 85 except Exception as e: 86 print("raised", repr(e))
|
/AliOS-Things-master/components/py_engine/tests/net_inet/ |
A D | getaddrinfo.py | 11 except OSError as e: 19 except OSError as e: 21 except Exception as e: 29 except Exception as e: 30 print("getaddrinfo raised", e) 37 except Exception as e: 38 print("getaddrinfo raised", e) 45 except Exception as e: 46 print("getaddrinfo raised", e)
|
/AliOS-Things-master/components/py_engine/tests/esp32/ |
A D | resolve_on_connect.py | 20 except Exception as e: 21 print("bind raised", e) 30 except Exception as e: 31 print("bind raised", e) 40 except Exception as e: 41 print("connect raised", e) 50 except OSError as e: 52 except Exception as e: 53 print("connect raised", e)
|
A D | check_err_str.py | 12 except OSError as e: 13 print(e) 21 except OSError as e: 22 print(e) 29 except OSError as e: 30 exc = e 40 except Exception as e: 41 exc = e
|