/freebsd-current/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_misc.c | 89 ng_hci_node_up_ep *ep = NULL; local 103 NG_MKMESSAGE(msg,NGM_HCI_COOKIE,NGM_HCI_NODE_UP,sizeof(*ep),M_NOWAIT); 105 ep = (ng_hci_node_up_ep *)(msg->data); 108 NG_HCI_BUFF_ACL_SIZE(unit->buffer, ep->pkt_size); 109 NG_HCI_BUFF_ACL_TOTAL(unit->buffer, ep->num_pkts); 111 NG_HCI_BUFF_SCO_SIZE(unit->buffer, ep->pkt_size); 112 NG_HCI_BUFF_SCO_TOTAL(unit->buffer, ep->num_pkts); 115 bcopy(&unit->bdaddr, &ep->bdaddr, sizeof(ep->bdaddr));
|
/freebsd-current/usr.bin/showmount/ |
H A D | showmount.c | 345 register struct exportslist *ep; local 354 ep = (struct exportslist *)malloc(sizeof(struct exportslist)); 355 if (ep == NULL) 357 ep->ex_groups = (struct grouplist *)0; 358 strp = ep->ex_dirp; 370 gp->gr_next = ep->ex_groups; 371 ep->ex_groups = gp; 375 ep->ex_next = *exp; 376 *exp = ep;
|
/freebsd-current/contrib/tcsh/ |
H A D | tw.help.c | 103 size_t ep; local 121 ep = full.len; 123 full.len = ep;
|
/freebsd-current/bin/ed/ |
H A D | undo.c | 134 line_t *lp, *ep, *tl; local 138 ep = ustack[u_p].t->q_forw; 139 for (lp = ustack[u_p].h; lp != ep; lp = tl) {
|
/freebsd-current/usr.sbin/acpi/acpidb/ |
H A D | acpidb.c | 191 char buf[16], *ep; local 212 val = strtoq(buf, &ep, 16); 214 val = strtoq(buf, &ep, 10); 224 char buf[256], *np, *ep; local 239 rc.regtype = strtoq(np, &ep, 10); 240 if (np == ep) { 243 np = ep; 246 rc.addr = strtoq(np, &ep, 16); 247 if (np == ep) { 250 np = ep; [all...] |
/freebsd-current/contrib/file/src/ |
H A D | is_tar.c | 107 const unsigned char *p, *ep; local 127 ep = header->charptr + sizeof(*header); 128 while (p < ep)
|
/freebsd-current/usr.bin/m4/ |
H A D | extern.h | 132 if (ep >= endest) \ 134 *ep++ = (c); \ 167 extern char *ep; /* first free char in strspace */
|
/freebsd-current/bin/stty/ |
H A D | cchar.c | 91 char *arg, *ep, *name; local 113 val = strtol(arg, &ep, 10); 119 if (*ep != '\0') {
|
/freebsd-current/sbin/mknod/ |
H A D | mknod.c | 61 char *ep; local 68 val = strtoul(name, &ep, 10); 71 if (*ep != '\0')
|
/freebsd-current/contrib/ntp/util/ |
H A D | lsf-times.c | 51 char *ep; local 58 expires = strtouv64(argv[1], &ep, 10); 60 if (0 == *ep) {
|
/freebsd-current/contrib/tcpdump/ |
H A D | addrtoname.c | 431 /* Find the hash node that corresponds the ether address 'ep' */ 434 lookup_emem(netdissect_options *ndo, const u_char *ep) argument 439 k = (ep[0] << 8) | ep[1]; 440 j = (ep[2] << 8) | ep[3]; 441 i = (ep[4] << 8) | ep[5]; 588 etheraddr_string(netdissect_options *ndo, const uint8_t *ep) argument 596 tp = lookup_emem(ndo, ep); 640 le64addr_string(netdissect_options *ndo, const uint8_t *ep) argument 670 linkaddr_string(netdissect_options *ndo, const uint8_t *ep, const unsigned int type, const unsigned int len) argument 957 struct pcap_etherent *ep; local [all...] |
H A D | print-atalk.c | 428 const u_char *ep; local 441 /* ep points to end of available data */ 442 ep = ndo->ndo_snapend; 443 if ((const u_char *)tp > ep) { 454 if ((const u_char *)(tp + 1) > ep) { 458 (void)nbp_name_print(ndo, tp, ep); 482 tp = nbp_tuple_print(ndo, tp, ep, snet, snode, skt); 495 const u_char *cp, const u_char *ep) 499 if (cp >= ep) { 512 if (cp >= ep) { 494 print_cstring(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 524 nbp_tuple_print(netdissect_options *ndo, const struct atNBPtuple *tp, const u_char *ep, u_short snet, u_char snode, u_char skt) argument 554 nbp_name_print(netdissect_options *ndo, const struct atNBPtuple *tp, const u_char *ep) argument [all...] |
/freebsd-current/sys/dev/usb/template/ |
H A D | usb_template.c | 641 struct usb_hw_ep_scratch_sub *ep, uint8_t is_simplex) 655 if ((!ep->needs_in) && (!ep->needs_out)) { 658 if (ep->needs_ep_type == UE_CONTROL) { 662 if (ep->needs_in) { 698 if (!usb_hw_ep_match(pf, ep->needs_ep_type, dir_in)) { 709 if (max_frame_size >= ep->max_frame_size) { 710 temp = (max_frame_size - ep->max_frame_size); 714 ep->pf = pf; 722 pf = ep 640 usb_hw_ep_find_match(struct usb_hw_ep_scratch *ues, struct usb_hw_ep_scratch_sub *ep, uint8_t is_simplex) argument 921 struct usb_hw_ep_scratch_sub *ep; local [all...] |
/freebsd-current/usr.sbin/rarpd/ |
H A D | rarpd.c | 468 struct ether_header *ep = (struct ether_header *)p; local 469 struct ether_arp *ap = (struct ether_arp *)(p + sizeof(*ep)); 471 if (len < sizeof(*ep) + sizeof(*ap)) { 473 len, (u_long)(sizeof(*ep) + sizeof(*ap))); 479 if (ntohs(ep->ether_type) != ETHERTYPE_REVARP || 487 if (bcmp((char *)&ep->ether_shost, (char *)&ap->arp_sha, 6) != 0) { 505 u_char *buf, *bp, *ep; local 557 ep = bp + cc; 558 while (bp < ep) { 641 struct ether_header *ep; local 707 update_arptab(u_char *ep, in_addr_t ipaddr) argument 842 rarp_reply(struct if_info *ii, struct ether_header *ep, in_addr_t ipaddr, u_int len) argument [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_nmea.c | 1414 char const * ep = (char const*)cp; local 1415 ep = strpbrk(ep, s_eof_chars); 1416 if (ep && nfields) 1417 while (--nfields && ep && *ep == ',') 1418 ep = strpbrk(ep + 1, s_eof_chars); 1419 return (ep) 1420 ? (int)((UCC*)ep 1426 _parse_eof(UCC *cp, UCC ** ep) argument 1434 _parse_sep(UCC *cp, UCC ** ep) argument 1442 _parse_num2d(UCC *cp, UCC ** ep, uint16_t *into) argument 1456 _parse_u16(UCC *cp, UCC **ep, uint16_t *into, unsigned int ndig) argument 1472 _parse_u32(UCC *cp, UCC **ep, uint32_t *into, unsigned int ndig) argument 1493 _parse_frac(UCC *cp, UCC **ep, l_fp *into) argument 1521 _parse_time(UCC *cp, UCC ** ep, TCivilDate *into) argument 1547 _parse_date1(UCC *cp, UCC **ep, TCivilDate *into) argument 1573 _parse_date3(UCC *cp, UCC **ep, TCivilDate *into) argument [all...] |
/freebsd-current/contrib/libucl/src/ |
H A D | ucl_hash.h | 85 * @param ep pointer record exception (such as ENOMEM), could be NULL 88 const void* ucl_hash_iterate2 (ucl_hash_t *hashlin, ucl_hash_iter_t *iter, int *ep);
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_move.c | 122 SLIST_FOREACH(lmp, sp->ep->marks, q) 146 SLIST_FOREACH(lmp, sp->ep->marks, q) 164 SLIST_FOREACH(lmp, sp->ep->marks, q) 180 SLIST_FOREACH(lmp, sp->ep->marks, q)
|
/freebsd-current/sys/contrib/openzfs/module/lua/ |
H A D | lstrlib.c | 320 const char *ep) { 328 case '[': return matchbracketclass(c, p, ep-1); 357 const char *p, const char *ep) { 359 while (singlematch(ms, s + i, p, ep)) 363 const char *res = match(ms, (s+i), ep+1); 372 const char *p, const char *ep) { 374 const char *res = match(ms, s, ep+1); 377 else if (singlematch(ms, s, p, ep)) 453 const char *ep; char previous; local 458 ep 319 singlematch(MatchState *ms, const char *s, const char *p, const char *ep) argument 356 max_expand(MatchState *ms, const char *s, const char *p, const char *ep) argument 371 min_expand(MatchState *ms, const char *s, const char *p, const char *ep) argument 481 const char *ep = classend(ms, p); /* points to optional suffix */ local [all...] |
/freebsd-current/usr.sbin/efivar/ |
H A D | efiutil.c | 122 uint8_t *ep = data + datalen; local 145 len = ucs2len(descr); // XXX need to sanity check that len < (datalen - (ep - walker) / 2) 147 if (walker > ep) 152 if (walker > ep) 157 optlen = ep - walker;
|
/freebsd-current/lib/libc/rpc/ |
H A D | getnetpath.c | 237 char *ep; /* escape pointer */ local 260 ep = npp; 261 while ((np = strchr(ep, '\\')) != NULL) { 264 strcpy(np, (ep = &np[1])); /* XXX: overlapping string copy */
|
/freebsd-current/sbin/dmesg/ |
H A D | dmesg.c | 67 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local 168 ep = &bp[buflen]; 174 for (; p < ep; p = nextp) { 175 nextp = memchr(p, '\n', ep - p);
|
/freebsd-current/contrib/telnet/telnet/ |
H A D | main.c | 117 char *ep, *user; local 199 ultmp = strtoul(optarg, &ep, 0); 200 if (*ep || ep == optarg || ultmp > MAXTOS)
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_util.c | 213 struct usb_endpoint *ep; local 237 ep = usbd_get_ep_by_addr(udev, req->wIndex[0]); 238 if (ep == NULL) 242 usbd_clear_data_toggle(udev, ep);
|
/freebsd-current/stand/i386/isoboot/ |
H A D | isoboot.c | 327 static Elf32_Phdr ep[2]; local 382 if (xfsread(ino, ep + j, sizeof(ep[0]))) 384 if (ep[j].p_type == PT_LOAD) 388 p = PTOV(ep[i].p_paddr & 0xffffff); 389 fs_off = ep[i].p_offset; 390 if (xfsread(ino, p, ep[i].p_filesz)) 393 p += roundup2(ep[1].p_memsz, PAGE_SIZE); 424 char *ep, *p, *q; local 435 ep [all...] |
/freebsd-current/stand/common/ |
H A D | commands.c | 63 char line[81], *cp, *ep; local 76 ep = strchr(cp, ' '); 78 if (ep != NULL) 79 *ep++ = 0; 82 if (ep != NULL) 83 *ep++ = 0; 87 ep = NULL; 89 cp = ep;
|