/dragonfly/games/sail/ |
H A D | pl_5.c | 70 ta = maxturns(ms, &af); in acceptmove() 71 ma = maxmove(ms, mf->dir, 0); in acceptmove() 94 vma = min(ma, maxmove(ms, dir, 0)); in acceptmove() 136 send_fs(ms, 0); in acceptmove() 144 send_fs(ms, 0); in acceptmove() 152 send_move(ms, movebuf); in acceptmove() 186 if (sp == ms || sp->file->dir == 0 || range(ms, sp) > 1) in acceptboard() 190 if (meleeing(ms, sp) && crew[2]) { in acceptboard() 194 } else if ((fouled2(ms, sp) || grappled2(ms, sp)) && crew[2]) { in acceptboard() 203 parties(ms, crew, 1, c); in acceptboard() [all …]
|
H A D | pl_2.c | 80 send_fs(ms, 0); in newturn() 82 send_fs(ms, 2); in newturn() 147 unboard(ms, ms, 1); /* cancel DBP's */ in play() 148 unboard(ms, ms, 0); /* cancel offense */ in play() 169 if (sp != ms) in play() 173 if ((sp = closestenemy(ms, 0, 1)) == NULL) in play()
|
H A D | pl_6.c | 84 send_hull(ms, ptr->hull); in repair() 93 send_gunl(ms, ptr->gunL, ptr->carL); in repair() 99 send_gunr(ms, ptr->gunR, ptr->carR); in repair() 107 send_rig4(ms, ptr->rig4); in repair() 111 send_rig3(ms, ptr->rig3); in repair() 115 send_rig2(ms, ptr->rig2); in repair() 119 send_rig1(ms, ptr->rig1); in repair()
|
H A D | pl_4.c | 60 send_fs(ms, 1); in changesail() 65 send_fs(ms, 0); in changesail() 85 send_signal(ms, buf); in acceptsignal() 128 range(ms, ship), saywhat(ship, 0)); in eyeball() 129 i = portside(ms, ship, 1) - mf->dir; in eyeball()
|
/dragonfly/contrib/zstd/lib/compress/ |
H A D | zstd_opt.c | 490 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal() 501 ms->nextToUpdate = target; in ZSTD_updateTree_internal() 505 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree() 754 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtGetAllMatches() 956 optLdm.seqStore = ms->ldmSeqStore ? *ms->ldmSeqStore : kNullRawSeqStore; in ZSTD_compressBlock_opt_generic() 962 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic() 1263 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra() 1270 ms->window.base -= srcSize; in ZSTD_initStats_ultra() 1272 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra() 1273 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_initStats_ultra() [all …]
|
H A D | zstd_double_fast.c | 19 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTable() 22 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTable() 24 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTable() 25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() 57 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_generic() 59 U32* const hashSmall = ms->chainTable; in ZSTD_compressBlock_doubleFast_generic() 61 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_doubleFast_generic() 323 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast() 343 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast_dictMatchState() 365 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
H A D | zstd_opt.h | 21 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend); 24 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 27 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 30 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 35 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 38 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 42 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 45 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
H A D | zstd_ldm.c | 190 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 193 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 197 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 263 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate() 264 if (curr > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate() 265 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate() 615 ms->ldmSeqStore = rawSeqStore; in ZSTD_ldm_blockCompress() 636 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress() 637 ZSTD_ldm_fillFastTables(ms, ip); in ZSTD_ldm_blockCompress() 656 ZSTD_ldm_limitTableUpdate(ms, ip); in ZSTD_ldm_blockCompress() [all …]
|
H A D | zstd_fast.h | 21 void ZSTD_fillHashTable(ZSTD_matchState_t* ms, 24 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 27 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 30 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
H A D | zstd_double_fast.h | 21 void ZSTD_fillDoubleHashTable(ZSTD_matchState_t* ms, 24 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 27 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 30 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
/dragonfly/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_napms.c | 58 NCURSES_SP_NAME(napms) (NCURSES_SP_DCLx int ms) in NCURSES_EXPORT() 60 T((T_CALLED("napms(%d)"), ms)); in NCURSES_EXPORT() 63 CallDriver_1(SP_PARM, td_nap, ms); in NCURSES_EXPORT() 71 request.tv_sec = ms / 1000; in NCURSES_EXPORT() 72 request.tv_nsec = (ms % 1000) * 1000000; in NCURSES_EXPORT() 79 _nc_timed_wait(0, 0, ms, (int *) 0 EVENTLIST_2nd(0)); in NCURSES_EXPORT() 88 napms(int ms) in napms() argument 90 return NCURSES_SP_NAME(napms) (CURRENT_SCREEN, ms); in napms()
|
/dragonfly/etc/rc.d/ |
H A D | moused | 39 ms=$1 40 if [ -n "$ms" ]; then 41 eval myflags=\${moused_${ms}_flags-$moused_flags} 42 eval myport=\${moused_${ms}_port-/dev/$ms} 43 eval mytype=\${moused_${ms}_type-$moused_type} 45 ms="default" 51 check_startmsgs && echo -n "Starting ${ms} moused"
|
/dragonfly/lib/i18n_module/mapper_646/ |
H A D | citrus_mapper_646.c | 99 struct _memstream ms; in parse_file() local 110 _memstream_bind(&ms, &r); in parse_file() 113 p = _memstream_getln(&ms, &len); in parse_file() 140 parse_var(struct _citrus_mapper_646 *m6, struct _memstream *ms, in parse_var() argument 147 _memstream_skip_ws(ms); in parse_var() 149 if (_memstream_peek(ms) == '!') { in parse_var() 150 _memstream_getc(ms); in parse_var() 154 _memstream_getregion(ms, &r, _memstream_remainder(ms)); in parse_var() 170 struct _memstream ms; in _citrus_mapper_646_mapper_init() local 182 _memstream_bind(&ms, &r); in _citrus_mapper_646_mapper_init() [all …]
|
/dragonfly/contrib/file/src/ |
H A D | der.c | 266 const uint8_t *b = RCAST(const uint8_t *, ms->search.s); in der_offs() 267 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; in der_offs() 284 offs += ms->offset + m->offset; in der_offs() 290 ms->c.li[i].off); in der_offs() 297 ms->c.li[m->cont_level - 1].off)); in der_offs() 303 der_cmp(struct magic_set *ms, struct magic *m) in der_cmp() argument 307 size_t offs = 0, len = ms->search.s_len; in der_cmp() 329 if ((ms->flags & MAGIC_DEBUG) != 0) in der_cmp() 359 if ((ms->flags & MAGIC_DEBUG) != 0) in der_cmp() 372 if ((ms->flags & MAGIC_DEBUG) != 0) in der_cmp() [all …]
|
H A D | compress.c | 235 int mime = ms->flags & MAGIC_MIME; in format_decompression_error() 256 int mime = ms->flags & MAGIC_MIME; in file_zmagic() 263 if ((ms->flags & MAGIC_COMPRESS) == 0) in file_zmagic() 296 ms->flags &= ~MAGIC_COMPRESS; in file_zmagic() 308 if ((file_printf(ms, in file_zmagic() 311 if ((pb = file_push_buffer(ms)) == NULL) in file_zmagic() 318 if (file_pop_buffer(ms, pb) != NULL) in file_zmagic() 329 if (!mime && file_printf(ms, ")") == -1) in file_zmagic() 349 ms->flags |= MAGIC_COMPRESS; in file_zmagic() 490 file_error(ms, errno, in file_pipe2file() [all …]
|
H A D | is_csv.c | 133 file_is_csv(struct magic_set *ms, const struct buffer *b, int looks_text) in file_is_csv() argument 137 int mime = ms->flags & MAGIC_MIME; in file_is_csv() 142 if ((ms->flags & (MAGIC_APPLE|MAGIC_EXTENSION)) != 0) in file_is_csv() 152 if (file_printf(ms, "text/csv") == -1) in file_is_csv() 157 if (file_printf(ms, "CSV text") == -1) in file_is_csv()
|
/dragonfly/contrib/wpa_supplicant/src/eap_peer/ |
H A D | eap_mschapv2.c | 150 struct eap_mschapv2_hdr *ms; in eap_mschapv2_challenge_reply() local 171 ms = wpabuf_put(resp, sizeof(*ms)); in eap_mschapv2_challenge_reply() 172 ms->op_code = MSCHAPV2_OP_RESPONSE; in eap_mschapv2_challenge_reply() 173 ms->mschapv2_id = mschapv2_id; in eap_mschapv2_challenge_reply() 181 ms->mschapv2_id++; in eap_mschapv2_challenge_reply() 183 WPA_PUT_BE16(ms->ms_length, ms_len); in eap_mschapv2_challenge_reply() 521 struct eap_mschapv2_hdr *ms; in eap_mschapv2_change_password() 545 ms = wpabuf_put(resp, sizeof(*ms)); in eap_mschapv2_change_password() 815 id, ms->mschapv2_id); in eap_mschapv2_process() 817 switch (ms->op_code) { in eap_mschapv2_process() [all …]
|
/dragonfly/lib/libc/locale/ |
H A D | mskanji.c | 96 _MSKanjiState *ms; in _MSKanji_mbrtowc() local 99 ms = (_MSKanjiState *)ps; in _MSKanji_mbrtowc() 101 if ((ms->ch & ~0xFF) != 0) { in _MSKanji_mbrtowc() 117 if (ms->ch != 0) { in _MSKanji_mbrtowc() 122 wc = (ms->ch << 8) | (*s & 0xFF); in _MSKanji_mbrtowc() 125 ms->ch = 0; in _MSKanji_mbrtowc() 132 ms->ch = wc; in _MSKanji_mbrtowc() 153 _MSKanjiState *ms; in _MSKanji_wcrtomb() local 156 ms = (_MSKanjiState *)ps; in _MSKanji_wcrtomb() 158 if (ms->ch != 0) { in _MSKanji_wcrtomb()
|
/dragonfly/contrib/wpa_supplicant/src/eap_server/ |
H A D | eap_server_mschapv2.c | 101 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_challenge() local 122 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_challenge() 124 ms->mschapv2_id = id; in eap_mschapv2_build_challenge() 144 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_success_req() local 160 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_success_req() 161 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req() 164 msg = (u8 *) (ms + 1); in eap_mschapv2_build_success_req() 178 msg, ms_len - sizeof(*ms)); in eap_mschapv2_build_success_req() 188 struct eap_mschapv2_hdr *ms; in eap_mschapv2_build_failure_req() local 203 ms = wpabuf_put(req, sizeof(*ms)); in eap_mschapv2_build_failure_req() [all …]
|
/dragonfly/contrib/file/magic/Magdir/ |
H A D | ole2compounddocs | 120 !:mime application/vnd.ms-works 153 !:mime application/x-ms-srs 161 !:mime application/x-ms-cag 169 !:mime application/x-ms-rra 178 !:ext automaticDestinations-ms 200 !:mime application/x-ms-info 215 !:mime application/x-ms-mdz 340 #!:mime application/x-ms-msp 397 !:mime application/x-ms-msg 402 !:mime application/x-ms-oft [all …]
|
/dragonfly/lib/i18n_module/mapper_serial/ |
H A D | citrus_mapper_serial.c | 117 struct _citrus_mapper_serial *sr, struct _memstream *ms) in parse_var() argument 127 _memstream_skip_ws(ms); in parse_var() 128 if (_memstream_iseof(ms)) in parse_var() 131 _memstream_chr(ms, &r, ','); in parse_var() 165 struct _memstream ms; in _citrus_mapper_serial_mapper_init() local 176 _memstream_bind(&ms, &r); in _citrus_mapper_serial_mapper_init() 177 if (parse_var(ma, sr, &ms)) { in _citrus_mapper_serial_mapper_init()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | physmem.c | 174 MEMORYSTATUS ms; in physmem_total() local 175 GlobalMemoryStatus (&ms); in physmem_total() 176 return (double) ms.dwTotalPhys; in physmem_total() 275 MEMORYSTATUS ms; in physmem_available() local 276 GlobalMemoryStatus (&ms); in physmem_available() 277 return (double) ms.dwAvailPhys; in physmem_available()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | physmem.c | 174 MEMORYSTATUS ms; in physmem_total() local 175 GlobalMemoryStatus (&ms); in physmem_total() 176 return (double) ms.dwTotalPhys; in physmem_total() 275 MEMORYSTATUS ms; in physmem_available() local 276 GlobalMemoryStatus (&ms); in physmem_available() 277 return (double) ms.dwAvailPhys; in physmem_available()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | physmem.c | 174 MEMORYSTATUS ms; in physmem_total() local 175 GlobalMemoryStatus (&ms); in physmem_total() 176 return (double) ms.dwTotalPhys; in physmem_total() 275 MEMORYSTATUS ms; in physmem_available() local 276 GlobalMemoryStatus (&ms); in physmem_available() 277 return (double) ms.dwAvailPhys; in physmem_available()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | physmem.c | 174 MEMORYSTATUS ms; in physmem_total() local 175 GlobalMemoryStatus (&ms); in physmem_total() 176 return (double) ms.dwTotalPhys; in physmem_total() 275 MEMORYSTATUS ms; in physmem_available() local 276 GlobalMemoryStatus (&ms); in physmem_available() 277 return (double) ms.dwAvailPhys; in physmem_available()
|