| /freebsd-14.2/contrib/xz/src/liblzma/lz/ |
| H A D | lz_encoder.c | 52 assert(mf->read_pos > mf->keep_size_before); in move_window() 88 if (coder->mf.read_pos >= coder->mf.size - coder->mf.keep_size_after) in fill_window() 127 coder->mf.read_limit = coder->mf.write_pos; in fill_window() 133 coder->mf.read_limit = coder->mf.write_pos in fill_window() 152 coder->mf.skip(&coder->mf, pending); in fill_window() 227 mf->size = mf->keep_size_before + reserve + mf->keep_size_after; in lz_encoder_prepare() 344 mf->sons_count = mf->cyclic_size; in lz_encoder_prepare() 363 mf->depth = 16 + mf->nice_len / 2; in lz_encoder_prepare() 365 mf->depth = 4 + mf->nice_len / 4; in lz_encoder_prepare() 396 mf->offset = mf->cyclic_size; in lz_encoder_init() [all …]
|
| H A D | lz_encoder_mf.c | 28 const uint32_t count = mf->find(mf, matches); in lzma_mf_find() 152 if (++mf->cyclic_pos == mf->cyclic_size) in move_pos() 156 assert(mf->read_pos <= mf->write_pos); in move_pos() 181 assert(mf->read_pos <= mf->write_pos); in move_pending() 202 const uint32_t pos = mf->read_pos + mf->offset 224 mf->depth, mf->son, \ 225 mf->cyclic_pos, mf->cyclic_size, \ 297 mf->son[mf->cyclic_pos] = cur_match; \ 348 const uint32_t pos = mf->read_pos + mf->offset; in lzma_mf_hc3_skip() 427 const uint32_t pos = mf->read_pos + mf->offset; in lzma_mf_hc4_skip() [all …]
|
| H A D | lz_encoder.h | 242 mf_ptr(const lzma_mf *mf) in mf_ptr() argument 244 return mf->buffer + mf->read_pos; in mf_ptr() 250 mf_avail(const lzma_mf *mf) in mf_avail() argument 252 return mf->write_pos - mf->read_pos; in mf_avail() 261 return mf->write_pos - mf->read_pos + mf->read_ahead; in mf_unencoded() 273 mf_position(const lzma_mf *mf) in mf_position() argument 275 return mf->read_pos - mf->read_ahead; in mf_position() 291 mf->skip(mf, amount); in mf_skip() 292 mf->read_ahead += amount; in mf_skip() 306 assert(mf->read_ahead == 0); in mf_read() [all …]
|
| H A D | lz_encoder_hash.h | 54 = (temp ^ ((uint32_t)(cur[2]) << 8)) & mf->hash_mask 62 ^ (hash_table[cur[3]] << 5)) & mf->hash_mask 76 & mf->hash_mask; \
|
| /freebsd-14.2/contrib/xz/src/liblzma/lzma/ |
| H A D | lzma_encoder.c | 50 mf->read_pos - mf->read_ahead]; in literal() 53 position, mf->buffer[mf->read_pos - mf->read_ahead - 1]); in literal() 65 - mf->read_ahead]; in literal() 263 mf->read_ahead -= len; in encode_symbol() 273 if (mf->read_pos == mf->read_limit) { in encode_init() 278 assert(mf->write_pos == mf->read_pos); in encode_init() 283 mf_skip(mf, 1); in encode_init() 284 mf->read_ahead = 0; in encode_init() 348 && (mf->read_pos - mf->read_ahead >= limit in lzma_lzma_encode() 355 if (mf->read_pos >= mf->read_limit) { in lzma_lzma_encode() [all …]
|
| H A D | lzma_encoder_optimum_fast.c | 22 lzma_mf *restrict mf, in lzma_lzma_optimum_fast() argument 25 const uint32_t nice_len = mf->nice_len; in lzma_lzma_optimum_fast() 29 if (mf->read_ahead == 0) { in lzma_lzma_optimum_fast() 30 len_main = mf_find(mf, &matches_count, coder->matches); in lzma_lzma_optimum_fast() 32 assert(mf->read_ahead == 1); in lzma_lzma_optimum_fast() 37 const uint8_t *buf = mf_ptr(mf) - 1; in lzma_lzma_optimum_fast() 70 mf_skip(mf, len - 1); in lzma_lzma_optimum_fast() 85 mf_skip(mf, len_main - 1); in lzma_lzma_optimum_fast() 117 mf_skip(mf, rep_len - 1); in lzma_lzma_optimum_fast() 130 coder->longest_match_length = mf_find(mf, in lzma_lzma_optimum_fast() [all …]
|
| H A D | lzma2_encoder.c | 136 lzma2_encode(void *coder_ptr, lzma_mf *restrict mf, in lzma2_encode() argument 147 if (mf_unencoded(mf) == 0) { in lzma2_encode() 149 if (mf->action == LZMA_FINISH) in lzma2_encode() 152 return mf->action == LZMA_RUN in lzma2_encode() 173 if (left < mf->match_len_max) { in lzma2_encode() 181 limit = mf->read_pos - mf->read_ahead in lzma2_encode() 182 + left - mf->match_len_max; in lzma2_encode() 187 const uint32_t read_start = mf->read_pos - mf->read_ahead; in lzma2_encode() 195 coder->uncompressed_size += mf->read_pos - mf->read_ahead in lzma2_encode() 208 coder->uncompressed_size += mf->read_ahead; in lzma2_encode() [all …]
|
| H A D | lzma_encoder_optimum_normal.c | 276 const uint32_t nice_len = mf->nice_len; in helper1() 281 if (mf->read_ahead == 0) { in helper1() 284 assert(mf->read_ahead == 1); in helper1() 296 const uint8_t *const buf = mf_ptr(mf) - 1; in helper1() 318 mf_skip(mf, *len_res - 1); in helper1() 326 mf_skip(mf, len_main - 1); in helper1() 805 lzma_mf *restrict mf, in lzma_lzma_optimum_normal() argument 811 assert(mf->read_ahead > 0); in lzma_lzma_optimum_normal() 823 if (mf->read_ahead == 0) { in lzma_lzma_optimum_normal() 853 position + cur, cur, mf->nice_len, in lzma_lzma_optimum_normal() [all …]
|
| H A D | lzma_encoder_presets.c | 40 options->mf = level == 0 ? LZMA_MF_HC3 : LZMA_MF_HC4; in lzma_lzma_preset() 46 options->mf = LZMA_MF_BT4; in lzma_lzma_preset() 53 options->mf = LZMA_MF_BT4; in lzma_lzma_preset()
|
| /freebsd-14.2/lib/libkvm/ |
| H A D | kvm.c | 139 if (mf == NULL) in _kvm_open() 140 mf = _PATH_MEM; in _kvm_open() 142 if ((kd->pmfd = open(mf, flag | O_CLOEXEC, 0)) < 0) { in _kvm_open() 143 _kvm_syserr(kd, kd->program, "%s", mf); in _kvm_open() 147 _kvm_syserr(kd, kd->program, "%s", mf); in _kvm_open() 162 if (strcmp(mf, _PATH_DEVNULL) == 0) { in _kvm_open() 165 } else if (strcmp(mf, _PATH_MEM) == 0) { in _kvm_open() 186 if (strncmp(mf, _PATH_FWMEM, strlen(_PATH_FWMEM)) == 0 || in _kvm_open() 239 return (_kvm_open(kd, uf, mf, flag, errout)); in kvm_openfiles() 255 return (_kvm_open(kd, uf, mf, flag, NULL)); in kvm_open() [all …]
|
| /freebsd-14.2/usr.sbin/bluetooth/btpand/ |
| H A D | bnep.c | 491 mfilter_t *mf; in bnep_recv_filter_multi_addr_set() local 510 mf = malloc(nf * sizeof(mfilter_t)); in bnep_recv_filter_multi_addr_set() 511 if (mf == NULL) { in bnep_recv_filter_multi_addr_set() 522 memcpy(mf[i].end, ptr, ETHER_ADDR_LEN); in bnep_recv_filter_multi_addr_set() 525 if (memcmp(mf[i].start, mf[i].end, ETHER_ADDR_LEN) > 0) { in bnep_recv_filter_multi_addr_set() 526 free(mf); in bnep_recv_filter_multi_addr_set() 534 mf[i].start[0], mf[i].start[1], mf[i].start[2], in bnep_recv_filter_multi_addr_set() 535 mf[i].start[3], mf[i].start[4], mf[i].start[5], in bnep_recv_filter_multi_addr_set() 536 mf[i].end[0], mf[i].end[1], mf[i].end[2], in bnep_recv_filter_multi_addr_set() 537 mf[i].end[3], mf[i].end[4], mf[i].end[5]); in bnep_recv_filter_multi_addr_set() [all …]
|
| /freebsd-14.2/contrib/ntp/ntpdate/ |
| H A D | Makefile.am | 35 include $(top_srcdir)/bincheck.mf 36 include $(top_srcdir)/check-libntp.mf 37 include $(top_srcdir)/check-scm-rev.mf 38 include $(top_srcdir)/depsver.mf 39 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/tools/tools/netmap/ |
| H A D | lb.c | 535 mf->shadow_head = nm_ring_next(ring, mf->shadow_head); in forward_packet() 537 ring->head = mf->shadow_head; in forward_packet() 561 mf->shadow_head = ring->head; in forward_packet() 825 struct morefrag *mf; in main() local 832 mf->last_flag = 0; /* unused */ in main() 892 mf->last_flag = 0; in main() 893 mf->last_hash = 0; in main() 975 struct morefrag *mf; in main() local 996 mf->shadow_head = nm_ring_next(ring, mf->shadow_head); in main() 1023 if (!mf->last_flag) { in main() [all …]
|
| /freebsd-14.2/sbin/restore/ |
| H A D | dirs.c | 108 static FILE *df, *mf; variable 192 if (mf != NULL && fclose(mf) != 0) in extractdirs() 425 if (mf != NULL && fwrite(buf, size, 1, mf) != 1) in putdirattrs() 560 FILE *mf; in setdirmodes() local 580 if (mf == NULL) { in setdirmodes() 586 clearerr(mf); in setdirmodes() 591 if (ferror(mf)) { in setdirmodes() 596 if (feof(mf)) in setdirmodes() 610 if (ferror(mf)) { in setdirmodes() 668 (void) fclose(mf); in setdirmodes() [all …]
|
| /freebsd-14.2/contrib/ntp/adjtimed/ |
| H A D | Makefile.am | 22 include $(top_srcdir)/bincheck.mf 23 include $(top_srcdir)/check-libntp.mf 24 include $(top_srcdir)/depsver.mf 25 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/sys/net/ |
| H A D | if_fwsubr.c | 356 struct mbuf *mf, *mprev; in firewire_input_fragment() local 392 for (mf = r->fr_frags; mf; mf = mf->m_nextpkt) { in firewire_input_fragment() 393 enc = mtod(mf, union fw_encap *); in firewire_input_fragment() 419 for (mf = r->fr_frags, mprev = NULL; mf; in firewire_input_fragment() 420 mprev = mf, mf = mf->m_nextpkt) { in firewire_input_fragment() 421 enc = mtod(mf, union fw_encap *); in firewire_input_fragment() 471 mf = m->m_nextpkt; in firewire_input_fragment() 473 m = mf; in firewire_input_fragment() 506 mf = r->fr_frags; in firewire_input_fragment() 507 r->fr_frags = mf->m_nextpkt; in firewire_input_fragment() [all …]
|
| /freebsd-14.2/contrib/ntp/clockstuff/ |
| H A D | Makefile.am | 19 include $(top_srcdir)/check-libntp.mf 20 include $(top_srcdir)/depsver.mf 21 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_logging.c | 604 FILE *mf; in pmcstat_shutdown_logging() local 608 mf = NULL; in pmcstat_shutdown_logging() 610 mf = (strcmp(args->pa_mapfilename, "-") == 0) ? in pmcstat_shutdown_logging() 613 if (mf == NULL && args->pa_flags & FLAG_DO_GPROF && in pmcstat_shutdown_logging() 615 mf = args->pa_printfile; in pmcstat_shutdown_logging() 617 if (mf) in pmcstat_shutdown_logging() 618 (void) fprintf(mf, "MAP:\n"); in pmcstat_shutdown_logging() 625 plugins[args->pa_plugin].pl_shutdown(mf); in pmcstat_shutdown_logging() 627 plugins[args->pa_pplugin].pl_shutdown(mf); in pmcstat_shutdown_logging() 680 if (mf) in pmcstat_shutdown_logging() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BreakFalseDeps.cpp | 281 bool BreakFalseDeps::runOnMachineFunction(MachineFunction &mf) { in runOnMachineFunction() argument 282 if (skipFunction(mf.getFunction())) in runOnMachineFunction() 284 MF = &mf; in runOnMachineFunction() 289 RegClassInfo.runOnMachineFunction(mf); in runOnMachineFunction() 296 for (MachineBasicBlock *MBB : depth_first_ext(&mf, Reachable)) in runOnMachineFunction() 300 for (MachineBasicBlock &MBB : mf) in runOnMachineFunction()
|
| H A D | SlotIndexes.cpp | 63 mf = &fn; in runOnMachineFunction() 75 MBBRanges.resize(mf->getNumBlockIDs()); in runOnMachineFunction() 76 idx2MBBMap.reserve(mf->size()); in runOnMachineFunction() 81 for (MachineBasicBlock &MBB : *mf) { in runOnMachineFunction() 109 LLVM_DEBUG(mf->print(dbgs(), this)); in runOnMachineFunction()
|
| /freebsd-14.2/contrib/ntp/ntpq/ |
| H A D | Makefile.am | 131 include $(top_srcdir)/bincheck.mf 132 include $(top_srcdir)/check-libopts.mf 133 include $(top_srcdir)/check-libntp.mf 134 include $(top_srcdir)/check-scm-rev.mf 135 include $(top_srcdir)/depsver.mf 136 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/lib/libc/include/ |
| H A D | nscache.h | 150 #define NS_COMMON_CACHE_INFO_INITIALIZER(name, mdata, if, mf, uf) \ argument 151 {#name, mdata, if, mf, uf, NULL, NULL, NULL, NULL} 152 #define NS_MP_CACHE_INFO_INITIALIZER(name, mdata, mf, uf) \ argument 153 {#name, mdata, NULL, mf, uf, name##_set_mp_ws, name##_get_mp_ws,\
|
| /freebsd-14.2/contrib/ntp/ntpdc/ |
| H A D | Makefile.am | 157 include $(top_srcdir)/bincheck.mf 158 include $(top_srcdir)/check-libopts.mf 159 include $(top_srcdir)/check-libntp.mf 160 include $(top_srcdir)/check-scm-rev.mf 161 include $(top_srcdir)/depsver.mf 162 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/contrib/ntp/util/ |
| H A D | Makefile.am | 130 include $(top_srcdir)/bincheck.mf 131 include $(top_srcdir)/check-libntp.mf 132 include $(top_srcdir)/check-libopts.mf 133 include $(top_srcdir)/check-scm-rev.mf 134 include $(top_srcdir)/depsver.mf 135 include $(top_srcdir)/includes.mf
|
| /freebsd-14.2/contrib/ntp/ntpsnmpd/ |
| H A D | Makefile.am | 116 include $(top_srcdir)/bincheck.mf 117 include $(top_srcdir)/check-libntp.mf 118 include $(top_srcdir)/check-libopts.mf 119 include $(top_srcdir)/depsver.mf 120 include $(top_srcdir)/includes.mf
|