/illumos-gate/usr/src/lib/libgen/common/ |
H A D | strccpy.c | 61 int wd; local 92 wd = c - '0'; 95 wd <<= 3; 96 wd |= (c - '0'); 102 *pout++ = (char)wd;
|
/illumos-gate/usr/src/cmd/echo/ |
H A D | echo.c | 40 register int i, wd; local 109 j = wd = 0; 112 wd <<= 3; 113 wd |= (*cp - '0'); 115 (void) putchar(wd);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | echo.c | 44 int i, wd; local 121 j = wd = 0; 124 wd <<= 3; 125 wd |= (*cp - '0'); 127 prc_buff(wd);
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 260 * at least MAXPATHLEN bytes long. If wd is non-NULL, assume that it 269 abspath(char *wd, const char *raw, char *canon) argument 281 * using wd if it's been supplied. 288 if (wd != NULL) 289 (void) strncpy(absbuf, wd, sizeof (absbuf));
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | sortbib.c | 210 char wd[8][BUF/4], *strcat(); local 214 *wd[i] = NULL; 216 wd[0], wd[1], wd[2], wd[3], wd[4], wd[5], wd[6], wd[ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | ruptime.c | 82 struct whod *wd; local 169 wd = buf; 174 if (wd->wd_loadav[i] > maxloadav) 175 maxloadav = wd->wd_loadav[i]; 178 while (--we >= wd->wd_we)
|
H A D | rwho.c | 56 static struct whod wd; variable in typeref:struct:whod 66 #define WHDRSIZE (sizeof (wd) - sizeof (wd.wd_we)) 81 register struct whod *w = &wd; 112 cc = read(f, (char *)&wd, sizeof (struct whod));
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 112 char *wd = NULL; local 192 (wd = malloc(PATH_MAX + 4)) == NULL) 196 (void) strcpy(wd, "PWD="); 197 if (getcwd(&wd[4], PATH_MAX) == NULL) 198 (void) strcpy(&wd[4], "/"); 199 env[i] = wd; 371 if (wd) 372 free(wd);
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211.c | 117 wifi_data_t wd = { 0 }; local 125 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); 126 wd.wd_opmode = ic->ic_opmode; 127 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid); 128 wd.wd_qospad = 0; 130 wd.wd_qospad = 2; 132 wd.wd_qospad = roundup(wd.wd_qospad, sizeof (uint32_t)); 134 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd)); [all...] |
H A D | net80211_proto.c | 784 wifi_data_t wd = { 0 }; local 963 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); 964 wd.wd_opmode = ic->ic_opmode; 965 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid); 966 wd.wd_qospad = 0; 969 wd.wd_qospad = 2; 971 wd.wd_qospad = roundup(wd.wd_qospad, 975 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd)); [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | date.c | 814 int wd; /* 0=Monday, 1=Tuesday, ... 6=Sunday */ local 815 wd = ((int)(x.rJD+0.5)) % 7; 816 sprintf(&z[j],"%02d",(n+7-wd)/7);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rwhod.c | 254 struct whod wd; local 258 cc = recvfrom(s, &wd, sizeof (struct whod), 0, 271 if (gethostbyname(wd.wd_hostname) == 0) { 273 wd.wd_hostname); 277 if (wd.wd_vers != WHODVERSION) 279 if (wd.wd_type != WHODTYPE_STATUS) 281 if (!verify(&wd)) { 286 (void) sprintf(path, "whod.%s", wd.wd_hostname); 303 wd.wd_sendtime = ntohl(wd 334 verify(const struct whod *wd) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 365 dict_walk_data_t *wd = wsp->walk_data; local 366 mdb_free(wd->curdict, wd->num_dicts * sizeof (rctl_dict_entry_t *)); 367 mdb_free(wd, sizeof (dict_walk_data_t));
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 512 int wd = ((devp->sd_inq->inq_rdf == RDF_SCSI2) && local 515 (void) scsi_ifsetcap(SES_ROUTE(ssc), "wide-xfer", wd, 1); local
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 470 wifi_data_t wd = { 0 }; local 485 wd.wd_secalloc = WIFI_SEC_NONE; 486 wd.wd_opmode = sc->ic.ic_opmode; 487 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_macaddr); 496 macp->m_pdata = &wd; 497 macp->m_pdata_size = sizeof (wd);
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | topo_gather.c | 748 walk_diskmon_t wd; local 754 wd.target = diskp; 755 wd.pfmri = NULL; 757 &wd, &err)) == NULL) { 765 if (wd.pfmri != NULL) 766 dstrfree(wd.pfmri); 774 if (wd.pfmri != NULL) 775 dstrfree(wd.pfmri);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 846 * at least MAXPATHLEN bytes long. "wd" contains the current working 854 abspath(char *wd, char *raw, char *canon) argument 861 if (wd == NULL || raw == NULL || canon == NULL) 866 * using wd if it's been supplied. 873 if (strlcpy(absbuf, wd, sizeof (absbuf)) >= sizeof (absbuf))
|
/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | atu.c | 1172 wifi_data_t wd = {0}; local 1266 wd.wd_opmode = ic->ic_opmode; 1267 wd.wd_secalloc = WIFI_SEC_NONE; 1268 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); 1281 macp->m_pdata = &wd; 1282 macp->m_pdata_size = sizeof (wd);
|
/illumos-gate/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 323 wifi_data_t wd = { 0 }; local 332 wd.wd_secalloc = WIFI_SEC_NONE; 333 wd.wd_opmode = IEEE80211_M_STA; 336 mac->m_pdata = &wd; 337 mac->m_pdata_size = sizeof (wd);
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100.c | 262 wifi_data_t wd = { 0 }; local 433 wd.wd_secalloc = WIFI_SEC_NONE; 434 wd.wd_opmode = ic->ic_opmode; 435 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); 451 macp->m_pdata = &wd; 452 macp->m_pdata_size = sizeof (wd); 1671 wifi_data_t wd = { 0 }; local 1699 wd.wd_secalloc = WIFI_SEC_WEP; 1701 wd.wd_secalloc = WIFI_SEC_NONE; 1702 wd [all...] |
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200.c | 337 wifi_data_t wd = { 0 }; local 565 wd.wd_secalloc = WIFI_SEC_NONE; 566 wd.wd_opmode = ic->ic_opmode; 567 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); 583 macp->m_pdata = &wd; 584 macp->m_pdata_size = sizeof (wd); 1800 wifi_data_t wd = { 0 }; local 1822 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); 1823 wd.wd_opmode = ic->ic_opmode; 1824 IEEE80211_ADDR_COPY(wd [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 2234 char *wd = windomain != NULL ? windomain : ""; local 2235 len = snprintf(NULL, 0, "%s@%s", winname, wd) + 1; 2237 (void) snprintf(*name, len, "%s@%s", winname, wd);
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_msg.h | 116 sip_str_t wd; member in struct:sip_date 219 #define date_wd hdr_value.date.wd
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | main.c | 4112 register char *wd; local 4117 wd = p; 4122 if (wd[0] != '\0') 4123 setclass(mid, wd);
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 1973 wifi_data_t wd = { 0 }; local 2279 wd.wd_opmode = ic->ic_opmode; 2280 wd.wd_secalloc = WIFI_SEC_NONE; 2281 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); 2296 macp->m_pdata = &wd; 2297 macp->m_pdata_size = sizeof (wd);
|