/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 53 long long timespec_diff_us(struct timespec start, struct timespec end) in timespec_diff_us() argument 56 if ((end.tv_nsec - start.tv_nsec) < 0) { in timespec_diff_us() 57 temp.tv_sec = end.tv_sec - start.tv_sec - 1; in timespec_diff_us() 58 temp.tv_nsec = 1000000000 + end.tv_nsec - start.tv_nsec; in timespec_diff_us() 60 temp.tv_sec = end.tv_sec - start.tv_sec; in timespec_diff_us() 61 temp.tv_nsec = end.tv_nsec - start.tv_nsec; in timespec_diff_us() 287 struct timespec start, end; in fork_it() local 290 clock_gettime(CLOCK_REALTIME, &start); in fork_it() 293 monitors[num]->start(); in fork_it() 316 timediff = timespec_diff_us(start, en in fork_it() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | au1550nd.c | 121 unsigned long addr, staddr, start, mask, end; in find_nand_cs() local 128 start = (staddr << 4) & 0xfffc0000; in find_nand_cs() 130 end = (start | (start - 1)) & ~(start ^ mask); in find_nand_cs() 131 if ((nand_base >= start) && (nand_base < end)) in find_nand_cs() 279 if (request_mem_region(r->start, resource_size(r), "au1550-nand")) { in au1550nd_probe() 285 ctx->base = ioremap(r->start, 0x1000); in au1550nd_probe() 296 /* figure out which CS# r->start belongs to */ in au1550nd_probe() 297 cs = find_nand_cs(r->start); in au1550nd_probe() [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_discard.c | 150 xfs_daddr_t start, in xfs_trim_gather_extents() 178 * Look up the extent length requested in the AGF and start with it. in xfs_trim_gather_extents() 243 if (dbno + dlen < start || dbno > end) { in xfs_trim_gather_extents() 295 * we found in the last batch as the key to start the next. 300 xfs_daddr_t start, in xfs_trim_extents() 324 error = xfs_trim_gather_extents(pag, start, end, minlen, in xfs_trim_extents() 372 xfs_daddr_t start, end, minlen; in xfs_ioc_trim() local 401 if (range.start >= XFS_FSB_TO_B(mp, mp->m_sb.sb_dblocks) || in xfs_ioc_trim() 406 start = BTOBB(range.start); in xfs_ioc_trim() 148 xfs_trim_gather_extents( struct xfs_perag *pag, xfs_daddr_t start, xfs_daddr_t end, xfs_daddr_t minlen, struct xfs_alloc_rec_incore *tcur, struct xfs_busy_extents *extents, uint64_t *blocks_trimmed) xfs_trim_gather_extents() argument 298 xfs_trim_extents( struct xfs_perag *pag, xfs_daddr_t start, xfs_daddr_t end, xfs_daddr_t minlen, uint64_t *blocks_trimmed) xfs_trim_extents() argument [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 53 long long timespec_diff_us(struct timespec start, struct timespec end) in timespec_diff_us() argument 56 if ((end.tv_nsec - start.tv_nsec) < 0) { in timespec_diff_us() 57 temp.tv_sec = end.tv_sec - start.tv_sec - 1; in timespec_diff_us() 58 temp.tv_nsec = 1000000000 + end.tv_nsec - start.tv_nsec; in timespec_diff_us() 60 temp.tv_sec = end.tv_sec - start.tv_sec; in timespec_diff_us() 61 temp.tv_nsec = end.tv_nsec - start.tv_nsec; in timespec_diff_us() 287 struct timespec start, end; in fork_it() local 290 clock_gettime(CLOCK_REALTIME, &start); in fork_it() 293 monitors[num]->start(); in fork_it() 316 timediff = timespec_diff_us(start, en in fork_it() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | ScientificNumberFormatter.java | 76 * @param beginMarkup the markup to start superscript e.g {@code <sup>} 96 * @param beginMarkup the markup to start superscript e.g {@code <sup>} 137 int start, in append() 141 iterator.setIndex(start); in append() 142 for (int i = start; i < limit; i++) { in append() 230 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT_SIGN); in format() 237 start, in format() 244 start, in format() 253 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT); in format() 258 start, in format() 135 append( AttributedCharacterIterator iterator, int start, int limit, StringBuilder result) append() argument 271 copyAsSuperscript( AttributedCharacterIterator iterator, int start, int limit, StringBuilder result) copyAsSuperscript() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | ScientificNumberFormatter.java | 71 * @param beginMarkup the markup to start superscript e.g {@code <sup>} 89 * @param beginMarkup the markup to start superscript e.g {@code <sup>} 126 int start, in append() 130 iterator.setIndex(start); in append() 131 for (int i = start; i < limit; i++) { in append() 219 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT_SIGN); in format() 226 start, in format() 233 start, in format() 242 int start = iterator.getRunStart(NumberFormat.Field.EXPONENT); in format() 247 start, in format() 124 append( AttributedCharacterIterator iterator, int start, int limit, StringBuilder result) append() argument 260 copyAsSuperscript( AttributedCharacterIterator iterator, int start, int limit, StringBuilder result) copyAsSuperscript() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | anytrans.cpp | 66 * | | - first run (start, limit) 67 * | | - second run (start, limit) 88 * The start of the run, inclusive, valid after next() returns. 90 int32_t start; member in ScriptRunIterator 98 * Constructs a run iterator over the given text from start 101 ScriptRunIterator(const Replaceable& text, int32_t start, int32_t limit); 106 * examine scriptCode, start, and limit. 136 start = limit; in next() 139 if (start == textLimit) { in next() 143 // Move start bac in next() [all...] |
/third_party/node/lib/internal/ |
H A D | blob.js | 230 * @param {number} [start] 235 slice(start = 0, end = this[kLength], contentType = '') { 238 if (start < 0) { 239 start = MathMax(this[kLength] + start, 0); 241 start = MathMin(start, this[kLength]); 243 start |= 0; 259 const span = MathMax(end - start, 0); 262 this[kHandle].slice(start, star [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | anytrans.cpp | 66 * | | - first run (start, limit) 67 * | | - second run (start, limit) 88 * The start of the run, inclusive, valid after next() returns. 90 int32_t start; member in ScriptRunIterator 98 * Constructs a run iterator over the given text from start 101 ScriptRunIterator(const Replaceable& text, int32_t start, int32_t limit); 106 * examine scriptCode, start, and limit. 136 start = limit; in next() 139 if (start == textLimit) { in next() 143 // Move start bac in next() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | anytrans.cpp | 66 * | | - first run (start, limit) 67 * | | - second run (start, limit) 88 * The start of the run, inclusive, valid after next() returns. 90 int32_t start; member in ScriptRunIterator 98 * Constructs a run iterator over the given text from start 101 ScriptRunIterator(const Replaceable& text, int32_t start, int32_t limit); 106 * examine scriptCode, start, and limit. 136 start = limit; in next() 139 if (start == textLimit) { in next() 143 // Move start bac in next() [all...] |
/third_party/skia/tests/ |
H A D | SkDSLRuntimeEffectTest.cpp | 36 void start() { in start() function in DSLTestEffect 123 effect.start(); in test_RuntimeEffect_Shaders() 134 effect.start(); in test_RuntimeEffect_Shaders() 150 effect.start(); in test_RuntimeEffect_Shaders() 168 effect.start(); in test_RuntimeEffect_Shaders() 180 effect.start(); in test_RuntimeEffect_Shaders() 191 effect.start(); in test_RuntimeEffect_Shaders() 211 effect.start(); in test_RuntimeEffect_Shaders() 223 effect.start(); in test_RuntimeEffect_Shaders() 233 effect.start(); in test_RuntimeEffect_Shaders() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | eap_user_db.c | 25 char *buf, *start; in set_user_methods() local 34 start = buf; in set_user_methods() 35 while (*start) { in set_user_methods() 36 char *pos3 = os_strchr(start, ','); in set_user_methods() 40 eap_server_get_type(start, in set_user_methods() 44 if (os_strcmp(start, "TTLS-PAP") == 0) { in set_user_methods() 48 if (os_strcmp(start, "TTLS-CHAP") == 0) { in set_user_methods() 52 if (os_strcmp(start, "TTLS-MSCHAP") == 0) { in set_user_methods() 56 if (os_strcmp(start, "TTLS-MSCHAPV2") == 0) { in set_user_methods() 61 start); in set_user_methods() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | eap_user_db.c | 25 char *buf, *start; in set_user_methods() local 34 start = buf; in set_user_methods() 35 while (*start) { in set_user_methods() 36 char *pos3 = os_strchr(start, ','); in set_user_methods() 40 eap_server_get_type(start, in set_user_methods() 44 if (os_strcmp(start, "TTLS-PAP") == 0) { in set_user_methods() 48 if (os_strcmp(start, "TTLS-CHAP") == 0) { in set_user_methods() 52 if (os_strcmp(start, "TTLS-MSCHAP") == 0) { in set_user_methods() 56 if (os_strcmp(start, "TTLS-MSCHAPV2") == 0) { in set_user_methods() 61 start); in set_user_methods() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_query.c | 57 * another vulkan query, add a new start. 373 util_dynarray_foreach(&query->starts, struct zink_query_start, start) { in destroy_query() 375 if (!start->vkq[i]) in destroy_query() 377 start->vkq[i]->refcount--; in destroy_query() 378 if (start->vkq[i]->refcount == 0) in destroy_query() 379 FREE(start->vkq[i]); in destroy_query() 404 struct zink_query_start *start; in query_pool_get_range() local 407 start = util_dynarray_grow(&q->starts, struct zink_query_start, 1); in query_pool_get_range() 408 memset(start, 0, sizeof(*start)); in query_pool_get_range() 743 struct zink_query_start *start = util_dynarray_top_ptr(&query->starts, struct zink_query_start); copy_results_to_buffer() local 753 struct zink_query_start *start = util_dynarray_top_ptr(&q->starts, struct zink_query_start); reset_query_range() local 787 struct zink_query_start *start = util_dynarray_top_ptr(&q->starts, struct zink_query_start); update_qbo() local 829 struct zink_query_start *start = util_dynarray_top_ptr(&q->starts, struct zink_query_start); begin_query() local 929 struct zink_query_start *start = util_dynarray_top_ptr(&q->starts, struct zink_query_start); end_query() local 990 struct zink_query_start *start = util_dynarray_top_ptr(&query->starts, struct zink_query_start); zink_end_query() local 1241 struct zink_query_start *start = util_dynarray_top_ptr(&query->starts, struct zink_query_start); zink_get_query_result_resource() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uniset.cpp | 146 * start</code> then an empty set is created. 148 * @param start first character, inclusive, of range 151 UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) { in UnicodeSet() argument 153 add(start, end); in UnicodeSet() 341 // Set i to the index of the start item greater than ch in contains() 409 * @param start first character, inclusive, of the range 413 UBool UnicodeSet::contains(UChar32 start, UChar32 end) const { in contains() argument 416 // if (start < list[++i]) break; in contains() 418 int32_t i = findCodePoint(start); in contains() 470 * @param start firs 474 containsNone(UChar32 start, UChar32 end) const containsNone() argument [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | kcore.c | 149 unsigned long start, end; in get_sparsemem_vmemmap_info() local 153 start = ((unsigned long)pfn_to_page(pfn)) & PAGE_MASK; in get_sparsemem_vmemmap_info() 160 if (start < tmp->addr + tmp->size) in get_sparsemem_vmemmap_info() 164 if (start < end) { in get_sparsemem_vmemmap_info() 168 vmm->addr = start; in get_sparsemem_vmemmap_info() 169 vmm->size = end - start; in get_sparsemem_vmemmap_info() 320 unsigned long start; in read_kcore() local 465 start = kc_offset_to_vaddr(*fpos - data_offset); in read_kcore() 466 if ((tsz = (PAGE_SIZE - (start & ~PAGE_MASK))) > buflen) in read_kcore() 475 if (!m || start < in read_kcore() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm.c | 269 hmm_set(bo->start, 0, bytes); in hmm_alloc() 273 __func__, bo->start, bytes, type, from_highmem, userptr, cached); in hmm_alloc() 275 return bo->start; in hmm_alloc() 298 "can not find buffer object start with address 0x%x\n", in hmm_free() 350 idx = (virt - bo->start) >> PAGE_SHIFT; in load_and_flush_by_kmap() 351 offset = (virt - bo->start) - (idx << PAGE_SHIFT); in load_and_flush_by_kmap() 392 src += (virt - bo->start); in load_and_flush() 403 vptr = vptr + (virt - bo->start); in load_and_flush() 462 dst += (virt - bo->start); in hmm_store() 471 vptr = vptr + (virt - bo->start); in hmm_store() [all...] |
H A D | hmm_bo.c | 79 bo->start = bdev->start; in __bo_init() 81 bo->end = bo->start + pgnr_to_size(pgnr); in __bo_init() 140 ia_css_ptr start) in __bo_search_by_addr() 148 if (bo->start > start) { in __bo_search_by_addr() 152 } else if (bo->start < start) { in __bo_search_by_addr() 165 struct rb_root *root, unsigned int start) in __bo_search_by_addr_in_range() 173 if (bo->start > star in __bo_search_by_addr_in_range() 139 __bo_search_by_addr(struct rb_root *root, ia_css_ptr start) __bo_search_by_addr() argument 164 __bo_search_by_addr_in_range( struct rb_root *root, unsigned int start) __bo_search_by_addr_in_range() argument 228 unsigned int start = bo->start; __bo_insert_to_alloc_rbtree() local 1374 unsigned int start, end; hmm_bo_mmap() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | userfaultfd.c | 744 ssize_t mfill_atomic_zeropage(struct mm_struct *dst_mm, unsigned long start, in mfill_atomic_zeropage() argument 747 return mfill_atomic(dst_mm, start, 0, len, mmap_changing, in mfill_atomic_zeropage() 751 ssize_t mfill_atomic_continue(struct mm_struct *dst_mm, unsigned long start, in mfill_atomic_continue() argument 755 return mfill_atomic(dst_mm, start, 0, len, mmap_changing, in mfill_atomic_continue() 759 ssize_t mfill_atomic_poison(struct mm_struct *dst_mm, unsigned long start, in mfill_atomic_poison() argument 763 return mfill_atomic(dst_mm, start, 0, len, mmap_changing, in mfill_atomic_poison() 768 unsigned long start, unsigned long len, bool enable_wp) in uffd_wp_range() 774 VM_WARN_ONCE(start < dst_vma->vm_start || start + len > dst_vma->vm_end, in uffd_wp_range() 790 ret = change_protection(&tlb, dst_vma, start, star in uffd_wp_range() 767 uffd_wp_range(struct vm_area_struct *dst_vma, unsigned long start, unsigned long len, bool enable_wp) uffd_wp_range() argument 796 mwriteprotect_range(struct mm_struct *dst_mm, unsigned long start, unsigned long len, bool enable_wp, atomic_t *mmap_changing) mwriteprotect_range() argument [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | memory-allocator.cc | 552 Page* page = new (chunk_info->start) Page( in AllocatePage() 571 return new (chunk_info->start) ReadOnlyPage( in AllocateReadOnlyPage() 591 LargePage* page = new (chunk_info->start) LargePage( in AllocateLargePage() 607 const Address start = reinterpret_cast<Address>(chunk); in AllocateUninitializedPageFromPool() local 609 start + in AllocateUninitializedPageFromPool() 611 const Address area_end = start + size; in AllocateUninitializedPageFromPool() 614 VirtualMemory reservation(data_page_allocator(), start, size); in AllocateUninitializedPageFromPool() local 617 ZapBlock(start, size, kZapValue); in AllocateUninitializedPageFromPool() 626 void MemoryAllocator::ZapBlock(Address start, size_t size, in ZapBlock() argument 628 DCHECK(IsAligned(start, kTaggedSiz in ZapBlock() 654 SetPermissionsOnExecutableMemoryChunk(VirtualMemory* vm, Address start, size_t area_size, size_t chunk_size) SetPermissionsOnExecutableMemoryChunk() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonBlockRanges.cpp | 35 // If A contains start(), or "this" contains A.start(), then overlap. in overlaps() 36 IndexType S = start(), E = end(), AS = A.start(), AE = A.end(); in overlaps() 48 if (start() <= A.start()) { in contains() 49 // Treat "None" in the range end as equal to the range start. in contains() 50 IndexType E = (end() != IndexType::None) ? end() : start(); in contains() 51 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains() 60 assert(end() == A.start() || overlap in merge() [all...] |
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-sh7757.c | 106 .start = 0xfe002000, 111 .start = evt2irq(0xcc0), 443 .start = 0xff608020, 449 .start = 0xff609000, 455 .start = evt2irq(0x640), 465 .start = 0xff618020, 471 .start = 0xff619000, 477 .start = evt2irq(0x640), 483 .start = evt2irq(0x7c0), 489 .start [all...] |
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-sh7757.c | 106 .start = 0xfe002000, 111 .start = evt2irq(0xcc0), 443 .start = 0xff608020, 449 .start = 0xff609000, 455 .start = evt2irq(0x640), 465 .start = 0xff618020, 471 .start = 0xff619000, 477 .start = evt2irq(0x640), 483 .start = evt2irq(0x7c0), 489 .start [all...] |
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestConversion.java | 291 // start after the NUL in FromUnicodeCase() 576 // start after the NUL in ToUnicodeCase() 976 * start of the stream for example U+FEFF (the Unicode BOM/signature 979 * Detects Unicode signature byte sequences at the start of the byte stream 995 byte start[] = { (byte) 0xa5, (byte) 0xa5, (byte) 0xa5, (byte) 0xa5, in detectUnicodeSignature() 999 start[i] = source.get(i); in detectUnicodeSignature() 1003 if (start[0] == (byte) 0xFE && start[1] == (byte) 0xFF) { in detectUnicodeSignature() 1008 } else if (start[0] == (byte) 0xFF && start[ in detectUnicodeSignature() [all...] |
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | time.c | 46 .start = RTOS_TIMER_REGS_ADDR, 175 rtos_timer = ioremap(resource->start, resource_size(resource)); in time_init_deferred() 178 release_mem_region(resource->start, resource_size(resource)); in time_init_deferred() 211 unsigned long long start = __vmgettime(); in __delay() local 213 while ((__vmgettime() - start) < cycles) in __delay() 226 unsigned long long start = __vmgettime(); in __udelay() local 229 while ((__vmgettime() - start) < finish) in __udelay()
|