/dragonfly/contrib/mdocml/ |
H A D | eqn.c | 319 ep->data = ep->start = ep->end = NULL; in eqn_reset() 320 ep->sz = ep->toksz = 0; in eqn_reset() 349 ep->defs[i].keysz, ep->start, ep->toksz)) in eqn_def_find() 392 ep->start = ep->end; in eqn_next() 414 ep->end = strchr(ep->start + 1, *ep->start); in eqn_next() 426 ep->toksz = ep->end - ep->start; in eqn_next() 447 ep->data = mandoc_realloc(ep->data, ep->sz + 1); in eqn_next() 459 ep->start = mandoc_strndup(ep->start, ep->toksz); in eqn_next() 475 ep->start = mandoc_strndup(ep->start, ep->toksz); in eqn_next() 583 ep->odelim = *ep->end++; in eqn_delim() [all …]
|
/dragonfly/sbin/restore/ |
H A D | symtab.c | 82 for (ep = entry[inum % entrytblsize]; ep != NULL; ep = ep->e_next) in lookupino() 143 for (ep = lookupino(UFS_ROOTINO); ep != NULL; ep = ep->e_entries) { in lookupname() 150 for ( ; ep != NULL; ep = ep->e_sibling) in lookupname() 194 memmove(cp, ep->e_name, (long)ep->e_namlen); in myname() 198 ep = ep->e_parent; in myname() 456 for (ep = lookupino(i); ep != NULL; ep = ep->e_links) { in dumpsymtable() 468 for (ep = lookupino(i); ep != NULL; ep = ep->e_links) { in dumpsymtable() 597 for (ep = &baseep[1]; ep < lep; ep++) { in initsymtable() 598 ep->e_name = base + (long)ep->e_name; in initsymtable() 603 ep->e_links = &baseep[(long)ep->e_links]; in initsymtable() [all …]
|
H A D | restore.c | 96 newnode(ep); in addfile() 153 for ( ; ep != NULL; ep = nextep) { in removeoldleaves() 173 for ( ; ep != NULL; ep = ep->e_links) { in removeoldleaves() 239 for (ep = ip->e_links; ep != NULL; ep = ep->e_links) { in nodeupdates() 241 ip = ep; in nodeupdates() 326 newnode(ep); in nodeupdates() 528 for (ep = removelist; ep != NULL; ep = ep->e_next) { in findunreflinks() 562 for (ep = removelist; ep != NULL; ep = *prev) { in removeoldnodes() 573 for (ep = removelist; ep != NULL; ep = ep->e_next) in removeoldnodes() 765 for ( ; ep != NULL; ep = ep->e_links) { in createlinks() [all …]
|
H A D | utilities.c | 55 struct entry *ep; in pathcheck() local 66 if (ep == NULL) { in pathcheck() 69 newnode(ep); in pathcheck() 89 ep->e_name = savename(gentempname(ep)); in mktempname() 90 ep->e_namlen = strlen(ep->e_name); in mktempname() 160 cp = myname(ep); in removenode() 180 cp = myname(ep); in removeleaf() 280 struct entry *ep; in lowerbnd() local 284 if (ep == NULL || ep->e_type == NODE) in lowerbnd() 298 struct entry *ep; in upperbnd() local [all …]
|
/dragonfly/games/hack/ |
H A D | hack.engrave.c | 91 if (x == ep->engr_x && y == ep->engr_y) in engr_at() 93 ep = ep->nxt_engr; in engr_at() 105 if (ep && ep->engr_time <= moves) { in sengr_at() 161 if (ep && ep->engr_txt[0]) { in read_engr_at() 186 ep = alloc(sizeof(*ep) + strlen(s) + 1); in make_engr_at() 192 ep->engr_txt = (char *) (ep + 1); in make_engr_at() 317 ep = alloc(sizeof(*ep) + len + 1); in doengrave() 347 ep = ep->nxt_engr; in save_engravings() 352 ep = ep->nxt_engr; in save_engravings() 368 ep = alloc(sizeof(*ep) + lth); in rest_engravings() [all …]
|
/dragonfly/contrib/nvi2/common/ |
H A D | log.c | 107 ep->l_high = ep->l_cur = 1; in log_init() 157 ep = sp->ep; in log_cursor() 185 ep = sp->ep; in log_cursor1() 204 ep->l_high = ++ep->l_cur; in log_cursor1() 224 ep = sp->ep; in log_line() 262 ep->l_lp, ep->l_len, in log_line() 321 ep = sp->ep; in log_mark() 370 ep = sp->ep; in log_backward() 471 ep = sp->ep; in log_setline() 556 ep = sp->ep; in log_forward() [all …]
|
H A D | line.c | 99 if ((ep = sp->ep) == NULL) { in db_get() 208 if ((ep = sp->ep) == NULL) { in db_delete() 265 if ((ep = sp->ep) == NULL) { in db_append() 337 if ((ep = sp->ep) == NULL) { in db_insert() 399 if ((ep = sp->ep) == NULL) { in db_set() 448 if ((ep = sp->ep) == NULL) { in db_exist() 485 if ((ep = sp->ep) == NULL) { in db_last() 552 EXF *ep = sp->ep; in db_rget() local 577 EXF *ep = sp->ep; in db_rset() local 614 ep = sp->ep; in scr_update() [all …]
|
H A D | exf.c | 153 ep->c_lno = ep->c_nlines = OOBLNO; in file_init() 268 if (mark_init(sp, ep) || log_init(sp, ep)) in file_init() 396 sp->ep = ep; in file_init() 424 (void)ep->db->close(ep->db); in file_init() 629 ep = sp->ep; in file_end() 674 if (ep->db->close != NULL && ep->db->close(ep->db) && !force) { in file_end() 737 ep = sp->ep; in file_write() 1194 ep = sp->ep; in file_encinit() 1281 ep = sp->ep; in file_m1() 1319 ep = sp->ep; in file_m2() [all …]
|
/dragonfly/sys/netbt/ |
H A D | hci_event.c | 245 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_command_status() 300 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_command_compl() 377 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_num_compl_pkts() 448 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_inquiry_result() 485 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_rssi_result() 525 m_copydata(m, 0, sizeof(ep), &ep); in hci_event_con_compl() 532 ep.bdaddr.b[5], ep.bdaddr.b[4], ep.bdaddr.b[3], in hci_event_con_compl() 533 ep.bdaddr.b[2], ep.bdaddr.b[1], ep.bdaddr.b[0], in hci_event_con_compl() 655 ep.bdaddr.b[5], ep.bdaddr.b[4], ep.bdaddr.b[3], in hci_event_con_req() 656 ep.bdaddr.b[2], ep.bdaddr.b[1], ep.bdaddr.b[0], in hci_event_con_req() [all …]
|
/dragonfly/sys/netinet/ |
H A D | ip_encap.c | 174 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap4_input() 177 if (ep->proto >= 0 && ep->proto != proto) in encap4_input() 180 prio = (*ep->func)(m, off, proto, ep->arg); in encap4_input() 268 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap6_input() 271 if (ep->proto >= 0 && ep->proto != proto) in encap6_input() 274 prio = (*ep->func)(m, *offp, proto, ep->arg); in encap6_input() 339 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap_attach() 372 return ep; in encap_attach() 404 return ep; in encap_attach_func() 472 if (bcmp(&s, &ep->src, ep->src.ss_len) == 0 && in mask_match() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | lra-eliminations.c | 122 for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS]; ep++) in print_elim_table() 125 ep->can_eliminate ? "Can" : "Can't", ep->from, ep->to); in print_elim_table() 183 for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS]; ep++) in setup_elimination_map() 185 elimination_map[ep->from] = ep; in setup_elimination_map() 406 ? ep->offset - ep->previous_offset : ep->offset); in lra_eliminate_regs_1() 470 (ep->offset - ep->previous_offset) in lra_eliminate_regs_1() 1206 ep->previous_offset = ep->offset; in update_reg_eliminate() 1219 if (ep->can_eliminate != prev && elimination_map[ep->from] == ep) in update_reg_eliminate() 1226 ep->from, ep->to); in update_reg_eliminate() 1260 INITIAL_ELIMINATION_OFFSET (ep->from, ep->to, ep->offset); in update_reg_eliminate() [all …]
|
/dragonfly/lib/libtelnet/ |
H A D | encrypt.c | 143 while (ep->type && ep->type != type) in findencryption() 144 ++ep; in findencryption() 145 return(ep->type ? ep : 0); in findencryption() 155 while (ep->type && ep->type != type) in finddecryption() 156 ++ep; in finddecryption() 157 return(ep->type ? ep : 0); in finddecryption() 202 ++ep; in encrypt_init() 216 ++ep; in encrypt_list_types() 496 if (!ep) in encrypt_support() 648 ++ep; in encrypt_session_key() [all …]
|
/dragonfly/usr.bin/w/ |
H A D | w.c | 233 utx->ut_ss.ss_len, ep->host, sizeof(ep->host), NULL, 0, in main() 244 *nextp = ep; in main() 247 process(ep); in main() 284 for (ep = ehead; ep != NULL; ep = ep->next) { in main() 307 if (ep->pid != 0 && ep->pid == kp->kp_pid) { in main() 322 for (ep = ehead; ep != NULL; ep = ep->next) { in main() 327 ep->args = fmt_argv(kvm_getargv(kd, ep->kp, argwidth), in main() 374 for (ep = ehead; ep != NULL; ep = ep->next) { in main() 428 ep->line : ep->line + 3, in main() 559 ep->tdev = 0; in process() [all …]
|
/dragonfly/sys/netgraph7/bluetooth/hci/ |
H A D | ng_hci_evnt.c | 387 for (; ep->num_responses > 0; ep->num_responses --) { in inquiry_result() 476 if (ep->status != 0) in con_compl() 500 if (ep->status != 0) in con_compl() 664 if (ep->status == 0) { in discon_compl() 702 if (ep->status == 0) { in encryption_change() 861 ep->bdaddr.b[5], ep->bdaddr.b[4], in role_change() 862 ep->bdaddr.b[3], ep->bdaddr.b[2], in role_change() 863 ep->bdaddr.b[1], ep->bdaddr.b[0]); in role_change() 868 ep->bdaddr.b[5], ep->bdaddr.b[4], ep->bdaddr.b[3], in role_change() 869 ep->bdaddr.b[2], ep->bdaddr.b[1], ep->bdaddr.b[0]); in role_change() [all …]
|
H A D | ng_hci_ulpi.c | 339 ep->bdaddr.b[5], ep->bdaddr.b[4], ep->bdaddr.b[3], in ng_hci_lp_sco_con_req() 340 ep->bdaddr.b[2], ep->bdaddr.b[1], ep->bdaddr.b[0]); in ng_hci_lp_sco_con_req() 524 ep->con_handle); in ng_hci_lp_discon_req() 588 ep->status = status; in ng_hci_lp_con_cfm() 611 ep->status = status; in ng_hci_lp_con_cfm() 662 bcopy(uclass, ep->uclass, sizeof(ep->uclass)); in ng_hci_lp_con_ind() 663 bcopy(&con->bdaddr, &ep->bdaddr, sizeof(ep->bdaddr)); in ng_hci_lp_con_ind() 788 if (ep->status == 0) { in ng_hci_lp_con_rsp() 850 if (ep->status == 0) { in ng_hci_lp_con_rsp() 898 ep->reason = reason; in ng_hci_lp_discon_ind() [all …]
|
/dragonfly/usr.bin/who/ |
H A D | who.c | 233 struct utmpentry *ehead, *ep; in who_am_i() local 244 for (ep = ehead; ep; ep = ep->next) in who_am_i() 245 if (strcmp(ep->line, p) == 0) { in who_am_i() 248 eprint(ep); in who_am_i() 264 struct utmpentry *ehead, *ep; in process() local 268 for (ep = ehead; ep != NULL; ep = ep->next) in process() 269 eprint(ep); in process() 275 print(ep->name, ep->line, (time_t)ep->tv.tv_sec, ep->host, ep->pid, in eprint() 276 ep->term, ep->exit, ep->sess, ep->type); in eprint() 369 struct utmpentry *ehead, *ep; in quick() local [all …]
|
/dragonfly/sys/vfs/ufs/ |
H A D | ufs_lookup.c | 264 if (ep->d_reclen == 0 || ep->d_reclen > in ufs_lookup() 308 if (ep->d_ino) { in ufs_lookup() 348 if (ep->d_ino) in ufs_lookup() 636 ep->d_reclen < DIRSIZ(OFSFMT(dp), ep) || namlen > MAXNAMLEN) { in ufs_dirbadentry() 649 if (ep->d_name[i]) in ufs_dirbadentry() 806 dsize = ep->d_ino ? DIRSIZ(OFSFMT(dvp), ep) : 0; in ufs_direnter() 813 ep = (struct direct *)((char *)ep + dsize); in ufs_direnter() 827 ep->d_ino = 0; in ufs_direnter() 865 ep = (struct direct *)((char *)ep + dsize); in ufs_direnter() 958 (struct direct *)((char *)ep + ep->d_reclen), dp->i_offset); in ufs_dirremove() [all …]
|
/dragonfly/lib/libc/db/btree/ |
H A D | bt_seq.c | 184 ep->page = h; in __bt_seqset() 185 ep->index = 0; in __bt_seqset() 206 ep->page = h; in __bt_seqset() 307 ep->page = h; in __bt_seqadv() 330 EPG *ep, save; in __bt_first() local 354 save = *ep; in __bt_first() 355 h = ep->page; in __bt_first() 359 save = *ep; in __bt_first() 383 --ep->index; in __bt_first() 399 if (ep->index == NEXTINDEX(ep->page)) { in __bt_first() [all …]
|
/dragonfly/contrib/ncurses/ncurses/tinfo/ |
H A D | entries.c | 71 ENTRY *ep, *last; in _nc_delink_entry() local 73 for (last = 0, ep = headp; ep != 0; last = ep, ep = ep->next) { in _nc_delink_entry() 76 last->next = ep->next; in _nc_delink_entry() 78 if (ep->next != 0) { in _nc_delink_entry() 79 ep->next->last = last; in _nc_delink_entry() 81 if (ep == _nc_head) { in _nc_delink_entry() 82 _nc_head = ep->next; in _nc_delink_entry() 84 if (ep == _nc_tail) { in _nc_delink_entry() 90 return ep; in _nc_delink_entry() 97 ENTRY *ep; in _nc_free_entry() local [all …]
|
/dragonfly/games/gomoku/ |
H A D | pickmove.c | 349 for (ep = sp->s_empty; ep; ep = nep) { in scanframes() 363 for (ep = sp->s_nempty; ep; ep = nep) { in scanframes() 559 for (ep = sp->s_empty; ep; ep = nep) { in addframes() 671 for (ep = osp->s_empty; ep; ep = ep->e_next) { in makecombo() 895 ep->e_emask = 1 << ep->e_off; in makeempty() 896 ep = &einfo[ep->e_frameindex]; in makeempty() 899 ep->e_emask = 1 << ep->e_off; in makeempty() 900 ep = &einfo[ep->e_frameindex]; in makeempty() 1435 ep->e_emask = 1 << ep->e_off; in markcombo() 1436 ep = &einfo[ep->e_frameindex]; in markcombo() [all …]
|
/dragonfly/lib/libc/rpc/ |
H A D | auth_time.c | 152 endpoint *ep; in get_server() local 173 i++, ep++, num_ep++) { in get_server() 181 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) { in get_server() 188 i++, ep++, num_ep++) { in get_server() 196 if (ep->uaddr == NULL || ep->family == NULL || ep->proto == NULL) { in get_server() 203 srv->ep.ep_len = num_ep; in get_server() 204 srv->ep.ep_val = eps; in get_server() 282 ep = srv->ep.ep_val; in __rpc_get_time_offset() 283 epl = srv->ep.ep_len; in __rpc_get_time_offset() 296 useep = &ep[tcp_ep]; in __rpc_get_time_offset() [all …]
|
/dragonfly/usr.bin/rs/ |
H A D | rs.c | 97 ep = getptrs(ep); \ 119 char **ep; in getfile() local 157 *ep = blank; in getfile() 159 *ep = p; in getfile() 172 INCR(ep); in getfile() 183 char **ep; in putfile() local 186 ep = elem; in putfile() 231 char **ep; in prepfile() local 268 for (ep = elem + nelem; ep < lp; ep++) in prepfile() 269 *ep = *(ep - nelem); in prepfile() [all …]
|
/dragonfly/usr.bin/top/ |
H A D | color.c | 297 color_entry *ep; in color_dump() local 320 ep = bytag[i]; in color_dump() 321 while (ep != NULL) in color_dump() 323 fprintf(f, " %s (%d-", ep->tag, ep->min); in color_dump() 324 if (ep->max != 0) in color_dump() 332 ep = ep -> tagnext; in color_dump() 341 color_entry *ep; in color_debug() local 345 ep = entries; in color_debug() 346 while (ep != NULL) in color_debug() 349 ep->tag, ep->min, ep->max, ep->color, color_ansi[(int)ep->color], in color_debug() [all …]
|
/dragonfly/sys/netgraph7/bluetooth/l2cap/ |
H A D | ng_l2cap_llpi.c | 70 ng_hci_lp_con_req_ep *ep = NULL; in ng_l2cap_lp_con_req() local 110 bcopy(bdaddr, &ep->bdaddr, sizeof(ep->bdaddr)); in ng_l2cap_lp_con_req() 111 ep->link_type = NG_HCI_LINK_ACL; in ng_l2cap_lp_con_req() 137 ng_hci_lp_con_cfm_ep *ep = NULL; in ng_l2cap_lp_con_cfm() local 183 if (ep->status == 0) { in ng_l2cap_lp_con_cfm() 205 ng_hci_lp_con_ind_ep *ep = NULL; in ng_l2cap_lp_con_ind() local 348 ng_hci_lp_qos_req_ep *ep = NULL; in ng_l2cap_lp_qos_req() local 390 ep->con_handle = con_handle; in ng_l2cap_lp_qos_req() 391 ep->flags = flow->flags; in ng_l2cap_lp_qos_req() 395 ep->latency = flow->latency; in ng_l2cap_lp_qos_req() [all …]
|
/dragonfly/sys/kern/ |
H A D | subr_eventhandler.c | 60 struct eventhandler_entry *ep; in eventhandler_register() local 97 for (ep = TAILQ_FIRST(&list->el_entries); in eventhandler_register() 98 ep != NULL; in eventhandler_register() 99 ep = TAILQ_NEXT(ep, ee_link)) { in eventhandler_register() 100 if (eg->ee.ee_priority < ep->ee_priority) { in eventhandler_register() 105 if (ep == NULL) in eventhandler_register() 118 struct eventhandler_entry *ep = tag; in eventhandler_deregister() local 123 if (ep != NULL) { in eventhandler_deregister() 126 kfree(ep, M_EVENTHANDLER); in eventhandler_deregister() 130 ep = TAILQ_FIRST(&list->el_entries); in eventhandler_deregister() [all …]
|