Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dslice_array.h59 class slice in _GLIBCXX_VISIBILITY()
63 slice(); in _GLIBCXX_VISIBILITY()
72 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
83 friend bool operator==(const slice&, const slice&) = default; in _GLIBCXX_VISIBILITY()
95 slice::slice() in _GLIBCXX_VISIBILITY()
99 slice::slice(size_t __o, size_t __d, size_t __s) in _GLIBCXX_VISIBILITY()
103 slice::start() const in _GLIBCXX_VISIBILITY()
107 slice::size() const in _GLIBCXX_VISIBILITY()
111 slice::stride() const in _GLIBCXX_VISIBILITY()
194 slice_array(_Array<_Tp>, const slice&); in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dslice_array.h59 class slice in _GLIBCXX_VISIBILITY()
63 slice(); in _GLIBCXX_VISIBILITY()
72 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
83 friend bool operator==(const slice&, const slice&) = default; in _GLIBCXX_VISIBILITY()
95 slice::slice() in _GLIBCXX_VISIBILITY()
99 slice::slice(size_t __o, size_t __d, size_t __s) in _GLIBCXX_VISIBILITY()
103 slice::start() const in _GLIBCXX_VISIBILITY()
107 slice::size() const in _GLIBCXX_VISIBILITY()
111 slice::stride() const in _GLIBCXX_VISIBILITY()
194 slice_array(_Array<_Tp>, const slice&); in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dfile_manager.d190 const slice = buffer; in getLines() local
192 for (auto i = 0; i < slice.length; i++) in getLines()
194 const c = slice[i]; in getLines()
201 lines ~= cast(const(char)[])slice[start .. end]; in getLines()
206 if (slice.length > i + 1 && slice[i + 1] == '\n') in getLines()
226 if (slice[$ - 1] != '\r' && slice[$ - 1] != '\n') in getLines()
228 end = slice.length; in getLines()
229 lines ~= cast(const(char)[])slice[start .. end]; in getLines()
H A Ddmacro.d116 ubyte[] slice = cast(ubyte[])buf[]; in expand()
117 slice[u] = 0xFF; in expand()
118 slice[u + 1] = '{'; in expand()
221 ubyte[] slice = cast(ubyte[])buf[]; in expand()
222 slice[v + 1] = 0xFF; in expand()
223 slice[v + 2] = '{'; in expand()
224 slice[v + 3 .. v + 3 + m.text.length] = cast(ubyte[])m.text[]; in expand()
225 slice[v + 3 + m.text.length] = 0xFF; in expand()
226 slice[v + 3 + m.text.length + 1] = '}'; in expand()
H A Ddoc.d466 const slice = buf2[]; in gendocfile() local
468 buf.reserve(slice.length); in gendocfile()
469 auto p = slice.ptr; in gendocfile()
470 for (size_t j = 0; j < slice.length; j++) in gendocfile()
473 if (c == 0xFF && j + 1 < slice.length) in gendocfile()
483 if (j + 1 < slice.length && p[j + 1] == '\n') in gendocfile()
2112 const slice = buf[]; in getMarkdownIndent() local
2113 if (to > slice.length) in getMarkdownIndent()
2114 to = slice.length; in getMarkdownIndent()
2116 foreach (const c; slice[from..to]) in getMarkdownIndent()
[all …]
H A Dchkformat.d77 const slice = format[i .. j]; in checkPrintfFormat() local
87 … deprecation(loc, "format specifier `\"%.*s\"` is invalid", cast(int)slice.length, slice.ptr); in checkPrintfFormat()
110 …prefix ? prefix : "", arg.toChars(), cast(int)slice.length, slice.ptr, texpect, tactual.toChars()); in checkPrintfFormat()
288 … deprecation(loc, "format specifier `\"%.*s\"` is invalid", cast(int)slice.length, slice.ptr); in checkPrintfFormat()
349 const slice = format[i .. j]; in checkScanfFormat() local
359 … deprecation(loc, "format specifier `\"%.*s\"` is invalid", cast(int)slice.length, slice.ptr); in checkScanfFormat()
377 …prefix ? prefix : "", arg.toChars(), cast(int)slice.length, slice.ptr, texpect, tactual.toChars()); in checkScanfFormat()
504 … deprecation(loc, "format specifier `\"%.*s\"` is invalid", cast(int)slice.length, slice.ptr); in checkScanfFormat()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_sseu.c40 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_subslices() argument
42 int i, offset = slice * sseu->ss_stride; in intel_sseu_get_subslices()
45 GEM_BUG_ON(slice >= sseu->max_slices); in intel_sseu_get_subslices()
54 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice, in intel_sseu_set_subslices() argument
57 int offset = slice * sseu->ss_stride; in intel_sseu_set_subslices()
63 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_subslices_per_slice() argument
65 return hweight32(intel_sseu_get_subslices(sseu, slice)); in intel_sseu_subslices_per_slice()
H A Dintel_sseu.h72 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument
80 mask = sseu->subslice_mask[slice * sseu->ss_stride + ss_idx]; in intel_sseu_has_subslice()
92 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice);
94 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice);
96 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice,
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_import.c1179 rdsk_node_t *slice; in zpool_find_import_impl() local
1254 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl()
1255 slice->rn_name = zfs_strdup(hdl, pp->lg_name); in zpool_find_import_impl()
1256 slice->rn_avl = &slice_cache; in zpool_find_import_impl()
1257 slice->rn_dfd = dfd; in zpool_find_import_impl()
1258 slice->rn_hdl = hdl; in zpool_find_import_impl()
1259 slice->rn_nozpool = B_FALSE; in zpool_find_import_impl()
1260 avl_add(&slice_cache, slice); in zpool_find_import_impl()
1289 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl()
1290 slice->rn_name = zfs_strdup(hdl, name); in zpool_find_import_impl()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Darrayassign.d101 ref S[2] slice(int a, int b) { return mem[a .. b][0 .. 2]; } in slice() function
108 slice(0, 2) = slice(2, 4); // [ab] = [xy]
116 slice(2, 4) = slice(0, 2); // [ab] = [xy]
123 slice(0, 2) = slice(1, 3); // [ab] = [bc]
130 slice(1, 3) = slice(0, 2); // [yz] = [xy]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Darrayassign.d101 ref S[2] slice(int a, int b) { return mem[a .. b][0 .. 2]; } in slice() function
108 slice(0, 2) = slice(2, 4); // [ab] = [xy]
116 slice(2, 4) = slice(0, 2); // [ab] = [xy]
123 slice(0, 2) = slice(1, 3); // [ab] = [bc]
130 slice(1, 3) = slice(0, 2); // [yz] = [xy]
/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Ddevicename.c93 int i, unit, slice, partition, err; in ski_parsedev() local
124 slice = -1; in ski_parsedev()
134 slice = strtol(np, &cp, 10); in ski_parsedev()
159 idev->d_kind.skidisk.slice = slice; in ski_parsedev()
225 if (dev->d_kind.skidisk.slice > 0) { in ski_fmtdev()
226 len += snprintf(buf + len, buflen - len, "s%d", dev->d_kind.skidisk.slice); in ski_fmtdev()
/netbsd-src/sys/arch/ia64/stand/efi/libefi/
H A Ddevicename.c97 int i, unit, slice, partition, err; in efi_parsedev() local
129 slice = -1; in efi_parsedev()
139 slice = strtol(np, &cp, 10); in efi_parsedev()
164 idev->d_kind.efidisk.slice = slice; in efi_parsedev()
230 if (dev->d_kind.efidisk.slice > 0) { in efi_fmtdev()
231 len += snprintf(buf + len, buflen - len, "s%d", dev->d_kind.efidisk.slice); in efi_fmtdev()
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h116 uint8_t slice; member
159 if (position->slice == 0) { in index_alpha()
167 position->slice * instance->segment_length + in index_alpha()
171 position->slice * instance->segment_length + in index_alpha()
199 start_position = (position->slice == ARGON2_SYNC_POINTS - 1) in index_alpha()
201 : (position->slice + 1) * instance->segment_length; in index_alpha()
H A Dargon2-fill-block-ssse3.c112 input_block.v[2] = position->slice; in generate_addresses()
161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3()
173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3()
179 position.slice * instance->segment_length + starting_index; in fill_segment_ssse3()
213 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ssse3()
H A Dargon2-fill-block-avx512f.c118 input_block.v[2] = position->slice; in generate_addresses()
167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f()
179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f()
185 position.slice * instance->segment_length + starting_index; in fill_segment_avx512f()
219 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx512f()
H A Dargon2-fill-block-avx2.c113 input_block.v[2] = position->slice; in generate_addresses()
162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2()
174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2()
180 position.slice * instance->segment_length + starting_index; in fill_segment_avx2()
214 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_avx2()
H A Dargon2-fill-block-ref.c124 input_block.v[2] = position->slice; in generate_addresses()
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
172 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ref()
178 position.slice * instance->segment_length + starting_index; in fill_segment_ref()
209 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment_ref()
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dref.c107 (position.slice < ARGON2_SYNC_POINTS / 2)); in fill_segment()
115 input_block.v[2] = position.slice; in fill_segment()
123 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment()
134 position.slice * instance->segment_length + starting_index; in fill_segment()
165 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment()
H A Dopt.c197 (position.slice < ARGON2_SYNC_POINTS / 2)); in fill_segment()
204 input_block.v[2] = position.slice; in fill_segment()
212 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment()
223 position.slice * instance->segment_length + starting_index; in fill_segment()
256 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DArrayRef.h193 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);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DBinaryStreamRef.h118 RefType slice(uint32_t Offset, uint32_t Len) const { in slice() function
204 BinarySubstreamRef slice(uint32_t Off, uint32_t Size) const { in slice() function
205 BinaryStreamRef SubSub = StreamData.slice(Off, Size); in slice()
209 return slice(N, size() - N); in drop_front()
211 BinarySubstreamRef keep_front(uint32_t N) const { return slice(0, N); } in keep_front()
/netbsd-src/sbin/gpt/
H A Dmigrate.c236 migrate(gpt_t gpt, u_int parts, int force, int slice, int active) in migrate() argument
274 if (slice) { in migrate()
347 int slice = 0; in cmd_migrate() local
365 slice = 1; in cmd_migrate()
375 return migrate(gpt, parts, force, slice, active); in cmd_migrate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCScheduleP9.td35 // As iops are dispatched to a slice, they are held in an independent slice
55 // x0, x1, x2, and x3 are the dedicated slice dispatch ports, where each
62 // b0 and b1 are dedicated dispatch ports into the branch slice.
143 // Even slice ('E')- certain operations must be sent only to an even slice.
144 // Also consumes odd dispatch slice slot of the same superslice at dispatch
157 // operation per slice for the super- slice to which they are dispatched
162 // Each execution and branch slice can receive up to two iops per cycle
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_sysfs.c174 int slice = (int)(uintptr_t)attr->private; in i915_l3_read() local
186 if (i915->l3_parity.remap_info[slice]) in i915_l3_read()
188 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), in i915_l3_read()
202 int slice = (int)(uintptr_t)attr->private; in i915_l3_write() local
220 if (i915->l3_parity.remap_info[slice]) { in i915_l3_write()
222 remap_info = i915->l3_parity.remap_info[slice]; in i915_l3_write()
224 i915->l3_parity.remap_info[slice] = remap_info; in i915_l3_write()
232 ctx->remap_slice |= BIT(slice); in i915_l3_write()

12345678910>>...16