Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 25 of 141) sorted by last modified time

123456

/freebsd/contrib/one-true-awk/
H A Dlex.c501 int cond, low, mid, high; in binsearch() local
506 mid = (low + high) / 2; in binsearch()
507 if ((cond = strcmp(w, kp[mid].word)) < 0) in binsearch()
508 high = mid - 1; in binsearch()
510 low = mid + 1; in binsearch()
512 return mid; in binsearch()
/freebsd/share/misc/
H A Dpci_vendors15735 1043 1987 A4K and Z81K notebooks, possibly others ( mid-2005 machines )
H A Dbsd-family-tree532 2BSD mid 1978 [QCU] 1979-05-10 [TUHS]
/freebsd/
H A DObsoleteFiles.inc18610 # in this file, but this practice was abandoned in the mid-2000s.
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c5825 uint32_t pkts, mid, med, alt_med, avg, segsiz, tot_retran_pkt_count = 0; in policer_detection() local
5952 mid = tot_retran_pkt_count/2; in policer_detection()
5955 if (mid > pkts) { in policer_detection()
5956 mid -= pkts; in policer_detection()
5962 mid = cnt_of_mape_rxt / 2; in policer_detection()
5964 if (mid > rack->r_ctl.rc_cnt_of_retran[i]) { in policer_detection()
5965 mid -= rack->r_ctl.rc_cnt_of_retran[i]; in policer_detection()
/freebsd/sys/netinet/
H A Dsctputil.c292 sctp_clog.x.strlog.n_sseq = (uint16_t)control->mid; in sctp_log_strm_del()
296 sctp_clog.x.strlog.e_sseq = (uint16_t)poschk->mid; in sctp_log_strm_del()
3684 pdapi->pdapi_seq = (uint16_t)aborted_control->mid; in sctp_notify_partial_delivery_indication()
5072 uint32_t mid; in sctp_release_pr_sctp_chunk() local
5082 mid = tp1->rec.data.mid; in sctp_release_pr_sctp_chunk()
5148 (!SCTP_MID_EQ(stcb->asoc.idata_supported, tp1->rec.data.mid, mid))) { in sctp_release_pr_sctp_chunk()
5218 chk->rec.data.mid = 0; in sctp_release_pr_sctp_chunk()
5220 chk->rec.data.mid = strq->next_mid_ordered; in sctp_release_pr_sctp_chunk()
5226 chk->rec.data.mid = strq->next_mid_ordered; in sctp_release_pr_sctp_chunk()
5895 sinfo->sinfo_ssn = (uint16_t)control->mid; in sctp_sorecvmsg()
[all …]
H A Dsctp_header.h152 uint32_t mid; member
387 uint32_t mid; member
H A Dsctp_output.c7550 chk->rec.data.mid = 0; in sctp_move_to_outqueue()
7552 chk->rec.data.mid = strq->next_mid_ordered; in sctp_move_to_outqueue()
7559 chk->rec.data.mid = strq->next_mid_unordered; in sctp_move_to_outqueue()
7564 chk->rec.data.mid = strq->next_mid_ordered; in sctp_move_to_outqueue()
7594 (uint32_t)((chk->rec.data.sid << 16) | (0x0000ffff & chk->rec.data.mid)), in sctp_move_to_outqueue()
7615 asoc->out_tsnlog[asoc->tsn_out_at].seq = chk->rec.data.mid; in sctp_move_to_outqueue()
7628 dchkh->dp.ssn = htons((uint16_t)chk->rec.data.mid); in sctp_move_to_outqueue()
7637 ndchkh->dp.mid = htonl(chk->rec.data.mid); in sctp_move_to_outqueue()
10531 strseq_m->mid = htonl(at->rec.data.mid); in send_forward_tsn()
10535 strseq->ssn = htons((uint16_t)at->rec.data.mid); in send_forward_tsn()
H A Dsctp_indata.c153 read_queue_e->mid = mid; in sctp_build_readq_entry()
731 nc->mid = control->mid; in sctp_build_readq_entry_from_ctl()
734 nc->mid = control->mid; in sctp_build_readq_entry_from_ctl()
1673 if (SCTP_MID_EQ(idata_supported, control->mid, mid)) { in sctp_find_reasm_entry()
1680 if (SCTP_MID_EQ(idata_supported, control->mid, mid)) { in sctp_find_reasm_entry()
1723 mid = ntohl(chunk->dp.mid); in sctp_process_a_data_chunk()
1882 if (ordered && (mid != control->mid)) { in sctp_process_a_data_chunk()
2012 mid); in sctp_process_a_data_chunk()
2169 chk->rec.data.mid = mid; in sctp_process_a_data_chunk()
2252 mid); in sctp_process_a_data_chunk()
[all …]
/freebsd/contrib/unbound/util/
H A Dconfig_file.c1778 char* mid = strchr(str, '-'); in cfg_mark_ports() local
1784 if(!mid) { in cfg_mark_ports()
1797 int i, low, high = atoi(mid+1); in cfg_mark_ports()
1803 if(high == 0 && strcmp(mid+1, "0") != 0) { in cfg_mark_ports()
1804 log_err("cannot parse port number '%s'", mid+1); in cfg_mark_ports()
1807 if( (int)(mid-str)+1 >= (int)sizeof(buf) ) { in cfg_mark_ports()
1811 if(mid > str) in cfg_mark_ports()
1812 memcpy(buf, str, (size_t)(mid-str)); in cfg_mark_ports()
1813 buf[mid-str] = 0; in cfg_mark_ports()
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Darmada-370-synology-ds213j.dts236 fan_ctrl_mid_pin: fan-ctrl-mid-pin {
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml305 azoteq,gesture-mid-ms:
/freebsd/sys/contrib/openzfs/
H A DAUTHORS145 Chris Zubrzycki <github@mid-earth.net>
/freebsd/sys/kern/
H A Dkern_uuid.c64 uint16_t mid; member
161 uuid.time.x.mid = (uint16_t)(time >> 32); in kern_uuidgen()
278 id->time.x.low, id->time.x.mid, id->time.x.hi, be16toh(id->seq), in snprintf_uuid()
/freebsd/sys/vm/
H A Dvm_phys.h115 u_int hi, lo, mid; in vm_phys_lookup_segind() local
124 mid = lo + (hi - lo) / 2; in vm_phys_lookup_segind()
125 if (vm_phys_segs[mid].end <= pa) in vm_phys_lookup_segind()
126 lo = mid + 1; in vm_phys_lookup_segind()
128 hi = mid; in vm_phys_lookup_segind()
/freebsd/contrib/xz/src/liblzma/lzma/
H A Dlzma_decoder.c53 probs = ld.mid[pos_state]; \
132 rc_bit_case(ld.mid[pos_state][symbol], , , \
134 rc_bit_case(ld.mid[pos_state][symbol], , , \
136 rc_bit_case(ld.mid[pos_state][symbol], , , \
165 probability mid[POS_STATES_MAX][LEN_MID_SYMBOLS]; member
964 bittree_reset(coder->match_len_decoder.mid[pos_state], in lzma_decoder_reset()
969 bittree_reset(coder->rep_len_decoder.mid[pos_state], in lzma_decoder_reset()
H A Dlzma_encoder.c95 prices[i] = b0 + rc_bittree_price(lc->mid[pos_state], in length_update_prices()
122 rc_bittree(rc, lc->mid[pos_state], LEN_MID_BITS, len); in length()
515 bittree_reset(lencoder->mid[pos_state], LEN_MID_BITS); in length_encoder_reset()
H A Dlzma_encoder_private.h43 probability mid[POS_STATES_MAX][LEN_MID_SYMBOLS]; member
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_dispatch.cpp759 UT left, right, mid; in __kmp_dispatch_init_algorithm() local
781 mid = (left + right) / 2; in __kmp_dispatch_init_algorithm()
782 if (__kmp_pow<UT>(x, mid) > target) { in __kmp_dispatch_init_algorithm()
783 left = mid; in __kmp_dispatch_init_algorithm()
785 right = mid; in __kmp_dispatch_init_algorithm()
H A Dkmp_itt.inl540 KMP_ITT_DEBUG_PRINT("[bar mid] sacq( %p )\n", object);
543 KMP_ITT_DEBUG_PRINT("[bar mid] srel( %p )\n", object);
H A Dkmp_affinity.cpp5405 int mid = 0; in __kmp_get_first_osid_with_ecore() local
5407 mid = (high + low) / 2; in __kmp_get_first_osid_with_ecore()
5408 if (__kmp_topology->at(mid).attrs.get_core_type() == in __kmp_get_first_osid_with_ecore()
5410 low = mid + 1; in __kmp_get_first_osid_with_ecore()
5412 high = mid; in __kmp_get_first_osid_with_ecore()
5415 if (__kmp_topology->at(mid).attrs.get_core_type() == KMP_HW_CORE_TYPE_ATOM) { in __kmp_get_first_osid_with_ecore()
5416 return mid; in __kmp_get_first_osid_with_ecore()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h663 size_t mid = (lo + hi) / 2; in ComputeUpperBounds() local
664 AugmentedEntry &entry = m_entries[mid]; in ComputeUpperBounds()
668 if (lo < mid) in ComputeUpperBounds()
670 std::max(entry.upper_bound, ComputeUpperBounds(lo, mid)); in ComputeUpperBounds()
672 if (mid + 1 < hi) in ComputeUpperBounds()
683 size_t mid = (lo + hi) / 2; in FindEntryIndexesThatContain() local
684 const AugmentedEntry &entry = m_entries[mid]; in FindEntryIndexesThatContain()
692 if (lo < mid) in FindEntryIndexesThatContain()
693 FindEntryIndexesThatContain(addr, lo, mid, indexes); in FindEntryIndexesThatContain()
704 if (mid + 1 < hi) in FindEntryIndexesThatContain()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1526 auto mid = std::stable_partition( in sortSections() local
1529 std::stable_sort(script->sectionCommands.begin(), mid, compareSections); in sortSections()
H A DSyntheticSections.cpp2440 auto mid = in addSymbols() local
2454 nBuckets = std::max<size_t>((v.end() - mid) / 4, 1); in addSymbols()
2456 if (mid == v.end()) in addSymbols()
2459 for (SymbolTableEntry &ent : llvm::make_range(mid, v.end())) { in addSymbols()
2471 v.erase(mid, v.end()); in addSymbols()
/freebsd/contrib/llvm-project/lld/COFF/
H A DICF.cpp118 size_t mid = bound - chunks.begin(); in segregate() local
122 for (size_t i = begin; i < mid; ++i) in segregate()
123 chunks[i]->eqClass[(cnt + 1) % 2] = mid; in segregate()
126 if (mid != end) in segregate()
129 begin = mid; in segregate()
213 size_t mid = findBoundary(begin, end); in forEachClassRange() local
214 fn(begin, mid); in forEachClassRange()
215 begin = mid; in forEachClassRange()

123456