/freebsd-current/contrib/less/ |
H A D | pattern.c | 261 static int match(char *pattern, int pattern_len, char *buf, int buf_len, char ***sp, char ***ep, int nsubs) argument 283 *(*ep)++ = lp; 287 **sp = **ep = NULL; 293 * Set sp[0] and ep[0] to the start and end of the matched string. 294 * Set sp[i] and ep[i] to the start and end of the i-th matched subpattern. 297 static int match_pattern1(PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int nsp, int notbol, int search_type) argument 305 matched = match(tpattern, strlen(tpattern), line, line_len, &sp, &ep, nsp); 317 *ep++ = line + search_regs.end[0]; 345 *sp++ = *ep++ = line; 350 *ep 445 match_pattern(PATTERN_TYPE pattern, char *tpattern, char *line, int line_len, char **sp, char **ep, int nsp, int notbol, int search_type) argument [all...] |
/freebsd-current/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_cmds.c | 165 ng_hci_command_compl_ep *ep = NULL; local 170 NG_HCI_M_PULLUP(e, sizeof(*ep)); 174 ep = mtod(e, ng_hci_command_compl_ep *); 175 NG_HCI_BUFF_CMD_SET(unit->buffer, ep->num_cmd_pkts); 178 if (ep->opcode == 0x0000) { 184 error = complete_command(unit, ep->opcode, &cp); 196 ep->opcode = le16toh(ep->opcode); 197 m_adj(e, sizeof(*ep)); 200 switch (NG_HCI_OGF(ep 270 ng_hci_command_status_ep *ep = NULL; local 875 process_le_status(ng_hci_unit_p unit,ng_hci_command_status_ep *ep, struct mbuf *mcp) argument 937 process_link_control_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument 996 process_link_policy_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument [all...] |
/freebsd-current/contrib/nvi/common/ |
H A D | mark.c | 65 mark_init(SCR *sp, EXF *ep) argument 69 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. 73 SLIST_INIT(ep->marks); 84 mark_end(SCR *sp, EXF *ep) argument 90 * ep MAY NOT BE THE SAME AS sp->ep, DON'T USE THE LATTER. 92 while ((lmp = SLIST_FIRST(ep->marks)) != NULL) { 93 SLIST_REMOVE_HEAD(ep->marks, q); 164 SLIST_INSERT_HEAD(sp->ep [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 75 static uint32_t ext2_htree_get_block(struct ext2fs_htree_entry *ep); 76 static uint16_t ext2_htree_get_count(struct ext2fs_htree_entry *ep); 77 static uint32_t ext2_htree_get_hash(struct ext2fs_htree_entry *ep); 78 static uint16_t ext2_htree_get_limit(struct ext2fs_htree_entry *ep); 84 static void ext2_htree_set_block(struct ext2fs_htree_entry *ep, 86 static void ext2_htree_set_count(struct ext2fs_htree_entry *ep, 88 static void ext2_htree_set_hash(struct ext2fs_htree_entry *ep, 90 static void ext2_htree_set_limit(struct ext2fs_htree_entry *ep, 156 ext2_htree_get_block(struct ext2fs_htree_entry *ep) argument 158 return (le32toh(ep 162 ext2_htree_set_block(struct ext2fs_htree_entry *ep, uint32_t blk) argument 168 ext2_htree_get_count(struct ext2fs_htree_entry *ep) argument 174 ext2_htree_set_count(struct ext2fs_htree_entry *ep, uint16_t cnt) argument 180 ext2_htree_get_hash(struct ext2fs_htree_entry *ep) argument 186 ext2_htree_get_limit(struct ext2fs_htree_entry *ep) argument 192 ext2_htree_set_hash(struct ext2fs_htree_entry *ep, uint32_t hash) argument 198 ext2_htree_set_limit(struct ext2fs_htree_entry *ep, uint16_t limit) argument 546 struct ext2fs_direct_2 *ep, *last; local 673 struct ext2fs_direct_2 *ep, *dotdot; local [all...] |
H A D | ext2_lookup.c | 320 struct ext2fs_direct_2 *ep; /* the current directory entry */ local 321 int entryoffsetinblock; /* offset of ep in bp's buffer */ 384 ep = (struct ext2fs_direct_2 *)((char *)bp->b_data + 454 ep = (struct ext2fs_direct_2 *)((char *)bp->b_data + 457 ino = le32toh(ep->e2d_ino); 536 if (entryoffsetinblock + EXT2_DIR_REC_LEN(ep->e2d_namlen) > 713 struct ext2fs_direct_2 *ep, *top; local 720 ep = (struct ext2fs_direct_2 *)((char *)data + offset); 722 while (ep < top) { 723 if (ext2_check_direntry(vdp, ep, offse 976 struct ext2fs_direct_2 *ep, *nep; local 1078 struct ext2fs_direct_2 *ep, *rep; local 1129 struct ext2fs_direct_2 *ep; local [all...] |
/freebsd-current/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-current/usr.bin/chpass/ |
H A D | edit.c | 195 ENTRY *ep; local 222 for (ep = list;; ++ep) { 223 if (!ep->prompt) { 228 if (ep->len > len) 230 if (strncasecmp(buf, ep->prompt, ep->len) != 0) 232 if (ep->restricted && !master_mode) { 234 tfn, ep->prompt); 249 if (ep [all...] |
/freebsd-current/lib/libc/resolv/ |
H A D | res_mkquery.c | 102 u_char *cp, *ep; local 126 ep = buf + buflen; 137 if (ep - cp < QFIXEDSZ) 139 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, 153 if ((ep - cp) < RRFIXEDSZ) 155 n = dn_comp((const char *)data, cp, ep - cp - RRFIXEDSZ, 175 if (ep - cp < 1 + RRFIXEDSZ + datalen) 210 u_char *cp, *ep; local 220 ep = buf + buflen; 222 if ((ep 268 register u_char *cp, *ep; local [all...] |
/freebsd-current/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-current/usr.bin/nl/ |
H A D | nl.c | 129 char *ep; local 173 val = strtol(optarg, &ep, 10); 174 if ((ep != NULL && *ep != '\0') || 182 uval = strtoul(optarg, &ep, 10); 183 if ((ep != NULL && *ep != '\0') || 205 val = strtol(optarg, &ep, 10); 206 if ((ep != NULL && *ep ! [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_pci.c | 100 nvme_match(uint32_t devid, uint16_t subdevice, struct _pcsid *ep) argument 102 if (devid != ep->devid) 105 if (!ep->match_subdevice) 108 if (subdevice == ep->subdevice) 118 struct _pcsid *ep; local 124 ep = pci_ids; 126 while (ep->devid) { 127 if (nvme_match(devid, subdevice, ep)) 129 ++ep; 131 if (ep [all...] |
/freebsd-current/sys/dev/usb/ |
H A D | usb_debug.h | 61 void usb_dump_queue(struct usb_endpoint *ep); 62 void usb_dump_endpoint(struct usb_endpoint *ep);
|
H A D | usb_debug.c | 173 usb_dump_queue(struct usb_endpoint *ep) argument 178 printf("usb_dump_queue: endpoint=%p xfer: ", ep); 180 TAILQ_FOREACH(xfer, &ep->endpoint_q[x].head, wait_entry) 192 usb_dump_endpoint(struct usb_endpoint *ep) argument 194 if (ep) { 195 printf("usb_dump_endpoint: endpoint=%p", ep); 198 ep->edesc, ep->isoc_next, ep->toggle_next); 200 if (ep [all...] |
/freebsd-current/usr.sbin/rtsold/ |
H A D | dump.c | 162 char *ep = &result[sizeof(result)]; local 180 n = snprintf(p, ep - p, "%dd", days); 181 if (n < 0 || n >= ep - p) 187 n = snprintf(p, ep - p, "%dh", hours); 188 if (n < 0 || n >= ep - p) 194 n = snprintf(p, ep - p, "%dm", mins); 195 if (n < 0 || n >= ep - p) 199 snprintf(p, ep - p, "%ds", secs);
|
/freebsd-current/contrib/blocklist/port/ |
H A D | _strtoi.h | 53 char *ep; local 59 endptr = &ep;
|
/freebsd-current/contrib/bearssl/src/rsa/ |
H A D | rsa_i31_pubexp.c | 147 uint32_t ep, eq; local 149 ep = get_pubexp(sk->p, sk->plen, sk->dp, sk->dplen); 151 return ep & -EQ(ep, eq);
|
H A D | rsa_i15_pubexp.c | 147 uint32_t ep, eq; local 149 ep = get_pubexp(sk->p, sk->plen, sk->dp, sk->dplen); 151 return ep & -EQ(ep, eq);
|
/freebsd-current/contrib/nvi/vi/ |
H A D | v_zexit.c | 34 if (F_ISSET(sp->ep, F_MODIFIED) &&
|
/freebsd-current/crypto/openssh/ |
H A D | auth2-pubkeyfile.c | 176 char *ep, *line_opts; local 184 ep = cp + strlen(cp) - 1; 185 while (ep > cp && (*ep == '\n' || *ep == ' ' || *ep == '\t')) 186 *ep-- = '\0'; 193 if ((ep = strrchr(cp, ' ')) != NULL || 194 (ep = strrchr(cp, '\t')) != NULL) { 195 for (; *ep 225 char loc[256], *line = NULL, *cp, *ep; local [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | mktemp.c | 72 char *start, *cp, *ep; local 84 ep = path + len - slen; 87 for (start = ep; start > path && start[-1] == 'X'; start--) { 94 for (cp = start; cp != ep; cp++) {
|
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_entry.c | 139 _nc_wrap_entry(ENTRY * const ep, bool copy_strings) 148 DEBUG(2, (T_CALLED("_nc_wrap_entry(ep=%p, copy_strings=%d)"), (void *) 149 ep, copy_strings)); 150 if (ep == NULL || stringbuf == NULL) 153 nuses = ep->nuses; 154 tp = &(ep->tterm); 167 if (ep->uses[i].name == 0) { 168 ep->uses[i].name = _nc_save_str(ep->uses[i].name); 177 for_each_string(i, &(ep 127 _nc_wrap_entry(ENTRY * const ep, bool copy_strings) argument [all...] |
/freebsd-current/contrib/openbsm/libbsm/ |
H A D | bsm_event.c | 182 struct au_event_ent *ep; local 187 ep = getauevent_r_locked(e); 191 return (ep); 245 struct au_event_ent *ep; local 250 ep = getauevnam_r_locked(e, name); 254 return (ep); 303 struct au_event_ent *ep; local 308 ep = getauevnum_r_locked(e, event_number); 312 return (ep); 339 static struct au_event_ent e, *ep; local [all...] |
/freebsd-current/contrib/openbsm/tools/ |
H A D | audump.c | 195 au_event_ent_t *ep; local 197 while ((ep = getauevent()) != NULL) { 198 printf("%d:%s:%s:", ep->ae_number, ep->ae_name, ep->ae_desc); 199 printf_classmask(ep->ae_class); 209 au_event_ent_t e, *ep; local 217 while ((ep = getauevent_r(&e)) != NULL) { 218 printf("%d:%s:%s:", ep->ae_number, ep [all...] |
/freebsd-current/sbin/ifconfig/ |
H A D | ifipsec.c | 64 char *ep; local 68 v = strtoul(val, &ep, 0); 69 if (*ep != '\0') {
|
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | lib_mouse.c | 173 #define ValidEvent(ep) ((ep)->id != INVALID_EVENT) 174 #define Invalidate(ep) (ep)->id = INVALID_EVENT 196 #define NEXT(ep) ((ep >= LastEV(SP_PARM)) \ 198 : ep + 1) 201 #define PREV(ep) ((ep <= FirstEV(SP_PARM)) \ 203 : ep 215 MEVENT *ep; local 1479 MEVENT *next, *ep; local [all...] |