| /components/net/lwip/lwip-2.1.2/src/netif/ppp/polarssl/ |
| A D | arc4.c | 50 int i, j, k, a; in arc4_setup() local 60 j = k = 0; in arc4_setup() 62 for( i = 0; i < 256; i++, k++ ) in arc4_setup() 64 if( k >= keylen ) k = 0; in arc4_setup() 67 j = ( j + a + key[k] ) & 0xFF; in arc4_setup()
|
| A D | md5.c | 108 #define P(a,b,c,d,k,s,t) \ in md5_process() argument 110 a += F(b,c,d) + X[k] + t; a = S(a,s) + b; \ in md5_process()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/polarssl/ |
| A D | arc4.c | 50 int i, j, k, a; in arc4_setup() local 60 j = k = 0; in arc4_setup() 62 for( i = 0; i < 256; i++, k++ ) in arc4_setup() 64 if( k >= keylen ) k = 0; in arc4_setup() 67 j = ( j + a + key[k] ) & 0xFF; in arc4_setup()
|
| A D | md5.c | 108 #define P(a,b,c,d,k,s,t) \ in md5_process() argument 110 a += F(b,c,d) + X[k] + t; a = S(a,s) + b; \ in md5_process()
|
| /components/net/lwip/lwip-1.4.1/test/unit/etharp/ |
| A D | test_etharp.c | 77 int k; in create_arp_response() local 100 k = 6; in create_arp_response() 101 while(k > 0) { in create_arp_response() 102 k--; in create_arp_response() 104 etharphdr->shwaddr.addr[k] = test_ethaddr2.addr[k]; in create_arp_response() 105 etharphdr->dhwaddr.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 107 ethhdr->dest.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 108 ethhdr->src.addr[k] = test_ethaddr2.addr[k]; in create_arp_response()
|
| /components/net/lwip/lwip-2.0.3/test/unit/etharp/ |
| A D | test_etharp.c | 78 int k; in create_arp_response() local 101 k = 6; in create_arp_response() 102 while(k > 0) { in create_arp_response() 103 k--; in create_arp_response() 105 etharphdr->shwaddr.addr[k] = test_ethaddr2.addr[k]; in create_arp_response() 106 etharphdr->dhwaddr.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 108 ethhdr->dest.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 109 ethhdr->src.addr[k] = test_ethaddr2.addr[k]; in create_arp_response()
|
| /components/net/lwip/lwip-2.1.2/test/unit/etharp/ |
| A D | test_etharp.c | 79 int k; in create_arp_response() local 102 k = 6; in create_arp_response() 103 while(k > 0) { in create_arp_response() 104 k--; in create_arp_response() 106 etharphdr->shwaddr.addr[k] = test_ethaddr2.addr[k]; in create_arp_response() 107 etharphdr->dhwaddr.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 109 ethhdr->dest.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 110 ethhdr->src.addr[k] = test_ethaddr2.addr[k]; in create_arp_response()
|
| /components/net/lwip/lwip-2.1.2/test/unit/tcp/ |
| A D | test_tcp_oos.c | 463 int i, k; in START_TEST() local 492 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 506 EXPECT_OOSEQ(count == k+1); in START_TEST() 550 int i, k; in START_TEST() local 579 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 636 int i, k; in START_TEST() local 664 for(k = 1, i = 1; k < TCP_OOSEQ_MAX_BYTES; k += TCP_MSS, i++) { in START_TEST() 685 p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[k+1], 1, k+1, 0, TCP_ACK); in START_TEST() 808 int i, k; in test_tcp_recv_ooseq_double_FINs() local 836 k = 1; in test_tcp_recv_ooseq_double_FINs() [all …]
|
| /components/net/lwip/lwip-2.0.3/test/unit/tcp/ |
| A D | test_tcp_oos.c | 464 int i, k; in START_TEST() local 499 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 513 EXPECT_OOSEQ(count == k+1); in START_TEST() 557 int i, k; in START_TEST() local 592 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 649 int i, k; in START_TEST() local 683 for(k = 1, i = 1; k < TCP_OOSEQ_MAX_BYTES; k += TCP_MSS, i++) { in START_TEST() 704 p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[k+1], 1, k+1, 0, TCP_ACK); in START_TEST() 833 int i, k; in test_tcp_recv_ooseq_double_FINs() local 867 k = 1; in test_tcp_recv_ooseq_double_FINs() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | memp.c | 131 u16_t k; in memp_overflow_check_element_overflow() local 134 for (k = 0; k < MEMP_SANITY_REGION_AFTER_ALIGNED; k++) { in memp_overflow_check_element_overflow() 135 if (m[k] != 0xcd) { in memp_overflow_check_element_overflow() 158 u16_t k; in memp_overflow_check_element_underflow() local 161 for (k = 0; k < MEMP_SANITY_REGION_BEFORE_ALIGNED; k++) { in memp_overflow_check_element_underflow() 162 if (m[k] != 0xcd) { in memp_overflow_check_element_underflow()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | memp.c | 219 u16_t k; in memp_overflow_check_element_overflow() local 223 for (k = 0; k < MEMP_SANITY_REGION_AFTER_ALIGNED; k++) { in memp_overflow_check_element_overflow() 224 if (m[k] != 0xcd) { in memp_overflow_check_element_overflow() 252 u16_t k; in memp_overflow_check_element_underflow() local 256 for (k = 0; k < MEMP_SANITY_REGION_BEFORE_ALIGNED; k++) { in memp_overflow_check_element_underflow() 257 if (m[k] != 0xcd) { in memp_overflow_check_element_underflow()
|
| /components/net/lwip/lwip-1.4.1/test/unit/tcp/ |
| A D | test_tcp_oos.c | 456 int i, k; in START_TEST() local 489 for(i = TCP_MSS, k = 0; i < TCP_WND; i += TCP_MSS, k++) { in START_TEST() 503 EXPECT_OOSEQ(count == k+1); in START_TEST() 506 expected_datalen = (k+1)*TCP_MSS; in START_TEST() 516 …p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_A… in START_TEST() 546 int i, k; in START_TEST() local 578 for(k = 1, i = 1; k < TCP_OOSEQ_MAX_BYTES; k += TCP_MSS, i++) { in START_TEST() 599 p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[k+1], 1, k+1, 0, TCP_ACK); in START_TEST() 726 int i, k; in test_tcp_recv_ooseq_double_FINs() local 759 k = 1; in test_tcp_recv_ooseq_double_FINs() [all …]
|
| /components/net/lwip/port/ |
| A D | sys_arch.c | 641 u16_t k; in mem_overflow_check_raw() local 646 for (k = 0; k < MEM_SANITY_REGION_AFTER_ALIGNED; k++) { in mem_overflow_check_raw() 647 if (m[k] != 0xcd) { in mem_overflow_check_raw() 657 for (k = 0; k < MEM_SANITY_REGION_BEFORE_ALIGNED; k++) { in mem_overflow_check_raw() 658 if (m[k] != 0xcd) { in mem_overflow_check_raw()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | mem.c | 100 u16_t k; in mem_overflow_check_raw() local 105 for (k = 0; k < MEM_SANITY_REGION_AFTER_ALIGNED; k++) { in mem_overflow_check_raw() 106 if (m[k] != 0xcd) { in mem_overflow_check_raw() 116 for (k = 0; k < MEM_SANITY_REGION_BEFORE_ALIGNED; k++) { in mem_overflow_check_raw() 117 if (m[k] != 0xcd) { in mem_overflow_check_raw()
|
| /components/legacy/usb/usbdevice/core/ |
| A D | usbdevice_core.c | 375 struct rt_list_node *i, *j, *k; in _set_config() local 413 for(k=setting->ep_list.next; k != &setting->ep_list; k=k->next) in _set_config() 415 ep = (uep_t)rt_list_entry(k, struct uendpoint, list); in _set_config() 1493 struct rt_list_node *i, *j, *k; in rt_usbd_find_endpoint() local 1507 for(k=intf->curr_setting->ep_list.next; in rt_usbd_find_endpoint() 1508 k!=&intf->curr_setting->ep_list; k=k->next) in rt_usbd_find_endpoint() 1510 ep = (uep_t)rt_list_entry(k, struct uendpoint, list); in rt_usbd_find_endpoint() 1535 struct rt_list_node *i, *j, *k, *m; in rt_usbd_device_add_config() local 1560 for(k=intf->setting_list.next; k!=&intf->setting_list;k=k->next) in rt_usbd_device_add_config() 1562 altsetting = (ualtsetting_t)rt_list_entry(k, struct ualtsetting, list); in rt_usbd_device_add_config()
|
| /components/drivers/usb/cherryusb/class/audio/ |
| A D | usbh_audio.c | 78 … for (uint8_t k = 0; k < audio_class->as_msg_table[i].as_format[j].bSamFreqType; k++) { in usbh_audio_open() local 81 … memcpy(&freq, &audio_class->as_msg_table[i].as_format[j].tSamFreq[3 * k], 3); in usbh_audio_open() 368 for (uint8_t k = 0; k < audio_class->as_msg_table[i].as_format[j].bSamFreqType; k++) { in usbh_audio_list_module() local 371 memcpy(&freq, &audio_class->as_msg_table[i].as_format[j].tSamFreq[3 * k], 3); in usbh_audio_list_module()
|
| /components/drivers/usb/cherryusb/core/ |
| A D | usbh_core.c | 319 … for (uint8_t k = 0; k < hport->config.intf[i].altsetting[j].intf_desc.bNumEndpoints; k++) { in usbh_print_hubport_info() local 321 …AW("\t\tbLength: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bLength); in usbh_print_hubport_info() 322 …"\t\tbDescriptorType: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bDescriptor… in usbh_print_hubport_info() 323 …"\t\tbEndpointAddress: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bEndpointAd… in usbh_print_hubport_info() 324 …"\t\tbmAttributes: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bmAttribute… in usbh_print_hubport_info() 325 …"\t\twMaxPacketSize: 0x%04x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.wMaxPacketS… in usbh_print_hubport_info() 326 …("\t\tbInterval: 0x%02x \r\n", hport->config.intf[i].altsetting[j].ep[k].ep_desc.bInterval); in usbh_print_hubport_info()
|
| /components/libc/compilers/common/ |
| A D | ctime.c | 177 int k = __isleap(i) ? 366 : 365; in gmtime_r() local 178 if (work >= k) in gmtime_r() 179 work -= k; in gmtime_r()
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | CHANGELOG | 474 - Added PPPoL2TP LAC support (a.k.a. UDP tunnels), adding a VPN client
|
| /components/net/lwip/lwip-2.1.2/ |
| A D | CHANGELOG | 727 - Added PPPoL2TP LAC support (a.k.a. UDP tunnels), adding a VPN client
|