Searched refs:hs (Results 1 - 25 of 93) sorted by relevance

1234

/freebsd-10.1-release/tools/tools/ath/athsurvey/
H A Dathsurvey.c54 get_survey_stats(int s, const char *ifname, HAL_CHANNEL_SURVEY *hs) argument
65 atd.ad_out_data = (caddr_t) hs;
76 process_survey_stats(HAL_CHANNEL_SURVEY *hs) argument
91 if (hs->samples[i].cycle_count == 0)
98 cycle_count = hs->samples[i].cycle_count;
105 tx = (float) hs->samples[i].tx_busy * 100.0 /
106 hs->samples[i].cycle_count;
107 rx = (float) hs->samples[i].rx_busy * 100.0 /
108 hs->samples[i].cycle_count;
109 cc = (float) hs
194 HAL_CHANNEL_SURVEY hs; local
[all...]
/freebsd-10.1-release/lib/libc/net/
H A Dntoh.c40 htons(uint16_t hs) argument
43 return (__htons(hs));
/freebsd-10.1-release/usr.bin/ruptime/
H A Druptime.c57 static struct hs { struct
60 } *hs; variable in typeref:struct:hs
146 #define HS(a) ((const struct hs *)(a))
175 struct hs *hsp;
197 if ((hs =
198 realloc(hs, (hspace += 40) * sizeof(*hs))) == NULL)
200 hsp = hs + nhosts;
235 qsort(hs, nhosts, sizeof(hs[
[all...]
/freebsd-10.1-release/contrib/xz/src/liblzma/lz/
H A Dlz_encoder.c292 uint32_t hs; local
295 hs = 0xFFFF;
299 hs = lz_options->dict_size - 1;
300 hs |= hs >> 1;
301 hs |= hs >> 2;
302 hs |= hs >> 4;
303 hs |
[all...]
/freebsd-10.1-release/contrib/libreadline/
H A Dhistory.h53 #define HISTENT_BYTES(hs) (strlen ((hs)->line) + strlen ((hs)->timestamp))
H A Dhistory.c320 HIST_ENTRY *hs; local
322 hs = the_history[history_length - 1];
323 FREE (hs->timestamp);
324 hs->timestamp = savestring (string);
/freebsd-10.1-release/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc2texi18 use Mdoc qw(ns pp hs mapwords gen_encloser nl);
67 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ });
70 "\@node", hs, "$name\n", ns, "\@subsection", hs, $name
72 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ });
132 Mdoc::def_macro('.It', sub { '@item', hs, @_ });
H A Dmdoc2man14 use Mdoc qw(hs ns pp mapwords son soff stoggle gen_encloser);
20 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
21 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
99 my @ret = (".TP$width\n.NOP", hs);
111 ".TP$width\n.NOP", hs, @_
H A DMdoc.pm130 =item hs
155 our @EXPORT_OK = qw(ns pp soff son stoggle hs mapwords gen_encloser nl);
162 hs => ['hardspace'],
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DFormatString.h266 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount),
270 : start(0),length(0), hs(valid ? NotSpecified : Invalid), amt(0),
274 return hs == Invalid;
277 HowSpecified getHowSpecified() const { return hs; }
278 void setHowSpecified(HowSpecified h) { hs = h; }
280 bool hasDataArgument() const { return hs == Arg; }
288 assert(hs == Constant);
298 assert(hs == Constant);
318 HowSpecified hs; member in class:clang::analyze_format_string::OptionalAmount
/freebsd-10.1-release/contrib/ntp/sntp/ag-tpl/
H A Dmdoc2man40 use Mdoc qw(hs ns pp mapwords son soff stoggle gen_encloser);
46 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
47 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
125 my @ret = (".TP$width\n.NOP", hs);
137 ".TP$width\n.NOP", hs, @_
/freebsd-10.1-release/sbin/savecore/
H A Dsavecore.c298 int he, hs, nr, nw, wl; local
323 for (hs = nw; hs < nr; hs += BLOCKSIZE) {
324 for (he = hs; he < nr && buf[he] == 0;
328 if (he >= hs + BLOCKSIZE)
341 if (hs + BLOCKSIZE > nr)
342 hs = he = nr;
346 * nw <= hs <= he <= nr
347 * If hs > n
[all...]
/freebsd-10.1-release/sys/net80211/
H A Dieee80211_hwmp.c266 struct ieee80211_hwmp_state *hs; local
271 hs = malloc(sizeof(struct ieee80211_hwmp_state), M_80211_VAP,
273 if (hs == NULL) {
277 hs->hs_maxhops = IEEE80211_HWMP_DEFAULT_MAXHOPS;
278 callout_init(&hs->hs_roottimer, CALLOUT_MPSAFE);
279 vap->iv_hwmp = hs;
285 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
287 callout_drain(&hs->hs_roottimer);
296 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
303 callout_drain(&hs
809 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
842 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
883 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
957 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
1274 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
1648 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
1745 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
1862 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
1917 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
2048 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
2071 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local
[all...]
/freebsd-10.1-release/usr.sbin/tcpdrop/
H A Dtcpdrop.c162 sockinfo(const struct sockaddr *sa, struct host_service *hs) argument
167 rv = getnameinfo(sa, sa->sa_len, hs->hs_host, sizeof hs->hs_host,
168 hs->hs_service, sizeof hs->hs_service, flags);
/freebsd-10.1-release/bin/sh/
H A Dhistedit.c163 sethistsize(const char *hs) argument
169 if (hs == NULL || *hs == '\0' ||
170 (histsize = atoi(hs)) < 0)
/freebsd-10.1-release/contrib/apr/network_io/unix/
H A Dsockaddr.c508 struct hostent hs; local
524 hs.h_addr_list = (char **)addr_list;
525 hp = &hs;
532 gethostbyname_r(hostname, &hs, &hd);
533 hp = &hs;
537 gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
541 hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
708 struct hostent hs, *hptr;
713 sizeof(struct in_addr), AF_INET, &hs, &hd);
714 hptr = &hs;
[all...]
/freebsd-10.1-release/contrib/binutils/binutils/
H A Drclex.c857 const char *hs = NULL; local
863 hs = yylval.s;
866 hs = yylval.s = yylval.ss.s;
869 if (! hs)
874 else if (! strcmp (hs, "StringFileInfo"))
876 else if (! strcmp (hs, "VarFileInfo"))
/freebsd-10.1-release/sys/powerpc/wii/
H A Dwii_fbvar.h653 wiifb_hscaling_read(struct wiifb_softc *sc, struct wiifb_hscaling *hs) argument
658 hs->hs_step = *reg & 0x1ff;
659 hs->hs_enable = (*reg >> 12) & 0x1;
663 wiifb_hscaling_write(struct wiifb_softc *sc, struct wiifb_hscaling *hs) argument
668 *reg = ((hs->hs_step & 0x1ff) << 12) |
669 (hs->hs_enable & 0x1);
H A Dwii_fb.c340 struct wiifb_hscaling hs; local
439 hs.hs_enable = 0;
440 hs.hs_step = 256;
441 wiifb_hscaling_write(sc, &hs);
/freebsd-10.1-release/sys/dev/ath/
H A Dif_ath_beacon.c387 HAL_SURVEY_SAMPLE hs; local
391 bzero(&hs, sizeof(hs));
393 ret = ath_hal_get_mib_cycle_counts(sc->sc_ah, &hs);
412 hs.tx_busy,
413 hs.rx_busy,
414 hs.chan_busy,
415 hs.ext_chan_busy,
416 hs.cycle_count);
/freebsd-10.1-release/contrib/file/src/
H A Dsoftmagic.c973 p->h = (short)((p->hs[0]<<8)|(p->hs[1]));
997 p->h = (short)((p->hs[1]<<8)|(p->hs[0]));
1257 off = (short)((q->hs[0]<<8)|(q->hs[1]));
1260 off = (short)((q->hs[1]<<8)|(q->hs[0]));
1322 lhs = (p->hs[0] << 8) | p->hs[
[all...]
/freebsd-10.1-release/usr.bin/sed/
H A Dprocess.c66 #define hs HS.space macro
150 cspace(&PS, hs, hsl, REPLACE);
154 cspace(&PS, hs, hsl, APPEND);
243 if (hs == NULL)
/freebsd-10.1-release/contrib/less/
H A Doptfunc.c225 int hs = getnum(&s, "#", &err); local
230 shift_count = hs;
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_ani.c871 HAL_SURVEY_SAMPLE hs; local
888 OS_MEMZERO(&hs, sizeof(hs));
889 good = ar5212GetMibCycleCounts(ah, &hs);
891 OS_MEMCPY(&cs->samples[cs->cur_sample], &hs, sizeof(hs));
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_ani.c820 HAL_SURVEY_SAMPLE hs; local
837 OS_MEMZERO(&hs, sizeof(hs));
838 good = ar5416GetMibCycleCounts(ah, &hs);
840 OS_MEMCPY(&cs->samples[cs->cur_sample], &hs, sizeof(hs));

Completed in 302 milliseconds

1234