/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/ |
A D | wpabuf.h | 46 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size() 56 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len() 66 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom() 76 static inline const void *wpabuf_head(const struct wpabuf *buf) in wpabuf_head() 81 static inline const u8 *wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8() 91 static inline void *wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead() 96 static inline u8 *wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8() 101 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8() 110 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16() 119 static inline void wpabuf_put_le32(struct wpabuf *buf, u32 data) in wpabuf_put_le32() [all …]
|
/AliOS-Things-master/components/ble_host/include/net/ |
A D | buf.h | 130 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init() 160 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset() 689 static inline void net_buf_simple_save(struct net_buf_simple *buf, in net_buf_simple_save() 1174 static inline void net_buf_destroy(struct net_buf *buf) in net_buf_destroy() 1280 static inline void *net_buf_user_data(const struct net_buf *buf) in net_buf_user_data() 1309 #define net_buf_add(buf, len) net_buf_simple_add(&(buf)->b, len) argument 1655 #define net_buf_pull_u8(buf) net_buf_simple_pull_u8(&(buf)->b) argument 1797 #define net_buf_tailroom(buf) net_buf_simple_tailroom(&(buf)->b) argument 1809 #define net_buf_headroom(buf) net_buf_simple_headroom(&(buf)->b) argument 1821 #define net_buf_tail(buf) net_buf_simple_tail(&(buf)->b) argument [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | buf.c | 112 int net_buf_id(struct net_buf *buf) in net_buf_id() 122 struct net_buf *buf; in pool_get_uninit() local 131 void net_buf_reset(struct net_buf *buf) in net_buf_reset() 296 static u8_t *data_ref(struct net_buf *buf, u8_t *data) in data_ref() 303 static void data_unref(struct net_buf *buf, u8_t *data) in data_unref() 324 struct net_buf *buf; in net_buf_alloc_len_debug() local 466 struct net_buf *buf; in net_buf_alloc_with_data_debug() local 490 struct net_buf *buf, *frag; in net_buf_get_debug() local 553 struct net_buf *buf, *frag; in net_buf_slist_get() local 667 struct net_buf *net_buf_ref(struct net_buf *buf) in net_buf_ref() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | netbuf.c | 65 struct netbuf *buf; in netbuf_new() local 81 netbuf_delete(struct netbuf *buf) in netbuf_delete() 102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc() 127 netbuf_free(struct netbuf *buf) in netbuf_free() 147 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref() 192 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data() 218 netbuf_next(struct netbuf *buf) in netbuf_next() 240 netbuf_first(struct netbuf *buf) in netbuf_first()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | netbuf.h | 90 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument 92 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument 93 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument 94 #define netbuf_len(buf) ((buf)->p->tot_len) argument 95 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument 96 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument 97 #define netbuf_fromport(buf) ((buf)->port) argument 99 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument 100 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument 104 #define netbuf_destport(buf) ((buf)->toport_chksum) argument [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | netbuf.h | 90 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument 92 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument 93 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument 94 #define netbuf_len(buf) ((buf)->p->tot_len) argument 95 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument 96 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument 97 #define netbuf_fromport(buf) ((buf)->port) argument 99 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument 100 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument 104 #define netbuf_destport(buf) ((buf)->toport_chksum) argument [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uzlib_decompio_gz.py | 10 buf = io.BytesIO( variable 25 buf = io.BytesIO( variable 32 buf = io.BytesIO( variable 39 buf = io.BytesIO( variable 48 buf = io.BytesIO( variable
|
/AliOS-Things-master/components/freetype/src/gzip/ |
A D | adler32.c | 14 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument 15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 17 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 18 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 23 const Bytef *buf, in adler32()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_api.c | 154 struct net_buf *buf; in bt_buf_get_cmd_complete() local 251 struct net_buf *buf; in send_cmd() local 1264 struct net_buf *buf; in hci_api_le_read_remote_version() local 1824 struct net_buf *buf; in hci_api_le_ext_adv_enable() local 1852 struct net_buf *buf; in hci_api_le_set_adv_random_addr() local 1873 struct net_buf *buf; in hci_api_le_ext_scan_enable() local 1896 struct net_buf *buf; in hci_api_le_ext_scan_param_set() local 2006 struct net_buf *buf; in hci_api_le_rpa_timeout_set() local 2024 struct net_buf *buf; in hci_api_le_set_ext_ad_data() local 2046 struct net_buf *buf; in hci_api_le_set_ext_sd_data() local [all …]
|
A D | at.c | 29 int at_check_byte(struct net_buf *buf, char check_byte) in at_check_byte() 77 static int at_parse_result(const char *str, struct net_buf *buf, in at_parse_result() 94 static int get_cmd_value(struct at_client *at, struct net_buf *buf, in get_cmd_value() 124 static int get_response_string(struct at_client *at, struct net_buf *buf, in get_response_string() 160 static int at_state_start(struct at_client *at, struct net_buf *buf) in at_state_start() 173 static int at_state_start_cr(struct at_client *at, struct net_buf *buf) in at_state_start_cr() 186 static int at_state_start_lf(struct at_client *at, struct net_buf *buf) in at_state_start_lf() 318 int at_parse_input(struct at_client *at, struct net_buf *buf) in at_parse_input() 338 static int at_cmd_start(struct at_client *at, struct net_buf *buf, in at_cmd_start() 361 static int at_cmd_get_value(struct at_client *at, struct net_buf *buf, in at_cmd_get_value() [all …]
|
A D | hci_core.c | 294 struct net_buf *buf; in bt_hci_cmd_create() local 524 struct net_buf *buf; in set_le_adv_enable_legacy() local 576 struct net_buf *buf; in set_random_address() local 604 struct net_buf *buf; in set_le_adv_enable_ext() local 683 struct net_buf *buf; in set_adv_random_address() local 1201 struct net_buf *buf; in set_le_ext_scan_enable() local 1254 struct net_buf *buf; in set_le_scan_enable_legacy() local 1612 struct net_buf *buf; in bt_le_create_conn_ext() local 1773 struct net_buf *buf; in bt_le_create_conn_legacy() local 1891 struct net_buf *buf; in bt_le_create_conn_cancel() local [all …]
|
A D | hci_ecc.c | 92 struct net_buf *buf; in send_cmd_status() local 138 struct net_buf *buf; in emulate_le_p256_public_key_cmd() local 177 struct net_buf *buf; in emulate_le_generate_dhkey() local 238 static void clear_ecc_events(struct net_buf *buf) in clear_ecc_events() 252 static void le_gen_dhkey(struct net_buf *buf) in le_gen_dhkey() 286 static void le_p256_pub_key(struct net_buf *buf) in le_p256_pub_key() 304 int bt_hci_ecc_send(struct net_buf *buf) in bt_hci_ecc_send()
|
/AliOS-Things-master/components/ble_host/bt_host/ali_vendormodel_profile/ |
A D | ali_vendormodel_profile.c | 94 struct net_buf_simple *buf) in gen_onoff_get() 110 struct net_buf_simple *buf) in gen_onoff_set_unack() 150 struct net_buf_simple *buf) in gen_onoff_set() 169 struct net_buf_simple *buf) in lightness_get() 175 struct net_buf_simple *buf) in lightness_set() 181 struct net_buf_simple *buf) in lightness_set_unack() 187 struct net_buf_simple *buf) in lightness_status() 193 struct net_buf_simple *buf) in lightness_linear_get() 217 struct net_buf_simple *buf) in lightness_last_get() 241 struct net_buf_simple *buf) in lightness_range_get() [all …]
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/ |
A D | light_lightness_srv.c | 192 struct net_buf_simple *buf) in _light_lightness_get() 200 struct net_buf_simple *buf) in _light_lightness_set() 209 struct net_buf_simple *buf) in _light_lightness_set_unack() 356 struct net_buf_simple *buf) in _light_lightness_linear_get() 384 struct net_buf_simple *buf) in _light_lightness_linear_set_unack() 427 struct net_buf_simple *buf) in _light_lightness_last_get() 461 struct net_buf_simple *buf) in _light_lightness_default_get() 497 struct net_buf_simple *buf) in _light_lightness_range_get() 552 struct net_buf_simple *buf) in _light_lightness_default_set() 563 struct net_buf_simple *buf) in _light_lightness_default_set_unack() [all …]
|
A D | generic_level_srv.c | 56 …8_t _generic_level_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *buf) in _generic_level_analyze() 185 struct net_buf_simple *buf) in _generic_level_get() 194 struct net_buf_simple *buf) in _generic_level_set() 207 struct net_buf_simple *buf) in _generic_level_set_unack() 225 …8_t _generic_delta_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *buf) in _generic_delta_analyze() 299 struct net_buf_simple *buf) in _generic_delta_set() 312 struct net_buf_simple *buf) in _generic_delta_set_unack() 319 …generic_level_move_analyze(struct bt_mesh_model *model, u16_t src_addr, struct net_buf_simple *buf) in _generic_level_move_analyze() 393 struct net_buf_simple *buf) in _generic_move_set() 406 struct net_buf_simple *buf) in _generic_move_set_unack()
|
/AliOS-Things-master/solutions/lora_p2p_demo/ |
A D | sx126x.c | 143 uint8_t buf[2]; in SX126xSetCrcSeed() local 161 uint8_t buf[2]; in SX126xSetCrcPolynomial() local 252 uint8_t buf[3]; in SX126xSetTx() local 264 uint8_t buf[3]; in SX126xSetRx() local 276 uint8_t buf[3]; in SX126xSetRxBoosted() local 290 uint8_t buf[6]; in SX126xSetRxDutyCycle() local 398 uint8_t buf[4]; in SX126xSetPaConfig() local 414 uint8_t buf[8]; in SX126xSetDioIrqParams() local 446 uint8_t buf[4]; in SX126xSetDio3AsTcxoCtrl() local 458 uint8_t buf[4]; in SX126xSetRfFrequency() local [all …]
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_vendor_model.c | 131 struct net_buf_simple *buf) in genie_model_get() 146 struct net_buf_simple *buf) in genie_model_set_ack() 161 struct net_buf_simple *buf) in genie_model_set_unack() 176 struct net_buf_simple *buf) in genie_model_confirm() 208 struct net_buf_simple *buf) in genie_model_get_indicate() 252 struct net_buf_simple *buf) in genie_model_confirm_tg() 296 struct net_buf_simple *buf) in genie_model_transparent() 311 struct net_buf_simple *buf) in genie_model_transparent_ack()
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_cli_cmd.c | 51 static void debug_cmd(char *buf, int32_t len, int32_t argc, char **argv) in debug_cmd() 56 static void version_cmd(char *buf, int32_t len, int32_t argc, char **argv) in version_cmd() 65 static void uptime_cmd(char *buf, int32_t len, int32_t argc, char **argv) in uptime_cmd() 70 static void msleep_cmd(char *buf, int32_t len, int32_t argc, char **argv) in msleep_cmd() 87 static void devname_cmd(char *buf, int32_t len, int32_t argc, char **argv) in devname_cmd() 99 static void pmem_cmd(char *buf, int32_t len, int32_t argc, char **argv) in pmem_cmd() 174 static void mmem_cmd(char *buf, int32_t len, int32_t argc, char **argv) in mmem_cmd() 222 static void func_cmd(char *buf, int32_t len, int32_t argc, char **argv) in func_cmd() 251 static void debug_panic_runto_cli(char *buf, int32_t len, int32_t argc, char **argv) in debug_panic_runto_cli()
|
/AliOS-Things-master/components/linkkit/iot_coap/CoAPPacket/ |
A D | CoAPSerialize_common.c | 11 int CoAPSerialize_Header(CoAPMessage *msg, unsigned char *buf, in CoAPSerialize_Header() 28 int CoAPSerialize_Token(CoAPMessage *msg, unsigned char *buf, in CoAPSerialize_Token() 43 unsigned char *buf) in CoAPSerialize_Option() 88 unsigned short CoAPSerialize_Options(CoAPMessage *msg, unsigned char *buf, in CoAPSerialize_Options() 147 int CoAPSerialize_Payload(CoAPMessage *msg, unsigned char *buf, int buflen) in CoAPSerialize_Payload() 177 int CoAPSerialize_Message(CoAPMessage *msg, unsigned char *buf, in CoAPSerialize_Message()
|
A D | CoAPDeserialize_common.c | 11 int CoAPDeserialize_Header(CoAPMessage *msg, unsigned char *buf) in CoAPDeserialize_Header() 23 int CoAPDeserialize_Token(CoAPMessage *msg, unsigned char *buf) in CoAPDeserialize_Token() 52 static int CoAPDeserialize_Option(CoAPMsgOption *option, unsigned char *buf, in CoAPDeserialize_Option() 98 int CoAPDeserialize_Options(CoAPMessage *msg, unsigned char *buf, int buflen) in CoAPDeserialize_Options() 123 int CoAPDeserialize_Payload(CoAPMessage *msg, unsigned char *buf, int buflen) in CoAPDeserialize_Payload() 138 int CoAPDeserialize_Message(CoAPMessage *msg, unsigned char *buf, int buflen) in CoAPDeserialize_Message()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | adler32.c | 16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument 17 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 18 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 19 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 20 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 63 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() argument 134 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | health_srv.c | 118 struct net_buf_simple *buf) in health_fault_get() 136 struct net_buf_simple *buf) in health_fault_clear_unrel() 152 struct net_buf_simple *buf) in health_fault_clear() 175 struct net_buf_simple *buf) in health_fault_test_unrel() 193 struct net_buf_simple *buf) in health_fault_test() 246 struct net_buf_simple *buf) in attention_get() 255 struct net_buf_simple *buf) in attention_set_unrel() 268 struct net_buf_simple *buf) in attention_set() 294 struct net_buf_simple *buf) in health_period_get() 303 struct net_buf_simple *buf) in health_period_set_unrel() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | network_cyw43.c | 88 mp_buffer_info_t buf; in network_cyw43_send_ethernet() local 100 mp_buffer_info_t buf; in network_cyw43_ioctl() local 324 uint8_t buf[4]; in network_cyw43_config() local 329 uint8_t buf[4]; in network_cyw43_config() local 335 uint8_t buf[36]; in network_cyw43_config() local 340 const uint8_t *buf; in network_cyw43_config() local 346 uint8_t buf[6]; in network_cyw43_config() local 351 uint8_t buf[13]; in network_cyw43_config() local 370 uint8_t buf[4]; in network_cyw43_config() local 387 uint8_t buf[9 + 4]; in network_cyw43_config() local [all …]
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument 19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 21 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 22 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 60 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ssl_cli.c | 56 unsigned char *buf, in ssl_write_hostname_ext() 126 unsigned char *buf, in ssl_write_renegotiation_ext() 170 unsigned char *buf, in ssl_write_signature_algorithms_ext() 362 unsigned char *buf, in ssl_write_ecjpake_kkpp_ext() 440 unsigned char *buf, in ssl_write_max_fragment_length_ext() 618 unsigned char *buf, size_t *olen ) in ssl_write_alpn_ext() 766 unsigned char *buf; in ssl_write_client_hello() local 1114 const unsigned char *buf, in ssl_parse_renegotiation_info() 1312 const unsigned char *buf, in ssl_parse_ecjpake_kkpp() 1490 unsigned char *buf, *ext; in ssl_parse_server_hello() local [all …]
|