/freebsd-11.0-release/contrib/unbound/compat/ |
H A D | inet_ntop.c | 123 char *tp, *ep; local 166 ep = tmp + sizeof(tmp); 167 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 172 if (tp + 1 >= ep) 180 if (tp + 1 >= ep) 187 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 192 advance = snprintf(tp, ep - tp, "%x", words[i]); 193 if (advance <= 0 || advance >= ep - tp) 199 if (tp + 1 >= ep) 203 if (tp + 1 >= ep) [all...] |
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | inet_ntop.c | 118 char *tp, *ep; local 159 ep = tmp + sizeof(tmp); 160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 165 if (tp + 1 >= ep) 173 if (tp + 1 >= ep) 180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 185 advance = snprintf(tp, ep - tp, "%x", words[i]); 186 if (advance <= 0 || advance >= ep - tp) 192 if (tp + 1 >= ep) 196 if (tp + 1 >= ep) [all...] |
/freebsd-11.0-release/contrib/libxo/xopo/ |
H A D | xopo.c | 204 char buf[BUFSIZ], *cp, *ep; local 249 ep = cp + strlen(cp); 250 if (ep > cp) 251 ep -= 1; 253 while (isspace((int) *ep) && ep > cp) 254 ep -= 1; 256 if (*ep != '"') 257 *ep += 1; 259 *ep [all...] |
/freebsd-11.0-release/contrib/ldns/compat/ |
H A D | inet_ntop.c | 123 char *tp, *ep; local 166 ep = tmp + sizeof(tmp); 167 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 172 if (tp + 1 >= ep) 180 if (tp + 1 >= ep) 187 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 192 advance = snprintf(tp, ep - tp, "%x", words[i]); 193 if (advance <= 0 || advance >= ep - tp) 199 if (tp + 1 >= ep) 203 if (tp + 1 >= ep) [all...] |
/freebsd-11.0-release/contrib/ntp/ntpd/ |
H A D | ntp_io.c | 297 endpt * ep; member in struct:remaddr 739 for (ifi.ep = ep_list; ifi.ep != NULL; ifi.ep = ifi.ep->elink) 748 endpt *ep 751 ZERO(*ep); 752 ep->fd = INVALID_SOCKET; 753 ep->bfd = INVALID_SOCKET; 754 ep 1719 endpt * ep; local 2197 endpt *ep; local 2665 endpt *ep; local 2698 endpt * ep; local 3081 sendpkt( sockaddr_u * dest, struct interface * ep, int ttl, struct pkt * pkt, int len ) argument 3722 endpt * ep; local 3853 endpt *ep; local 4040 endpt * ep; local [all...] |
/freebsd-11.0-release/usr.bin/env/ |
H A D | env.c | 63 char *altpath, **ep, *p, **parg; local 132 for (ep = environ; *ep; ep++) 133 (void)printf("%s\n", *ep);
|
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-ether.c | 95 register const struct ether_header *ep; local 98 ep = (const struct ether_header *)bp; 101 etheraddr_string(ndo, ESRC(ep)), 102 etheraddr_string(ndo, EDST(ep)))); 104 ether_type = EXTRACT_16BITS(&ep->ether_type); 133 struct ether_header *ep; local 152 ep = (struct ether_header *)p; 155 ether_type = EXTRACT_16BITS(&ep->ether_type); 163 if (llc_print(ndo, p, length, caplen, ESRC(ep), EDST(ep), [all...] |
H A D | print-zeromq.c | 79 zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 107 body_len_captured = ep - cp - header_len; 139 return ep; 145 const u_char *ep = min(ndo->ndo_snapend, cp + len); local 148 while (cp < ep) 149 cp = zmtp1_print_frame(ndo, cp, ep); 214 const u_char *ep = min(ndo->ndo_snapend, cp + len); local 217 while (cp < ep) 218 cp = zmtp1_print_frame(ndo, cp, ep);
|
H A D | print-loopback.c | 60 const u_char *ep = cp + len; local 102 ND_TCHECK2(*cp, ep - cp); 111 const u_char *ep = cp + len; local 131 ND_TCHECK2(*cp, ep - cp);
|
/freebsd-11.0-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_llpi.c | 70 ng_hci_lp_con_req_ep *ep = NULL; local 102 sizeof(*ep), M_NOWAIT); 109 ep = (ng_hci_lp_con_req_ep *) (msg->data); 110 bcopy(bdaddr, &ep->bdaddr, sizeof(ep->bdaddr)); 111 ep->link_type = type; 141 ng_hci_lp_con_cfm_ep *ep = NULL; local 146 if (msg->header.arglen != sizeof(*ep)) { 154 ep = (ng_hci_lp_con_cfm_ep *) (msg->data); 156 con = ng_l2cap_con_by_addr(l2cap, &ep 208 ng_hci_lp_con_ind_ep *ep = NULL; local 291 ng_hci_lp_discon_ind_ep *ep = NULL; local 353 ng_hci_lp_qos_req_ep *ep = NULL; local 415 ng_hci_lp_qos_cfm_ep *ep = NULL; local 442 ng_hci_lp_qos_ind_ep *ep = NULL; local 487 ng_hci_lp_enc_change_ep *ep = NULL; local 919 ng_hci_lp_discon_req_ep *ep = NULL; local [all...] |
/freebsd-11.0-release/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_cmds.c | 164 ng_hci_command_compl_ep *ep = NULL; local 169 NG_HCI_M_PULLUP(e, sizeof(*ep)); 173 ep = mtod(e, ng_hci_command_compl_ep *); 174 NG_HCI_BUFF_CMD_SET(unit->buffer, ep->num_cmd_pkts); 177 if (ep->opcode == 0x0000) { 183 error = complete_command(unit, ep->opcode, &cp); 195 ep->opcode = le16toh(ep->opcode); 196 m_adj(e, sizeof(*ep)); 199 switch (NG_HCI_OGF(ep 269 ng_hci_command_status_ep *ep = NULL; local 878 process_le_status(ng_hci_unit_p unit,ng_hci_command_status_ep *ep, struct mbuf *mcp) argument 941 process_link_control_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument 1000 process_link_policy_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument [all...] |
/freebsd-11.0-release/contrib/nvi/common/ |
H A D | mark.c | 71 EXF *ep) 75 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. 79 SLIST_INIT(ep->marks); 92 EXF *ep) 98 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. 100 while ((lmp = SLIST_FIRST(ep->marks)) != NULL) { 101 SLIST_REMOVE_HEAD(ep->marks, q); 180 SLIST_INSERT_HEAD(sp->ep 69 mark_init( SCR *sp, EXF *ep) argument 90 mark_end( SCR *sp, EXF *ep) argument [all...] |
/freebsd-11.0-release/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 65 static uint32_t ext2_htree_get_block(struct ext2fs_htree_entry *ep); 66 static uint16_t ext2_htree_get_count(struct ext2fs_htree_entry *ep); 67 static uint32_t ext2_htree_get_hash(struct ext2fs_htree_entry *ep); 68 static uint16_t ext2_htree_get_limit(struct ext2fs_htree_entry *ep); 74 static void ext2_htree_set_block(struct ext2fs_htree_entry *ep, 76 static void ext2_htree_set_count(struct ext2fs_htree_entry *ep, 78 static void ext2_htree_set_hash(struct ext2fs_htree_entry *ep, 80 static void ext2_htree_set_limit(struct ext2fs_htree_entry *ep, 144 ext2_htree_get_block(struct ext2fs_htree_entry *ep) argument 146 return (ep 150 ext2_htree_set_block(struct ext2fs_htree_entry *ep, uint32_t blk) argument 156 ext2_htree_get_count(struct ext2fs_htree_entry *ep) argument 162 ext2_htree_set_count(struct ext2fs_htree_entry *ep, uint16_t cnt) argument 168 ext2_htree_get_hash(struct ext2fs_htree_entry *ep) argument 174 ext2_htree_get_limit(struct ext2fs_htree_entry *ep) argument 180 ext2_htree_set_hash(struct ext2fs_htree_entry *ep, uint32_t hash) argument 186 ext2_htree_set_limit(struct ext2fs_htree_entry *ep, uint16_t limit) argument 510 struct ext2fs_direct_2 *ep, *last; local 625 struct ext2fs_direct_2 *ep, *dotdot; local [all...] |
H A D | ext2_lookup.c | 307 struct ext2fs_direct_2 *ep; /* the current directory entry */ local 308 int entryoffsetinblock; /* offset of ep in bp's buffer */ 371 ep = (struct ext2fs_direct_2 *)((char *)bp->b_data + 444 ep = (struct ext2fs_direct_2 *)((char *)bp->b_data + 447 ino = ep->e2d_ino; 529 if (entryoffsetinblock + EXT2_DIR_REC_LEN(ep->e2d_namlen) 532 dp->i_size = entryoffsetinblock+EXT2_DIR_REC_LEN(ep->e2d_namlen); 707 struct ext2fs_direct_2 *ep, *top; local 714 ep = (struct ext2fs_direct_2 *)((char *)data + offset); 718 while (ep < to 954 struct ext2fs_direct_2 *ep, *nep; local 1055 struct ext2fs_direct_2 *ep, *rep; local 1103 struct ext2fs_direct_2 *ep; local [all...] |
/freebsd-11.0-release/lib/libc/resolv/ |
H A D | res_mkquery.c | 107 u_char *cp, *ep; local 131 ep = buf + buflen; 142 if (ep - cp < QFIXEDSZ) 144 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 158 if ((ep - cp) < RRFIXEDSZ) 160 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, 180 if (ep - cp < 1 + RRFIXEDSZ + datalen) 215 u_char *cp, *ep; local 225 ep = buf + buflen; 227 if ((ep 273 register u_char *cp, *ep; local [all...] |
/freebsd-11.0-release/usr.bin/chpass/ |
H A D | edit.c | 202 ENTRY *ep; local 229 for (ep = list;; ++ep) { 230 if (!ep->prompt) { 235 if (ep->len > len) 237 if (strncasecmp(buf, ep->prompt, ep->len) != 0) 239 if (ep->restricted && !master_mode) { 241 tfn, ep->prompt); 256 if (ep [all...] |
/freebsd-11.0-release/usr.sbin/memcontrol/ |
H A D | memcontrol.c | 198 char *ep; local 207 mrd.mr_base = strtouq(optarg, &ep, 0); 208 if ((ep == optarg) || (*ep != 0)) 212 mrd.mr_len = strtouq(optarg, &ep, 0); 213 if ((ep == optarg) || (*ep != 0)) 260 char *ep, *owner; local 268 mrd.mr_base = strtouq(optarg, &ep, 0); 269 if ((ep [all...] |
/freebsd-11.0-release/contrib/smbfs/smbutil/ |
H A D | view.c | 70 struct smb_share_info_1 *rpbuf, *ep; local 119 for (ep = rpbuf, i = 0; i < entries; i++, ep++) { 120 type = le16toh(ep->shi1_type); 121 remark = le32toh(ep->shi1_remark); 125 printf("%-12s %-10s %s\n", ep->shi1_netname,
|
/freebsd-11.0-release/sys/dev/ed/ |
H A D | if_ed_pci.c | 77 struct _pcsid *ep =pci_ids; local 79 while (ep->type && ep->type != type) 80 ++ep; 81 if (ep->desc == NULL) 83 device_set_desc(dev, ep->desc);
|
/freebsd-11.0-release/usr.sbin/bluetooth/bthidd/ |
H A D | lexer.l | 96 char *ep; 98 yylval.num = strtoul(yytext, &ep, 16); 100 return (*ep == '\0'? T_HEXBYTE : T_ERROR);
|
/freebsd-11.0-release/usr.bin/nl/ |
H A D | nl.c | 136 char *ep; local 180 val = strtol(optarg, &ep, 10); 181 if ((ep != NULL && *ep != '\0') || 189 uval = strtoul(optarg, &ep, 10); 190 if ((ep != NULL && *ep != '\0') || 212 val = strtol(optarg, &ep, 10); 213 if ((ep != NULL && *ep ! [all...] |
/freebsd-11.0-release/usr.sbin/mountd/ |
H A D | mountd.c | 994 struct exportlist *ep; local 1067 ep = ex_search(&fsb.f_fsid); 1069 if (ep && (chk_host(ep->ex_defdir, saddr, &defset, &hostset, 1071 ((dp = dirp_search(ep->ex_dirl, dirpath)) && 1074 (defset && scan_tree(ep->ex_defdir, saddr) == 0 && 1075 scan_tree(ep->ex_dirl, saddr) == 0))) { 1089 fhr.fhr_numsecflavors = ep->ex_defnumsecflavors; 1090 fhr.fhr_secflavors = ep->ex_defsecflavors; 1279 struct exportlist *ep; local 1400 struct exportlist *ep, *ep2; local 1713 struct exportlist *ep, *ep2; local 1876 struct exportlist *ep; local 1902 getexp_err(struct exportlist *ep, struct grouplist *grp) argument 1923 struct exportlist *ep; local 1960 hang_dirp(struct dirlist *dp, struct grouplist *grp, struct exportlist *ep, int flags) argument 2008 add_dlist(struct dirlist **dpp, struct dirlist *newdp, struct grouplist *grp, int flags, struct exportlist *ep) argument 2172 parsesec(char *seclist, struct exportlist *ep) argument 2223 do_opt(char **cpp, char **endcpp, struct exportlist *ep, struct grouplist *grp, int *has_hostp, int *exflagsp, struct xucred *cr) argument 2396 free_exp(struct exportlist *ep) argument 2455 do_mount(struct exportlist *ep, struct grouplist *grp, int exflags, struct xucred *anoncrp, char *dirp, int dirplen, struct statfs *fsb) argument [all...] |
/freebsd-11.0-release/contrib/blacklist/port/ |
H A D | _strtoi.h | 53 char *ep; local 59 endptr = &ep;
|
/freebsd-11.0-release/sys/dev/usb/ |
H A D | usb_debug.h | 58 void usb_dump_queue(struct usb_endpoint *ep); 59 void usb_dump_endpoint(struct usb_endpoint *ep);
|
/freebsd-11.0-release/usr.sbin/rtsold/ |
H A D | dump.c | 143 char *ep = &result[sizeof(result)]; local 161 n = snprintf(p, ep - p, "%dd", days); 162 if (n < 0 || n >= ep - p) 168 n = snprintf(p, ep - p, "%dh", hours); 169 if (n < 0 || n >= ep - p) 175 n = snprintf(p, ep - p, "%dm", mins); 176 if (n < 0 || n >= ep - p) 180 snprintf(p, ep - p, "%ds", secs);
|