Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 1519) sorted by relevance

12345678910>>...61

/freebsd/usr.sbin/ppp/
H A Dncpaddr.c411 struct ncprange range; in ncpaddr_aton() local
413 if (!ncprange_aton(&range, ncp, data)) in ncpaddr_aton()
416 if (range.ncprange_family == AF_INET && range.ncprange_ip4width != 32 && in ncpaddr_aton()
417 range.ncprange_ip4addr.s_addr != INADDR_ANY) { in ncpaddr_aton()
423 if (range.ncprange_family == AF_INET6 && range.ncprange_ip6width != 128 && in ncpaddr_aton()
424 !IN6_IS_ADDR_UNSPECIFIED(&range.ncprange_ip6addr)) { in ncpaddr_aton()
430 switch (range.ncprange_family) { in ncpaddr_aton()
432 addr->ncpaddr_family = range.ncprange_family; in ncpaddr_aton()
433 addr->ncpaddr_ip4addr = range.ncprange_ip4addr; in ncpaddr_aton()
438 addr->ncpaddr_family = range.ncprange_family; in ncpaddr_aton()
[all …]
H A Dncp.c371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst) in ncp_IsUrgentPort() argument
375 for (f = 0; f < range->nports; f++) in ncp_IsUrgentPort()
376 if (range->port[f] == src || range->port[f] == dst) in ncp_IsUrgentPort()
383 ncp_AddUrgentPort(struct port_range *range, u_short port) in ncp_AddUrgentPort() argument
388 if (range->nports == range->maxports) { in ncp_AddUrgentPort()
389 range->maxports += 10; in ncp_AddUrgentPort()
390 newport = (u_short *)realloc(range->port, in ncp_AddUrgentPort()
391 range->maxports * sizeof(u_short)); in ncp_AddUrgentPort()
395 range->maxports -= 10; in ncp_AddUrgentPort()
398 range->port = newport; in ncp_AddUrgentPort()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DADL.h27 constexpr auto begin_impl(RangeT &&range)
28 -> decltype(begin(std::forward<RangeT>(range))) {
29 return begin(std::forward<RangeT>(range));
35 constexpr auto end_impl(RangeT &&range)
36 -> decltype(end(std::forward<RangeT>(range))) {
37 return end(std::forward<RangeT>(range));
43 constexpr auto rbegin_impl(RangeT &&range)
44 -> decltype(rbegin(std::forward<RangeT>(range))) {
45 return rbegin(std::forward<RangeT>(range));
51 constexpr auto rend_impl(RangeT &&range)
[all …]
/freebsd/tests/sys/file/
H A Dfspacectl_test.c186 struct spacectl_range range; in ATF_TC_BODY() local
192 range.r_offset = offset = blocksize; in ATF_TC_BODY()
193 range.r_len = length = (file_max_blocks - 1) * blocksize - in ATF_TC_BODY()
194 range.r_offset; in ATF_TC_BODY()
199 ATF_CHECK(fspacectl(fd, SPACECTL_DEALLOC, &range, 0, &range) == 0); in ATF_TC_BODY()
211 struct spacectl_range range; in ATF_TC_BODY() local
217 range.r_offset = offset = blocksize / 2; in ATF_TC_BODY()
218 range.r_len = length = (file_max_blocks - 1) * blocksize + in ATF_TC_BODY()
224 ATF_CHECK(fspacectl(fd, SPACECTL_DEALLOC, &range, 0, &range) == 0); in ATF_TC_BODY()
236 struct spacectl_range range; in ATF_TC_BODY() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DInternals.h33 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
34 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
65 void remove(SourceRange range);
67 void replace(SourceRange range, StringRef text);
68 void replace(SourceRange range, SourceRange replacementRange);
72 void increaseIndentation(SourceRange range,
75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
76 bool clearAllDiagnostics(SourceRange range) { in clearAllDiagnostics() argument
77 return clearDiagnostic(std::nullopt, range); in clearAllDiagnostics()
79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { in clearDiagnostic() argument
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dranges.cppm
H A Dranges.inc13 // [range.access], range access
30 // [range.range], ranges
31 using std::ranges::range;
49 // [range.sized], sized ranges
53 // [range.view], views
58 // [range.refinements], other range refinements
72 // [range.subrange], sub-ranges
83 // [range.dangling], dangling iterator handling
86 // [range.elementsof], class template elements_­of
94 // [range.utility.conv], range conversions
[all …]
/freebsd/contrib/elftoolchain/addr2line/
H A Daddr2line.c60 struct range { struct
61 RB_ENTRY(range) entry;
92 static RB_HEAD(cutree, range) cuhead = RB_INITIALIZER(&cuhead); argument
95 lopccmp(struct range *e1, struct range *e2) in lopccmp()
100 RB_PROTOTYPE(cutree, range, entry, lopccmp);
101 RB_GENERATE(cutree, range, entry, lopccmp) in RB_GENERATE() argument
174 search_func(struct range *range, Dwarf_Unsigned addr) in search_func() argument
182 STAILQ_FOREACH(f, &range->funclist, next) { in search_func()
220 struct range *range) in collect_func() argument
334 STAILQ_INSERT_TAIL(&range->funclist, f, next); in collect_func()
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_rand.c132 /* random number r: 0 <= r < range */
133 static int bnrand_range(BNRAND_FLAG flag, BIGNUM *r, const BIGNUM *range, in bnrand_range() argument
144 if (range->neg || BN_is_zero(range)) { in bnrand_range()
149 n = BN_num_bits(range); /* n > 0 */ in bnrand_range()
151 /* BN_is_bit_set(range, n - 1) always holds */ in bnrand_range()
155 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bnrand_range()
157 * range = 100..._2, so 3*range ( in bnrand_range()
205 BN_rand_range_ex(BIGNUM * r,const BIGNUM * range,unsigned int strength,BN_CTX * ctx) BN_rand_range_ex() argument
212 BN_rand_range(BIGNUM * r,const BIGNUM * range) BN_rand_range() argument
218 BN_priv_rand_range_ex(BIGNUM * r,const BIGNUM * range,unsigned int strength,BN_CTX * ctx) BN_priv_rand_range_ex() argument
225 BN_priv_rand_range(BIGNUM * r,const BIGNUM * range) BN_priv_rand_range() argument
236 BN_pseudo_rand_range(BIGNUM * r,const BIGNUM * range) BN_pseudo_rand_range() argument
251 BN_generate_dsa_nonce(BIGNUM * out,const BIGNUM * range,const BIGNUM * priv,const unsigned char * message,size_t message_len,BN_CTX * ctx) BN_generate_dsa_nonce() argument
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h145 bool RemoveText(CharSourceRange range,
147 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts);
151 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
152 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts);
164 bool ReplaceText(CharSourceRange range, StringRef NewStr) { in ReplaceText() argument
165 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText()
171 bool ReplaceText(SourceRange range, StringRef NewStr) { in ReplaceText() argument
172 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText()
178 bool ReplaceText(SourceRange range, SourceRange replacementRange);
184 bool IncreaseIndentation(CharSourceRange range, SourceLocation parentIndent);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dconcepts.h44 // [range.range]
47 concept range = requires(_Tp& __t) { in requires()
53 concept input_range = range<_Tp> && input_iterator<iterator_t<_Tp>>;
57 range<_Range> && (is_lvalue_reference_v<_Range> || enable_borrowed_range<remove_cvref_t<_Range>>);
61 template <range _Rp>
64 template <range _Rp>
67 template <range _Rp>
70 template <range _Rp>
73 template <range _R
[all...]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_send.c227 static int do_dump(dmu_send_cookie_t *dscp, struct send_range *range);
230 range_free(struct send_range *range) in range_free() argument
232 if (range->type == OBJECT) { in range_free()
234 (range->sru.object.dnp->dn_extra_slots + 1); in range_free()
235 kmem_free(range->sru.object.dnp, size); in range_free()
236 if (range->sru.object.spill_range) in range_free()
237 range_free(range->sru.object.spill_range); in range_free()
238 } else if (range->type == DATA) { in range_free()
239 mutex_enter(&range->sru.data.lock); in range_free()
240 while (range->sru.data.io_outstanding) in range_free()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DBlock.cpp47 const Range &range = m_ranges.GetEntryRef(i); in GetDescription() local
48 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in GetDescription()
49 base_addr + range.GetRangeEnd(), 4); in GetDescription()
86 const Range &range = m_ranges.GetEntryRef(i); in Dump() local
87 if (parent_block != nullptr && !parent_block->Contains(range)) in Dump()
91 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in Dump()
92 base_addr + range.GetRangeEnd(), 4); in Dump()
173 const Range &range = m_ranges.GetEntryRef(i); in DumpAddressRanges() local
174 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in DumpAddressRanges()
175 base_addr + range.GetRangeEnd(), 4); in DumpAddressRanges()
[all …]
H A DLineEntry.cpp17 : range(), file_sp(std::make_shared<SupportFile>()), in LineEntry()
23 range.Clear(); in Clear()
36 return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; in IsValid()
65 if (!range.Dump(s, target, style, fallback_style)) in Dump()
69 if (!range.GetBaseAddress().Dump(s, target, style, fallback_style)) in Dump()
102 range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, in GetDescription()
105 range.Dump(s, target, Address::DumpStyleLoadAddress, in GetDescription()
148 int result = Address::CompareFileAddress(a.range.GetBaseAddress(), in Compare()
149 b.range.GetBaseAddress()); in Compare()
153 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dranges21 // [range.access], range access
31 // [range.range], ranges
33 concept range = see below;
40 template<range R>
42 template<range R>
46 template<range R>
48 template<range R>
50 template<range R>
52 template <range R>
55 // [range.sized], sized ranges
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/
H A Dad5758.txt36 - adi,range-microvolt: Voltage output range
38 * <0 5000000>: 0 V to 5 V voltage range
39 * <0 10000000>: 0 V to 10 V voltage range
40 * <(-5000000) 5000000>: ±5 V voltage range
41 * <(-10000000) 10000000>: ±10 V voltage range
42 - adi,range-microamp: Current output range
44 * <0 20000>: 0 mA to 20 mA current range
45 * <0 24000>: 0 mA to 24 mA current range
46 * <4 24000>: 4 mA to 20 mA current range
47 * <(-20000) 20000>: ±20 mA current range
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprng.h132 prng_range_u32(atomic_u32_t *state, uint32_t range, bool atomic) { in prng_range_u32() argument
136 assert(range > 1); in prng_range_u32()
139 lg_range = ffs_u32(pow2_ceil_u32(range)) - 1; in prng_range_u32()
144 } while (ret >= range); in prng_range_u32()
150 prng_range_u64(uint64_t *state, uint64_t range) { in prng_range_u64() argument
154 assert(range > 1); in prng_range_u64()
157 lg_range = ffs_u64(pow2_ceil_u64(range)) - 1; in prng_range_u64()
162 } while (ret >= range); in prng_range_u64()
168 prng_range_zu(atomic_zu_t *state, size_t range, bool atomic) { in prng_range_zu() argument
172 assert(range > 1); in prng_range_zu()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.cpp59 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() local
60 if (!range.executable) in OnLibraryLoaded()
84 ignored_code_ranges_[idx].begin = range.beg; in OnLibraryLoaded()
85 ignored_code_ranges_[idx].end = range.end; in OnLibraryLoaded()
103 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() local
104 if (!range.executable) in OnLibraryLoaded()
106 if (IsPcInstrumented(range.beg) && IsPcInstrumented(range.end - 1)) in OnLibraryLoaded()
109 (void *)range.beg, (void *)range.end, mod.full_name()); in OnLibraryLoaded()
113 instrumented_code_ranges_[idx].begin = range.beg; in OnLibraryLoaded()
114 instrumented_code_ranges_[idx].end = range.end; in OnLibraryLoaded()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh54 for i in $range; do
63 for i in $range; do
85 range="1 2 3 4 5"
105 range="1 2 3"
107 range="4 5"
114 range="2 3 4"
118 range="1 5"
125 range="1 2"
127 range="3 4 5"
134 range="2 4"
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DMemoryTagManagerAArch64MTE.cpp49 MemoryTagManagerAArch64MTE::ExpandToGranule(TagRange range) const { in ExpandToGranule()
51 if (!range.IsValid()) in ExpandToGranule()
52 return range; in ExpandToGranule()
57 lldb::addr_t new_start = range.GetRangeBase(); in ExpandToGranule()
62 size_t new_len = range.GetByteSize() + align_down_amount; in ExpandToGranule()
178 MemoryRegionInfo::RangeType range(RemoveTagBits(addr), len); in MakeTaggedRanges() local
179 range = ExpandToGranule(range); in MakeTaggedRanges()
184 if (!range.IsValid()) in MakeTaggedRanges()
188 if (!region.GetRange().DoesIntersect(range)) in MakeTaggedRanges()
198 std::max(range.GetRangeBase(), region.GetRange().GetRangeBase()); in MakeTaggedRanges()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Dpinctrl-single.txt76 - pinctrl-single,gpio-range : list of value that are used to configure a GPIO
77 range. They're value of subnode phandle, pin base in pinctrl device, pin
78 number in this range, GPIO function value of this GPIO range.
79 The number of parameters is depend on #pinctrl-single,gpio-range-cells
83 pinctrl-single,gpio-range = <&range 0 3 0>, <&range 3 9 1>;
126 register, those pins could be defined as a GPIO range. This sub-node is required
127 by pinctrl-single,gpio-range property.
130 - #pinctrl-single,gpio-range-cells : the number of parameters after phandle in
131 pinctrl-single,gpio-range property.
133 range: gpio-range {
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/hisilicon/
H A Dhi3798cv200.dtsi180 pinctrl-single,gpio-range = <
181 &range 0 8 2 /* GPIO 0 */
182 &range 8 1 0 /* GPIO 1 */
183 &range 9 4 2
184 &range 13 1 0
185 &range 14 1 1
186 &range 15 1 0
187 &range 16 5 0 /* GPIO 2 */
188 &range 21 3 1
189 &range 2
210 range: gpio-range { global() label
[all...]
/freebsd/crypto/heimdal/lib/hx509/
H A Dquote.py45 for i in range(0, 256):
48 for i in range(0, 256):
52 for i in range(ord("A"), ord("Z") + 1):
54 for i in range(ord("a"), ord("z") + 1):
56 for i in range(ord("0"), ord("9") + 1):
93 for x in range(0, 256):
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Drandom.h50 random_in_range(uint32_t range) in random_in_range() argument
53 return (prng32_bounded(range)); in random_in_range()
57 ASSERT(range != 0); in random_in_range()
59 if (range == 1) in random_in_range()
64 return (r % range); in random_in_range()
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddbg.c541 /* The range includes both boundaries */ in iwl_dump_prph()
552 /* our range is inclusive, hence + 4 */ in iwl_dump_prph()
612 /* The range includes both boundaries */ in iwl_fw_get_prph_len()
1035 struct iwl_fw_ini_error_dump_range *range = range_ptr; in iwl_dump_ini_prph_mac_iter()
1036 __le32 *val = range->data; in iwl_dump_ini_prph_mac_iter()
1039 range->internal_base_addr = cpu_to_le32(addr); in iwl_dump_ini_prph_mac_iter()
1040 range->range_data_size = size; in iwl_dump_ini_prph_mac_iter()
1044 return sizeof(*range) + le32_to_cpu(range->range_data_size); in iwl_dump_ini_prph_mac_iter()
1078 struct iwl_fw_ini_error_dump_range *range in iwl_dump_ini_prph_phy_iter()
1038 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_prph_mac_iter() local
1063 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_prph_phy_iter() local
1113 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_csr_iter() local
1133 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_config_iter() local
1164 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_dev_mem_iter() local
1186 struct iwl_fw_ini_error_dump_range *range = range_ptr; _iwl_dump_ini_paging_iter() local
1205 struct iwl_fw_ini_error_dump_range *range; iwl_dump_ini_paging_iter() local
1231 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_mon_dram_iter() local
1250 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_mon_smem_iter() local
1318 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_txf_iter() local
1453 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_rxf_iter() local
1524 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_err_table_iter() local
1545 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_special_mem_iter() local
1563 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_dbgi_sram_iter() local
1590 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_fw_pkt_iter() local
1612 struct iwl_fw_ini_error_dump_range *range = range_ptr; iwl_dump_ini_imr_iter() local
2116 u8 *range; global() local
[all...]

12345678910>>...61