/macosx-10.10/libpcap-48/libpcap/Win32/Src/ |
H A D | getaddrinfo.c | 526 struct hostent *hp; local 563 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 566 hp = gethostbyname2(hostname, pai->ai_family); 570 hp = gethostbyname(hostname); 579 if (hp == NULL) { 594 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 595 || (hp->h_addr_list[0] == NULL)) { 597 freehostent(hp); 599 hp 925 struct hostent *hp = NULL; local [all...] |
/macosx-10.10/bind9-45.101/bind9/contrib/queryperf/missing/ |
H A D | getaddrinfo.c | 451 struct hostent *hp; local 454 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 455 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 456 GET_AI(cur, afd, hp->h_addr_list[0], port); 457 GET_CANONNAME(cur, hp->h_name); 546 struct hostent *hp; local 561 hp [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | iruserok.c | 62 struct hostent *hp; local 72 if ((hp = gethostbyname(lhost)) == NULL) 76 for (pp = hp->h_addr_list; *pp; ++pp) 96 struct hostent *hp; local 108 if ((hp = gethostbyaddr((char *)&raddr, 112 strlcpy(hname, hp->h_name, sizeof(hname));
|
H A D | simple_exec_w32.c | 341 intptr_t hp; local 344 hp = spawnvp(_P_NOWAIT, file, args); 346 if (hp == -1) 348 else if (hp == 0) 351 rv = wait_for_process_timed(GetProcessId((HANDLE) hp), func, ptr, timeout); 353 CloseHandle((HANDLE) hp); 370 intptr_t hp; local 373 hp = spawnve(_P_NOWAIT, file, args, envp); 375 if (hp == -1) 377 else if (hp [all...] |
/macosx-10.10/Libc-1044.1.2/db/hash/FreeBSD/ |
H A D | ndbm.c | 217 HTAB *hp; local 219 hp = (HTAB *)db->internal; 220 return (hp->error); 227 HTAB *hp; local 229 hp = (HTAB *)db->internal; 230 hp->error = 0;
|
/macosx-10.10/ntp-92/ntpd/ |
H A D | refclock_jupiter.c | 530 struct jheader *hp; local 553 while (instance->ssize > sizeof(*hp) && (cc = jupiter_recv(instance)) > 0) { 557 hp = (struct jheader *)instance->sbuf; 558 sp = (u_short *)(hp + 1); 559 size = cc - sizeof(*hp); 560 switch (getshort(hp->id)) { 705 getshort(hp->id)); 919 jupiter_send(struct instance *instance, struct jheader *hp) argument 926 size = sizeof(*hp); 927 hp 963 struct jheader *hp; local 986 struct jheader *hp; local 1005 struct jheader *hp; local 1028 struct jheader *hp; local 1058 struct jheader *hp; local [all...] |
/macosx-10.10/BerkeleyDB-21/db/mp/ |
H A D | mp_fput.c | 70 DB_MPOOL_HASH *hp; local 123 MP_GET_BUCKET(env, mfp, bhp->pgno, &infop, hp, ret); 136 MUTEX_UNLOCK(env, hp->mtx_hash); 181 MUTEX_UNLOCK(env, hp->mtx_hash); 248 MUTEX_UNLOCK(env, hp->mtx_hash); 272 DB_MPOOL_HASH *hp; local 284 for (hp = R_ADDR(infop, c_mp->htab), 285 bucket = 0; bucket < c_mp->htab_buckets; ++hp, ++bucket) { 292 if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) == NULL) { 297 MUTEX_LOCK(env, hp [all...] |
H A D | mp_region.c | 183 DB_MPOOL_HASH *htab, *hp; local 273 hp = &htab[i]; 274 hp->mtx_hash = (mtx_base == MUTEX_INVALID) ? MUTEX_INVALID : 276 hp->mtx_io = (mtx_base == MUTEX_INVALID) ? MUTEX_INVALID : 278 SH_TAILQ_INIT(&hp->hash_bucket); 279 hp->hash_page_dirty = 0; 281 hp->hash_io_wait = 0; 282 hp->hash_frozen = hp->hash_thawed = hp 454 DB_MPOOL_HASH *hp; local [all...] |
/macosx-10.10/Libinfo-459/dns.subproj/ |
H A D | res_query.c | 90 HEADER *hp = (HEADER *)answer; local 91 switch (hp->rcode) { 101 if (ntohs(hp->ancount) == 0) {
|
/macosx-10.10/Libinfo-459/rpc.subproj/ |
H A D | clnt_simple.c | 93 struct hostent *hp; local 118 if ((hp = gethostbyname(host)) == NULL) 123 bcopy(hp->h_addr, (char *)&server_addr.sin_addr, hp->h_length);
|
/macosx-10.10/bash-94.1.2/bash-3.2/lib/malloc/ |
H A D | alloca.c | 174 register header *hp; /* Traverses linked list. */ local 176 for (hp = last_alloca_header; hp != NULL;) 177 if ((STACK_DIR > 0 && hp->h.deep > depth) 178 || (STACK_DIR < 0 && hp->h.deep < depth)) 180 register header *np = hp->h.next; 182 free ((pointer) hp); /* Collect garbage. */ 184 hp = np; /* -> next header. */ 189 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/ |
H A D | alloca.c | 176 register header *hp; /* Traverses linked list. */ local 178 for (hp = last_alloca_header; hp != NULL;) 179 if ((STACK_DIR > 0 && hp->h.deep > depth) 180 || (STACK_DIR < 0 && hp->h.deep < depth)) 182 register header *np = hp->h.next; 184 free ((PTR) hp); /* Collect garbage. */ 186 hp = np; /* -> next header. */ 191 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/emacs-93/emacs/lib-src/ |
H A D | alloca.c | 196 register header *hp; /* Traverses linked list. */ local 202 for (hp = last_alloca_header; hp != NULL;) 203 if ((STACK_DIR > 0 && hp->h.deep > depth) 204 || (STACK_DIR < 0 && hp->h.deep < depth)) 206 register header *np = hp->h.next; 208 free ((pointer) hp); /* Collect garbage. */ 210 hp = np; /* -> next header. */ 215 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/emacs-93/emacs/src/ |
H A D | alloca.c | 196 register header *hp; /* Traverses linked list. */ local 202 for (hp = last_alloca_header; hp != NULL;) 203 if ((STACK_DIR > 0 && hp->h.deep > depth) 204 || (STACK_DIR < 0 && hp->h.deep < depth)) 206 register header *np = hp->h.next; 208 free ((pointer) hp); /* Collect garbage. */ 210 hp = np; /* -> next header. */ 215 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/gnudiff-19/diffutils/lib/ |
H A D | alloca.c | 186 register header *hp; /* Traverses linked list. */ local 192 for (hp = last_alloca_header; hp != NULL;) 193 if ((STACK_DIR > 0 && hp->h.deep > depth) 194 || (STACK_DIR < 0 && hp->h.deep < depth)) 196 register header *np = hp->h.next; 198 free ((pointer) hp); /* Collect garbage. */ 200 hp = np; /* -> next header. */ 205 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | alloca.c | 165 register header *hp; /* Traverses linked list. */ local 171 for (hp = last_alloca_header; hp != NULL;) 172 if ((STACK_DIR > 0 && hp->h.deep > depth) 173 || (STACK_DIR < 0 && hp->h.deep < depth)) 175 register header *np = hp->h.next; 177 free (hp); /* Collect garbage. */ 179 hp = np; /* -> next header. */ 184 last_alloca_header = hp; /* -> last valid storage. */
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/ |
H A D | mnt.c | 68 set(register Header_t* hp, const char* fs, const char* dir, const char* type, const char* options) 72 hp->mnt.flags = 0; 77 hp->mnt.flags |= MNT_REMOTE; 87 hp->mnt.flags |= MNT_REMOTE; 88 sfsprintf(hp->buf, sizeof(hp->buf) - 1, "%s:%*.*s", x + 1, x - fs, x - fs, fs); 89 fs = (const char*)hp->buf; 92 hp->mnt.flags |= MNT_REMOTE; 95 hp->mnt.fs = (char*)fs; 96 hp [all...] |
/macosx-10.10/libresolv-57/ |
H A D | ns_verify.c | 68 HEADER *hp = (HEADER *)msg; local 78 if (hp->arcount == 0) 83 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount)); 88 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount)); 93 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount)); 98 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1); 146 HEADER *hp = (HEADER *)msg; local 234 hp->arcount = htons(ntohs(hp->arcount) - 1); 312 hp 351 HEADER *hp = (HEADER *)msg; local [all...] |
/macosx-10.10/ruby-106/ruby/ext/socket/ |
H A D | getnameinfo.c | 139 struct hostent *hp; local 224 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 226 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 230 if (hp) { 232 p = strchr(hp->h_name, '.'); 235 if (strlen(hp->h_name) + 1 > hostlen) { 237 freehostent(hp); 241 strcpy(host, hp->h_name); 243 freehostent(hp);
|
/macosx-10.10/tcpdump-61/tcpdump/missing/ |
H A D | getnameinfo.c | 111 struct hostent *hp; local 244 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 246 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 254 if (hp) { 256 p = strchr(hp->h_name, '.'); 259 if (strlen(hp->h_name) + 1 > hostlen) { 261 freehostent(hp); 265 strcpy(host, hp->h_name); 267 freehostent(hp);
|
/macosx-10.10/vim-55/src/proto/ |
H A D | memfile.pro | 9 void mf_put __ARGS((memfile_T *mfp, bhdr_T *hp, int dirty, int infile)); 10 void mf_free __ARGS((memfile_T *mfp, bhdr_T *hp));
|
/macosx-10.10/adv_cmds-158/ps/ |
H A D | keyword.c | 235 char *cp, *hp; local 256 if (cp == NULL || !(v = findvar(cp, user, &hp))) 271 if (hp) { 272 hp = strdup(hp); 273 if (hp) 274 vent->header = hp; 295 char *hp, *realfmt; local 297 hp = strchr(p, '='); 298 if (hp) [all...] |
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | socks.c | 153 Curl_addrinfo *hp=NULL; local 170 hp=dns->addr; 171 if(hp) { 174 Curl_printable_address(hp, buf, sizeof(buf)); 185 hp = NULL; /* fail! */ 192 if(!hp) { 577 Curl_addrinfo *hp = NULL; local 595 hp=dns->addr; 596 if(hp) { 603 if(hp [all...] |
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/ |
H A D | nvtree.c | 38 Namval_t *hp; member in struct:nvdir 187 if(dp->hp = (Namval_t*)dtprev(dp->root,&fake)) 189 char *cp = nv_name(dp->hp); 192 dp->hp = (Namval_t*)dtnext(dp->root,dp->hp); 195 np = dp->hp; 200 dp->hp = (Namval_t*)dtfirst(dp->root); 203 dp->hp = (Namval_t*)dtfirst(dp->root); 230 if(np==dp->hp && !next) 231 dp->hp [all...] |
/macosx-10.10/lukemftp-14/tnftp/libedit/ |
H A D | hist.c | 95 const char *hp; local 116 hp = HIST_FIRST(el); 118 if (hp == NULL) 122 if ((hp = HIST_NEXT(el)) == NULL) { 126 (void) strlcpy(el->el_line.buffer, hp,
|