Home
last modified time | relevance | path

Searched full:range (Results 1 – 25 of 6404) sorted by relevance

12345678910>>...257

/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 …]
/freebsd/crypto/openssl/ssl/quic/
H A Duint_set.c20 * Insert Range: Adds an inclusive range of integers [start, end]
22 * in the range.
24 * Remove Range: Removes an inclusive range of integers [start, end]
25 * from the set. Not all of the range need already be in
26 * the set, but any part of the range in the set is removed.
35 * implemented as a doubly linked sorted list of range structures, which are
44 * end of the range.
54 * Invariant: No range [a, b] ever has a > b.
56 * Invariant: Since ranges are represented using inclusive bounds, no range
83 if (x->range.start - 1 != xprev->range.end) in uint_set_merge_adjacent()
[all …]
H A Dquic_sf_list.c16 UINT_RANGE range; member
25 (size_t)(sf->range.end - sf->range.start)); in stream_frame_free()
30 static STREAM_FRAME *stream_frame_new(UINT_RANGE *range, OSSL_QRX_PKT *pkt, in stream_frame_new() argument
41 sf->range = *range; in stream_frame_new()
63 static int append_frame(SFRAME_LIST *fl, UINT_RANGE *range, in append_frame() argument
69 if ((new_frame = stream_frame_new(range, pkt, data)) == NULL) in append_frame()
79 int ossl_sframe_list_insert(SFRAME_LIST *fl, UINT_RANGE *range, in ossl_sframe_list_insert() argument
85 uint64_t curr_end = fl->tail != NULL ? fl->tail->range.end in ossl_sframe_list_insert()
89 assert((!fin || curr_end <= range->end) in ossl_sframe_list_insert()
90 && (!fl->fin || curr_end >= range->end)); in ossl_sframe_list_insert()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h1 //===- ConstantRange.h - Represent a range ----------------------*- C++ -*-===//
9 // Represent a range of possible values that may occur when the program is run
11 // constant, which MAY wrap around the end of the numeric range. To do this, it
21 // The other integral ranges use min/max values for special range values. For
46 /// This class represents a range of values.
50 /// Create empty constant range with same bitwidth.
55 /// Create full constant range with same bitwidth.
64 /// Initialize a range to hold the single specified value.
67 /// Initialize a range of values explicitly. This will assert out if
72 /// Create empty constant range with the given bit width.
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/i86pc/
H A Di86pc-legacy-hc-topology.xml35 <range name='motherboard' min='0' max='0'>
76 <range name='chip' min='0' max='100'>
79 </range>
80 <range name='slot' min='0' max='31'>
82 </range>
83 <range name='hostbridge' min='0' max='254'>
85 </range>
86 <range name='usb-mobo' min='0' max='100'>
88 </range>
89 <range name='chipset' min='0' max='100'>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAddressRanges.h20 /// A class that represents an address range. The range is specified using
69 bool contains(AddressRange Range) const { in contains() argument
70 return find(Range.start(), Range.end()) != Ranges.end(); in contains()
116 /// The AddressRanges class helps normalize address range collections.
123 Collection::const_iterator insert(AddressRange Range) { in insert() argument
124 if (Range.empty()) in insert()
127 auto It = llvm::upper_bound(Ranges, Range); in insert()
129 while (It2 != Ranges.end() && It2->start() <= Range.end()) in insert()
132 Range = {Range.start(), std::max(Range.end(), std::prev(It2)->end())}; in insert()
135 if (It != Ranges.begin() && Range.start() <= std::prev(It)->end()) { in insert()
[all …]
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 …]
/titanic_44/usr/src/lib/fm/topo/maps/i86pc/
H A Di86pc-legacy-hc-topology.xml35 <range name='motherboard' min='0' max='0'>
76 <range name='chip' min='0' max='100'>
79 </range>
80 <range name='hostbridge' min='0' max='254'>
82 </range>
85 </range>
87 <range name='chassis' min='0' max='0'>
94 <range name='psu' min='0' max='100'>
97 </range>
98 <range name='fanmodule' min='0' max='100'>
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_rand.c130 /* random number r: 0 <= r < range */
131 static int bnrand_range(BNRAND_FLAG flag, BIGNUM *r, const BIGNUM *range, in bnrand_range() argument
142 if (range->neg || BN_is_zero(range)) { in bnrand_range()
147 n = BN_num_bits(range); /* n > 0 */ in bnrand_range()
149 /* BN_is_bit_set(range, n - 1) always holds */ in bnrand_range()
153 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bnrand_range()
155 * range = 100..._2, so 3*range (= 11..._2) is exactly one bit longer in bnrand_range()
156 * than range in bnrand_range()
164 * If r < 3*range, use r := r MOD range (which is either r, r - in bnrand_range()
165 * range, or r - 2*range). Otherwise, iterate once more. Since in bnrand_range()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp31 StringRef clang::tooling::getText(CharSourceRange Range, in getText() argument
33 return Lexer::getSourceText(Range, Context.getSourceManager(), in getText()
37 CharSourceRange clang::tooling::maybeExtendRange(CharSourceRange Range, in maybeExtendRange() argument
40 CharSourceRange R = Lexer::getAsCharRange(Range, Context.getSourceManager(), in maybeExtendRange()
43 return Range; in maybeExtendRange()
49 return Range; in maybeExtendRange()
50 return CharSourceRange::getTokenRange(Range.getBegin(), Tok.getLocation()); in maybeExtendRange()
53 llvm::Error clang::tooling::validateRange(const CharSourceRange &Range, in validateRange() argument
56 if (Range.isInvalid()) in validateRange()
58 "Invalid range"); in validateRange()
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SYS-2028U-E1CNRT+/
H A DSYS-2028U-E1CNRT+-hc-topology.xml20 <range name='motherboard' min='0' max='0'>
64 <range name='chip' min='0' max='1'>
66 </range>
67 <range name='hostbridge' min='0' max='254'>
69 </range>
70 <range name='sp' min='0' max='0'>
72 </range>
73 <range name='usb-mobo' min='0' max='256'>
75 </range>
78 </range>
[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/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h39 /// Given a source range, true to include previous inserts at the
40 /// beginning of the range as part of the range itself (true by default).
43 /// Given a source range, true to include previous inserts at the
44 /// end of the range as part of the range itself (true by default).
55 /// line and then, if found, expand the removal range to include it.
58 /// scan before and after the removal range until the next newline or
86 /// getRangeSize - Return the size in bytes of the specified range if they
88 int getRangeSize(SourceRange Range,
90 int getRangeSize(const CharSourceRange &Range,
94 /// range. If the start or end of the range was unrewritable or if they are
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-6049P-E1CR36L/
H A DSSG-6049P-E1CR36L-hc-topology.xml20 <range name='motherboard' min='0' max='0'>
51 <range name='chip' min='0' max='1'>
53 </range>
54 <range name='hostbridge' min='0' max='254'>
56 </range>
57 <range name='sp' min='0' max='0'>
59 </range>
60 <range name='slot' min='0' max='15'>
63 </range>
64 <range name='usb-mobo' min='0' max='256'>
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c36 * be used. If label range is not specified for the device in
47 blrange_t *range; in getdevicerange() local
50 if ((range = malloc(sizeof (blrange_t))) == NULL) in getdevicerange()
52 if ((range->lower_bound = blabel_alloc()) == NULL) { in getdevicerange()
53 free(range); in getdevicerange()
56 if ((range->upper_bound = blabel_alloc()) == NULL) { in getdevicerange()
57 blabel_free(range->lower_bound); in getdevicerange()
58 free(range); in getdevicerange()
64 * return its label range. in getdevicerange()
78 bsllow(range->lower_bound); in getdevicerange()
[all …]
/titanic_44/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c38 * be used. If label range is not specified for the device in
49 blrange_t *range; in getdevicerange() local
52 if ((range = malloc(sizeof (blrange_t))) == NULL) in getdevicerange()
54 if ((range->lower_bound = blabel_alloc()) == NULL) { in getdevicerange()
55 free(range); in getdevicerange()
58 if ((range->upper_bound = blabel_alloc()) == NULL) { in getdevicerange()
59 blabel_free(range->lower_bound); in getdevicerange()
60 free(range); in getdevicerange()
66 * return its label range. in getdevicerange()
80 bsllow(range->lower_bound); in getdevicerange()
[all …]
/illumos-gate/usr/src/man/man3c/
H A Dmadvise.3c38 function advises the kernel that a region of user mapped memory in the range
45 maintaining the resources associated with the specified mapping range.
74 address range causes the system to read data from the mapped file.
91 Tell the system that addresses in this range are likely to be accessed only
92 once, so the system will free the resources mapping the address range as
95 Tell the system that a certain address range is definitely needed so the kernel
96 will start reading the specified range into memory.
100 Tell the kernel that the specified address range is no longer needed, so the
101 system starts to free the resources associated with the address range.
107 will actually synchronously purge the address range, and subsequent faults will
[all …]
/titanic_44/usr/src/man/man3c/
H A Dmadvise.3c21 memory in the range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) will be accessed
24 specified mapping range. In general (and true to the name of the function),
54 address range causes the system to read data from the mapped file. The kernel
80 Tell the system that addresses in this range are likely to be accessed only
81 once, so the system will free the resources mapping the address range as
91 Tell the system that a certain address range is definitely needed so the kernel
92 will start reading the specified range into memory. This can benefit programs
103 Tell the kernel that the specified address range is no longer needed, so the
104 system starts to free the resources associated with the address range.
107 \fBMADV_DONTNEED\fR will actually synchronously purge the address range,
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-range.mk1 # $NetBSD: varmod-range.mk,v 1.19 2025/06/28 22:39:29 rillig Exp $
3 # Tests for the :range variable modifier, which generates sequences
4 # of integers from the given range.
9 # The :range modifier generates a sequence of integers, one number per
11 .if ${a b c:L:range} != "1 2 3"
17 .if ${:U first "the second word" third 4 :range} != "1 2 3 4"
21 # The :range modifier takes the number of words from the value of the
22 # expression. If that expression is undefined, the range is
24 .if "${:range}" != ""
30 .if ${:U:range} != "1"
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2028R-ACR24L/
H A DSSG-2028R-ACR24L-hc-topology.xml29 <range name='motherboard' min='0' max='0'>
62 <range name='chip' min='0' max='100'>
64 </range>
65 <range name='hostbridge' min='0' max='254'>
67 </range>
68 <range name='sp' min='0' max='0'>
70 </range>
71 <range name='slot' min='0' max='15'>
74 </range>
75 <range name='usb-mobo' min='0' max='256'>
[all …]
H A DSSG-2028R-ACR24L-slot-hc-topology.xml19 <range name='slot' min='0' max='15'>
22 <range name='dimm' min='0' max='0'>
32 </range>
38 <range name='dimm' min='0' max='0'>
48 </range>
54 <range name='dimm' min='0' max='0'>
64 </range>
70 <range name='dimm' min='0' max='0'>
80 </range>
86 <range name='dimm' min='0' max='0'>
[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()
84 // First check that the range is not inverted. in MakeTaggedRange()
99 // While there are parts of the range that don't have a matching tagged memory in MakeTaggedRange()
102 // Search for a region that contains the start of the range in MakeTaggedRange()
111 // Some part of this range is untagged (or unmapped) so error in MakeTaggedRange()
113 "Address range 0x%" PRIx64 ":0x%" PRIx64 in MakeTaggedRange()
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Storage-Platform-7001/
H A DJoyent-Storage-Platform-7001-slot-hc-topology.xml19 <range name='slot' min='0' max='15'>
22 <range name='dimm' min='0' max='0'>
32 </range>
38 <range name='dimm' min='0' max='0'>
48 </range>
54 <range name='dimm' min='0' max='0'>
64 </range>
70 <range name='dimm' min='0' max='0'>
80 </range>
86 <range name='dimm' min='0' max='0'>
[all …]
/illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2029P-ACR24L/
H A DSSG-2029P-ACR24L-slot-hc-topology.xml19 <range name='slot' min='0' max='15'>
22 <range name='dimm' min='0' max='0'>
32 </range>
38 <range name='dimm' min='0' max='0'>
48 </range>
54 <range name='dimm' min='0' max='0'>
64 </range>
70 <range name='dimm' min='0' max='0'>
80 </range>
86 <range name='dimm' min='0' max='0'>
[all …]

12345678910>>...257