/src/games/hack/ |
hack.engrave.c | 94 struct engr *ep = head_engr; local in function:engr_at 95 while (ep) { 96 if (x == ep->engr_x && y == ep->engr_y) 97 return (ep); 98 ep = ep->nxt_engr; 106 struct engr *ep = engr_at(x, y); local in function:sengr_at 110 if (ep && ep->engr_time <= moves) 135 struct engr *ep = engr_at(x, y); local in function:wipe_engr_at 165 struct engr *ep = engr_at(x, y); local in function:read_engr_at 187 struct engr *ep; local in function:make_engr_at 209 struct engr *ep, *oep = engr_at(u.ux, u.uy); local in function:doengrave 349 struct engr *ep = head_engr; local in function:save_engravings 366 struct engr *ep; local in function:rest_engravings [all...] |
/src/sbin/restore/ |
utilities.c | 64 struct entry *ep; local in function:pathcheck 74 ep = lookupname(name); 75 if (ep == NULL) { 77 ep = addentry(name, pathsearch(name)->d_ino, NODE); 78 newnode(ep); 80 ep->e_flags |= NEW|KEEP; 89 mktempname(struct entry *ep) 93 if (ep->e_flags & TMPNAME) 94 badentry(ep, "mktempname: called with TMPNAME"); 95 ep->e_flags |= TMPNAME 271 struct entry *ep; local in function:lowerbnd 289 struct entry *ep; local in function:upperbnd [all...] |
symtab.c | 86 struct entry *ep; local in function:lookupino 90 for (ep = entry[inum % entrytblsize]; ep != NULL; ep = ep->e_next) 91 if (ep->e_ino == inum) 92 return (ep); 146 struct entry *ep; local in function:lookupname 152 for (ep = lookupino(UFS_ROOTINO); ep != NULL; ep = ep->e_entries) 173 struct entry *ep; local in function:lookupparent 222 struct entry *np, *ep; local in function:addentry 393 char *cp, *ep; local in function:savename 451 struct entry *ep, *tep; local in function:dumpsymtable 540 struct entry *ep; local in function:initsymtable [all...] |
restore.c | 77 struct entry *ep; local in function:addfile 96 ep = lookupino(ino); 97 if (ep != NULL) { 98 if (strcmp(name, myname(ep)) == 0) { 99 ep->e_flags |= NEW; 104 ep = addentry(name, ino, type); 106 newnode(ep); 107 ep->e_flags |= NEW; 120 struct entry *ep; local in function:deletefile 124 ep = lookupname(name) 157 struct entry *ep, *nextep; local in function:removeoldleaves 210 struct entry *ep, *np, *ip; local in function:nodeupdates 518 struct entry *ep, *np; local in function:findunreflinks 566 struct entry *ep, **prev; local in function:removeoldnodes 595 struct entry *ep; local in function:createleaves 677 struct entry *ep; local in function:createfiles 780 struct entry *np, *ep; local in function:createlinks 820 struct entry *ep; local in function:checkrestore 842 struct entry *np, *ep; local in function:verifyfile [all...] |
/src/tests/lib/libc/stdlib/ |
t_hsearch.c | 87 ENTRY e, *ep; local in function:ATF_TC_BODY 103 ep = hsearch(e, ENTER); 105 ATF_REQUIRE(ep != NULL); 106 ATF_REQUIRE_STREQ(ep->key, ch); 107 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 117 ep = hsearch(e, FIND); 119 ATF_REQUIRE(ep != NULL); 120 ATF_REQUIRE_STREQ(ep->key, ch); 121 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 137 ENTRY e, *ep; local in function:ATF_TC_BODY 172 ENTRY e, *ep; local in function:ATF_TC_BODY 193 ENTRY e, *ep, *ep2; local in function:ATF_TC_BODY 241 ENTRY e, *ep; local in function:ATF_TC_BODY 290 ENTRY e, *ep; local in function:ATF_TC_BODY 325 ENTRY e, *ep; local in function:ATF_TC_BODY 347 ENTRY e, *ep, *ep2; local in function:ATF_TC_BODY [all...] |
/src/sys/arch/sgimips/stand/common/ |
iris_parse.c | 48 char *ep = strcpy(bootpath, argv[1]); local in function:parse 49 ep = strrchr(bootpath, '/'); 50 if (ep == NULL) 53 strcpy(kernelname, ep + 1); 55 i = ep - bootpath; 58 ep = strchr(bootpath, '('); 59 if (ep == NULL) 64 strcpy(disksetting, ep + 1);
|
/src/usr.bin/crunch/crunchgen/ |
crunched_main.c | 58 const struct stub *ep; local in function:main 66 for (ep = entry_points; ep->name != NULL; ep++) 67 if (strcmp(basename, ep->name) == 0) 68 return ep->f(argc, argv, envp); 89 const struct stub *ep; local in function:crunched_usage 94 for (ep = entry_points; ep->name != NULL; ep++) [all...] |
/src/lib/libc/yp/ |
yp_match.c | 70 struct ypmatch_ent *ep; local in function:ypmatch_add 79 for (ep = ypmc; ep; ep = ep->next) 80 if (ep->expire_t < t) 82 if (ep == NULL) { 83 if ((ep = malloc(sizeof *ep)) == NULL) 85 (void)memset(ep, 0, sizeof *ep) 134 struct ypmatch_ent *ep; local in function:ypmatch_find [all...] |
/src/usr.bin/spell/spellprog/ |
spellprog.c | 316 char *ep, *cp, *dp; local in function:main 379 for (ep = word; (*ep = ch = getchar()) != '\n'; ep++) { 380 if (ep - word == sizeof(word) - 1) { 381 *ep = '\0'; 392 for (cp = word, dp = original; cp < ep; ) 396 for (cp = word; cp < ep; cp++) 399 if (trypref(ep, ".", 0)) 402 for (cp = original + 1, dp = word + 1; dp < ep; dp++, cp++ [all...] |
/src/sys/netbt/ |
hci_event.c | 252 hci_command_status_ep ep; local in function:hci_event_command_status 254 if (m->m_pkthdr.len < sizeof(ep)) 257 m_copydata(m, 0, sizeof(ep), &ep); 258 m_adj(m, sizeof(ep)); 260 ep.opcode = le16toh(ep.opcode); 264 HCI_OGF(ep.opcode), HCI_OCF(ep.opcode), 265 ep.status 299 hci_command_compl_ep ep; local in function:hci_event_command_compl 382 hci_num_compl_pkts_ep ep; local in function:hci_event_num_compl_pkts 458 hci_inquiry_result_ep ep; local in function:hci_event_inquiry_result 499 hci_rssi_result_ep ep; local in function:hci_event_rssi_result 540 hci_extended_result_ep ep; local in function:hci_event_extended_result 574 hci_con_compl_ep ep; local in function:hci_event_con_compl 674 hci_discon_compl_ep ep; local in function:hci_event_discon_compl 701 hci_con_req_ep ep; local in function:hci_event_con_req 751 hci_auth_compl_ep ep; local in function:hci_event_auth_compl 793 hci_encryption_change_ep ep; local in function:hci_event_encryption_change 847 hci_change_con_link_key_compl_ep ep; local in function:hci_event_change_con_link_key_compl 890 hci_read_clock_offset_compl_ep ep; local in function:hci_event_read_clock_offset_compl [all...] |
/src/usr.bin/printenv/ |
printenv.c | 63 char *cp, **ep; local in function:main 77 for (ep = environ; *ep; ep++) 78 (void)printf("%s\n", *ep); 86 for (ep = environ; *ep; ep++) 87 if (!memcmp(*ep, *argv, len)) { 88 cp = *ep + len [all...] |
/src/sys/sys/ |
exec_ecoff.h | 95 #define ECOFF32_TXTOFF(ep) \ 96 ((ep)->a.magic == ECOFF_ZMAGIC ? 0 : \ 97 ECOFF_ROUND(ECOFF32_HDR_SIZE + (ep)->f.f_nscns * \ 98 sizeof(struct ecoff32_scnhdr), ECOFF32_SEGMENT_ALIGNMENT(ep))) 100 #define ECOFF32_DATOFF(ep) \ 101 (ECOFF_BLOCK_ALIGN((ep), ECOFF32_TXTOFF(ep) + (ep)->a.tsize)) 103 #define ECOFF32_SEGMENT_ALIGN(ep, value) \ 104 (ECOFF_ROUND((value), ((ep)->a.magic == ECOFF_ZMAGIC ? ECOFF_LDPGSZ : [all...] |
/src/sys/dev/fdt/ |
fdt_port.c | 92 struct fdt_endpoint *ep = &port->port_ep[e]; local in function:fdt_endpoint_get_from_phandle 93 if (ep->ep_phandle == rphandle) 94 return ep; 112 struct fdt_endpoint *ep = &port->port_ep[e]; local in function:fdt_endpoint_get_from_index 113 if (ep->ep_id == ep_index) { 114 return ep; 125 struct fdt_endpoint *ep; local in function:fdt_endpoint_remote_from_index 127 ep = fdt_endpoint_get_from_index(device_ports, port_index, 129 if (ep == NULL) 132 return fdt_endpoint_remote(ep); 325 struct fdt_endpoint *ep, *rep; local in function:fdt_endpoints_register [all...] |
/src/common/lib/libc/atomic/ |
atomic_c11_compare_exchange_cas_16.c | 48 uint16_t * const ep = expected; local in function:__atomic_compare_exchange_2 49 const uint16_t old = *ep; 59 *ep = prev;
|
atomic_c11_compare_exchange_cas_32.c | 48 uint32_t * const ep = expected; local in function:__atomic_compare_exchange_4 49 const uint32_t old = *ep; 59 *ep = prev;
|
atomic_c11_compare_exchange_cas_8.c | 48 uint8_t * const ep = expected; local in function:__atomic_compare_exchange_1 49 const uint8_t old = *ep; 59 *ep = prev;
|
/src/usr.bin/w/ |
w.c | 129 static void fixhost(struct entry *ep); 136 struct entry *ep; local in function:main 249 if ((ep = calloc(1, sizeof(struct entry))) == NULL) 251 (void)memcpy(ep->line, utx->ut_line, sizeof(utx->ut_line)); 252 ep->line[sizeof(utx->ut_line)] = '\0'; 253 *nextp = ep; 254 nextp = &(ep->next); 259 (void)memcpy(ep->name, utx->ut_name, sizeof(utx->ut_name)); 260 ep->name[sizeof(utx->ut_name)] = '\0'; 262 utx->ut_ss.ss_len, ep->host, sizeof(ep->host), NULL, 0 [all...] |
/src/lib/libtelnet/ |
encrypt.c | 141 Encryptions *ep = encryptions; local in function:findencryption 145 while (ep->type && ep->type != type) 146 ++ep; 147 return(ep->type ? ep : 0); 153 Encryptions *ep = encryptions; local in function:finddecryption 157 while (ep->type && ep->type != type) 158 ++ep; 178 Encryptions *ep = encryptions; local in function:encrypt_init 214 Encryptions *ep = encryptions; local in function:encrypt_list_types 239 register Encryptions *ep; local in function:EncryptDisable 272 register Encryptions *ep; local in function:EncryptType 477 Encryptions *ep; local in function:encrypt_support 516 Encryptions *ep; local in function:encrypt_is 560 Encryptions *ep; local in function:encrypt_reply 608 Encryptions *ep; local in function:encrypt_start 644 Encryptions *ep = encryptions; local in function:encrypt_session_key 717 Encryptions *ep; local in function:encrypt_keyid 801 Encryptions *ep; local in function:encrypt_start_output 949 Encryptions *ep; local in function:encrypt_printsub [all...] |
/src/sbin/mount/ |
fattr.c | 51 char *ep; local in function:a_num 53 id = strtol(s, &ep, 0); 54 if (*ep || s == ep || id < 0) 83 char *ep; local in function:a_mask 85 rv = strtol(s, &ep, 8); 86 if (s == ep || *ep || rv < 0)
|
/src/lib/libcrypt/ |
crypt-sha1.c | 117 char *ep; local in function:__crypt_sha1 137 iterations = strtoul(salt, &ep, 10); 138 if (*ep != '$') 140 salt = ep + 1; /* skip over the '$' */ 169 ep = passwd + pl; 176 __crypt_to64(ep, ul, 4); ep += 4; 182 __crypt_to64(ep, ul, 4); ep += 4; 183 *ep = '\0' [all...] |
/src/usr.bin/who/ |
who.c | 232 struct utmpentry *ehead, *ep; local in function:who_am_i 243 for (ep = ehead; ep; ep = ep->next) 244 if (strcmp(ep->line, p) == 0) { 247 eprint(ep); 263 struct utmpentry *ehead, *ep; local in function:process 267 for (ep = ehead; ep != NULL; ep = ep->next 370 struct utmpentry *ehead, *ep; local in function:quick [all...] |
/src/lib/libc/db/btree/ |
bt_seq.c | 145 * ep: storage for returned key 156 __bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags) 177 return (__bt_first(t, key, ep, &exact)); 199 ep->page = h; 200 ep->index = 0; 224 ep->page = h; 225 ep->index = NEXTINDEX(h) - 1; 246 __bt_seqadv(BTREE *t, EPG *ep, int flags) 288 if ((rval = __bt_first(t, &c->key, ep, &exact)) == RET_ERROR) 296 c->pg.pgno = ep->page->pgno 467 EPG *ep, save; local in function:__bt_first [all...] |
/src/sys/kern/ |
subr_optstr.c | 128 char *ep; local in function:optstr_get_number 129 const unsigned long ulval = strtoul(data, &ep, 10); 130 if (ep == data) 147 char *ep; local in function:optstr_get_number_hex 148 const unsigned long ulval = strtoul(data, &ep, 16); 149 if (ep == data) 166 char *ep; local in function:optstr_get_number_binary 167 const unsigned long ulval = strtoul(data, &ep, 2); 168 if (ep == data)
|
/src/sys/netinet/ |
ip_encap.c | 126 * In encap[46]_lookup(), ep->func can sleep(e.g. rtalloc1) while walking 199 struct encaptab *ep, *match; local in function:encap4_lookup 227 while ((ep = thmap_get(emap, &key, sizeof(key))) != NULL) { 230 KASSERT(ep->af == AF_INET); 232 if (ep->proto >= 0 && ep->proto != proto) { 237 psref_acquire(&elem_psref, &ep->psref, 239 if (ep->func) { 241 prio = (*ep->func)(m, off, proto, ep->arg) 363 struct encaptab *ep, *match; local in function:encap6_lookup 553 struct encaptab *ep; local in function:encap_attach_func 642 struct encaptab *ep; local in function:encap_attach_addr 717 struct encaptab *ep; local in function:encap6_ctlinput 864 const struct encaptab *ep = cookie; local in function:encap_detach [all...] |
/src/sys/arch/x68k/usr.bin/tvctrl/ |
tvctrl.c | 20 char *ep; local in function:main 27 num = strtoul(argv[0], &ep, 10); 28 if (num > 255 || *ep != '\0')
|