/kernel/linux/linux-5.10/lib/ |
H A D | string.c | 276 * stpcpy - copy a string from src to dest returning a pointer to the new end 278 * @dest: pointer to end of string being copied into. Must be large enough 445 * strchrnul - Find and return a character in a string, or end of string 450 * return a pointer to the null byte at the end of s. 463 * or end of string 544 char *end; in strim() local 550 end = s + size - 1; in strim() 551 while (end >= s && isspace(*end)) in strim() 552 end in strim() 679 char *end; strsep() local [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | static_call.c | 282 static int addr_conflict(struct static_call_site *site, void *start, void *end) in addr_conflict() argument 286 if (addr <= (unsigned long)end && in addr_conflict() 295 void *start, void *end, bool init) in __static_call_text_reserved() 301 if (addr_conflict(iter, start, end)) in __static_call_text_reserved() 312 static int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument 319 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod); in __static_call_mod_text_reserved() 329 start, end, mod->state == MODULE_STATE_COMING); in __static_call_mod_text_reserved() 455 static inline int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument 462 int static_call_text_reserved(void *start, void *end) in static_call_text_reserved() argument 466 __stop_static_call_sites, start, end, ini in static_call_text_reserved() 293 __static_call_text_reserved(struct static_call_site *iter_start, struct static_call_site *iter_stop, void *start, void *end, bool init) __static_call_text_reserved() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-jpeg.c | 40 #define EOI 0xffd9 /* end of image */ 57 * @end: end position, after last byte 61 u8 *end; member 67 if (stream->curr >= stream->end) in jpeg_get_byte() 78 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be() 89 if (stream->curr + len > stream->end) in jpeg_skip() 118 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment() 122 if (stream->curr + len > stream->end) in jpeg_reference_segment() 467 stream.end in v4l2_jpeg_parse_header() [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | dir.c | 182 const u8 *end; in ntfs_nls_to_utf16() local 195 for (ret = 0, end = name + name_len; name < end; ret++, name += slen) { in ntfs_nls_to_utf16() 199 slen = nls->char2uni(name, end - name, uname + ret); in ntfs_nls_to_utf16() 351 u32 end = le32_to_cpu(hdr->used); in ntfs_read_hdr() local 355 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr() 360 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr() 517 u32 e_size, off, end; in ntfs_dir_count() local 532 end = le32_to_cpu(hdr->used); in ntfs_dir_count() 535 for (; off + sizeof(struct NTFS_DE) <= end; of in ntfs_dir_count() [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | i460-agp.c | 150 * the define aperture sizes. Take care not to shift off the end of in i460_fetch_size() 404 struct lp_desc *start, *end, *lp; in i460_insert_memory_large_io_page() local 415 end = &i460.lp_desc[(pg_start + mem->page_count - 1) / I460_KPAGES_PER_IOPAGE]; in i460_insert_memory_large_io_page() 419 if (end > i460.lp_desc + num_entries) { in i460_insert_memory_large_io_page() 425 for (lp = start; lp <= end; ++lp) { in i460_insert_memory_large_io_page() 430 idx < ((lp == end) ? (end_offset + 1) : I460_KPAGES_PER_IOPAGE); in i460_insert_memory_large_io_page() 438 for (lp = start, i = 0; lp <= end; ++lp) { in i460_insert_memory_large_io_page() 450 idx < ((lp == end) ? (end_offset + 1) : I460_KPAGES_PER_IOPAGE); in i460_insert_memory_large_io_page() 465 struct lp_desc *start, *end, *lp; in i460_remove_memory_large_io_page() local 473 end in i460_remove_memory_large_io_page() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | 35 void __iomem *dend; /* 8-byte data end */ in pio_copy() 47 * reach the end of the SOP block in pio_copy() 76 * If the wrap comes before or matches the data end, in pio_copy() 79 * If the data ends at the end of the SOP above and in pio_copy() 80 * the buffer wraps, then pbuf->end == dend == dest in pio_copy() 84 if (pbuf->end <= dend) { in pio_copy() 85 while (dest < pbuf->end) { in pio_copy() 114 * fill in rest of block, no need to check pbuf->end in pio_copy() 192 * Read nbytes bytes from "from" and put them at the end of pbuf->carry. 267 void __iomem *dend; /* 8-byte data end */ in seg_pio_copy_start() [all...] |
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | mmap.c | 106 static int overwrite_rb_find_range(void *buf, int mask, u64 *start, u64 *end) in overwrite_rb_find_range() argument 119 *end = evt_head; in overwrite_rb_find_range() 127 *end = evt_head; in overwrite_rb_find_range() 139 * Report the start and end of the available data in ringbuffer 149 md->end = md->overwrite ? old : head; in __perf_mmap__read_init() 151 if ((md->end - md->start) < md->flush) in __perf_mmap__read_init() 154 size = md->end - md->start; in __perf_mmap__read_init() 168 if (overwrite_rb_find_range(data, md->mask, &md->start, &md->end)) in __perf_mmap__read_init() 190 * Need to correct the map->core.prev to head which is the end of next read. 203 /* When check_messup is true, 'end' mus 204 perf_mmap__read(struct perf_mmap *map, u64 *startp, u64 end) perf_mmap__read() argument [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | cfg.c | 21 struct bpf_insn *end; member 132 struct bpf_insn *end) in cfg_partition_funcs() 140 for (; cur < end; cur++) { in cfg_partition_funcs() 151 last_func->end = end - 1; in cfg_partition_funcs() 154 func->end = func_next(func)->start - 1; in cfg_partition_funcs() 167 struct bpf_insn *cur, *end; in func_partition_bb_head() local 171 end = func->end; in func_partition_bb_head() 177 for (; cur <= end; cu in func_partition_bb_head() 131 cfg_partition_funcs(struct cfg *cfg, struct bpf_insn *cur, struct bpf_insn *end) cfg_partition_funcs() argument [all...] |
/kernel/linux/linux-6.6/usr/ |
H A D | gen_init_cpio.c | 436 char *start, *end, *var; in cpio_replace_env() local 439 (end = strchr(start + 2, '}'))) { in cpio_replace_env() 440 *start = *end = 0; in cpio_replace_env() 443 new_location, var ? var : "", end + 1); in cpio_replace_env() 459 int end = 0, dname_len = 0; in cpio_mkfile_line() local 464 name, location, &mode, &uid, &gid, &end)) { in cpio_mkfile_line() 468 if (end && isgraph(line[end])) { in cpio_mkfile_line() 483 if (sscanf(line + end, "%" str(PATH_MAX) "s %n", in cpio_mkfile_line() 490 end in cpio_mkfile_line() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | static_call_inline.c | 293 static int addr_conflict(struct static_call_site *site, void *start, void *end) in addr_conflict() argument 297 if (addr <= (unsigned long)end && in addr_conflict() 306 void *start, void *end, bool init) in __static_call_text_reserved() 312 if (addr_conflict(iter, start, end)) in __static_call_text_reserved() 323 static int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument 330 WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod); in __static_call_mod_text_reserved() 340 start, end, mod->state == MODULE_STATE_COMING); in __static_call_mod_text_reserved() 466 static inline int __static_call_mod_text_reserved(void *start, void *end) in __static_call_mod_text_reserved() argument 473 int static_call_text_reserved(void *start, void *end) in static_call_text_reserved() argument 477 __stop_static_call_sites, start, end, ini in static_call_text_reserved() 304 __static_call_text_reserved(struct static_call_site *iter_start, struct static_call_site *iter_stop, void *start, void *end, bool init) __static_call_text_reserved() argument [all...] |
/kernel/linux/linux-6.6/tools/arch/x86/kcpuid/ |
H A D | kcpuid.c | 21 /* start and end bits */ 22 int start, end; member 315 char *start, *end; in parse_line() local 378 end = strtok(buf, ":"); in parse_line() 379 bdesc->end = strtoul(end, NULL, 0); in parse_line() 380 bdesc->start = bdesc->end; in parse_line() 438 int start, end, i; in decode_bits() local 451 end = bdesc->end; in decode_bits() [all...] |
/kernel/liteos_a/testsuites/unittest/tools/ |
H A D | unittest_tools.cpp | 228 char *end = g_param.testsuitesDir + len; in TestsuitesDirFormat() local 229 while ((testDir != end) && (*end == '/')) { in TestsuitesDirFormat() 230 *end = '\0'; in TestsuitesDirFormat() 231 end--; in TestsuitesDirFormat() 245 const char *end = testBin + strlen(testBin); in GetTestsuitesToolsName() local 246 while (*end != '/') { in GetTestsuitesToolsName() 247 end--; in GetTestsuitesToolsName() 249 end++; in GetTestsuitesToolsName() 251 if (memcpy_s(g_param.testsuitesBin, TEST_PATH_MAX, end, strle in GetTestsuitesToolsName() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | derelocate.c | 43 GElf_Addr start, end; member 54 GElf_Addr start, end; member 70 if ((*p1)->end < (*p2)->end) in compare_secrefs() 72 if ((*p1)->end > (*p2)->end) in compare_secrefs() 75 /* Same start/end, then just compare which section came first. */ in compare_secrefs() 139 newref->end = newref->start + shdr->sh_size; in cache_sections() 189 mod->reloc_info->refs[i].end = sortrefs[i]->end; in cache_sections() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | avstring.c | 126 goto end; in av_asprintf() 130 goto end; in av_asprintf() 138 end: in av_asprintf() 157 char *ret = out, *end = out; in av_get_token() local 167 end = out; in av_get_token() 173 end = out; in av_get_token() 182 while (out >= end && strspn(out, WHITESPACES)); in av_get_token() 199 /* s now points to the first non delimiter char, or to the end of the string */ in av_strtok() 399 goto end; in av_utf8_decode() 427 goto end; in av_utf8_decode() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_subtitles.c | 336 goto end; in init_subtitles() 340 goto end; in init_subtitles() 363 goto end; in init_subtitles() 399 goto end; in init_subtitles() 406 goto end; in init_subtitles() 414 goto end; in init_subtitles() 419 goto end; in init_subtitles() 433 goto end; in init_subtitles() 444 goto end; in init_subtitles() 451 goto end; in init_subtitles() [all...] |
/third_party/glslang/SPIRV/ |
H A D | SpvPostProcess.cpp | 124 for (auto it = capabilities.begin(); it != capabilities.end(); ++it) { in postProcessType() 143 for (auto it = capabilities.begin(); it != capabilities.end(); ++it) { in postProcessType() 281 std::for_each(decorations.begin(), decorations.end(), function); in postProcess() 294 std::for_each(decorations.begin(), decorations.end(), function); in postProcess() 377 for (auto mergeIter = unreachableMerges.begin(); mergeIter != unreachableMerges.end(); ++mergeIter) { in postProcessCFG() 381 continueIter != headerForUnreachableContinue.end(); in postProcessCFG() 389 decorations.erase(std::remove_if(decorations.begin(), decorations.end(), in postProcessCFG() 394 decorations.end()); in postProcessCFG() 443 std::for_each(decorations.begin(), decorations.end(), function); in postProcessFeatures() 454 if (capabilities.find(spv::CapabilityVulkanMemoryModelKHR) != capabilities.end()) { in postProcessFeatures() [all...] |
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | coord.cpp | 523 INT_32 end = (amount < 0) ? start - 1 : numBits; 524 for (; (inc > 0) ? i < end : i > end; i += inc) 543 VOID CoordEq::mort2d(Coordinate& c0, Coordinate& c1, UINT_32 start, UINT_32 end) 545 if (end == 0) 548 end = m_numBits - 1; 550 for (UINT_32 i = start; i <= end; i++) 559 VOID CoordEq::mort3d(Coordinate& c0, Coordinate& c1, Coordinate& c2, UINT_32 start, UINT_32 end) 561 if (end == 0) 564 end [all...] |
/third_party/ninja/src/ |
H A D | dyndep_parser_test.cc | 364 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 377 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 390 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 404 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 419 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 433 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 448 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 466 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 479 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() 502 ASSERT_NE(i, dyndep_file_.end()); in TEST_F() [all...] |
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | regexp_adapter_test.cc | 87 it != contexts_.end(); in TEST_F() 111 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 126 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 143 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 197 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 223 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 248 it != contexts_.end(); in TEST_F() 269 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 298 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() 312 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_ssa_builder.cpp | 40 for (val_set::iterator I = vars.begin(sh), E = vars.end(sh); I != E; ++I) { in create_phi_nodes() 51 for (vvec::iterator I = n.dst.begin(), E = n.dst.end(); I != E; ++I) { in add_defs() 143 for (node_iterator I = n.begin(), E = n.end(); I != E; ++I) { in visit() 147 for (node_iterator I = n.begin(), E = n.end(); I != E; ++I) { in visit() 215 for (node_iterator I = n.begin(), E = n.end(); I != E; ++I) { in visit() 219 for (node_iterator I = n.begin(), E = n.end(); I != E; ++I) { in visit() 340 for(vvec::iterator I = vv.begin(), E = vv.end(); I != E; ++I) { in rename_src_vec() 365 for(vvec::iterator I = vv.begin(), E = vv.end(); I != E; ++I) { in rename_dst_vec() 386 if (I != m.end()) in get_index() 400 if (I != m.end()) in new_index() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-array.hh | 105 * assume we're only compared to .end(). */ 199 void qsort (unsigned int start, unsigned int end) in qsort() 201 end = hb_min (end, length); in qsort() 202 assert (start <= end); in qsort() 203 if (likely (start < end)) in qsort() 204 hb_qsort (arrayZ + start, end - start, this->get_item_size (), Type::cmp); in qsort() 214 * Reverse the order of items in this array in the range [start, end). 216 void reverse (unsigned start = 0, unsigned end = -1) in reverse() 219 end in reverse() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | SlotIndexes.h | 395 assert(itr != mi2iMap.end() && "Instruction not found in maps."); in getInstructionIndex() 409 IndexList::iterator E = indexList.end(); in getNextNonNullIndex() 413 // We reached the end of the function. in getNextNonNullIndex() 429 if (MapItr != mi2iMap.end()) in getIndexBefore() 435 /// after MI, or the end index of its basic block. 440 MachineBasicBlock::const_iterator I = MI, E = MBB->end(); in getIndexAfter() 446 if (MapItr != mi2iMap.end()) in getIndexAfter() 451 /// Return the (start,end) range of the given basic block number. 457 /// Return the (start,end) range of the given basic block. 491 I, idx2MBBMap.end(), in advanceMBBIndex() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
H A D | SetTheory.cpp | 56 for (RecSet::iterator I = Add.begin(), E = Add.end(); I != E; ++I) 72 for (RecSet::iterator I = S1.begin(), E = S1.end(); I != E; ++I) 106 Elts.insert(Set.begin() + N, Set.end()); 140 Elts.insert(Set.begin() + N, Set.end()); 231 Elts.insert(Result->begin(), Result->end()); 251 } // end anonymous namespace 286 return Elts.insert(Result->begin(), Result->end()); in evaluate() 293 return evaluate(LI->begin(), LI->end(), Elts, Loc); in evaluate() 303 if (I == Operators.end()) in evaluate() 311 if (I != Expansions.end()) in expand() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | R600OptimizeVectorRegisters.cpp | 140 } // end anonymous namespace 169 E = ToMerge->RegToChan.end(); It != E; ++It) { in tryMergeVector() 172 if (PosInUntouched != Untouched->RegToChan.end()) { in tryMergeVector() 209 E = RSI->RegToChan.end(); It != E; ++It) { in RebuildVector() 222 if (ChanPos != UpdatedUndef.end()) in RebuildVector() 253 E = PreviousRegSeqByReg.end(); It != E; ++It) { in RemoveMI() 255 MIs.erase(llvm::find(MIs, MI), MIs.end()); in RemoveMI() 258 E = PreviousRegSeqByUndefCount.end(); It != E; ++It) { in RemoveMI() 260 MIs.erase(llvm::find(MIs, MI), MIs.end()); in RemoveMI() 326 It = RSI.RegToChan.begin(), E = RSI.RegToChan.end(); I in trackRSI() [all...] |
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | uniset.h | 379 * Constructs a set containing the given range. If <code>end < 383 * @param end last character, inclusive, of range 386 UnicodeSet(UChar32 start, UChar32 end); 601 * Make this object represent the range `start - end`. 602 * If `start > end` then this object is set to an empty range. 606 * @param end last character in the set, inclusive 609 UnicodeSet& set(UChar32 start, UChar32 end); 800 * @param end last character, inclusive, of the range 804 virtual UBool contains(UChar32 start, UChar32 end) const; 837 * @param end las [all...] |