Searched refs:hp (Results 1 - 25 of 188) sorted by relevance

12345678

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Dforgetcc.c1 foo (hp, p, a)
2 short *hp;
6 hp[10] = a;
8 if (hp[10] > 0)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Ddefarg3.C4 int* hp; variable
7 void f (int *ip, int kp = hp - jp)
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-hsrp.c101 struct hsrp *hp = (struct hsrp *) bp; local
103 TCHECK(hp->hsrp_version);
104 printf("HSRPv%d", hp->hsrp_version);
105 if (hp->hsrp_version != 0)
107 TCHECK(hp->hsrp_op_code);
109 if (hp->hsrp_op_code >= sizeof(op_code_str)/sizeof(*op_code_str))
110 printf("unknown (%d) ", hp->hsrp_op_code);
112 printf("%s ", op_code_str[hp->hsrp_op_code]);
114 TCHECK(hp->hsrp_state);
115 printf("state=%s ", tok2str(states, "Unknown (%d)", hp
[all...]
/openbsd-current/sys/dev/sdmmc/
H A Dsdhc.c73 #define HREAD1(hp, reg) \
74 (sdhc_read_1((hp), (reg)))
75 #define HREAD2(hp, reg) \
76 (sdhc_read_2((hp), (reg)))
77 #define HREAD4(hp, reg) \
78 (bus_space_read_4((hp)->iot, (hp)->ioh, (reg)))
79 #define HWRITE1(hp, reg, val) \
80 sdhc_write_1((hp), (reg), (val))
81 #define HWRITE2(hp, re
160 sdhc_read_1(struct sdhc_host *hp, bus_size_t offset) argument
173 sdhc_read_2(struct sdhc_host *hp, bus_size_t offset) argument
186 sdhc_write_1(struct sdhc_host *hp, bus_size_t offset, uint8_t value) argument
202 sdhc_write_2(struct sdhc_host *hp, bus_size_t offset, uint16_t value) argument
245 struct sdhc_host *hp; local
456 struct sdhc_host *hp; local
498 struct sdhc_host *hp; local
515 struct sdhc_host *hp = sch; local
555 struct sdhc_host *hp = sch; local
562 struct sdhc_host *hp = sch; local
572 struct sdhc_host *hp = sch; local
588 struct sdhc_host *hp = sch; local
650 sdhc_clock_divisor(struct sdhc_host *hp, u_int freq) argument
678 struct sdhc_host *hp = sch; local
765 struct sdhc_host *hp = (struct sdhc_host *)sch; local
795 struct sdhc_host *hp = sch; local
809 struct sdhc_host *hp = sch; local
817 struct sdhc_host *hp = sch; local
848 sdhc_wait_state(struct sdhc_host *hp, u_int32_t mask, u_int32_t value) argument
867 struct sdhc_host *hp = sch; local
923 sdhc_start_command(struct sdhc_host *hp, struct sdmmc_command *cmd) argument
1075 sdhc_transfer_data(struct sdhc_host *hp, struct sdmmc_command *cmd) argument
1154 sdhc_read_data(struct sdhc_host *hp, u_char *datap, int datalen) argument
1171 sdhc_write_data(struct sdhc_host *hp, u_char *datap, int datalen) argument
1192 sdhc_soft_reset(struct sdhc_host *hp, int mask) argument
1216 sdhc_wait_intr_cold(struct sdhc_host *hp, int mask, int secs) argument
1266 sdhc_wait_intr(struct sdhc_host *hp, int mask, int secs) argument
1314 struct sdhc_host *hp = sc->sc_host[host]; local
1393 sdhc_dump_regs(struct sdhc_host *hp) argument
1421 struct sdhc_host *hp, *fhp; local
[all...]
/openbsd-current/gnu/usr.bin/perl/t/porting/
H A Dheader_parser.t29 my $hp= HeaderParser->new();
30 $hp->parse_text(<<~'EOF');
44 my $normal= $hp->lines_as_str();
45 my $lines= $hp->lines();
282 my $hp= HeaderParser->new(debug=>0,add_commented_expr_after=>0);
284 $hp->parse_text(<<~'EOF');
298 my $grouped= $hp->group_content();
299 my $as_text= $hp->lines_as_str($grouped);
313 my $hp= HeaderParser->new(debug=>0,add_commented_expr_after=>0);
314 $hp
[all...]
/openbsd-current/usr.bin/talk/
H A Dget_addrs.c44 struct hostent *hp; local
49 hp = gethostbyname(my_machine_name);
50 if (hp == NULL)
52 bcopy(hp->h_addr, &my_machine_addr, hp->h_length);
58 hp = gethostbyname(his_machine_name);
59 if (hp == NULL)
61 bcopy(hp->h_addr, &his_machine_addr, hp->h_length);
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.objdbg/tools/
H A Dsymaddr6 ${srcdir}/gdb.hp/tools/odump -sym "$1" | grep "$2"$ | awk '{print $1}'
/openbsd-current/bin/csh/
H A Dhist.c47 struct Hist *hp, *np; local
66 for (hp = &Histlist; (np = hp->Hnext) != NULL;)
68 hp->Hnext = np->Hnext, hfree(np);
70 hp = np;
96 hfree(struct Hist *hp) argument
99 freelex(&hp->Hlex);
100 free(hp);
143 dohist1(struct Hist *hp, int *np, int rflg, int hflg) argument
147 for (; hp !
162 phist(struct Hist *hp, int hflg) argument
[all...]
H A Dlex.c133 lex(struct wordent *hp) argument
139 hp->next = hp->prev = hp;
140 hp->word = STRNULL;
150 wdp = hp;
161 new->next = hp;
166 hp->prev = wdp;
186 copylex(struct wordent *hp, struct wordent *fp) argument
190 wdp = hp;
624 struct wordent *hp, *ip; local
824 struct wordent *hp = &lexi; local
1084 struct Hist *hp; local
1201 struct Hist *hp; local
[all...]
/openbsd-current/lib/libc/rpc/
H A Dgetrpcport.c45 struct hostent *hp; local
47 if ((hp = gethostbyname(host)) == NULL)
53 memcpy((char *)&addr.sin_addr, hp->h_addr, hp->h_length);
/openbsd-current/lib/libm/src/
H A De_remainder.c33 int32_t hx,hp; local
38 EXTRACT_WORDS(hp,lp,p);
40 hp &= 0x7fffffff;
44 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
46 ((hp>=0x7ff00000)&& /* p is NaN */
47 (((hp-0x7ff00000)|lp)!=0)))
51 if (hp<=0x7fdfffff) x = fmod(x,p+p); /* now x < 2p */
52 if (((hx-hp)|(lx-lp))==0) return zero*x;
55 if (hp<0x00200000) {
H A De_remainderf.c24 int32_t hx,hp; local
29 GET_FLOAT_WORD(hp,p);
31 hp &= 0x7fffffff;
35 if(hp==0) return (x*p)/(x*p); /* p = 0 */
37 ((hp>0x7f800000))) /* p is NaN */
41 if (hp<=0x7effffff) x = fmodf(x,p+p); /* now x < 2p */
42 if ((hx-hp)==0) return zero*x;
45 if (hp<0x01000000) {
/openbsd-current/usr.sbin/config/
H A Dhash.c135 struct hashent *hp; local
137 hp = emalloc(sizeof(*hp));
138 hp->h_name = name;
139 hp->h_hash = h;
140 hp->h_next = NULL;
141 return (hp);
172 struct hashent *hp, **hpp; local
180 for (; (hp = *hpp) != NULL; hpp = &hp
208 struct hashent *hp, *thp; local
239 struct hashent *hp, **hpp; local
261 struct hashent *hp, **hpp; local
[all...]
/openbsd-current/sys/arch/sparc64/dev/
H A Dcentralvar.h51 #define central_bus_map(t, slot, offset, sz, flags, hp) \
52 bus_space_map(t, BUS_ADDR(slot, offset), sz, flags, hp)
/openbsd-current/usr.sbin/dhcpd/
H A Dbootp.c65 struct host_decl *hp, *host = NULL; local
89 hp = find_hosts_by_haddr(packet->raw->htype, packet->raw->chaddr,
99 if (hp)
100 subnet = find_host_for_network(&hp, &ip_address, s);
109 if (hp)
110 for (; hp; hp = hp->n_ipaddr)
111 if (!hp->fixed_addr) {
112 host = hp;
[all...]
/openbsd-current/bin/ksh/
H A Dhistory.c61 char **hfirst, **hlast, **hp; local
145 hp = first ? hist_get(first, false, false) :
147 if (!hp)
150 ret = hist_replace(hp, pat, rep, gflag);
201 for (hp = rflag ? hlast : hfirst;
202 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) {
204 hist_source->line - (int) (histptr - hp));
206 for (s = *hp; (
324 hist_replace(char **hp, const char *pat, const char *rep, int global) argument
370 char **hp = NULL; local
450 char **hp; local
490 char **hp; local
561 char **hp; local
840 char **hp, *encoded; local
[all...]
/openbsd-current/usr.bin/mail/
H A Dsend.c321 mail1(struct header *hp, int printheaders) argument
334 if ((mtf = collect(hp, printheaders)) == NULL)
339 if (hp->h_subject == NULL || *hp->h_subject == '\0')
350 to = usermap(cat(hp->h_bcc, cat(hp->h_to, hp->h_cc)));
359 to = outof(to, mtf, hp);
365 fixhead(hp, to);
366 if ((mtf = infix(hp, mt
441 fixhead(struct header *hp, struct name *tolist) argument
465 infix(struct header *hp, FILE *fi) argument
515 puthead(struct header *hp, FILE *fo, int w) argument
[all...]
H A Dcollect.c57 collect(struct header *hp, int printheaders) argument
92 if (hp->h_subject == NULL && value("interactive") != NULL &&
96 puthead(hp, stdout, t);
99 if (getsub && gethfromtty(hp, GSUBJECT) == -1)
211 grabh(hp, GTO|GSUBJECT|GCC|GBCC);
217 hp->h_to = cat(hp->h_to, extract(&linebuf[2], GTO));
226 hp->h_subject = savestr(cp);
232 hp->h_cc = cat(hp
600 gethfromtty(struct header *hp, int gflags) argument
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/
H A Dreg-pa64.exp35 if ![istarget "hppa64-hp-hpux*"] {
134 setup_xfail hppa64-hp-hpux* CLLbs16708
136 setup_xfail hppa64-hp-hpux* CLLbs16708
138 setup_xfail hppa64-hp-hpux* CLLbs16708
140 setup_xfail hppa64-hp-hpux* CLLbs16708
/openbsd-current/sys/arch/sparc64/include/
H A Drbus_machdep.h27 #define md_space_map(rbt, addr, size, flags, hp) \
28 bus_space_map((rbt)->rb_bt, (addr), (size), (flags), (hp))
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dhardlink.c54 Node *hp, *p; local
84 hp = findnode (hardlist, inodestr);
85 if (hp == NULL)
87 hp = getnode ();
88 hp->type = NT_UNKNOWN;
89 hp->key = inodestr;
90 hp->data = (char *) getlist();
91 hp->delproc = dellist;
92 (void) addnode (hardlist, hp);
99 p = findnode ((List *) hp
[all...]
/openbsd-current/usr.sbin/rpc.statd/
H A Dprocs.c89 HostInfo *hp, h; local
113 if ((hp = find_host(arg->mon_id.mon_name, &h)) == NULL)
114 memset(hp = &h, 0, sizeof(h));
128 lp->next = hp->monList;
129 hp->monList = lp;
130 change_host(arg->mon_id.mon_name, hp);
147 do_unmon(char *name, HostInfo *hp, void *ptr) argument
154 lp = hp->monList;
165 hp->monList = next;
188 HostInfo *hp, local
296 HostInfo *hp, h; local
[all...]
/openbsd-current/gnu/llvm/llvm/tools/opt-viewer/
H A Dopt-stats.py18 hp = hpy() variable
21 hp = None variable
64 if hp:
65 h = hp.heap()
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D960416-1.c28 t hp, lp, dp, m; \
40 hp.d = (dt) afh.s.h * bfh.s.h; \
43 hh.d = hp.d + hp.s.h + lp.s.h + dp.s.h; \
44 m.d = (dt) lp.s.h + hp.s.l + lp.s.l + dp.s.l; \
/openbsd-current/usr.bin/rup/
H A Drup.c62 struct host_list *hp; local
67 for (hp = hosts; hp != NULL; hp = hp->next) {
68 if (hp->addr.s_addr == addr.s_addr)
77 struct host_list *hp; local
79 if (!(hp = malloc(sizeof(struct host_list)))) {
83 hp->addr.s_addr = addr.s_addr;
84 hp
154 struct hostent *hp; local
[all...]

Completed in 312 milliseconds

12345678