Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Dethernetif.c87 extern int rltk_wlan_send(int idx, struct eth_drv_sg *sg_list, int sg_len, int total_len);
92 extern s8 rltk_mii_send(struct eth_drv_sg *sg_list, int sg_len, int total_len);
215 void ethernetif_recv(struct netif *netif, int total_len) in ethernetif_recv() argument
224 if ((total_len > MAX_ETH_MSG) || (total_len < 0)) in ethernetif_recv()
225 total_len = MAX_ETH_MSG; in ethernetif_recv()
228 p = pbuf_alloc(PBUF_RAW, total_len, PBUF_POOL); in ethernetif_recv()
257 void ethernetif_mii_recv(struct netif *netif, int total_len) in ethernetif_mii_recv() argument
263 if ((total_len > MAX_ETH_MSG) || (total_len < 0)) in ethernetif_mii_recv()
264 total_len = MAX_ETH_MSG; in ethernetif_mii_recv()
267 p = pbuf_alloc(PBUF_RAW, total_len, PBUF_POOL); in ethernetif_mii_recv()
A Dqc.c164 int total_len, len, offset=0; in qc_crc() local
171 total_len = part->partition_length; in qc_crc()
173 while(total_len > 0){ in qc_crc()
174 if( 1024 < total_len ){ in qc_crc()
177 len = total_len; in qc_crc()
181 total_len -= len; in qc_crc()
A Dethernetif.h19 void ethernetif_recv(struct netif *netif, int total_len);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/amebad/src/
A Drtk_coex.c69 void bt_coex_handle_cmd_complete_evt(uint16_t opcode, uint16_t cause, uint8_t total_len, uint8_t *p) in bt_coex_handle_cmd_complete_evt() argument
78 total_len--; in bt_coex_handle_cmd_complete_evt()
79 if(total_len <=1) in bt_coex_handle_cmd_complete_evt()
88 rltk_coex_mailbox_to_wifi(p, total_len); in bt_coex_handle_cmd_complete_evt()
A Drtk_coex.h19 void bt_coex_handle_cmd_complete_evt(uint16_t opcode, uint16_t cause, uint8_t total_len, uint8_t *p…
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/
A Dlwip_intf.h49 struct sk_buff * rltk_wlan_alloc_skb(unsigned int total_len);
52 int rltk_wlan_send(int idx, struct eth_drv_sg *sg_list, int sg_len, int total_len);
73 extern void ethernetif_recv(struct netif *netif, int total_len);
A Dlwip_intf.c54 int rltk_wlan_send(int idx, struct eth_drv_sg *sg_list, int sg_len, int total_len) in rltk_wlan_send() argument
80 skb = rltk_wlan_alloc_skb(total_len); in rltk_wlan_send()
/AliOS-Things-master/components/linkkit/wifi_provision/p2p/
A Dawss_wps.c97 static int get_ssid_passwd_from_w(uint8_t *in, int total_len, uint8_t *src, in get_ssid_passwd_from_w() argument
114 if (!in || total_len <= 4 + EXTRA_LEN) { in get_ssid_passwd_from_w()
120 total_len -= 4; in get_ssid_passwd_from_w()
122 if (total_len > W_LEN) { in get_ssid_passwd_from_w()
136 passwd_len = total_len - ssid_len - EXTRA_LEN; /* ssid_len(1B), crc(2B) */ in get_ssid_passwd_from_w()
235 awss_debug("ssid:%s, tlen:%d\r\n", tmp_ssid, total_len); in get_ssid_passwd_from_w()
250 } else if (total_len >= W_LEN - EXTRA_LEN) { in get_ssid_passwd_from_w()
/AliOS-Things-master/components/ble_netconfig/
A Dblecfg_main.c94 static int32_t total_len = 0; /* 完整命令的长度 */ in BleCfg_cmd_parse() local
141 total_len = buf[2] + buf[3] + 4; in BleCfg_cmd_parse()
144 total_len = buf[2] + buf[3] + buf[4] + 5; in BleCfg_cmd_parse()
147 total_len = len; in BleCfg_cmd_parse()
149 cmd_merge = malloc(total_len); in BleCfg_cmd_parse()
158 if ( len > total_len - recv_len) { in BleCfg_cmd_parse()
167 if (recv_len < total_len) { in BleCfg_cmd_parse()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dmonitor.c223 size_t total_len; member
232 for (i = 0; i < length && ctx->total_len < sizeof(ctx->msg); i++) { in monitor_log_out()
241 ctx->msg[ctx->total_len++] = data[i]; in monitor_log_out()
280 ctx.total_len = 0; in monitor_log_put()
291 sizeof(log) + sizeof(id) + ctx.total_len + 1); in monitor_log_put()
301 monitor_send(ctx.msg, ctx.total_len); in monitor_log_put()
A Dl2cap.c1748 int ret, total_len; in l2cap_chan_le_send_sdu() local
1751 total_len = net_buf_frags_len(*buf) + sent; in l2cap_chan_le_send_sdu()
1753 if (total_len > ch->tx.mtu) { in l2cap_chan_le_send_sdu()
1777 for (ret = 0; sent < total_len; sent += ret) { in l2cap_chan_le_send_sdu()
1795 total_len); in l2cap_chan_le_send_sdu()
/AliOS-Things-master/components/http/src/
A Dhttp_formdata.c273 int total_len = 0; in httpclient_formdata_len() local
300 total_len += size; in httpclient_formdata_len()
304 total_len += current->data_len; in httpclient_formdata_len()
305 total_len += strlen(boundary) + 4; in httpclient_formdata_len()
310 return total_len; in httpclient_formdata_len()
A Dhttp_client.c193 int total_len = 0; in httpclient_send_header() local
263 total_len += formdata_len; in httpclient_send_header()
279 total_len += strlen(boundary) + 8; in httpclient_send_header()
280 snprintf(buf, buf_size, "Content-Length: %d\r\n", total_len); in httpclient_send_header()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/crypto/
A Drtl8721dhp_crypto_ram.c50 int total_len = pIE->hmac_seq_last_msglen; in CRYPTO_SendSeqBuf() local
55 if ( total_len < rest_bytes ) { //store into seq buf in CRYPTO_SendSeqBuf()
56 …memcpy((void*)(&pIE->hmac_seq_buf[buf_pos]), (const void*)(pIE->hmac_seq_last_message), total_len); in CRYPTO_SendSeqBuf()
57 pIE->hmac_seq_buf_is_used_bytes += total_len; in CRYPTO_SendSeqBuf()
61 …ret = CRYPTO_ProcessAD(pIE, (u8*)(pIE->hmac_seq_buf), 64, pIV, ivlen, NULL, a2eo, (total_len == r… in CRYPTO_SendSeqBuf()
67 total_len -= rest_bytes; in CRYPTO_SendSeqBuf()
68 pIE->hmac_seq_last_msglen = total_len; in CRYPTO_SendSeqBuf()
72 restlen = total_len & 0x3F; in CRYPTO_SendSeqBuf()
73 bodylen = total_len - restlen; in CRYPTO_SendSeqBuf()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodbluetooth.c1304 size_t total_len; in mp_bluetooth_gattc_on_data_available() local
1309 total_len = 0; in mp_bluetooth_gattc_on_data_available()
1311 total_len += data_len[i]; in mp_bluetooth_gattc_on_data_available()
1313 uint8_t *buf = m_new(uint8_t, total_len); in mp_bluetooth_gattc_on_data_available()
1323 total_len = *data_len; in mp_bluetooth_gattc_on_data_available()
1330 m_del(uint8_t, (uint8_t *)combined_data, total_len); in mp_bluetooth_gattc_on_data_available()
1539 uint16_t total_len = 0; in mp_bluetooth_gattc_on_data_available() local
1541 total_len += data_len[i]; in mp_bluetooth_gattc_on_data_available()
1545 total_len = MIN(o->irq_data_data_alloc, total_len); in mp_bluetooth_gattc_on_data_available()
1547 if (enqueue_irq(o, 2 + 2 + 2 + total_len, event)) { in mp_bluetooth_gattc_on_data_available()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngwutil.c1749 size_t units_len, total_len; in png_write_pCAL() local
1770 total_len = purpose_len + units_len + 10; in png_write_pCAL()
1783 total_len += params_len[i]; in png_write_pCAL()
1786 png_debug1(3, "pCAL total length = %d", (int)total_len); in png_write_pCAL()
1787 png_write_chunk_header(png_ptr, png_pCAL, (png_uint_32)total_len); in png_write_pCAL()
1813 size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1819 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1821 if (total_len > 64) in png_write_sCAL_s()
1831 png_debug1(3, "sCAL total length = %u", (unsigned int)total_len); in png_write_sCAL_s()
1832 png_write_complete_chunk(png_ptr, png_sCAL, buf, total_len); in png_write_sCAL_s()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Diterator_enc.c125 uint8_t* dst, int len, int total_len) { in ImportLine() argument
128 for (; i < total_len; ++i) dst[i] = dst[len - 1]; in ImportLine()
/AliOS-Things-master/components/websocket/src/
A Drws_socketpriv.c224 size_t total_len = 0; in rws_socket_recv() local
253 total_len += len; in rws_socket_recv()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Ddwc_otg_cil.h153 unsigned total_len:19; member

Completed in 44 milliseconds