/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | LSTMBreakEngine.java | 44 private static float[][] make2DArray(int[] data, int start, int d1, int d2) { in make2DArray() argument 49 int d = data[start++]; in make2DArray() 60 private static float[] make1DArray(int[] data, int start, int d1) { in make1DArray() argument 64 int d = data[start++]; in make1DArray() 109 int start = 0; in LSTMData() 110 this.fEmbedding = make2DArray(data, start, (numIndex+1), embeddings); in LSTMData() 111 start += mat1Size; in LSTMData() 112 this.fForwardW = make2DArray(data, start, embeddings, 4 * hunits); in LSTMData() 113 start += mat2Size; in LSTMData() 114 this.fForwardU = make2DArray(data, start, hunit in LSTMData() 276 sigmoid(float [] result, int start, int length) sigmoid() argument 284 tanh(float [] result, int start, int length) tanh() argument [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | spaces.cc | 172 void Page::CreateBlackArea(Address start, Address end) { in CreateBlackArea() argument 174 DCHECK_EQ(Page::FromAddress(start), this); in CreateBlackArea() 175 DCHECK_LT(start, end); in CreateBlackArea() 179 marking_state->bitmap(this)->SetRange(AddressToMarkbitIndex(start), in CreateBlackArea() 181 marking_state->IncrementLiveBytes(this, static_cast<intptr_t>(end - start)); in CreateBlackArea() 184 void Page::CreateBlackAreaBackground(Address start, Address end) { in CreateBlackAreaBackground() argument 186 DCHECK_EQ(Page::FromAddress(start), this); in CreateBlackAreaBackground() 187 DCHECK_LT(start, end); in CreateBlackAreaBackground() 191 marking_state->bitmap(this)->SetRange(AddressToMarkbitIndex(start), in CreateBlackAreaBackground() 194 this, static_cast<intptr_t>(end - start)); in CreateBlackAreaBackground() 197 DestroyBlackArea(Address start, Address end) DestroyBlackArea() argument 209 DestroyBlackAreaBackground(Address start, Address end) DestroyBlackAreaBackground() argument 237 ComputeLimit(Address start, Address end, size_t min_size) const ComputeLimit() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | outercache.h | 37 * @start: starting physical address, inclusive 40 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range() argument 43 outer_cache.inv_range(start, end); in outer_inv_range() 48 * @start: starting physical address, inclusive 51 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range() argument 54 outer_cache.clean_range(start, end); in outer_clean_range() 59 * @start: starting physical address, inclusive 62 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range() argument 65 outer_cache.flush_range(start, end); in outer_flush_range() 108 static inline void outer_inv_range(phys_addr_t start, phys_addr_ argument 110 outer_clean_range(phys_addr_t start, phys_addr_t end) outer_clean_range() argument 112 outer_flush_range(phys_addr_t start, phys_addr_t end) outer_flush_range() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | resource.c | 5 static void resource_clip(struct resource *res, resource_size_t start, in resource_clip() argument 10 if (res->end < start || res->start > end) in resource_clip() 13 if (res->start < start) in resource_clip() 14 low = start - res->start; in resource_clip() 21 res->end = start - 1; in resource_clip() 23 res->start = end + 1; in resource_clip()
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | outercache.h | 37 * @start: starting physical address, inclusive 40 static inline void outer_inv_range(phys_addr_t start, phys_addr_t end) in outer_inv_range() argument 43 outer_cache.inv_range(start, end); in outer_inv_range() 48 * @start: starting physical address, inclusive 51 static inline void outer_clean_range(phys_addr_t start, phys_addr_t end) in outer_clean_range() argument 54 outer_cache.clean_range(start, end); in outer_clean_range() 59 * @start: starting physical address, inclusive 62 static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) in outer_flush_range() argument 65 outer_cache.flush_range(start, end); in outer_flush_range() 108 static inline void outer_inv_range(phys_addr_t start, phys_addr_ argument 110 outer_clean_range(phys_addr_t start, phys_addr_t end) outer_clean_range() argument 112 outer_flush_range(phys_addr_t start, phys_addr_t end) outer_flush_range() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 116 node->start = offset; in i915_gem_gtt_reserve() 133 static u64 random_offset(u64 start, u64 end, u64 len, u64 align) in random_offset() argument 137 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset() 138 GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); in random_offset() 140 range = round_down(end - len, align) - round_up(start, align); in random_offset() 152 start += addr; in random_offset() 155 return round_up(start, align); in random_offset() 168 * @start: start of any range restriction inside GTT (0 for all), 176 * its @size must then fit entirely within the [@start, 192 i915_gem_gtt_insert(struct i915_address_space *vm, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 113 node->start = offset; in i915_gem_gtt_reserve() 130 static u64 random_offset(u64 start, u64 end, u64 len, u64 align) in random_offset() argument 134 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset() 135 GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); in random_offset() 137 range = round_down(end - len, align) - round_up(start, align); in random_offset() 149 start += addr; in random_offset() 152 return round_up(start, align); in random_offset() 166 * @start: start of any range restriction inside GTT (0 for all), 174 * its @size must then fit entirely within the [@start, 190 i915_gem_gtt_insert(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 75 int start = 0, end = sym_cnt; in ksym_search() local 82 while (start < end) { in ksym_search() 83 size_t mid = start + (end - start) / 2; in ksym_search() 89 start = mid + 1; in ksym_search() 94 if (start >= 1 && syms[start - 1].addr < key && in ksym_search() 95 key < syms[start].addr) in ksym_search() 97 return &syms[start - 1]; in ksym_search() 167 size_t start, en in get_uprobe_offset() local 225 size_t start, end, offset; get_rel_offset() local [all...] |
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | cache-sh2a.c | 49 static void sh2a__flush_wback_region(void *start, int size) in sh2a__flush_wback_region() argument 57 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_wback_region() 58 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region() 91 static void sh2a__flush_purge_region(void *start, int size) in sh2a__flush_purge_region() argument 97 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_purge_region() 98 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region() 121 static void sh2a__flush_invalidate_region(void *start, int size) in sh2a__flush_invalidate_region() argument 127 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_invalidate_region() 128 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_invalidate_region() 153 unsigned long start, en in sh2a_flush_icache_range() local [all...] |
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A D | cache-sh2a.c | 49 static void sh2a__flush_wback_region(void *start, int size) in sh2a__flush_wback_region() argument 57 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_wback_region() 58 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region() 91 static void sh2a__flush_purge_region(void *start, int size) in sh2a__flush_purge_region() argument 97 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_purge_region() 98 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region() 121 static void sh2a__flush_invalidate_region(void *start, int size) in sh2a__flush_invalidate_region() argument 127 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_invalidate_region() 128 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_invalidate_region() 153 unsigned long start, en in sh2a_flush_icache_range() local [all...] |
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | hw_tags.c | 283 static void init_vmalloc_pages(const void *start, unsigned long size) in init_vmalloc_pages() argument 287 for (addr = start; addr < start + size; addr += PAGE_SIZE) { in init_vmalloc_pages() 294 void *__kasan_unpoison_vmalloc(const void *start, unsigned long size, in __kasan_unpoison_vmalloc() argument 302 init_vmalloc_pages(start, size); in __kasan_unpoison_vmalloc() 303 return (void *)start; in __kasan_unpoison_vmalloc() 327 return (void *)start; in __kasan_unpoison_vmalloc() 336 return (void *)start; in __kasan_unpoison_vmalloc() 340 start = set_tag(start, ta in __kasan_unpoison_vmalloc() 365 __kasan_poison_vmalloc(const void *start, unsigned long size) __kasan_poison_vmalloc() argument [all...] |
/third_party/skia/tests/ |
H A D | SubsetPath.cpp | 23 int start = count * partIndex / parts; in range() local 25 return start; in range() 29 int start, end; in subset() local 31 start = range(&end); in subset() 32 for (; start < end; ++start) { in subset() 33 fSelected[start] = true; in subset() 39 start = range(&end); in subset() 40 // SkDebugf("%d s=%d e=%d t=%d\n", fSubset, start, end, fTries); in subset() 41 if (end - start > in subset() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | collationsets.cpp | 35 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumTailoredRange() argument 40 return ts->handleCE32(start, end, ce32); in enumTailoredRange() 57 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument 66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32() 73 tailored->add(start); in handleCE32() 76 compare(start, ce32, baseCE32); in handleCE32() 78 } while(++start <= end); in handleCE32() 360 enumCnERange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumCnERange() argument 370 cne->tailored.add(start, end); in enumCnERange() 373 } else if(start in enumCnERange() 428 handleCE32(UChar32 start, UChar32 end, uint32_t ce32) handleCE32() argument 541 handlePrefixes( UChar32 start, UChar32 end, uint32_t ce32) handlePrefixes() argument 560 handleContractions( UChar32 start, UChar32 end, uint32_t ce32) handleContractions() argument 586 addExpansions(UChar32 start, UChar32 end) addExpansions() argument 597 addStrings(UChar32 start, UChar32 end, UnicodeSet *set) addStrings() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationsets.cpp | 35 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumTailoredRange() argument 40 return ts->handleCE32(start, end, ce32); in enumTailoredRange() 57 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument 66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32() 73 tailored->add(start); in handleCE32() 76 compare(start, ce32, baseCE32); in handleCE32() 78 } while(++start <= end); in handleCE32() 360 enumCnERange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumCnERange() argument 370 cne->tailored.add(start, end); in enumCnERange() 373 } else if(start in enumCnERange() 428 handleCE32(UChar32 start, UChar32 end, uint32_t ce32) handleCE32() argument 541 handlePrefixes( UChar32 start, UChar32 end, uint32_t ce32) handlePrefixes() argument 560 handleContractions( UChar32 start, UChar32 end, uint32_t ce32) handleContractions() argument 586 addExpansions(UChar32 start, UChar32 end) addExpansions() argument 597 addStrings(UChar32 start, UChar32 end, UnicodeSet *set) addStrings() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationsets.cpp | 35 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumTailoredRange() argument 40 return ts->handleCE32(start, end, ce32); in enumTailoredRange() 57 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument 66 uint32_t baseCE32 = baseData->getFinalCE32(baseData->getCE32(start)); in handleCE32() 73 tailored->add(start); in handleCE32() 76 compare(start, ce32, baseCE32); in handleCE32() 78 } while(++start <= end); in handleCE32() 360 enumCnERange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumCnERange() argument 370 cne->tailored.add(start, end); in enumCnERange() 373 } else if(start in enumCnERange() 428 handleCE32(UChar32 start, UChar32 end, uint32_t ce32) handleCE32() argument 541 handlePrefixes( UChar32 start, UChar32 end, uint32_t ce32) handlePrefixes() argument 560 handleContractions( UChar32 start, UChar32 end, uint32_t ce32) handleContractions() argument 586 addExpansions(UChar32 start, UChar32 end) addExpansions() argument 597 addStrings(UChar32 start, UChar32 end, UnicodeSet *set) addStrings() argument [all...] |
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
H A D | strnlen_user.S | 15 #define start r7 define 36 start = isrc; define 47 tmp1 = memb(start++#1); 52 P1 = cmp.gtu(end,start); 53 mod8 = and(start,#7); 67 dbuf = memd(start); 68 obo = add(start,#1); 75 P0 = cmp.gtu(end,start); 85 if (!P0.new) start = add(obo,tmp1); 88 start define 97 start = add(obo,tmp1); global() define [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 24 unsigned long start = (unsigned long)vaddr; in __dma_sync() local 25 unsigned long end = start + size; in __dma_sync() 35 if ((start | end) & (L1_CACHE_BYTES - 1)) in __dma_sync() 36 flush_dcache_range(start, end); in __dma_sync() 38 invalidate_dcache_range(start, end); in __dma_sync() 41 clean_dcache_range(start, end); in __dma_sync() 44 flush_dcache_range(start, end); in __dma_sync() 64 unsigned long flags, start, seg_offset = offset; in __dma_sync_page_highmem() local 71 start = (unsigned long)kmap_atomic(page + seg_nr) + seg_offset; in __dma_sync_page_highmem() 74 __dma_sync((void *)start, seg_siz in __dma_sync_page_highmem() 102 unsigned long start = (unsigned long)page_address(page) + offset; __dma_sync_page() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 24 unsigned long start = (unsigned long)vaddr; in __dma_sync() local 25 unsigned long end = start + size; in __dma_sync() 35 if ((start | end) & (L1_CACHE_BYTES - 1)) in __dma_sync() 36 flush_dcache_range(start, end); in __dma_sync() 38 invalidate_dcache_range(start, end); in __dma_sync() 41 clean_dcache_range(start, end); in __dma_sync() 44 flush_dcache_range(start, end); in __dma_sync() 64 unsigned long flags, start, seg_offset = offset; in __dma_sync_page_highmem() local 71 start = (unsigned long)kmap_atomic(page + seg_nr) + seg_offset; in __dma_sync_page_highmem() 74 __dma_sync((void *)start, seg_siz in __dma_sync_page_highmem() 102 unsigned long start = (unsigned long)page_address(page) + offset; __dma_sync_page() local [all...] |
/kernel/linux/linux-5.10/tools/lib/ |
H A D | string.c | 172 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument 175 if (*start != value) in check_bytes8() 176 return (void *)start; in check_bytes8() 177 start++; in check_bytes8() 185 * @start: The memory area 192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() argument 199 return check_bytes8(start, value, bytes); in memchr_inv() 206 prefix = (unsigned long)start % 8; in memchr_inv() 211 r = check_bytes8(start, value, prefix); in memchr_inv() 214 start in memchr_inv() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | interval_tree_generic.h | 19 * ITSTART(n): start endpoint of ITSTRUCT node n 42 ITTYPE start = ITSTART(node), last = ITLAST(node); \ 51 if (start < ITSTART(parent)) \ 72 * Iterate over intervals intersecting [start;last] \ 74 * Note that a node's interval intersects [start;last] iff: \ 77 * Cond2: start <= ITLAST(node) \ 81 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \ 85 * Loop invariant: start <= node->ITSUBTREE \ 91 if (start <= left->ITSUBTREE) { \ 105 if (start < [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | interval_tree_generic.h | 19 * ITSTART(n): start endpoint of ITSTRUCT node n 42 ITTYPE start = ITSTART(node), last = ITLAST(node); \ 51 if (start < ITSTART(parent)) \ 72 * Iterate over intervals intersecting [start;last] \ 74 * Note that a node's interval intersects [start;last] iff: \ 77 * Cond2: start <= ITLAST(node) \ 81 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \ 85 * Loop invariant: start <= node->ITSUBTREE \ 91 if (start <= left->ITSUBTREE) { \ 105 if (start < [all...] |
/kernel/linux/linux-6.6/tools/lib/ |
H A D | string.c | 172 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument 175 if (*start != value) in check_bytes8() 176 return (void *)start; in check_bytes8() 177 start++; in check_bytes8() 185 * @start: The memory area 192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() argument 199 return check_bytes8(start, value, bytes); in memchr_inv() 206 prefix = (unsigned long)start % 8; in memchr_inv() 211 r = check_bytes8(start, value, prefix); in memchr_inv() 214 start in memchr_inv() [all...] |
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | interval_tree_generic.h | 19 * ITSTART(n): start endpoint of ITSTRUCT node n 42 ITTYPE start = ITSTART(node), last = ITLAST(node); \ 51 if (start < ITSTART(parent)) \ 72 * Iterate over intervals intersecting [start;last] \ 74 * Note that a node's interval intersects [start;last] iff: \ 77 * Cond2: start <= ITLAST(node) \ 81 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \ 85 * Loop invariant: start <= node->ITSUBTREE \ 91 if (start <= left->ITSUBTREE) { \ 105 if (start < [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | PatternProps.java | 109 int start=0; in trimWhiteSpace() 111 while(start<limit && isWhiteSpace(s.charAt(start))) { in trimWhiteSpace() 112 ++start; in trimWhiteSpace() 114 if(start<limit) { in trimWhiteSpace() 115 // There is non-white space at start; we will not move limit below that, in trimWhiteSpace() 116 // so we need not test start<limit in the loop. in trimWhiteSpace() 121 return s.substring(start, limit); in trimWhiteSpace() 134 int start=0; in isIdentifier() 136 if(isSyntaxOrWhiteSpace(s.charAt(start in isIdentifier() 149 isIdentifier(CharSequence s, int start, int limit) isIdentifier() argument [all...] |
/third_party/ltp/testcases/kernel/controllers/io/ |
H A D | io_control01.c | 56 struct io_stats start; in run() local 58 memset(&start, 0, sizeof(struct io_stats)); in run() 62 const int convs = read_io_stats(line, &start); in run() 69 if (start.mjr == dev_major || start.mnr == dev_minor) in run() 112 TST_EXP_EXPR(end.rbytes > start.rbytes, in run() 114 end.rbytes, start.rbytes); in run() 115 TST_EXP_EXPR(end.wbytes > start.wbytes, in run() 117 end.wbytes, start.wbytes); in run() 118 TST_EXP_EXPR(end.rios > start in run() [all...] |