| /openbsd-src/gnu/gcc/libstdc++-v3/include/bits/ |
| H A D | slice_array.h | 58 class slice in _GLIBCXX_BEGIN_NAMESPACE() 62 slice(); in _GLIBCXX_BEGIN_NAMESPACE() 71 slice(size_t, size_t, size_t); in _GLIBCXX_BEGIN_NAMESPACE() 89 slice::slice() {} in slice() function 92 slice::slice(size_t __o, size_t __d, size_t __s) in slice() function 96 slice::start() const in start() 100 slice::size() const in size() 104 slice::stride() const in stride() 187 slice_array(_Array<_Tp>, const slice&); 199 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s) in slice_array()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| H A D | slice_array.h | 44 class slice 47 slice(); 48 slice(size_t, size_t, size_t); 63 slice::slice() {} in slice() function 66 slice::slice(size_t __o, size_t __d, size_t __s) in slice() function 70 slice::start() const in start() 74 slice::size() const in size() 78 slice::stride() const in stride() 132 slice_array(_Array<_Tp>, const slice&); 144 slice_array<_Tp>::slice_array(_Array<_Tp> __a, const slice& __s) in slice_array()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
| H A D | slice.cc | 30 std::slice s(start, size, stride); in construction() 37 std::slice s(start, size, stride); in copy() 38 std::slice t = s; in copy() 45 std::slice s(start, size, stride); in assignment() 46 std::slice t; in assignment()
|
| H A D | slice_array_assignment.cc | 38 using std::slice; in main() 41 w[slice(0, 3, 3)] = v[slice(2, 3, 3)]; in main() 47 std::slice_array<int> t = v[slice(0, 10, 1)]; in main()
|
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_sysfs.c | 70 int slice = (int)(uintptr_t)attr->private; in i915_l3_read() local 82 if (i915->l3_parity.remap_info[slice]) in i915_l3_read() 84 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), in i915_l3_read() 98 int slice = (int)(uintptr_t)attr->private; in i915_l3_write() local 116 if (i915->l3_parity.remap_info[slice]) { in i915_l3_write() 118 remap_info = i915->l3_parity.remap_info[slice]; in i915_l3_write() 120 i915->l3_parity.remap_info[slice] = remap_info; in i915_l3_write() 128 ctx->remap_slice |= BIT(slice); in i915_l3_write()
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | EhFrame.cpp | 65 d = d.slice(1); in readByte() 72 d = d.slice(count); in skipBytes() 80 StringRef s = toStringRef(d.slice(0, end - d.begin())); in readString() 81 d = d.slice(s.size() + 1); in readString() 93 d = d.slice(1); in skipLeb128() 127 d = d.slice(size); in skipAugP()
|
| /openbsd-src/sys/dev/pci/drm/i915/gt/ |
| H A D | intel_gt_regs.h | 74 #define GEN8_MCR_SLICE(slice) (((slice) & 3) << 26) argument 79 #define GEN11_MCR_SLICE(slice) (((slice) & 0xf) << 27) argument 445 #define GEN9_IZ_HASHING_MASK(slice) (0x3 << ((slice) * 2)) argument 446 #define GEN9_IZ_HASHING(slice, val) ((val) << ((slice) * 2)) argument 506 #define GEN9_SLICE_PGCTL_ACK(slice) _MMIO(0x804c + (slice) * 0x4) argument 507 #define GEN10_SLICE_PGCTL_ACK(slice) _MMIO(0x804c + ((slice) / 3) * 0x34 + \ argument 508 ((slice) % 3) * 0x4) 511 #define GEN10_PGCTL_VALID_SS_MASK(slice) ((slice) == 0 ? 0x7F : 0x1F) argument 513 #define GEN9_SS01_EU_PGCTL_ACK(slice) _MMIO(0x805c + (slice) * 0x8) argument 514 #define GEN10_SS01_EU_PGCTL_ACK(slice) _MMIO(0x805c + ((slice) / 3) * 0x30 + \ argument [all …]
|
| H A D | intel_sseu.h | 122 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument 125 if (slice >= sseu->max_slices || in intel_sseu_has_subslice() 132 return sseu->subslice_mask.hsw[slice] & BIT(subslice); in intel_sseu_has_subslice() 156 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice);
|
| H A D | intel_sseu.c | 38 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_hsw_subslices() argument 41 if (WARN_ON(slice >= sseu->max_slices)) in intel_sseu_get_hsw_subslices() 44 return sseu->subslice_mask.hsw[slice]; in intel_sseu_get_hsw_subslices() 47 static u16 sseu_get_eus(const struct sseu_dev_info *sseu, int slice, in sseu_get_eus() argument 51 WARN_ON(slice > 0); in sseu_get_eus() 54 return sseu->eu_mask.hsw[slice][subslice]; in sseu_get_eus() 58 static void sseu_set_eus(struct sseu_dev_info *sseu, int slice, int subslice, in sseu_set_eus() argument 63 GEM_WARN_ON(slice > 0); in sseu_set_eus() 66 sseu->eu_mask.hsw[slice][subslice] = eu_mask; in sseu_set_eus()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_leb128.h | 44 T slice = byte & 0x7f; in DecodeSLEB128() local 45 value |= slice << shift; in DecodeSLEB128() 77 T slice = byte & 0x7f; in DecodeULEB128() local 78 value += slice << shift; in DecodeULEB128()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | BinaryStreamRef.h | 117 RefType slice(uint64_t Offset, uint64_t Len) const { in slice() function 203 BinarySubstreamRef slice(uint64_t Off, uint64_t Size) const { in slice() function 204 BinaryStreamRef SubSub = StreamData.slice(Off, Size); in slice() 208 return slice(N, size() - N); in drop_front() 210 BinarySubstreamRef keep_front(uint64_t N) const { return slice(0, N); } in keep_front()
|
| H A D | BinaryByteStream.h | 44 Buffer = Data.slice(Offset, Size); in readBytes() 52 Buffer = Data.slice(Offset); in readLongestContiguousChunk() 152 Buffer = ArrayRef(Data).slice(Offset, Size); in readBytes() 165 Buffer = ArrayRef(Data).slice(Offset); in readLongestContiguousChunk()
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_bw.c | 1021 enum dbuf_slice slice; in intel_bw_state_changed() local 1023 for_each_dbuf_slice(i915, slice) { in intel_bw_state_changed() 1024 if (old_crtc_bw->max_bw[slice] != new_crtc_bw->max_bw[slice] || in intel_bw_state_changed() 1025 old_crtc_bw->active_planes[slice] != new_crtc_bw->active_planes[slice]) in intel_bw_state_changed() 1045 enum dbuf_slice slice; in skl_plane_calc_dbuf_bw() local 1051 for_each_dbuf_slice_in_mask(i915, slice, dbuf_mask) { in skl_plane_calc_dbuf_bw() 1052 crtc_bw->max_bw[slice] = max(crtc_bw->max_bw[slice], data_rate); in skl_plane_calc_dbuf_bw() 1053 crtc_bw->active_planes[slice] |= BIT(plane_id); in skl_plane_calc_dbuf_bw() 1095 enum dbuf_slice slice; in intel_bw_dbuf_min_cdclk() local 1097 for_each_dbuf_slice(i915, slice) { in intel_bw_dbuf_min_cdclk() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 193 ArrayRef<T> slice(size_t N, size_t M) const { in slice() function 199 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } in slice() function 204 return slice(N, size() - N); 210 return slice(0, size() - N); 374 MutableArrayRef<T> slice(size_t N, size_t M) const { in slice() function 380 MutableArrayRef<T> slice(size_t N) const { in slice() function 381 return slice(N, this->size() - N); in slice() 387 return slice(N, this->size() - N); 392 return slice(0, this->size() - N);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCScheduleP9.td | 33 // As iops are dispatched to a slice, they are held in an independent slice 54 // x0, x1, x2, and x3 are the dedicated slice dispatch ports, where each 61 // b0 and b1 are dedicated dispatch ports into the branch slice. 142 // Even slice ('E')- certain operations must be sent only to an even slice. 143 // Also consumes odd dispatch slice slot of the same superslice at dispatch 156 // operation per slice for the super- slice to which they are dispatched 161 // Each execution and branch slice can receive up to two iops per cycle
|
| H A D | P9InstrResources.td | 25 // - Four ALU (Fixed Point Arithmetic) units. One on each slice. P9_ALU_* 26 // - Four DP (Floating Point) units. One on each slice. P9_DP_* 28 // - Four AGEN (Address Generation) units. One for each slice. P9_AGEN_* 87 // single slice. However, since it is Restricted, it requires all 3 dispatches 104 // Standard Dispatch ALU operation for 3 cycles. Only one slice used. 121 // Standard Dispatch ALU operation for 2 cycles. Only one slice used. 177 // single slice. However, since it is Restricted, it requires all 3 dispatches 709 // 6 Cycle Load uses a single slice. 715 // 5 Cycle Load uses a single slice. 734 // 4 Cycle Load uses a single slice. [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/ |
| H A D | av_simple.t | 116 ok(38, $t1 == 3, "Check slice"); 117 ok(39, $t2 == 4, "Check slice again"); 119 ok(40, $t1[0] == 2, "Check slice list"); 120 ok(41, $t1[2] == 4, "Check slice list 2"); 122 ok(42,$foo[0] eq "hej", "Check slice assign");
|
| /openbsd-src/gnu/usr.bin/perl/t/io/ |
| H A D | semctl.t | 21 ok(!defined $test, "erroneous semctl list slice yields undef"); 24 is(scalar @warnings, 0, "no warnings from erroneous semctl list slice")
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | ExportTrie.cpp | 204 node->edges.emplace_back(pivotSymbol->getName().slice(lastPos, pos), in sortAndBuild() 210 sortAndBuild(vec.slice(0, i), node, lastPos, pos); in sortAndBuild() 211 sortAndBuild(vec.slice(j), node, lastPos, pos); in sortAndBuild() 219 vec = vec.slice(i, j - i); in sortAndBuild()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | StringTableBuilder.cpp | 116 multikeySort(Vec.slice(0, I), Pos); in multikeySort() 117 multikeySort(Vec.slice(J), Pos); in multikeySort() 122 Vec = Vec.slice(I, J - I); in multikeySort()
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | kvhslice.t | 124 like $@, qr{^Can't modify key/value hash slice in list assignment}, 135 qr{^Can't modify key/value hash slice in scalar assignment}, 203 ) key/value hash slice\) at `,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocStream.h | 112 return ArrayRef(Entries).slice(Lists[LI].EntryOffset, getNumEntries(LI)); in getEntries() 118 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes() 122 return ArrayRef(Comments).slice(Entries[EI].CommentOffset, in getComments()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 111 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims() 118 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims() 119 Source.slice(End - Head, DEnd - Head)}); in SplitStringDelims()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeHashing.cpp | 46 ArrayRef<uint8_t> PreData = RecordData.slice(Off, PreLen); in hashType() 50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); in hashType()
|
| /openbsd-src/gnu/llvm/clang/tools/driver/ |
| H A D | driver.cpp | 125 Edit.slice(2, Edit.size() - 1).contains('/')) { in ApplyOneQAOverride() 128 ReplPattern = ReplPattern.slice(0, ReplPattern.size()-1); in ApplyOneQAOverride() 360 return cc1_main(ArrayRef(ArgV).slice(1), ArgV[0], GetExecutablePathVP); in ExecuteCC1Tool() 362 return cc1as_main(ArrayRef(ArgV).slice(2), ArgV[0], GetExecutablePathVP); in ExecuteCC1Tool() 364 return cc1gen_reproducer_main(ArrayRef(ArgV).slice(2), ArgV[0], in ExecuteCC1Tool() 396 IsClangCL(getDriverMode(Args[0], llvm::ArrayRef(Args).slice(1))); in clang_main()
|