| /components/drivers/usb/cherryusb/common/ |
| A D | usb_list.h | 38 l->next = NULL; in usb_slist_init() 44 l->next = n; in usb_slist_add_head() 73 l = l->next; in usb_slist_insert() 90 return l; in usb_slist_remove() 113 l = l->next; in usb_slist_contains() 127 l = l->next; in usb_slist_tail() 130 return l; in usb_slist_tail() 244 l->next = l->prev = l; in usb_dlist_init() 258 l->next = n; in usb_dlist_insert_after() 259 n->prev = l; in usb_dlist_insert_after() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | ppp_impl.h | 195 #define GETLONG(l, cp) { \ argument 196 (l) = *(cp); (cp)++; (l) <<= 8; \ 197 (l) |= *(cp); (cp)++; (l) <<= 8; \ 198 (l) |= *(cp); (cp)++; (l) <<= 8; \ 199 (l) |= *(cp); (cp)++; \ 201 #define PUTLONG(l, cp) { \ argument 205 *(cp)++ = (u_char) (l); \ 212 #define BCMP(s0, s1, l) memcmp((u_char *)(s0), (u_char *)(s1), (l)) argument 213 #define BCOPY(s, d, l) MEMCPY((d), (s), (l)) argument 217 #define PRINTMSG(m, l) { m[l] = '\0'; LWIP_DEBUGF(LOG_INFO, ("Remote message: %s\n", m)); } argument [all …]
|
| A D | ipcp.c | 374 u32_t l; \ in ipcp_addci() 392 u32_t l; \ in ipcp_addci() 469 u32_t l; \ in ipcp_ackci() 479 GETLONG(l, p); \ in ipcp_ackci() 495 u32_t l; \ in ipcp_ackci() 505 GETLONG(l, p); \ in ipcp_ackci() 570 GETLONG(l, p); \ in ipcp_nakci() 602 GETLONG(l, p); \ in ipcp_nakci() 769 u32_t l; \ in ipcp_rejci() 819 u32_t l; \ in ipcp_rejci() [all …]
|
| A D | auth.c | 290 int l; 313 l = strlen(user); 314 if (l > 0 && user[l-1] == '\n') 315 user[l-1] = 0; 316 l = strlen(passwd); 317 if (l > 0 && passwd[l-1] == '\n') 318 passwd[l-1] = 0; 358 int l = strlen(addr); 361 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l + 1); 366 BCOPY(addr, wp->word, l);
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | multilink.c | 125 int l, mtu; in mp_join_bundle() local 188 l = p - bundle_id; in mp_join_bundle() 309 int l; in make_bundle_links() local 325 p = malloc(l); in make_bundle_links() 349 int l; in remove_bundle_link() local 365 l = strlen(q) + 1; in remove_bundle_link() 366 memmove(p, q, l); in remove_bundle_link() 548 int i, l; local 588 for (l = 0; l < MAX_ENDP_LEN; ++l) { 599 ep->value[l] = (ep->value[l] << 4) + hexc_val(*str++); [all …]
|
| A D | ipcp.c | 814 u32_t l; \ in ipcp_addci() 847 u32_t l; \ in ipcp_addci() 861 u32_t l; \ in ipcp_addci() 939 u32_t l; \ in ipcp_ackci() 984 u32_t l; \ in ipcp_ackci() 1001 u32_t l; \ in ipcp_ackci() 1018 u32_t l; \ in ipcp_ackci() 1363 u32_t l; \ in ipcp_rejci() 1408 u32_t l; \ in ipcp_rejci() 1425 u32_t l; \ in ipcp_rejci() [all …]
|
| A D | utils.c | 524 int l, n; 536 l = (eol == NULL)? n: eol - buf; 537 if (linep + l < line + sizeof(line)) { 538 if (l > 0) { 539 memcpy(linep, buf, l); 540 linep += l; 560 l = buf + n - p; 561 if (l > 0) { 563 linep = line + l; 720 int l = (lcp[2] << 8) + lcp[3]; in ppp_dump_packet() local [all …]
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | multilink.c | 125 int l, mtu; in mp_join_bundle() local 188 l = p - bundle_id; in mp_join_bundle() 309 int l; in make_bundle_links() local 325 p = malloc(l); in make_bundle_links() 349 int l; in remove_bundle_link() local 365 l = strlen(q) + 1; in remove_bundle_link() 366 memmove(p, q, l); in remove_bundle_link() 548 int i, l; local 588 for (l = 0; l < MAX_ENDP_LEN; ++l) { 599 ep->value[l] = (ep->value[l] << 4) + hexc_val(*str++); [all …]
|
| A D | ipcp.c | 814 u32_t l; \ in ipcp_addci() 847 u32_t l; \ in ipcp_addci() 861 u32_t l; \ in ipcp_addci() 939 u32_t l; \ in ipcp_ackci() 984 u32_t l; \ in ipcp_ackci() 1001 u32_t l; \ in ipcp_ackci() 1018 u32_t l; \ in ipcp_ackci() 1363 u32_t l; \ in ipcp_rejci() 1408 u32_t l; \ in ipcp_rejci() 1425 u32_t l; \ in ipcp_rejci() [all …]
|
| A D | utils.c | 526 int l, n; 538 l = (eol == NULL)? n: eol - buf; 539 if (linep + l < line + sizeof(line)) { 540 if (l > 0) { 541 memcpy(linep, buf, l); 542 linep += l; 562 l = buf + n - p; 563 if (l > 0) { 565 linep = line + l; 722 int l = (lcp[2] << 8) + lcp[3]; in ppp_dump_packet() local [all …]
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | xdr.c | 101 long l; in xdr_int() local 104 l = (long) *ip; in xdr_int() 109 *ip = (int) l; in xdr_int() 127 unsigned long l; in xdr_u_int() local 135 *up = (unsigned int) l; in xdr_u_int() 174 long l; in xdr_u_long() local 177 *ulp = (uint32_t) l; in xdr_u_long() 257 long l; in xdr_short() local 262 l = (long) *sp; in xdr_short() 269 *sp = (short) l; in xdr_short() [all …]
|
| /components/drivers/pci/ |
| A D | access.c | 19 #define pci_lock_config(l) do { (void)(l); } while (0) argument 20 #define pci_unlock_config(l) do { (void)(l); } while (0) argument 22 #define pci_lock_config(l) l = rt_spin_lock_irqsave(&rt_pci_lock) argument 23 #define pci_unlock_config(l) rt_spin_unlock_irqrestore(&rt_pci_lock, l) argument
|
| A D | pci_regs.h | 271 #define PCI_PPBMEMBASE(h, l) ((((rt_uint64_t)(h) << 32) + ((l) << 16)) & ~0xfffff) argument 272 #define PCI_PPBMEMLIMIT(h, l) ((((rt_uint64_t)(h) << 32) + ((l) << 16)) | 0xfffff) argument 273 #define PCI_PPBIOBASE(h, l) ((((h) << 16) + ((l) << 8)) & ~0xfff) argument 274 #define PCI_PPBIOLIMIT(h, l) ((((h) << 16) + ((l) << 8)) | 0xfff) argument 306 #define PCI_CBBMEMBASE(l) ((l) & ~0xfffff) argument 307 #define PCI_CBBMEMLIMIT(l) ((l) | 0xfffff) argument 308 #define PCI_CBBIOBASE(l) ((l) & ~0x3) argument 309 #define PCI_CBBIOLIMIT(l) ((l) | 0x3) argument
|
| /components/drivers/include/drivers/ |
| A D | misc.h | 56 #define RT_GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (RT_BITS_PER_LONG - 1 - (h)))) argument 57 #define RT_GENMASK_ULL(h, l) (((~0ULL) << (l)) & (~0ULL >> (RT_BITS_PER_LONG_LONG - 1 - (h)))) argument 135 int l = 0; in rt_ilog2() local 137 while ((1UL << l) < v) in rt_ilog2() 139 l++; in rt_ilog2() 142 return l; in rt_ilog2()
|
| A D | usb_host.h | 224 rt_list_t * l; in rt_usb_instance_find_pipe() local 225 for(l = inst->pipe.next;l != &inst->pipe;l = l->next) in rt_usb_instance_find_pipe() 227 if(rt_list_entry(l,struct upipe,list)->ep.bEndpointAddress == ep_address) in rt_usb_instance_find_pipe() 229 return rt_list_entry(l,struct upipe,list); in rt_usb_instance_find_pipe()
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | ppp_impl.h | 516 #define GETLONG(l, cp) { \ argument 517 (l) = *(cp)++ << 8; \ 518 (l) |= *(cp)++; (l) <<= 8; \ 519 (l) |= *(cp)++; (l) <<= 8; \ 520 (l) |= *(cp)++; \ 522 #define PUTLONG(l, cp) { \ argument 523 *(cp)++ = (u_char) ((l) >> 24); \ 525 *(cp)++ = (u_char) ((l) >> 8); \ 526 *(cp)++ = (u_char) (l); \ 540 #define BCMP(s1, s2, l) memcmp(s1, s2, l) argument [all …]
|
| A D | eui64.h | 89 #define eui64_set32(e, l) do { \ argument 91 (e).e32[1] = lwip_htonl(l); \ 93 #define eui64_setlo32(e, l) eui64_set32(e, l) argument
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | ppp_impl.h | 515 #define GETLONG(l, cp) { \ argument 516 (l) = *(cp)++ << 8; \ 517 (l) |= *(cp)++; (l) <<= 8; \ 518 (l) |= *(cp)++; (l) <<= 8; \ 519 (l) |= *(cp)++; \ 521 #define PUTLONG(l, cp) { \ argument 522 *(cp)++ = (u_char) ((l) >> 24); \ 524 *(cp)++ = (u_char) ((l) >> 8); \ 525 *(cp)++ = (u_char) (l); \ 539 #define BCMP(s1, s2, l) memcmp(s1, s2, l) argument [all …]
|
| A D | eui64.h | 85 #define eui64_set32(e, l) do { \ argument 87 (e).e32[1] = lwip_htonl(l); \ 89 #define eui64_setlo32(e, l) eui64_set32(e, l) argument
|
| /components/lwp/terminal/freebsd/ |
| A D | tty_ttydisc.c | 349 if (CMP_FLAG(l, ICANON)) in ttydisc_read() 499 if (CMP_FLAG(l, FLUSHO)) in ttydisc_write() 685 if (CMP_FLAG(l, FLUSHO)) in ttydisc_echo_force() 734 if (!CMP_FLAG(l, ECHO) && (!CMP_FLAG(l, ECHONL) || c != CNL || quote)) in ttydisc_echo() 806 if (CMP_FLAG(l, ECHO)) in ttydisc_rubchar() 1067 if (CMP_FLAG(l, IEXTEN)) in ttydisc_rint() 1103 if (CMP_FLAG(l, ISIG)) in ttydisc_rint() 1194 if (CMP_FLAG(l, ICANON)) in ttydisc_rint() 1283 if (!CMP_FLAG(l, ICANON) || in ttydisc_rint() 1350 size_t l; in ttydisc_rint_poll() local [all …]
|
| A D | tty_outq.c | 299 size_t l; in ttyoutq_write() local 334 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write() 335 MPASS(l > 0); in ttyoutq_write() 336 memcpy(tob->tob_data + boff, cbuf, l); in ttyoutq_write() 338 cbuf += l; in ttyoutq_write() 339 nbytes -= l; in ttyoutq_write() 340 to->to_end += l; in ttyoutq_write()
|
| A D | tty_inq.c | 295 size_t l; in ttyinq_write() local 330 l = MIN(nbytes, TTYINQ_DATASIZE - boff); in ttyinq_write() 331 MPASS(l > 0); in ttyinq_write() 332 memcpy(tib->tib_data + boff, cbuf, l); in ttyinq_write() 335 ttyinq_set_quotes(tib, boff, l, quote); in ttyinq_write() 337 cbuf += l; in ttyinq_write() 338 nbytes -= l; in ttyinq_write() 339 ti->ti_end += l; in ttyinq_write()
|
| /components/drivers/sdio/sdhci/include/ |
| A D | sdhci.h | 563 #define readsb(p, d, l) ({ __raw_readsb(p,d,l); __iormb(); }) argument 564 #define readsw(p, d, l) ({ __raw_readsw(p,d,l); __iormb(); }) argument 565 #define readsl(p, d, l) ({ __raw_readsl(p,d,l); __iormb(); }) argument 570 #define writesb(p, d, l) ({ __iowmb(); __raw_writesb(p,d,l); }) argument 571 #define writesw(p, d, l) ({ __iowmb(); __raw_writesw(p,d,l); }) argument 572 #define writesl(p, d, l) ({ __iowmb(); __raw_writesl(p,d,l); }) argument
|
| /components/libc/compilers/common/include/posix/ |
| A D | stdlib.h | 25 char *ltoa(long l, char *buffer, int radix); 27 char *ultoa(unsigned long l, char *buffer, int radix);
|
| /components/legacy/fdt/src/ |
| A D | dtb_access.c | 425 size_t l; in dtb_node_property_match_string() local 437 for (i = 0; p < end; i++, p += l) in dtb_node_property_match_string() 439 l = strnlen(p, end - p) + 1; in dtb_node_property_match_string() 440 if (p + l > end) in dtb_node_property_match_string() 465 int l = 0, i = 0; in dtb_node_property_read_string_helper() local 475 for (i = 0; p < end && (!out_strs || i < skip + sz); i++, p += l) in dtb_node_property_read_string_helper() 477 l = strnlen(p, end - p) + 1; in dtb_node_property_read_string_helper() 478 if (p + l > end) in dtb_node_property_read_string_helper()
|