Home
last modified time | relevance | path

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

12345678910>>...62

/freebsd-src/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-src/crypto/openssl/crypto/bn/
H A Dbn_rand.c133 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()
155 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bnrand_range()
171 if (BN_cmp(r, range) >= 0) { in bnrand_range()
172 if (!BN_sub(r, r, range)) in bnrand_range()
174 if (BN_cmp(r, range) >= 0) in bnrand_range()
175 if (!BN_sub(r, r, range)) in bnrand_range()
185 while (BN_cmp(r, range) >= 0); in bnrand_range()
198 while (BN_cmp(r, range) >= 0); in bnrand_range()
[all …]
/freebsd-src/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-src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransformActions.cpp67 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange()
68 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange()
70 if (range.isTokenRange()) { in CharRange()
135 void remove(SourceRange range);
137 void replace(SourceRange range, StringRef text);
138 void replace(SourceRange range, SourceRange replacementRange);
142 void increaseIndentation(SourceRange range,
145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
152 bool canRemoveRange(SourceRange range);
153 bool canReplaceRange(SourceRange range, SourceRange replacementRange);
[all …]
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-src/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) in swap_impl()
44 -> decltype(rbegin(std::forward<RangeT>(range))) { in swap_impl()
45 return rbegin(std::forward<RangeT>(range)); in swap_impl()
51 constexpr auto rend_impl(RangeT &&range)
[all...]
/freebsd-src/contrib/llvm-project/libcxx/modules/std/
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
[all...]
/freebsd-src/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-src/contrib/xz/src/liblzma/rangecoder/
H A Drange_encoder.h29 uint32_t range; member
61 rc->range = UINT32_MAX; in rc_reset()
198 if (rc->range < RC_TOP_VALUE) { in rc_encode()
202 rc->range <<= RC_SHIFT_BITS; in rc_encode()
209 rc->range = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) in rc_encode()
218 const uint32_t bound = prob * (rc->range in rc_encode()
221 rc->range -= bound; in rc_encode()
228 rc->range >>= 1; in rc_encode()
232 rc->range >>= 1; in rc_encode()
233 rc->low += rc->range; in rc_encode()
[all …]
H A Drange_decoder.h19 // Choose the range decoder variants to use using a bitmask.
69 uint32_t range; member
75 /// Reads the first five bytes to initialize the range decoder.
99 /// Makes local copies of range decoder and *in_pos variables. Doing this
100 /// improves speed significantly. The range decoder macros expect also
118 /// Stores the local copes back to the range decoder structure.
126 /// Resets the range decoder structure.
129 (range_decoder).range = UINT32_MAX; \
145 if (rc.range < RC_TOP_VALUE) { \
146 rc.range <<
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp65 CharSourceRange range, in insertFromRange() argument
69 if (!canRemoveRange(range, RangeOffs, RangeLen)) { in insertFromRange()
82 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { in insertFromRange()
91 bool Commit::remove(CharSourceRange range) { in remove() argument
94 if (!canRemoveRange(range, Offs, Len)) { in remove()
99 addRemove(range.getBegin(), Offs, Len); in remove()
103 bool Commit::insertWrap(StringRef before, CharSourceRange range, in insertWrap() argument
105 bool commitableBefore = insert(range.getBegin(), before, /*afterToken=*/false, in insertWrap()
108 if (range.isTokenRange()) in insertWrap()
109 commitableAfter = insertAfterToken(range.getEnd(), after); in insertWrap()
[all …]
/freebsd-src/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-src/contrib/llvm-project/libcxx/include/__ranges/
H A Dconcepts.h47 concept range = requires(_Tp& __t) { in requires()
53 concept input_range = range<_Tp> && input_iterator<iterator_t<_Tp>>;
57range<_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 _Rp>
76 template <range _Rp>
81 concept sized_range = range<_Tp> && requires(_Tp& __t) { ranges::size(__t); }; in requires()
[all …]
/freebsd-src/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-src/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
[all...]
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Ddmu_send.c178 * for all range types; this makes the code much less
227 static int do_dump(dmu_send_cookie_t *dscp, struct send_range *range);
230 range_free(struct send_range *range) in range_free()
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 in range_free()
228 range_free(struct send_range * range) range_free() argument
907 do_dump(dmu_send_cookie_t * dscp,struct send_range * range) do_dump() argument
1087 struct send_range *range = kmem_alloc(sizeof (*range), KM_SLEEP); range_alloc() local
1552 struct send_range *range; send_merge_thread() local
1612 struct send_range *range = zio->io_private; dmu_send_read_done() local
1628 issue_data_read(struct send_reader_thread_arg * srta,struct send_range * range) issue_data_read() argument
1717 struct send_range *range = range_alloc(range_type, dn->dn_object, enqueue_range() local
1761 struct send_range *range = bqueue_dequeue(inq); send_reader_thread() local
2359 struct send_range *range; dmu_send_impl() local
[all...]
/freebsd-src/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-src/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()
108 VReport(1, "Adding instrumented range %p-%p from library '%s'\n", in OnLibraryLoaded()
109 (void *)range in OnLibraryLoaded()
[all...]
/freebsd-src/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-src/contrib/llvm-project/lldb/source/Symbol/
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;
64 // Show address range in Dump()
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 in Compare()
[all...]
H A DBlock.cpp45 s->Printf(", range%s = ", num_ranges > 1 ? "s" : ""); in GetDescription()
47 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 in DumpAddressRanges()
240 GetRangeContainingOffset(const addr_t offset,Range & range) GetRangeContainingOffset() argument
251 GetRangeContainingAddress(const Address & addr,AddressRange & range) GetRangeContainingAddress() argument
279 GetRangeContainingLoadAddress(lldb::addr_t load_addr,Target & target,AddressRange & range) GetRangeContainingLoadAddress() argument
303 GetRangeAtIndex(uint32_t range_idx,AddressRange & range) GetRangeAtIndex() argument
335 AddRange(const Range & range) AddRange() argument
[all...]
/freebsd-src/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-src/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-src/sys/contrib/device-tree/src/arm64/hisilicon/
H A Dhi3798cv200.dtsi221 pinctrl-single,gpio-range = <
222 &range 0 8 2 /* GPIO 0 */
223 &range 8 1 0 /* GPIO 1 */
224 &range 9 4 2
225 &range 13 1 0
226 &range 14 1 1
227 &range 15 1 0
228 &range 16 5 0 /* GPIO 2 */
229 &range 21 3 1
230 &range 2
210 range: gpio-range { global() label
[all...]

12345678910>>...62