Searched refs:hp (Results 101 - 125 of 424) sorted by relevance

1234567891011>>

/macosx-10.10/vim-55/src/
H A Dmemline.c283 bhdr_T *hp = NULL; local
335 if ((hp = mf_new(mfp, FALSE, 1)) == NULL)
337 if (hp->bh_bnum != 0)
342 b0p = (ZERO_BL *)(hp->bh_data);
379 mf_put(mfp, hp, TRUE, FALSE);
386 if ((hp = ml_new_ptr(mfp)) == NULL)
388 if (hp->bh_bnum != 1)
393 pp = (PTR_BL *)(hp->bh_data);
399 mf_put(mfp, hp, TRUE, FALSE);
404 if ((hp
471 bhdr_T *hp; local
902 bhdr_T *hp; local
1066 bhdr_T *hp = NULL; local
2313 bhdr_T *hp; local
2442 bhdr_T *hp; local
2585 bhdr_T *hp; local
3133 bhdr_T *hp; local
3293 bhdr_T *hp; local
3322 bhdr_T *hp; local
3366 bhdr_T *hp; local
3409 bhdr_T *hp; local
3517 bhdr_T *hp; local
3539 bhdr_T *hp; local
3578 bhdr_T *hp; local
3822 bhdr_T *hp; local
4773 bhdr_T *hp; local
4951 bhdr_T *hp; local
5182 bhdr_T *hp; local
[all...]
/macosx-10.10/BerkeleyDB-21/db/mp/
H A Dmp_fopen.c103 DB_MPOOL_HASH *hp; local
143 hp = R_ADDR(dbmp->reginfo, mp->ftab);
171 hp += bucket;
179 MUTEX_LOCK(env, hp->mtx_hash);
181 __memp_mpf_find(env, dbmfp, hp, path, flags,&mfp);
182 MUTEX_UNLOCK(env, hp->mtx_hash);
336 check: MUTEX_LOCK(env, hp->mtx_hash);
337 if ((ret = __memp_mpf_find(env, dbmfp, hp, path, flags, &mfp) != 0))
343 SH_TAILQ_INSERT_HEAD(&hp->hash_bucket, mfp, q, __mpoolfile);
370 MUTEX_UNLOCK(env, hp
949 DB_MPOOL_HASH *hp; local
1039 DB_MPOOL_HASH *hp; local
[all...]
H A Dmp_stat.c700 DB_MPOOL_HASH *hp; local
714 for (hp = R_ADDR(reginfo, c_mp->htab),
715 bucket = 0; bucket < c_mp->htab_buckets; ++hp, ++bucket) {
716 MUTEX_LOCK(env, hp->mtx_hash);
717 if ((bhp = SH_TAILQ_FIRST(&hp->hash_bucket, __bh)) != NULL) {
720 (u_long)bucket, (u_long)hp->hash_io_wait,
721 (u_long)hp->hash_page_dirty);
722 if (hp->hash_frozen != 0)
724 (u_long)hp->hash_frozen,
725 (u_long)hp
818 DB_MPOOL_HASH *hp; local
888 DB_MPOOL_HASH *hp; local
[all...]
H A Dmp_method.c476 DB_MPOOL_HASH *hp, *nhp; local
489 COMPQUIET(hp, NULL);
504 hp = R_ADDR(dbmp->reginfo, mp->ftab);
528 hp += FNBUCKET(fullold, strlen(fullold));
535 hp += FNBUCKET(fileid, DB_FILE_ID_LEN);
537 if (nhp != NULL && nhp < hp)
539 MUTEX_LOCK(env, hp->mtx_hash);
540 if (nhp != NULL && nhp > hp)
560 SH_TAILQ_FOREACH(mfp, &hp->hash_bucket, q, __mpoolfile) {
601 if (inmem && hp !
[all...]
/macosx-10.10/hfs-285/newfs_hfs/
H A Dmakehfs.c112 static void WriteVH __P((const DriveInfo *driveInfo, HFSPlusVolumeHeader *hp));
594 WriteVH (const DriveInfo *driveInfo, HFSPlusVolumeHeader *hp) argument
596 SWAP_HFSPLUSVH (hp);
598 WriteBuffer(driveInfo, 2, kBytesPerSector, hp);
599 WriteBuffer(driveInfo, driveInfo->totalSectors - 2, kBytesPerSector, hp);
609 InitVH(hfsparams_t *defaults, UInt64 sectors, HFSPlusVolumeHeader *hp) argument
630 bzero(hp, kBytesPerSector);
658 hp->signature = kHFSXSigWord;
659 hp->version = kHFSXVersion;
661 hp
[all...]
/macosx-10.10/lukemftp-14/tnftp/libedit/
H A Dcommon.c706 const char *hp; local
730 hp = HIST_FIRST(el);
731 if (hp == NULL)
737 hp = HIST_NEXT(el);
739 while (hp != NULL) {
741 (void) fprintf(el->el_errfile, "Comparing with \"%s\"\n", hp);
743 if ((strncmp(hp, el->el_line.buffer, (size_t)
745 hp[el->el_line.lastchar - el->el_line.buffer]) &&
746 c_hmatch(el, hp)) {
751 hp
774 const char *hp; local
[all...]
/macosx-10.10/diskdev_cmds-576/umount.tproj/
H A Dumount.c277 struct hostent *hp, *hp6; local
413 hp = hp6 = NULL;
473 hp = getipnodebyname(hostname, AF_INET, 0, &errnum);
479 if (hp || hp6) {
480 int match = (namematch(hp) || namematch(hp6));
481 if (hp)
482 freehostent(hp);
569 namematch(struct hostent *hp) argument
576 if (hp == NULL)
579 if (strcasecmp(nfshost, hp
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/uwin/
H A Drcmd.c110 struct hostent *hp; local
119 hp = gethostbyname(*ahost);
120 if (hp == 0) {
130 *ahost = hp->h_name;
173 sin.sin_family = hp->h_addrtype;
174 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length);
188 if (hp->h_addr_list[1] != NULL) {
204 hp->h_addr_list++;
205 bcopy(hp
[all...]
/macosx-10.10/remote_cmds-47/ypset.tproj/
H A Dypset.c94 struct hostent *hp; local
119 if( (hp = gethostbyname (server)) != NULL ) {
121 bcopy(hp->h_addr_list[0], &ypsd.ypsetdom_binding.ypbind_binding_addr, 4);
/macosx-10.10/system_cmds-643.1.1/login.tproj/
H A Dklogin.c91 struct hostent *hp; local
179 if (!(hp = gethostbyname(localhost))) {
185 memmove((void *)&faddr, (void *)hp->h_addr, sizeof(faddr));
/macosx-10.10/bind9-45.101/bind9/
H A Dconfig.threads.in24 *-hp-hpux10*)
26 *-hp-hpux11*)
/macosx-10.10/bootp-298/bootplib/
H A Darp.c221 struct hostent *hp; local
229 if (!(hp = gethostbyname(host))) {
234 bcopy((char *)hp->h_addr, (char *)&sin->sin_addr,
256 struct hostent *hp; local
262 if (!(hp = gethostbyname(host))) {
267 bcopy((char *)hp->h_addr, (char *)&iaddr,
296 struct hostent * hp; local
303 hp = gethostbyaddr((caddr_t)&(sin->sin_addr),
307 hp = NULL;
310 if (hp !
[all...]
/macosx-10.10/curl-83.1.2/curl/CMake/
H A DCurlTests.c130 struct hostent * hp; local
135 hp = gethostbyaddr_r(address, length, type, &h,
155 struct hostent * hp; local
160 hp = gethostbyaddr_r(address, length, type, &h,
179 struct hostent * hp; local
186 buffer, 8192, &hp, &h_errnop);
205 struct hostent * hp; local
212 buffer, 8192, &hp, &h_errnop);
/macosx-10.10/libpcap-48/libpcap/
H A Dnametoaddr.c105 struct hostent *hp; local
107 if ((hp = gethostbyname(name)) != NULL) {
109 hlist[0] = (bpf_u_int32 *)hp->h_addr;
110 NTOHL(hp->h_addr);
113 for (p = (bpf_u_int32 **)hp->h_addr_list; *p; ++p)
115 return (bpf_u_int32 **)hp->h_addr_list;
/macosx-10.10/lukemftp-14/tnftp/libnetbsd/
H A Dgetnameinfo.c95 struct hostent *hp; local
226 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af);
228 if (hp) {
236 p = strchr(hp->h_name, '.');
241 if (strlen(hp->h_name) > hostlen) {
244 strcpy(host, hp->h_name);
H A Dgetaddrinfo.c499 struct hostent *hp; local
571 hp = getipnodebyname(hostname, pai->ai_family,
575 hp = gethostbyname2(hostname, pai->ai_family);
579 hp = gethostbyname(hostname);
588 if (hp == NULL) {
605 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0)
606 || (hp->h_addr_list[0] == NULL)) {
608 freehostent(hp);
610 hp
[all...]
/macosx-10.10/tcsh-65/tcsh/
H A Ded.chared.c959 struct Hist *hp; local
979 hp = Histlist.Hnext;
980 if (hp == NULL)
984 if ((hp->Hnext) == NULL) {
988 hp = hp->Hnext;
991 if (HistLit && hp->histline) {
992 copyn(InputBuf, hp->histline, INBUFSIZE);/*FIXBUF*/
998 p = sprlex(&hp->Hlex);
1702 struct Hist *hp; local
1842 struct Hist *hp; local
1917 struct Hist *hp; local
2107 struct Hist *hp; local
2148 struct Hist *hp; local
[all...]
/macosx-10.10/mail_cmds-30/mail/
H A Dcollect.c89 collect(hp, printheaders)
90 struct header *hp;
141 if (hp->h_subject == NULL && value("interactive") != NULL &&
145 puthead(hp, stdout, t);
159 if (grabh(hp, GSUBJECT)) {
266 grabh(hp, GTO|GSUBJECT|GCC|GBCC);
272 hp->h_to = cat(hp->h_to, extract(&linebuf[2], GTO));
281 hp->h_subject = savestr(cp);
290 hp
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_lzw.c829 register hash_t *hp; local
879 hp = &sp->enc_hashtab[h];
880 if (hp->hash == fcode) {
881 ent = hp->code;
884 if (hp->hash >= 0) {
898 hp = &sp->enc_hashtab[h];
899 if (hp->hash == fcode) {
900 ent = hp->code;
903 } while (hp->hash >= 0);
921 hp
1021 register hash_t *hp = &sp->enc_hashtab[HSIZE-1]; local
[all...]
/macosx-10.10/bootp-298/bootpd.tproj/
H A Ddhcpd.c359 struct hosts * hp; local
374 hp = hostbyip(S_pending_hosts, ip);
375 if (hp) {
376 u_long pending_secs = time_in_p->tv_sec - hp->tv.tv_sec;
383 hostfree(&S_pending_hosts, hp); /* remove it from the list */
775 struct hosts * hp; local
776 hp = hostbyaddr(S_pending_hosts, cid_type, cid, cid_len,
778 if (hp)
779 hostfree(&S_pending_hosts, hp);
823 struct hosts * hp; local
871 struct hosts * hp = hostbyaddr(S_pending_hosts, cid_type, local
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dutil-int.c444 struct hostent *hp = NULL;
474 hp=gethostbyaddr_r( addr, alen, sa->sa_family,
476 rc = (hp == NULL) ? -1 : 0;
480 &hp, &h_errno );
493 if (hp) {
494 strncpy( name, hp->h_name, namelen );
502 hp = gethostbyaddr( addr, alen, sa->sa_family );
503 if (hp) {
504 strncpy( name, hp->h_name, namelen );
765 struct hostent *hp, he_bu local
[all...]
/macosx-10.10/gpatch-3/patch/
H A Dconfig.sub93 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
381 basic_machine=m68k-hp
384 basic_machine=m68k-hp
388 basic_machine=m68k-hp
392 basic_machine=hppa1.0-hp
395 basic_machine=m68000-hp
398 basic_machine=m68k-hp
401 basic_machine=hppa1.0-hp
404 basic_machine=hppa1.1-hp
407 # FIXME: really hppa2.0-hp
[all...]
/macosx-10.10/postfix-255/postfix/src/util/
H A Dmyaddrinfo.c308 struct hostent *hp; local
350 if ((hp = gethostbyname(hostname)) == 0)
352 if (hp->h_addrtype != AF_INET
353 || hp->h_length != sizeof(template.sin.sin_addr))
366 for (name_list = hp->h_addr_list; name_list[0]; name_list++) {
641 struct hostent *hp; local
655 if ((hp = gethostbyaddr((char *) &(SOCK_ADDR_IN_ADDR(sa)),
665 if ((len = strlen(hp->h_name)) >= sizeof(hostname->buf)) {
669 memcpy(hostname->buf, hp->h_name, len + 1);
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/
H A Dhist.c100 const Char *hp; local
121 hp = HIST_FIRST(el);
123 if (hp == NULL)
127 if ((hp = HIST_NEXT(el)) == NULL) {
131 (void) Strncpy(el->el_line.buffer, hp,
/macosx-10.10/MITKerberosShim-66/test/
H A Dtest-gss-client.c41 struct hostent *hp = NULL; local
45 hp = gethostbyname (inHost);
46 if (hp == NULL) { err = errno; }
50 saddr.sin_family = hp->h_addrtype;
51 memcpy ((char *) &saddr.sin_addr, hp->h_addr, sizeof (saddr.sin_addr));

Completed in 523 milliseconds

1234567891011>>