| /openbsd-src/gnu/usr.bin/gcc/gcc/java/ |
| H A D | except.c | 45 static void free_eh_ranges PARAMS ((struct eh_range *range)); 77 find_handler_in_range (pc, range, child) in find_handler_in_range() argument 79 struct eh_range *range; 89 cache_range = range; 92 cache_range_end = child == NULL ? range->end_pc : child->start_pc; 93 return range; 125 link_handler (range, outer) in link_handler() argument 126 struct eh_range *range, *outer; in link_handler() 130 if (range->start_pc == outer->start_pc && range->end_pc == outer->end_pc) 132 outer->handlers = chainon (outer->handlers, range->handlers); [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 67 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 D | Internals.h | 33 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 …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | genattr.c | 32 struct range struct 48 struct range ready_cost; /* Range of ready cost values. */ argument 49 struct range issue_delay; /* Range of issue delay values. */ 52 static void extend_range PARAMS ((struct range *, int, int)); 53 static void init_range PARAMS ((struct range *)); 56 static void write_units PARAMS ((int, struct range *, struct range *, 57 struct range *, struct range *, 58 struct range *)); 60 extend_range (range, min, max) in extend_range() argument 61 struct range *range; in extend_range() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/docs/Status/ |
| H A D | ZipProjects.csv | 10 | `[range.zip] <https://wg21.link/ranges.syn>`_, "`zip_view <https://reviews.llvm.org/D122806>`_", … 12 | `[range.zip.iterator] <https://wg21.link/range.zip.iterator>`_, "`zip_view::iterator <https://rev… 13 | `[range.zip.sentinel] <https://wg21.link/range.zip.sentinel>`_, "`zip_view::sentinel <https://rev… 14 | `[range.zip.transform.view] <https://wg21.link/range.zip.transform.view>`_, "zip_transform_view",… 16 | `[range.zip.transform.iterator] <https://wg21.link/range.zip.transform.iterator>`_, "zip_transfor… 17 | `[range.zip.transform.sentinel] <https://wg21.link/range.zip.transform.sentinel>`_, "zip_transfor… 18 | `[range.adjacent.view] <https://wg21.link/range.adjacent.view>`_, "adjacent_view", "| `adjacent_v… 20 | `[range.adjacent.iterator] <https://wg21.link/range.adjacent.iterator>`_, "adjacent_view::iterato… 21 | `[range.adjacent.sentinel] <https://wg21.link/range.adjacent.sentinel>`_, "adjacent_view::sentine… 22 | `[range.adjacent.transform.view] <https://wg21.link/range.adjacent.transform.view>`_, "adjacent_t… [all …]
|
| /openbsd-src/usr.sbin/npppd/npppd/ |
| H A D | npppd_pool.c | 124 struct in_addr_range *pool, *dyna_pool, *range; in npppd_pool_reload() local 141 for (range = dyna_pool; range != NULL; range = range->next) in npppd_pool_reload() 143 for (range = pool; range != NULL; range = range->next) in npppd_pool_reload() 156 for (i = 0, range = dyna_pool; range != NULL; range = range->next, i++){ in npppd_pool_reload() 157 if (npppd_pool_regist_radish(_this, range, &addrs[count], 1)) in npppd_pool_reload() 164 A(range->addr), netmask2prefixlen(range->mask)); in npppd_pool_reload() 172 for (i = 0, range = pool; range != NULL; range = range->next, i++) { in npppd_pool_reload() 173 if (npppd_pool_regist_radish(_this, range, &addrs[count], 0)) in npppd_pool_reload() 180 A(range->addr), netmask2prefixlen(range->mask)); in npppd_pool_reload() 191 for (range = dyna_pool; range != NULL; range = range->next) { in npppd_pool_reload() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | Commit.cpp | 65 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 …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 145 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 …]
|
| /openbsd-src/lib/libcrypto/bn/ |
| H A D | bn_rand.c | 226 bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range) in bn_rand_range() argument 232 if (range->neg || BN_is_zero(range)) { in bn_rand_range() 237 n = BN_num_bits(range); /* n > 0 */ in bn_rand_range() 243 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bn_rand_range() 254 if (BN_cmp(r, range) >= 0) { in bn_rand_range() 255 if (!BN_sub(r, r, range)) in bn_rand_range() 257 if (BN_cmp(r, range) >= 0) in bn_rand_range() 258 if (!BN_sub(r, r, range)) in bn_rand_range() 267 } while (BN_cmp(r, range) >= 0); in bn_rand_range() 278 } while (BN_cmp(r, range) >= 0); in bn_rand_range() [all …]
|
| /openbsd-src/sys/arch/arm64/dev/ |
| H A D | simplebus.c | 289 uint32_t *range; in simplebus_bs_map() local 306 for (range = sc->sc_ranges; rlen >= rone; rlen -= rone, range += rone) { in simplebus_bs_map() 308 rfrom = range[0]; in simplebus_bs_map() 310 rfrom = (rfrom << 32) + range[1]; in simplebus_bs_map() 311 rsize = range[sc->sc_acells + sc->sc_pacells]; in simplebus_bs_map() 314 range[sc->sc_acells + sc->sc_pacells + 1]; in simplebus_bs_map() 321 rto = range[sc->sc_acells]; in simplebus_bs_map() 323 rto = (rto << 32) + range[sc->sc_acells + 1]; in simplebus_bs_map() 340 uint32_t *range; in simplebus_bs_mmap() local 357 for (range = sc->sc_ranges; rlen >= rone; rlen -= rone, range += rone) { in simplebus_bs_mmap() [all …]
|
| /openbsd-src/usr.sbin/rpki-client/ |
| H A D | as.c | 41 * Given a newly-parsed AS number or range "as", make sure that "as" does 75 if (ases->range.min > ases[i].id || in as_check_overlap() 76 ases->range.max < ases[i].id) in as_check_overlap() 86 if (ases[i].range.min > as->id || in as_check_overlap() 87 ases[i].range.max < as->id) in as_check_overlap() 91 if (as->range.max < ases[i].range.min || in as_check_overlap() 92 as->range.min > ases[i].range.max) in as_check_overlap() 113 * See if a given AS range (whic [all...] |
| /openbsd-src/games/hack/ |
| H A D | hack.makemon.c | 170 int range; in enexto() local 173 range = 1; in enexto() 175 for(x = xx-range; x <= xx+range; x++) in enexto() 176 if(goodpos(x, yy-range)) { in enexto() 178 tfoo++->y = yy-range; in enexto() 181 for(x = xx-range; x <= xx+range; x++) in enexto() 182 if(goodpos(x,yy+range)) { in enexto() 184 tfoo++->y = yy+range; in enexto() 187 for(y = yy+1-range; y < yy+range; y++) in enexto() 188 if(goodpos(xx-range,y)) { in enexto() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__ranges/ |
| H A D | concepts.h | 47 concept range = requires(_Tp& __t) { in requires() 53 concept input_range = range<_Tp> && input_iterator<iterator_t<_Tp>>; 56 concept borrowed_range = range<_Range> && 61 template <range _Rp> 64 template <range _Rp> 67 template <range _Rp> 70 template <range _Rp> 73 template <range _Rp> 78 concept sized_range = range<_Tp> && requires(_Tp& __t) { ranges::size(__t); }; in requires() 92 range<_Tp> && [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | ranges | 21 // [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> 53 // [range.sized], sized ranges 60 // [range.view], views [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libignore.cpp | 59 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 range.beg, 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()
|
| /openbsd-src/gnu/llvm/lldb/source/Symbol/ |
| H A D | LineEntry.cpp | 17 : range(), file(), is_start_of_statement(0), is_start_of_basic_block(0), in LineEntry() 26 : range(section_sp, section_offset, byte_size), file(_file), in LineEntry() 34 range.Clear(); in Clear() 47 return range.GetBaseAddress().IsValid() && line != LLDB_INVALID_LINE_NUMBER; in IsValid() 75 if (!range.Dump(s, target, style, fallback_style)) in Dump() 79 if (!range.GetBaseAddress().Dump(s, target, style, fallback_style)) in Dump() 112 range.GetBaseAddress().Dump(s, target, Address::DumpStyleLoadAddress, in GetDescription() 115 range.Dump(s, target, Address::DumpStyleLoadAddress, in GetDescription() 158 int result = Address::CompareFileAddress(a.range.GetBaseAddress(), in Compare() 159 b.range.GetBaseAddress()); in Compare() [all …]
|
| H A D | Block.cpp | 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.GetRangeBase(), in DumpAddressRanges() 175 base_addr + range.GetRangeEnd(), 4); in DumpAddressRanges() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/doc/ |
| H A D | LRS | 27 range symbols: 30 A range symbol will be used to mark the beginning or end of a 31 live range (the range which describes where a symbol is active, 34 and "range_end" to identify the range symbols which mark the beginning 35 and end of a live range respectively. 38 (eg. a function name) can be used as range symbol. If an address 39 is needed to delimit a live range and does not match any of the 46 For efficiency, the compiler should use existing symbols as range 54 range_off - contains PC function offset for start/end of a live range. 62 range - contains PC value of beginning or end of a live range [all …]
|
| /openbsd-src/usr.bin/dig/lib/isc/ |
| H A D | regex.c | 43 int range = 0; in isc_regex_validate() local 201 if (range == 2) goto inside; in isc_regex_validate() 203 if (range == 1) in isc_regex_validate() 205 range = 2; in isc_regex_validate() 212 if (range != 0) --range; in isc_regex_validate() 218 if (range == 2) in isc_regex_validate() 225 if (range == 2) in isc_regex_validate() 240 range = 0; in isc_regex_validate() 247 if (range in isc_regex_validate() [all...] |
| /openbsd-src/sys/arch/arm/simplebus/ |
| H A D | simplebus.c | 262 uint32_t *range; in simplebus_bs_map() local 279 for (range = sc->sc_ranges; rlen >= rone; rlen -= rone, range += rone) { in simplebus_bs_map() 281 rfrom = range[0]; in simplebus_bs_map() 283 rfrom = (rfrom << 32) + range[1]; in simplebus_bs_map() 284 rsize = range[sc->sc_acells + sc->sc_pacells]; in simplebus_bs_map() 287 range[sc->sc_acells + sc->sc_pacells + 1]; in simplebus_bs_map() 294 rto = range[sc->sc_acells]; in simplebus_bs_map() 296 rto = (rto << 32) + range[sc->sc_acells + 1]; in simplebus_bs_map() 331 uint32_t *range; in simplebus_dmamap_load_buffer() local 337 for (range = sc->sc_dmaranges; rlen >= rone; in simplebus_dmamap_load_buffer() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | llvm-mca-compare.py | 155 for i in range(code_regions_len): 160 iteration_resource_pressure = ["-" for k in range(target_info_resources_len)] 167 for s in range(len(resource_pressure_info)): 208 for i in range(len(matrix_of_code_regions)): 216 for i in range(max_code_regions): 225 [[None] for i in range(len(matrix_of_code_regions) + 1)] for j in range(7) 236 for j in range(len(matrix_of_code_regions)): 272 for i in range( 276 for j in range(len(matrix_of_code_regions) + 1) 283 for j in range(len(matrix_of_code_regions)): [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
| H A D | MemoryTagManagerAArch64MTE.cpp | 49 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 …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/expr/ |
| H A D | static_cast3.C | 9 struct range : public any<range> struct 11 range() {} in range() argument 14 range(const U&) in range() argument 22 const any<range>& r = *new range(); in main()
|
| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | intel_uncore.c | 76 const struct i915_range *range; in intel_shadow_table_check() local 81 range = range_lists[j].regs; in intel_shadow_table_check() 82 for (i = 0, prev = -1; i < range_lists[j].size; i++, range++) { in intel_shadow_table_check() 83 if (range->end < range->start) { in intel_shadow_table_check() 85 __func__, i, range->start, range->end); in intel_shadow_table_check() 89 if (prev >= (s32)range->start) { in intel_shadow_table_check() 91 __func__, i, range->start, range->end, prev); in intel_shadow_table_check() 95 if (range->start % 4) { in intel_shadow_table_check() 97 __func__, i, range->start, range->end); in intel_shadow_table_check() 101 prev = range->end; in intel_shadow_table_check()
|
| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | filesystem.bench.cpp | 12 const auto in = gen(st.range(0)); in BM_PathConstructString() 21 st.SetComplexityN(st.range(0)); in BM_PathConstructString() 30 const auto in = gen(st.range(0)); in BM_PathConstructCStr() 48 const auto in = gen(st.range(0)); in BM_PathConstructIter() 61 st.SetComplexityN(st.range(0)); in BM_PathConstructIter() 80 const auto in = gen(st.range(0)); in BM_PathIterateMultipleTimes() 91 st.SetComplexityN(st.range(0)); in BM_PathIterateMultipleTimes() 100 const auto in = gen(st.range(0)); in BM_PathIterateOnce() 112 st.SetComplexityN(st.range(0)); in BM_PathIterateOnce() 120 const auto in = gen(st.range(0)); in BM_PathIterateOnceBackwards() [all …]
|