Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dnbyte_to_UTF2.c45 cd->hbuf[1] = cd->hbuf[2] = cd->hbuf[3] = cd->hbuf[4] = '\0'; in _icv_open()
83 cd->hbuf[1] = cd->hbuf[2] = cd->hbuf[3] = cd->hbuf[4] = '\0'; in _icv_iconv()
121 cd->hbuf[1] = *ib; in _icv_iconv()
126 cd->hbuf[2] = *ib; in _icv_iconv()
143 cd->hbuf[2] = 'm'; in _icv_iconv()
145 cd->hbuf[2] = 'n'; in _icv_iconv()
147 cd->hbuf[2] = 'o'; in _icv_iconv()
149 cd->hbuf[2] = 't'; in _icv_iconv()
151 cd->hbuf[2] = 'u'; in _icv_iconv()
161 cd->hbuf[2] = *ib; in _icv_iconv()
[all …]
H A Dnbyte_euc.h37 char hbuf[5]; member
85 temp[1] = cd->hbuf[1];\
86 temp[2] = cd->hbuf[2];\
87 temp[3] = cd->hbuf[3];\
88 temp[4] = cd->hbuf[4];\
98 cd->hbuf[1] = temp[1];\
99 cd->hbuf[2] = temp[2];\
100 cd->hbuf[3] = temp[3];\
101 cd->hbuf[4] = temp[4];\
H A Dnbyte_utf.h36 char hbuf[5]; member
83 temp[1] = cd->hbuf[1];\
84 temp[2] = cd->hbuf[2];\
85 temp[3] = cd->hbuf[3];\
86 temp[4] = cd->hbuf[4];\
96 cd->hbuf[1] = temp[1];\
97 cd->hbuf[2] = temp[2];\
98 cd->hbuf[3] = temp[3];\
99 cd->hbuf[4] = temp[4];\
H A Dnbyte_to_euc.c64 cd->hbuf[1] = cd->hbuf[2] = cd->hbuf[3] = cd->hbuf[4] = '\0'; in _icv_open()
102 cd->hbuf[1] = cd->hbuf[2] = cd->hbuf[3] = cd->hbuf[4] = '\0'; in _icv_iconv()
139 cd->hbuf[1] = *ib; in _icv_iconv()
144 cd->hbuf[2] = *ib; in _icv_iconv()
161 cd->hbuf[2] = 'm'; in _icv_iconv()
163 cd->hbuf[2] = 'n'; in _icv_iconv()
165 cd->hbuf[2] = 'o'; in _icv_iconv()
167 cd->hbuf[2] = 't'; in _icv_iconv()
169 cd->hbuf[2] = 'u'; in _icv_iconv()
179 cd->hbuf[2] = *ib; in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsasl.c243 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
261 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0)
269 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
270 >= sizeof(hbuf))
278 if (outlen < strlen(hbuf) + strlen(pbuf) + 2)
283 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
H A Ddaemon.c3426 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3430 return hbuf;
3697 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3736 (void) sm_strlcpy(hbuf, RealHostName, sizeof(hbuf));
3797 p = &hbuf[strlen(hbuf)];
3798 l = sizeof(hbuf) - (hbuf - p) - 6;
3846 p = &hbuf[strlen(hbuf)];
3852 p = &hbuf[strlen(hbuf)];
3882 return hbuf;
4017 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
[all …]
H A Dheaders.c201 char hbuf[50]; local
203 (void) expand(fvalue, hbuf, sizeof(hbuf), e);
204 for (p = hbuf; isascii(*p) && isspace(*p); )
1107 char hbuf[MAXNAME + 1]; local
1138 name = hbuf;
1139 (void) sm_snprintf(hbuf, sizeof(hbuf), "%.80s", RealHostName);
1142 p = &hbuf[strlen(hbuf)];
1143 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
H A Dparseaddr.c1966 char hbuf[MAXNAME + 1]; local
1979 hbuf[0] = '\0';
2034 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false);
2051 if (strchr(hbuf, '.') != NULL)
2054 hbuf);
2055 setstat(dsntoexitstat(hbuf));
2057 else if (isascii(hbuf[0]) && isdigit(hbuf[0]))
2059 setstat(atoi(hbuf));
2064 if (sm_strcasecmp(ep->ec_name, hbuf) == 0)
2093 else if (isenhsc(hbuf, '\0') > 0)
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dbio.c75 struct hbuf *hbuf; /* Hash buckets */ variable
414 struct hbuf *hp; in brelse()
581 struct hbuf *hp; in getblk_common()
789 struct hbuf *hp; in trygetblk()
867 struct hbuf *hp; in bflush()
960 struct hbuf *hp; in blkflush()
1183 hbuf = kmem_zalloc(v.v_hbuf * sizeof (struct hbuf), KM_SLEEP); in binit()
1192 hbuf[i].b_forw = hbuf[i].b_back = (struct buf *)&hbuf[i]; in binit()
1193 hbuf[i].av_forw = hbuf[i].av_back = (struct buf *)&hbuf[i]; in binit()
1453 struct hbuf *hp; in bio_getfreeblk()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dbio.c36 struct hbuf *bw_hbufs; /* Snapshot of hbuf buckets */
45 struct hbuf *hbufs; in buf_walk_init()
68 nbytes = sizeof (struct hbuf) * v.v_hbuf; in buf_walk_init()
103 bwp->bw_hbufi * sizeof (struct hbuf))) { in buf_walk_step()
128 mdb_free(bwp->bw_hbufs, sizeof (struct hbuf) * bwp->bw_nhbufs); in buf_walk_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c374 char hbuf[ETM_HDRLEN]; in etm_handle_startup() local
399 hdrstat = etm_check_hdr(hdl, mp, hbuf); in etm_handle_startup()
411 hp = (etm_proto_hdr_t *)(void *)hbuf; in etm_handle_startup()
455 char hbuf[ETM_HDRLEN]; in etm_send_shutdown() local
635 char hbuf[ETM_HDRLEN]; in etm_recv() local
647 hdrstat = etm_check_hdr(hdl, mp, hbuf); in etm_recv()
664 if ((etm_xport_write(hdl, conn, Rw_timeout, hbuf, in etm_recv()
764 hdrlen = etm_create_hdr(hbuf, mp->epm_ver, in etm_recv()
779 buflen = etm_get_msglen(hbuf); in etm_recv()
1081 char hbuf[ETM_HDRLEN]; in etm_free_epmap() local
[all …]
/illumos-gate/usr/src/cmd/troff/
H A Dn8.c51 char hbuf[NHEX]; variable
52 char *nexth = hbuf;
145 if ((j = nexth) >= (hbuf + NHEX - 2)) in casehw()
166 if (j >= (hbuf + NHEX - 2)) in casehw()
186 e = hbuf; in exword()
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dexample.c52 char hbuf[1024]; local
74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
75 smfi_addheader(ctx, "X-Archived", hbuf);
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_html.c123 char hbuf[4], vbuf[4]; in print_tbl() local
195 (void)snprintf(hbuf, sizeof(hbuf), in print_tbl()
197 hspans = hbuf; in print_tbl()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Demacs.c1182 char hbuf[MAXLINE]; in xcommands() local
1184 strcpy(hbuf, "Current command "); in xcommands()
1185 strcat(hbuf, itos(hline)); in xcommands()
1188 strcat(hbuf, " (line "); in xcommands()
1189 strcat(hbuf, itos(hloff+1)); in xcommands()
1190 strcat(hbuf, ")"); in xcommands()
1195 strcat(hbuf, "; Previous command "); in xcommands()
1196 strcat(hbuf, itos(location.hist_command)); in xcommands()
1199 strcat(hbuf, " (line "); in xcommands()
1201 strcat(hbuf, ")"); in xcommands()
[all …]
/illumos-gate/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c133 char hbuf[NI_MAXHOST]; local
153 hbuf[i++] = *p;
164 hbuf[i] = addr[i];
177 hbuf[i] = '\0';
190 hbuf[i] = addr[i];
192 hbuf[i] = '\0';
210 if (getaddrinfo(hbuf, p, &hints, &ai) != 0) {
212 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ntp.c66 char hbuf[2 * MAC_OCTETS_MAX + 1]; in interpret_ntp() local
220 hbuf[j++] = hexstr[ntp->mac[i] >> 4 & 0x0f]; in interpret_ntp()
221 hbuf[j++] = hexstr[ntp->mac[i] & 0x0f]; in interpret_ntp()
223 hbuf[j] = '\0'; in interpret_ntp()
226 "Authentication code = %s", hbuf); in interpret_ntp()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.c8 void *hbuf, int dir) in t4_memory_rw() argument
10 return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir); in t4_memory_rw()
/illumos-gate/usr/src/lib/libresolv/
H A Dres_gethost.c319 char **a, hbuf[MAXHOSTNAMELEN]; local
326 (void) strcpy(hbuf, hp->h_name);
329 if ((hp2 = res_gethostbyname(hbuf)) != (struct hostent *)NULL)
342 syslog(LOG_NOTICE, "gethostbyaddr: %s != %s", hbuf,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c351 static char hbuf[MAXHOSTNAMELEN+1]; in ehost2() local
355 if (ether_ntohost(hbuf, ea) == 0) in ehost2()
356 return (hbuf); in ehost2()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1062 char hbuf[NI_MAXHOST]; in Aerror() local
1068 if (getnameinfo(address, alen, hbuf, sizeof(hbuf), in Aerror()
1070 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror()
1071 hbuf[sizeof(hbuf) - 1] = '\0'; in Aerror()
1076 string, hbuf, sbuf, strerror(error)); in Aerror()
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h252 struct hbuf { struct
344 extern struct hbuf *hbuf; /* Hash table */
/illumos-gate/usr/src/uts/common/fs/
H A Dfsflush.c356 struct hbuf *hp; in fsflush()
404 hp = &hbuf[ix]; in fsflush()
413 hmp = &hbuf[ix].b_lock; in fsflush()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c2264 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV];
2268 getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), pbuf, sizeof(pbuf),
2274 snprintf(out, outlen, "%s;%s", hbuf, pbuf);
2300 char hbuf[NI_MAXHOST]; in _sasl_ipfromstring() local
2318 hbuf[i++] = *p; in _sasl_ipfromstring()
2330 hbuf[i] = addr[i]; in _sasl_ipfromstring()
2340 hbuf[i] = addr[i]; in _sasl_ipfromstring()
2351 hbuf[i] = '\0'; in _sasl_ipfromstring()
2362 hbuf[i] = addr[i]; in _sasl_ipfromstring()
2364 hbuf[i] = '\0'; in _sasl_ipfromstring()
[all …]
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c136 char *hbuf[HDRSZ]; in file_xlatetom() local
152 dst.d_buf = (Elf_Void *)&hbuf; in file_xlatetom()
160 (void) memcpy(hdr, &hbuf, dst.d_size); in file_xlatetom()

12