/macosx-10.10/rsync-45/rsync/lib/ |
H A D | getaddrinfo.c | 479 struct hostent *hp; local 486 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 489 hp = gethostbyaddr(addr, afd->a_addrlen, AF_INET); 491 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 492 if (!get_ai(&cur, pai, afd, hp->h_addr_list[0], port)) 494 GET_CANONNAME(cur, hp->h_name); 501 if (hp) 528 struct hostent *hp; local [all...] |
H A D | getnameinfo.c | 87 struct hostent *hp; local 160 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 162 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 166 if (hp) { 168 p = strchr(hp->h_name, '.'); 171 if (strlcpy(host, hp->h_name, hostlen + 1) > hostlen) { 173 freehostent(hp); 178 freehostent(hp);
|
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/lwresd/ |
H A D | lwtest.c | 231 struct hostent *hp; local 235 hp = gethostbyname(name); 236 if (hp == NULL) { 253 if (memcmp(hp->h_addr_list[0], addrbuf, hp->h_length) != 0) { 255 (void)inet_ntop(AF_INET, hp->h_addr_list[0], 267 struct hostent *hp; local 271 hp = gethostbyname2(name, af); 272 if (hp == NULL) { 293 if (hp 317 struct hostent *hp; local 375 struct hostent *hp; local 414 struct hostent *hp; local [all...] |
/macosx-10.10/lsof-53/lsof/lib/ |
H A D | rnam.c | 166 struct l_nch **hp; local 169 for (hp = ncachehash(i, na); *hp; hp++) 171 for (hp = ncachehash(na); *hp; hp++) 177 if ((*hp)->id == i && (*hp)->na == na) 179 if ((*hp) 284 struct l_nch **hp, *lc; local [all...] |
H A D | rnch.c | 208 struct l_nch **hp; local 211 for (hp = ncachehash(i, v); *hp; hp++) 213 for (hp = ncachehash(v); *hp; hp++) 219 if ((*hp)->vp == v && (*hp)->id == i) 221 if ((*hp) 323 struct l_nch **hp, *lc; local [all...] |
H A D | rnmh.c | 201 struct l_nch **hp; local 204 for (hp = ncachehash(i, na); *hp; hp++) 206 for (hp = ncachehash(na); *hp; hp++) 212 if ((*hp)->id == i && (*hp)->na == na) 214 if ((*hp) 320 struct l_nch **hp, *ln; local [all...] |
/macosx-10.10/bind9-45.101/bind9/contrib/queryperf/missing/ |
H A D | getnameinfo.c | 95 struct hostent *hp; local 193 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 195 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 199 if (hp) { 201 p = strchr(hp->h_name, '.'); 204 if (strlen(hp->h_name) > hostlen) { 206 freehostent(hp); 210 strcpy(host, hp->h_name); 212 freehostent(hp);
|
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/bltins/ |
H A D | hist.c | 44 register History_t *hp; local 61 hp = shp->gd->hist_ptr; 87 if((flag = hist_max(hp) - opt_info.num-1) < 0) 105 hist_cancel(hp); 141 range[flag] += (hist_max(hp)-1); 147 location = hist_find(hp,argv[1],hist_max(hp)-1,0,-1); 157 flag = hist_max(hp)-16; 162 flag = hist_max(hp)-2; 166 index2 = hist_min(hp); [all...] |
/macosx-10.10/mail_cmds-30/mail/ |
H A D | tty.c | 68 grabh(hp, gflags) 69 struct header *hp; 124 if (!ttyset && hp->h_to != NULL) 127 hp->h_to = 128 extract(readtty("To: ", detract(hp->h_to, 0)), GTO); 132 if (!ttyset && hp->h_subject != NULL) 135 hp->h_subject = readtty("Subject: ", hp->h_subject); 139 if (!ttyset && hp->h_cc != NULL) 142 hp [all...] |
/macosx-10.10/zsh-61/zsh/Src/ |
H A D | hashtable.c | 166 HashNode hn, hp, hq; local 172 hp = ht->nodes[hashval]; 175 if (!hp) { 184 if (ht->cmpnodes(hp->nam, hn->nam) == 0) { 187 hn->next = hp->next; 193 if(hashtab[i] == hp) 195 } else if(ht->scan->u.u == hp) 198 return hp; 202 hq = hp; 203 hp 229 HashNode hp; local 253 HashNode hp; local 273 HashNode hp, hq; local 455 struct hashnode **onodes, **ha, *hn, *hp; local 483 struct hashnode **ha, *hn, *hp; local [all...] |
/macosx-10.10/vim-55/runtime/compiler/ |
H A D | hp_acc.vim | 9 " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit)
|
/macosx-10.10/dtrace-147/libctf/ |
H A D | ctf_open.c | 211 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, argument 218 uint_t objtoff = hp->cth_objtoff; 219 uint_t funcoff = hp->cth_funcoff; 258 if (objtoff >= hp->cth_funcoff || 269 if (funcoff >= hp->cth_typeoff) { 315 ctf_hash_t *hp; local 561 hp = &fp->ctf_structs; 564 hp = &fp->ctf_unions; 567 hp = &fp->ctf_enums; 570 hp 655 ctf_header_t hp; local [all...] |
/macosx-10.10/bootp-298/bootpd.tproj/ |
H A D | bootpdfile.c | 113 register struct hosts *hp, *thp; local 139 hp = S_file_hosts; 140 while (hp) { 141 thp = hp->next; 142 hostfree(&S_file_hosts, hp); 143 hp = thp; 248 struct hosts * hp; local 250 hp = hostbyaddr(S_file_hosts, hwtype, hwaddr, hwlen, 252 if (hp == NULL) 255 *hostname_p = strdup(hp 266 struct hosts * hp; local [all...] |
/macosx-10.10/ntp-92/libntp/ |
H A D | ntp_rfc2553.c | 292 struct hostent *hp; local 297 hp = gethostbyaddr( 300 if (hp == NULL) { 310 namelen = min(strlen(hp->h_name), hostlen - 1); 312 strncpy(host, hp->h_name, namelen); 333 struct hostent *hp = NULL; local 408 errval = DNSlookup_name(nodename, AF_INET, &hp); 410 if (hp == NULL) { 428 ai->ai_family = hp->h_addrtype; 431 memcpy(&sockin->sin_addr, hp [all...] |
/macosx-10.10/BerkeleyDB-21/db/dbinc/ |
H A D | db_dispatch.h | 55 #define DB_TXNLIST_MASK(hp, n) (n % hp->nslots)
|
/macosx-10.10/BerkeleyDB-21/db/mp/ |
H A D | mp_mvcc.c | 92 DB_MPOOL_HASH *hp; local 115 MP_GET_BUCKET(env, mfp, pgno, &infop, hp, ret); 122 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) { 130 MUTEX_UNLOCK(env, hp->mtx_hash); 148 __memp_bh_freeze(dbmp, infop, hp, bhp, need_frozenp) 151 DB_MPOOL_HASH *hp; 183 MUTEX_UNLOCK(env, hp->mtx_hash); 203 MUTEX_LOCK(env, hp->mtx_hash); 221 nbucket = (u_int32_t)(hp - (DB_MPOOL_HASH *)R_ADDR(infop, c_mp->htab)); 316 SH_TAILQ_INSERT_BEFORE(&hp [all...] |
H A D | mp_fset.c | 33 DB_MPOOL_HASH *hp; local 97 MP_GET_BUCKET(env, dbmfp->mfp, pgno, &infop, hp, ret); 103 MUTEX_UNLOCK(env, hp->mtx_hash); 109 ++hp->hash_page_dirty; 112 MUTEX_UNLOCK(env, hp->mtx_hash);
|
H A D | mp_fget.c | 115 DB_MPOOL_HASH *hp; local 140 hp = NULL; 237 MP_GET_BUCKET(env, mfp, *pgnoaddr, &infop, hp, ret); 245 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) { 299 MUTEX_UNLOCK(env, hp->mtx_hash); 311 if (!F_ISSET(hp, IO_WAITER)) { 312 F_SET(hp, IO_WAITER); 313 MUTEX_LOCK(env, hp->mtx_io); 315 STAT(++hp->hash_io_wait); 318 MUTEX_UNLOCK(env, hp [all...] |
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/lib/ |
H A D | getaddrinfo.c | 153 struct hostent *hp; local 227 if ((hp = gethostbyname(hostname)) && 228 hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 229 for (i = 0; hp->h_addr_list[i]; i++) { 231 ((struct in_addr *)hp->h_addr_list[i])->s_addr, 245 if (((*res)->ai_canonname = strdup(hp->h_name)) == NULL) {
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/saslauthd/ |
H A D | getaddrinfo.c | 129 struct hostent *hp; local 196 if ((hp = gethostbyname(hostname)) && 197 hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 198 for (i = 0; hp->h_addr_list[i]; i++) { 200 ((struct in_addr *)hp->h_addr_list[i])->s_addr, 214 if (((*res)->ai_canonname = strdup(hp->h_name)) == NULL) {
|
/macosx-10.10/hfs-285/CopyHFSMeta/ |
H A D | ScanExtents.c | 52 GetNode(DeviceInfo_t *devp, HFSPlusVolumeHeader *hp, int nodeNum, size_t nodeSize, void *nodePtr) argument 57 HFSPlusExtentRecord *erp = &hp->extentsFile.extents; 58 size_t bufferSize = MAX(nodeSize, S32(hp->blockSize)); 68 offset = (uint32_t)(((off_t)nodeNum * nodeSize) / S32(hp->blockSize)); 94 lba = lba * S32(hp->blockSize); 95 for (i = 0; i < S32(hp->blockSize) / devp->blockSize; i++) { 115 size_t indx = nodeNum % (S32(hp->blockSize) / nodeSize); 193 HFSPlusVolumeHeader *hp; local 201 hp = useAltHdr ? &vop->vdp->altHeader : & vop->vdp->priHeader; 202 vBlockSize = S32(hp [all...] |
/macosx-10.10/remote_cmds-47/talk.tproj/ |
H A D | io.c | 75 struct hostent *hp, *hp2; local 82 hp = gethostbyaddr((const char *)&his_machine_addr.s_addr, 84 if (hp != NULL) { 85 hp2 = gethostbyname(hp->h_name); 91 his_machine_name = strdup(hp->h_name);
|
/macosx-10.10/iodbc-42.5/iodbc/iodbcinst/ |
H A D | misc.c | 143 HParamBlockRec hp; local 194 hp.fileParam.ioCompletion = NULL; 195 hp.fileParam.ioVRefNum = fldrRef; 196 hp.fileParam.ioDirID = fldrDid; 198 hp.fileParam.ioNamePtr = 202 hp.fileParam.ioNamePtr = 205 PBHCreate (&hp, FALSE);
|
/macosx-10.10/tcsh-65/tcsh/ |
H A D | sh.lex.c | 148 lex(struct wordent *hp) argument 158 hp->next = hp->prev = hp; 159 hp->word = STRNULL; 169 cleanup_push(hp, lex_cleanup); 170 wdp = hp; 181 new->next = hp; 183 hp->prev = new; 188 cleanup_ignore(hp); 239 copylex(struct wordent *hp, struct wordent *fp) argument 670 struct wordent *hp, *ip; local 881 struct wordent *hp = &lexi; local 1144 struct Hist *hp; local 1270 struct Hist *hp; local [all...] |
/macosx-10.10/ruby-106/ruby/ext/socket/ |
H A D | getaddrinfo.c | 535 struct hostent *hp; local 543 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 545 hp = gethostbyaddr((char*)addr, afd->a_addrlen, AF_INET); 547 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { 548 GET_AI(cur, afd, hp->h_addr_list[0], port); 549 GET_CANONNAME(cur, hp->h_name); 554 if (hp) 576 struct hostent *hp; local [all...] |