Searched defs:hptr (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/mail/
H A Ddumpaff.c41 struct hdrs *hptr; local
73 for (hptr = hdrlines[H_AFWDFROM].head;
74 hptr != (struct hdrs *)NULL;
75 hptr = hptr->next) {
76 printhdr(type, H_AFWDFROM, hptr, f);
H A Ddumprcv.c41 struct hdrs *hptr; local
66 for (hptr = hdrlines[H_RECEIVED].head;
67 hptr != (struct hdrs *)NULL;
68 hptr = hptr->next) {
69 printhdr(type, H_RECEIVED, hptr, f);
H A Dprinthdr.c35 printhdr(int type, int hdrtype, struct hdrs *hptr, FILE *fp) argument
42 if (hptr == NULL)
49 header[hdrtype].tag, hptr->value);
57 contptr = hptr;
H A Dgendeliv.c42 register struct hdrs *hptr; local
114 if ((hptr = hdrlines[H_DATE].head) != (struct hdrs *)NULL) {
115 Dout(pn, 0,"date from H_DATE = '%s'\n", hptr->value);
116 fprintf(outfile,"%s\n", hptr->value);
120 if ((hptr = hdrlines[H_FROM1].tail) == (struct hdrs *)NULL) {
121 hptr = hdrlines[H_FROM].tail;
123 Dout(pn, 0,"date from H_FROM = '%s'\n", hptr->value);
124 (void) strlcpy(buf, hptr->value, sizeof (buf));
157 if ((hptr = hdrlines[H_SUBJ].head) != (struct hdrs *)NULL) {
159 header[H_SUBJ].tag, hptr
[all...]
H A Dcopylet.c94 struct hdrs *hptr; local
126 if ((hptr = hdrlines[H_CLEN].head) !=
128 clen = atol (hptr->value);
208 if ((hptr = hdrlines[H_TCOPY].head) !=
214 if ((hptr = hdrlines[H_RECEIVED].head) !=
221 if ((hptr = hdrlines[H_MIMEVERS].head) !=
225 if ((hptr = hdrlines[H_CTYPE].head) !=
229 if ((hptr = hdrlines[H_CLEN].head) !=
259 if (printhdr (type, htype, hptr, f) < 0) {
316 hptr
[all...]
H A Dsendmail.c53 struct hdrs *hptr; local
258 if ((hptr = hdrlines[H_MIMEVERS].head) !=
266 if ((hptr = hdrlines[H_CTYPE].head) !=
274 if ((hptr = hdrlines[H_CLEN].head) !=
294 if ((hptr = hdrlines[H_MIMEVERS].head) !=
302 if ((hptr = hdrlines[H_CTYPE].head) !=
310 if ((hptr = hdrlines[H_CLEN].head) !=
403 if ((hptr = hdrlines[H_MIMEVERS].head) != (struct hdrs *)NULL) {
404 if (strlen(hptr->value) == 0) {
405 (void) strlcpy(hptr
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c41 gethostbyname_r(const char *name, struct hostent *hptr, HOST_R_ARGS) { argument
52 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
55 *answerp = hptr;
62 return (copy_hostent(he, hptr, HOST_R_COPY));
68 struct hostent *hptr, HOST_R_ARGS) {
79 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0)
82 *answerp = hptr;
89 return (copy_hostent(he, hptr, HOST_R_COPY));
100 gethostent_r(struct hostent *hptr, HOST_R_ARGS) { argument
111 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COP
67 gethostbyaddr_r(const char *addr, int len, int type, struct hostent *hptr, HOST_R_ARGS) argument
159 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
219 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c197 _sd_hash_hd_t *hptr; local
208 for (hptr = bucket->hb_head; hptr; hptr = hnext) {
212 hnext = hptr->hh_next;
214 * enforce ordering of load of hptr->hh_next
232 if ((hptr->hh_cd == cd) && (hptr->hh_blk_num == block_num))
234 if (hptr->hh_blk_num > block_num) {
236 _sd_hash_hd_t *, hptr);
290 _sd_hash_insert(int cd, nsc_off_t block_num, _sd_hash_hd_t *hptr, _sd_hash_table_t *table) argument
376 _sd_hash_delete(_sd_hash_hd_t *hptr, _sd_hash_table_t *table) argument
454 _sd_hash_hd_t *hptr; local
469 _sd_hash_hd_t *hptr; local
[all...]
H A Dsd_ft.c694 _sd_hash_hd_t *hptr; local
703 hptr = bucket->hb_head;
704 while (hptr) {
705 cc_ent = (_sd_cctl_t *)hptr;
716 hptr = hptr->hh_next;
755 hptr = bucket->hb_head;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsol.c41 tnrhc_hash_t **hptr; member in struct:tnrh_walk_s
116 twp->hptr = twp->tnrhc_table;
132 if (*twp->hptr == NULL || twp->idx >= TNRHC_SIZE) {
133 twp->hptr++;
134 if (twp->hptr == twp->tnrhc_table +
136 twp->hptr = twp->tnrhc_table_v6;
137 else if (twp->hptr == twp->tnrhc_table_v6 +
142 wsp->walk_addr = (uintptr_t)(*twp->hptr)[twp->idx++].
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c202 struct hostent *hptr
207 ASSERT(hptr != NULL);
208 if (hptr) {
209 buffer = (mybuffer_t *)((char *)hptr - sizeof (mybuffer_t));
249 struct hostent *hptr; local
264 * +--------------------+ <--- hptr
284 hptr = (struct hostent *)((char *)buffer + sizeof (mybuffer_t));
285 req = (getipnodebyname_req_t *)((char *)hptr + hostent_size);
286 cnf = (getipnodebyname_cnf_t *)((char *)hptr + hostent_size);
298 hptr
[all...]
H A Discsi_ioctl.c429 struct hostent *hptr; local
550 hptr = kgetipnodebyname(addr_str, type,
552 if (!hptr) {
569 kfreehostent(hptr);
578 curr_ste->ste_ipaddr.a_addr.i_insize = hptr->h_length;
579 bcopy(*hptr->h_addr_list,
582 kfreehostent(hptr);
H A Discsi_login.c1981 struct hostent *hptr; local
1996 hptr = kgetipnodebyname(addr_str, type, AI_ALL, &error_num);
1997 if (!hptr) {
2009 iscsid_addr_to_sockaddr(hptr->h_length, *hptr->h_addr_list,
2012 kfreehostent(hptr);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c387 iphtable_t *hptr; local
543 iphtable_t *hptr; local
589 hptr = tables[role];
590 while (hptr != NULL) {
591 hptr = printhash(hptr, kmemcpywrap,
596 hptr = tables[role];
597 while (hptr != NULL) {
598 hptr = printhash(hptr, kmemcpywra
[all...]
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c461 struct hostent *hptr; local
488 hptr = getipnodebyname(
494 if (hptr) {
507 cnf->h_addrlen = (uint32_t)hptr->h_length;
508 cnf->h_addrtype = (uint32_t)hptr->h_addrtype;
511 if (*hptr->h_addr_list != NULL) {
514 *hptr->h_addr_list,
515 hptr->h_length);
518 cnf_len += hptr->h_length;
521 cnf->h_size_needed += hptr
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c261 uintptr_t hptr = NULL; local
360 hptr = d[DI_HASH]->d_un.d_ptr;
362 hptr += addr;
364 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) {
366 (long)(hptr));
631 if ((hptr == NULL) || (hnbuckets == 0) || (hnchains == 0)) {
639 hash = &((uint_t *)hptr)[2 + htmp];
667 hash = &((uint_t *)hptr)[2 + hnbuckets + ndx];
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c894 char *ptr, *hptr; local
902 hptr = ptr;
907 return (hptr);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_sadb.c664 isaf_t *hptr; local
727 hptr = INBOUND_BUCKET(sp, ah->ah_spi);
728 mutex_enter(&hptr->isaf_lock);
729 assoc = ipsec_getassocbyspi(hptr, ah->ah_spi, src_ptr, dst_ptr, af);
730 mutex_exit(&hptr->isaf_lock);
/illumos-gate/usr/src/uts/common/io/
H A Dksyms.c83 ksyms_buflist_hdr_t *hptr = (ksyms_buflist_hdr_t *)ptr; local
85 if (hptr->cur == NULL)
89 sz = MIN(rsize, (BUF_SIZE - hptr->curbuf_off));
90 bcopy(src, (hptr->cur->buf + hptr->curbuf_off), sz);
92 hptr->curbuf_off += sz;
93 if (hptr->curbuf_off == BUF_SIZE) {
94 hptr->curbuf_off = 0;
95 hptr->cur = list_next(&hptr
220 void *hptr = NULL; local
[all...]
H A Dgldutil.c820 ipoib_hdr_t *hptr; local
830 hptr = (ipoib_hdr_t *)pinfo->hdr_rptr;
831 hptr->ipoib_mbz = htons(0);
832 hptr->ipoib_type = pktinfo->ethertype;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c300 getXbyY_to_dbop_t *hptr; local
351 hptr = &getXbyY_to_dbop[idx];
352 if (hptr->dbop != dbop || strcmp(name, hptr->name) != 0)
/illumos-gate/usr/src/cmd/format/
H A Dio.c351 char *cptr, *hptr, *sptr; local
379 hptr = str;
411 clean_token(buf, hptr);
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1494 print(struct blk *hptr) argument
1500 rewind(hptr);
1501 while (sfeof(hptr) == 0) {
1502 if (sgetc(hptr) > 99) {
1503 rewind(hptr);
1504 while (sfeof(hptr) == 0) {
1505 printf("%c", sgetc(hptr));
1511 fsfile(hptr);
1512 sc = sbackc(hptr); /* read scale off end of blk */
1513 if (sfbeg(hptr) !
2163 copy(struct blk *hptr, int size) argument
2200 sdump(char *s1, struct blk *hptr) argument
2216 seekc(struct blk *hptr, int n) argument
2246 salterwd(struct wblk *hptr, struct blk *n) argument
2256 more(struct blk *hptr) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c3021 ns_hash_t *hptr; local
3201 for (hptr = cfg->llHead; hptr; hptr = hptr->h_llnext) {
3202 if (hptr->h_type != NS_HASH_AMAP) {
3216 mptr = hptr->h_map;
3232 for (hptr = cfg->llHead; hptr; hptr
[all...]
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c699 char *hptr, **thisargv, *ebuf; local
743 hptr = &(holder[strlen(holder)]);
746 hptr[-2] = ' ';
754 (void) strncpy(hptr, ibuf,
755 (size_t)(&(holder[IBUF_SIZE]) - hptr));
762 if (hptr[strlen(hptr) - 2] == CONT_CHAR) {
764 hptr += strlen(hptr);
767 hptr[
[all...]

Completed in 123 milliseconds

12