| /freebsd/contrib/wpa/src/eap_server/ |
| H A D | eap_server_mschapv2.c | 107 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_challenge() local 118 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge() 128 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_challenge() 129 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge() 130 ms->mschapv2_id = id; in eap_mschapv2_build_challenge() 131 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_build_challenge() 150 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_success_req() local 155 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req() 166 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_success_req() 167 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req() [all …]
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | memmem.c | 49 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8; in threebyte_memmem() 50 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_memmem() 59 uint32_t nw = n[0]<<24 | n[1]<<16 | n[2]<<8 | n[3]; in fourbyte_memmem() 60 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_memmem() 83 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 108 ms = ip; in twoway_memmem() 128 if (ip+1 > ms+1) ms = ip; in twoway_memmem() 132 if (memcmp(n, n+p, ms+1)) { in twoway_memmem() 134 p = MAX(ms, l-ms-1) + 1; in twoway_memmem() 159 for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++); in twoway_memmem() [all …]
|
| /freebsd/lib/libc/string/ |
| H A D | memmem.c | 41 uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8; in threebyte_memmem() 42 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8; in threebyte_memmem() 52 uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8 | n[3]; in fourbyte_memmem() 53 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8 | h[3]; in fourbyte_memmem() 79 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 107 ms = ip; in twoway_memmem() 130 if (ip + 1 > ms + 1) in twoway_memmem() 131 ms = ip; in twoway_memmem() 136 if (memcmp(n, n + p, ms + 1)) { in twoway_memmem() 138 p = MAX(ms, l - ms - 1) + 1; in twoway_memmem() [all …]
|
| H A D | strstr.c | 40 uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8; in threebyte_strstr() 41 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8; in threebyte_strstr() 50 uint32_t nw = (uint32_t)n[0] << 24 | n[1] << 16 | n[2] << 8 | n[3]; in fourbyte_strstr() 51 uint32_t hw = (uint32_t)h[0] << 24 | h[1] << 16 | h[2] << 8 | h[3]; in fourbyte_strstr() 76 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local 106 ms = ip; in twoway_strstr() 129 if (ip + 1 > ms + 1) in twoway_strstr() 130 ms = ip; in twoway_strstr() 135 if (memcmp(n, n + p, ms + 1)) { in twoway_strstr() 137 p = MAX(ms, l - ms - 1) + 1; in twoway_strstr() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | tcp_seq.h | 79 /* Timestamp wrap-around time, 24 days. */ 80 #define TCP_PAWS_IDLE (24 * 24 * 60 * 60 * 1000) 83 * tcp_ts_getticks() in ms, should be 1ms < x < 1000ms according to RFC 1323. 84 * We always use 1ms granularity independent of hz. 92 * getmicrouptime() should be good enough for any 1-1000ms granularity. in tcp_ts_getticks()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | windows | 7 # using them are run almost always on MS Windows 3.x or 28 >0x7C ulelong >0 MS Outlook Express DBX file 30 #!:mime application/vnd.ms-outlook 31 !:mime application/x-ms-dbx 40 >>>24 ulelong x %u 67 0 ubelong 0x0DF0ADBA MS Outlook Nickfile 69 #!:mime application/vnd.ms-outlook 70 !:mime application/x-ms-nickfile 87 #>24 ulelong x \b, reserved %#8.8x 110 >4 string DUMP MS Windows 32bit crash dump [all …]
|
| H A D | msdos | 4 # msdos: file(1) magic for MS-DOS files 43 # GAU: MS Flight Simulator Gauge 97 >>(0x3c.l) string !PE\0\0 MS-DOS executable 104 >>>(0x3c.l+0x36) byte 2 for MS Windows 135 >>(0x3c.l+24) leshort 0x010b \b32 executable 138 >>(0x3c.l+24) leshort 0x020b \b32+ executable 141 #>>(0x3c.l+24) leshort 0x0107 ROM image 142 >>(0x3c.l+24) default x with unknown signature 187 >>>0 default x for MS Windows 208 >>>0 default x for MS Windows [all …]
|
| /freebsd/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | virtual_oss.8 | 67 Valid values are 8, 16, 24 and 32. 73 If the argument is suffixed by "ms" it is interpreted as milliseconds. 169 Set receive filter size in number of samples or <milliseconds>ms for the next 172 Set transmit filter size in number of samples or <milliseconds>ms for the next 208 -c 2 -r 48000 -b 16 -s 4ms -f /dev/dspX \\ 221 Split an 8-channel 24-bit OSS compatible sound device into multiple subdevices: 235 -C 16 -c 8 -r 48000 -b 32 -s 4ms -f /dev/dspX \\ 269 -b 24 \\ 270 -s 4ms \\ 285 -C 2 -c 2 -r 48000 -b 16 -s 4ms \\ [all …]
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_radar.c | 67 {10, 5, 200, 400, 0, 24, 5, 0, 8, 15, 0, 0, 2, 33}, /* Type 1 */ 68 {10, 5, 400, 600, 0, 24, 5, 0, 8, 15, 0, 0, 2, 37}, /* Type 1 */ 69 {10, 5, 600, 800, 0, 24, 5, 0, 8, 15, 0, 0, 2, 38}, /* Type 1 */ 70 {10, 5, 800, 1000, 0, 24, 5, 0, 8, 15, 0, 0, 2, 39}, /* Type 1 */ 71 // {10, 5, 200, 1000, 0, 24, 5, 0, 8, 15, 0, 0, 2, 33}, 74 {15, 15, 200, 1600, 0, 24, 8, 0, 18, 24, 0, 0, 0, 34}, /* Type 2 */ 77 {25, 15, 2300, 4000, 0, 24, 10, 0, 18, 24, 0, 0, 0, 35}, /* Type 3 */ 80 {20, 30, 2000, 4000, 0, 24, 8, 19, 33, 24, 0, 0, 0, 36}, /* Type 4 */ 331 temp = MS(val, AR_PHY_RADAR_0_FIRPWR); 334 pe->pe_rrssi = MS(val, AR_PHY_RADAR_0_RRSSI); [all …]
|
| H A D | ar9300_misc.c | 438 mac_rev = MS(v, AR_SREV_REVISION2); in ar9300_detect_card_present() 440 mac_version = MS(v, AR_SREV_VERSION); in ar9300_detect_card_present() 592 if (us > ar9300_mac_to_usec(ah, MS(0xffffffff, AR_TIME_OUT_ACK))) { in ar9300_set_ack_timeout() 608 u_int clks = MS(OS_REG_READ(ah, AR_TIME_OUT), AR_TIME_OUT_ACK); in ar9300_get_ack_timeout() 1465 MS(reg, AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW), in ar9300_dma_reg_dump() 1466 MS(reg, AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW)); in ar9300_dma_reg_dump() 1469 MS(reg, AR_PHY_DESIRED_SZ_TOT_DES), in ar9300_dma_reg_dump() 1470 MS(reg, AR_PHY_DESIRED_SZ_TOT_DES)); in ar9300_dma_reg_dump() 1472 MS(reg, AR_PHY_DESIRED_SZ_ADC), in ar9300_dma_reg_dump() 1473 MS(reg, AR_PHY_DESIRED_SZ_ADC)); in ar9300_dma_reg_dump() [all …]
|
| H A D | ar9300_xmit_ds.c | 212 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate0); in ar9300_get_tx_rate_code() 215 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate1); in ar9300_get_tx_rate_code() 218 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate2); in ar9300_get_tx_rate_code() 221 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate3); in ar9300_get_tx_rate_code() 291 if ((MS(dsinfo, AR_desc_id) != ATHEROS_VENDOR_ID) || in ar9300_proc_tx_desc() 292 (MS(dsinfo, AR_tx_rx_desc) != 1)) in ar9300_proc_tx_desc() 303 ts->ts_queue_id = MS(dsinfo, AR_tx_qcu_num); in ar9300_proc_tx_desc() 304 ts->ts_desc_id = MS(ads->status1, AR_tx_desc_id); in ar9300_proc_tx_desc() 305 ts->ts_seqnum = MS(ads->status8, AR_seq_num); in ar9300_proc_tx_desc() 349 ts->ts_finaltsi = MS(ads->status8, AR_final_tx_idx); in ar9300_proc_tx_desc() [all …]
|
| /freebsd/contrib/file/src/ |
| H A D | ascmagic.c | 71 file_ascmagic(struct magic_set *ms, const struct buffer *b, int text) in file_ascmagic() argument 92 if (file_encoding(ms, &bb, &ubuf, &ulen, &code, &code_mime, in file_ascmagic() 96 rv = file_ascmagic_with_encoding(ms, &bb, in file_ascmagic() 105 file_ascmagic_with_encoding(struct magic_set *ms, const struct buffer *b, in file_ascmagic_with_encoding() argument 115 int mime = ms->flags & MAGIC_MIME; in file_ascmagic_with_encoding() 141 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) { in file_ascmagic_with_encoding() 147 file_oomem(ms, mlen); in file_ascmagic_with_encoding() 158 if ((rv = file_softmagic(ms, &bb, NULL, NULL, in file_ascmagic_with_encoding() 164 if ((ms->flags & (MAGIC_APPLE|MAGIC_EXTENSION))) { in file_ascmagic_with_encoding() 170 if ((ms->flags & (MAGIC_APPLE|MAGIC_EXTENSION))) { in file_ascmagic_with_encoding() [all …]
|
| H A D | softmagic.c | 78 (CAST(uint64_t, (p)[4])<<24)| \ 87 (CAST(uint64_t, (p)[3])<<24)| \ 92 (CAST(uint32_t, (p)[3])<<24)| \ 97 (CAST(uint32_t, (p)[0])<<24)| \ 102 (CAST(uint32_t, (p)[1])<<24)| \ 119 file_softmagic(struct magic_set *ms, const struct buffer *b, in file_softmagic() argument 135 for (ml = ms->mlist[0]->next; ml != ms->mlist[0]; ml = ml->next) { in file_softmagic() 136 int ret = match(ms, ml->magic, ml->magic_rxcomp, ml->nmagic, b, in file_softmagic() 146 if ((ms->flags & MAGIC_CONTINUE) == 0) in file_softmagic() 161 file_fmtcheck(struct magic_set *ms, const char *desc, const char *def, in file_fmtcheck() argument [all …]
|
| /freebsd/contrib/ntp/html/drivers/ |
| H A D | driver3.html | 23 …ccuracy is made for these receiver, but actual experience suggests that 10 ms would be a conservat… 24 …24-hour day-of-year format and UTC time zone. Automatic correction for DST should be disabled. It … 32 a = AM/PM indicator (' ' for 24-hour mode) 35 s = daylight-saving indicator (' ' for 24-hour mode) 41 cc = WWV propagation delay (52 = 22 ms) 42 hh = WWVH propagation delay (81 = 33 ms)
|
| /freebsd/tests/sys/net/ |
| H A D | if_lagg_test.sh | 45 MASK="24" 88 MASK="24" 197 MASK="24" 198 # ifconfig takes about 10ms to run. To increase race coverage, 199 # randomly delay the two commands relative to each other by 5ms either 256 MASK="24" 257 # ifconfig takes about 10ms to run. To increase race coverage, 258 # randomly delay the two commands relative to each other by 5ms either 313 MASK="24" 351 MASK="24"
|
| /freebsd/share/doc/psd/24.xdr/ |
| H A D | Makefile | 1 VOLUME= psd/24.xdr 2 SRCS= stubs xdr.nts.ms 3 MACROS= -ms
|
| /freebsd/contrib/elftoolchain/libpe/ |
| H A D | _libpe.h | 62 PE_DosHdr *pe_dh; /* MS-DOS header */ 63 char *pe_stub; /* MS-DOS stub */ 64 size_t pe_stub_ex; /* MS-DOS stub len (exclude hdr) */ 65 char *pe_stub_app; /* MS-DOS stub (app supplied) */ 66 size_t pe_stub_app_sz; /* MS-DOS stub len (app supplied) */ 126 return ((p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]); in le32dec() 154 p[3] = (u >> 24) & 0xff; in le32enc()
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_pst.c | 22 * but actual experience suggests that 10 ms would be a conservative 25 * The DIPswitches should be set for 9600 bps line speed, 24-hour day- 32 * be set only to within 11 ms, the fudge time1 parameter can be used 43 * a = AM/PM indicator (' ' for 24-hour mode) 46 * s = daylight-saving indicator (' ' for 24-hour mode) 52 * cc = WWV propagation delay (52 = 22 ms) 53 * hh = WWVH propagation delay (81 = 33 ms) 76 #define PRECISION (-10) /* precision assumed (about 1 ms) */
|
| H A D | refclock_heath.c | 27 * robust than other supported receivers. Its claimed accuracy is 100 ms 32 * sunset without warning. Since the indicated precision is 100 ms, 35 * clock_max of 128 ms. 54 * external DIPswitches should be set to GMT and 24-hour format. 78 * AM/PM/bb = blank in 24-hour mode 103 * The 'D' command returns 24 pairs of bytes containing the variable 104 * divisor value at the end of each of the previous 24 hours. This 116 * ER = last accumulated error in 1.25 ms increments 140 * The 'P' command returns 24 bytes containing the number of frames 143 * to reflect the previous 24 hou [all...] |
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 307 24, 24, 24, 24, 24, 24, 24, 24, in ZSTD_LLcode() 308 24, 24, 24, 24, 24, 24, 24, 24 }; in ZSTD_LLcode() 319 … 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, in ZSTD_MLcode() 542 if (!(val>>16)) { r+=2; val>>=8; } else { val>>=24; } in ZSTD_NbCommonBytes() 554 if (!(val>>16)) { r=2; val>>=8; } else { r=0; val>>=24; } in ZSTD_NbCommonBytes() 607 static U32 ZSTD_hash3(U32 u, U32 h) { return ((u << (32-24)) * prime3bytes) >> (32-h) ; } in ZSTD_hash3() 741 MEM_STATIC ZSTD_dictMode_e ZSTD_matchState_dictMode(const ZSTD_matchState_t *ms) in ZSTD_matchState_dictMode() argument 743 return ZSTD_window_hasExtDict(ms->window) ? in ZSTD_matchState_dictMode() 745 ms->dictMatchState != NULL ? in ZSTD_matchState_dictMode() 958 /* ms->nextToUpdate = window->dictLimit; */ in ZSTD_window_update() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | pxa-mmc.txt | 10 - marvell,detect-delay-ms: sets the detection delay timeout in ms. 23 wp-gpios = <&gpio 24 0>;
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | nvidia,tegra20-kbc.txt | 2 The key controller has maximum 24 pins to make matrix keypad. Any pin 29 - nvidia,debounce-delay-ms: delay in milliseconds per row scan for debouncing 30 - nvidia,repeat-delay-ms: delay in milliseconds before repeat starts 45 nvidia,debounce-delay-ms = <640>;
|
| /freebsd/sys/dev/usb/ |
| H A D | usb.h | 86 #define USB_ISOC_TIME_MAX 128 /* ms */ 92 #define USB_POWER_DOWN_TIME 200 /* ms */ 93 #define USB_PORT_POWER_DOWN_TIME 100 /* ms */ 103 #define USB_PORT_RESET_DELAY_SPEC 10 /* ms */ 104 #define USB_PORT_ROOT_RESET_DELAY_SPEC 50 /* ms */ 105 #define USB_PORT_RESET_RECOVERY_SPEC 10 /* ms */ 106 #define USB_PORT_POWERUP_DELAY_SPEC 100 /* ms */ 107 #define USB_PORT_RESUME_DELAY_SPEC 20 /* ms */ 108 #define USB_SET_ADDRESS_SETTLE_SPEC 2 /* ms */ 109 #define USB_RESUME_DELAY_SPEC (20*5) /* ms */ [all …]
|
| /freebsd/contrib/expat/doc/ |
| H A D | ok.min.css | 2 …24' fill='none'%3E%3Cpath d='M6 6l4-4h1v1-1L6 7 1 2h1l4 4z' fill='%23747474'/%3E%3C/svg%3E");--ok-…
|
| /freebsd/contrib/less/ |
| H A D | version.c | 24 v7 5/24/84 Fixed jump_back(n) bug: n should count real 42 v22 5/24/85 Added support for no RECOMP nor REGCMP. 65 v39 8/24/85 (Not -p) does not initially clear screen. 77 v46 10/24/85 Backwards scroll in jump_loc. 92 v56 1/24/86 Added -l option. 103 -1 instead of 24; cat-and-exit if -e and 112 v67 2/24/87 Added !! and % expansion to ! command. 133 v77 9/24/87 Added -n flag and line number support. 191 v110 5/24/89 Fixed bug in + option; fixed repaint bug 233 v138 1/24/90 Fix magic cookie terminal handling. [all …]
|