/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | slice.c | 97 static int slice_low_has_vma(struct mm_struct *mm, unsigned long slice) in slice_low_has_vma() argument 99 return !slice_area_is_free(mm, slice << SLICE_LOW_SHIFT, in slice_low_has_vma() 103 static int slice_high_has_vma(struct mm_struct *mm, unsigned long slice) in slice_high_has_vma() argument 105 unsigned long start = slice << SLICE_HIGH_SHIFT; in slice_high_has_vma() 191 /* Write the new slice psize bits */ in slice_convert() 255 * Compute which slice addr is part of; 256 * set *boundary_addr to the start or end boundary of that slice 258 * return boolean indicating if the slice is marked as available in the 265 unsigned long slice; in slice_scan_available() local 267 slice in slice_scan_available() [all...] |
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/ |
H A D | ip27-timer.c | 33 int slice = cputoslice(cpu); in rt_next_event() local 38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); in rt_next_event() 50 int slice = cputoslice(cpu); in hub_rt_counter_handler() local 55 LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0); in hub_rt_counter_handler()
|
/kernel/linux/linux-6.6/arch/mips/sgi-ip27/ |
H A D | ip27-timer.c | 33 int slice = cputoslice(cpu); in rt_next_event() local 38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); in rt_next_event() 50 int slice = cputoslice(cpu); in hub_rt_counter_handler() local 55 LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0); in hub_rt_counter_handler()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_mii_cfg.c | 47 int slice = prueth_emac_slice(emac); in icssg_update_rgmii_cfg() local 50 gig_en_mask = (slice == ICSS_MII0) ? RGMII_CFG_GIG_EN_MII0 : in icssg_update_rgmii_cfg() 56 inband_en_mask = (slice == ICSS_MII0) ? RGMII_CFG_INBAND_EN_MII0 : in icssg_update_rgmii_cfg() 62 full_duplex_mask = (slice == ICSS_MII0) ? RGMII_CFG_FULL_DUPLEX_MII0 : in icssg_update_rgmii_cfg()
|
H A D | icssg_prueth.h | 51 #define ICSSG_MAX_RFLOWS 8 /* per slice */ 261 void icssg_class_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac); 263 void icssg_class_disable(struct regmap *miig_rt, int slice); 264 void icssg_class_default(struct regmap *miig_rt, int slice, bool allmulti); 265 void icssg_ft1_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac_addr); 270 int slice);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu.h | 26 * Maximum number of subslices that can exist within a HSW-style slice. This 81 /* For each slice, which subslice(s) has(have) 7 EUs (bitfield)? */ 88 * so we just report the entire DSS pool under a fake "slice 0." 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);
|
/third_party/node/deps/cjs-module-lexer/dist/ |
H A D | lexer.js | 1 "use strict";exports.parse=parse;exports.init=init;let A;const Q=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(g,I="@"){if(!A)throw new Error("Not initialized");const D=g.length+1,N=(A.__heap_base.value||A.__heap_base)+4*D-A.memory.buffer.byteLength;N>0&&A.memory.grow(Math.ceil(N/65536));const k=A.sa(D);if((Q?C:E)(g,new Uint16Array(A.memory.buffer,k,D)),!A.parseCJS(k,g.length,0,0,0))throw Object.assign(new Error(`Parse error ${I}${A.e()}:${g.slice(0,A.e()).split("\n").length}:${A.e()-g.lastIndexOf("\n",A.e()-1)}`),{idx:A.e()});let w=new Set,o=new Set,J=new Set;for(;A.rre();){const Q=B(g.slice(A.res(),A.ree()));Q&&o.add(Q)}for(;A.ru();)J.add(B(g.slice(A.us(),A.ue())));for(;A.re();){let Q=B(g.slice(A.es(),A.ee()));void 0===Q||J.has(Q)||w.add(Q)}return{exports:[...w],reexports:[...o]}}function B( (…)
|
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | utils.js | 13 return Array.apply(null, {length: len + 1}).join(str).slice(0, len) 128 // slice is based on length no wcwidth 141 remainder = word.slice(i) // get remainder 144 word = word.slice(0, i) // grab truncated word 179 return str.slice(0, i)
|
/third_party/node/deps/npm/lib/utils/ |
H A D | format-search-stream.js | 98 ).split('\n').map(line => line.slice(0, maxWidth)).join('\n') 112 new RegExp(arg.slice(1, -1), 'gi'), 120 piece = output.slice(p, p + piece.length) 122 const mark = `${markStart}${output.slice(p, p + arg.length)}${markEnd}`
|
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/ |
H A D | parse-proxy-response.js | 51 .slice(0, endOfHeaders) 61 const statusText = firstLineParts.slice(2).join(' '); 71 const key = header.slice(0, firstColon).toLowerCase(); 72 const value = header.slice(firstColon + 1).trimStart();
|
/third_party/rust/crates/aho-corasick/src/packed/ |
H A D | vector.rs | 131 /// Load a 128-bit vector from slice at the given position. The slice does 135 /// bytes starting in `slice[at..]` will be at the least significant bits of 138 /// shifting the bytes in `slice` left. 140 pub unsafe fn loadu128(slice: &[u8], at: usize) -> __m128i { in loadu128() 141 let ptr = slice.get_unchecked(at..).as_ptr(); in loadu128() 145 /// Load a 256-bit vector from slice at the given position. The slice does 149 /// bytes starting in `slice[at..]` will be at the least significant bits of 152 /// shifting the bytes in `slice` lef [all...] |
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnBuffer.cpp | 64 GrStagingBufferManager::Slice slice = in onMap() local 67 fStagingBuffer = static_cast<GrDawnBuffer*>(slice.fBuffer)->get(); in onMap() 68 fStagingOffset = slice.fOffset; in onMap() 69 fMapPtr = slice.fOffsetMapPtr; in onMap()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/chaincontextsubst/ |
H A D | ChainSubClassSetArray.java | 29 coverage = new CoverageTable(data.slice(coverageOffset), 0, dataIsCanonical); in ChainSubClassSetArray() 31 backtrackClassDef = new ClassDefTable(data.slice(classDefOffset), 0, dataIsCanonical); in ChainSubClassSetArray() 33 inputClassDef = new ClassDefTable(data.slice(classDefOffset), 0, dataIsCanonical); in ChainSubClassSetArray() 35 lookAheadClassDef = new ClassDefTable(data.slice(classDefOffset), 0, dataIsCanonical); in ChainSubClassSetArray()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/ |
H A D | BrotliEncoderChannelTest.java | 98 ByteBuffer slice = src.slice(); in run() 99 ((Buffer) slice).limit(limit); in run() 101 encoder.write(slice); in run()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | controlFlowPropertyDeclarations.js | 52 return haystack.slice(-needle.length) === needle; 65 ? haystack.slice(0, -needle.length) 200 return haystack.slice(-needle.length) === needle;
212 ? haystack.slice(0, -needle.length)
|
H A D | destructuringVariableDeclaration1ES5.js | 48 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
52 return to.concat(ar || Array.prototype.slice.call(from));
67 var c1 = [1, 2, 3].slice(0);
68 var c2 = [1, 2, 3, "string"].slice(0);
|
H A D | genericArrayMethods1.js | 2 var x:string[] = [0,1].slice(0); // this should be an error 6 var x = [0, 1].slice(0); // this should be an error
|
/third_party/skia/modules/canvaskit/ |
H A D | skottie.js | 92 return ta.slice(0, 2); 108 return ta.slice(); 118 return ta.slice(); 138 return ta.slice(0, 2);
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 14 ret_owned_fd, ret_usize, slice, slice_mut, zero, 97 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 108 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 140 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 169 let (buf_addr, buf_len) = slice(buf); 176 let (buf_addr, buf_len) = slice(buf); 222 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 229 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 261 let (bufs_addr, bufs_len) = slice(&bufs[..cmp::min(bufs.len(), max_iov())]); 668 let (bufs_addr, bufs_len) = slice( in vmsplice() [all...] |
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | xattr.c | 183 unsigned int slice, processed; in erofs_xattr_copy_to_buffer() local 187 for (processed = 0; processed < len; processed += slice) { in erofs_xattr_copy_to_buffer() 194 slice = min_t(unsigned int, sb->s_blocksize - in erofs_xattr_copy_to_buffer() 196 memcpy(it->buffer + it->buffer_ofs, src, slice); in erofs_xattr_copy_to_buffer() 197 it->buffer_ofs += slice; in erofs_xattr_copy_to_buffer() 198 it->pos += slice; in erofs_xattr_copy_to_buffer() 259 unsigned int slice, processed, value_sz; in erofs_getxattr_foreach() local 293 for (processed = 0; processed < entry.e_name_len; processed += slice) { in erofs_getxattr_foreach() 299 slice = min_t(unsigned int, in erofs_getxattr_foreach() 303 it->kaddr + erofs_blkoff(sb, it->pos), slice)) in erofs_getxattr_foreach() [all...] |
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DBuffer.cpp | 186 GrStagingBufferManager::Slice slice = in internalMap() local 188 if (!slice.fBuffer) { in internalMap() 191 fStagingBuffer = static_cast<const GrD3DBuffer*>(slice.fBuffer)->d3dResource(); in internalMap() 192 fStagingOffset = slice.fOffset; in internalMap() 193 fMapPtr = slice.fOffsetMapPtr; in internalMap()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | dag_test.cpp | 34 std::vector<T> slice(const std::vector<T>& in, size_t from, size_t to) { in slice() function 131 ASSERT_THAT(slice(data.order, 1, 4), UnorderedElementsAre("A", "B", "C")); in TEST_P() 168 ASSERT_THAT(slice(data.order, 0, 2), UnorderedElementsAre("A0", "A1")); in TEST_P() 170 ASSERT_THAT(slice(data.order, 3, 6), UnorderedElementsAre("C0", "C1", "C2")); in TEST_P() 172 ASSERT_THAT(slice(data.order, 7, 11), in TEST_P()
|
/third_party/node/test/fixtures/crypto/ |
H A D | aes_cbc.js | 102 iv: iv.slice(0, 8) 110 longIv.set(iv.slice(0, 8), 16); 131 .slice(0, kCipherText[keyLength].byteLength - 16));
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/ |
H A D | aes_cbc_vectors.js | 218 var shortIv = iv.slice(0, 8); 230 longIv.set(iv.slice(0, 8), 16); 246 badCiphertext.set(ciphertext[keyLength].slice(0, ciphertext[keyLength].byteLength - 16));
|
/third_party/node/benchmark/http/ |
H A D | _chunky_http_client.js | 45 const cur = todo.slice(i, i + chunksize); 66 d.slice(0, pattern.length) === pattern)) { 72 d.slice(0, pattern.length) === pattern)) {
|