| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | reada.c | 95 struct reada_extent *re, struct extent_buffer *eb, in __readahead_hook() argument 104 spin_lock(&re->lock); in __readahead_hook() 109 list_replace_init(&re->extctl, &list); in __readahead_hook() 110 re->scheduled = 0; in __readahead_hook() 111 spin_unlock(&re->lock); in __readahead_hook() 143 next_key = re->top; in __readahead_hook() 192 reada_extent_put(fs_info, re); /* one ref for each entry */ in __readahead_hook() 202 struct reada_extent *re; in btree_readahead_hook() local 206 re = radix_tree_lookup(&fs_info->reada_tree, in btree_readahead_hook() 208 if (re) in btree_readahead_hook() [all …]
|
| H A D | ref-verify.c | 117 struct root_entry *re) in insert_root_entry() argument 126 if (entry->root_objectid > re->root_objectid) in insert_root_entry() 128 else if (entry->root_objectid < re->root_objectid) in insert_root_entry() 134 rb_link_node(&re->node, parent_node, p); in insert_root_entry() 135 rb_insert_color(&re->node, root); in insert_root_entry() 234 struct root_entry *re; in free_block_entry() local 240 re = rb_entry(n, struct root_entry, node); in free_block_entry() 241 rb_erase(&re->node, &be->roots); in free_block_entry() 242 kfree(re); in free_block_entry() 265 struct root_entry *re = NULL; in add_block_entry() local [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/perf/perf/ |
| H A D | sort-pmuevents.py | 12 import re 36 preamble_regex = re.compile( '^(.*?)^(struct|const struct|static struct|static const struct)', re.M… 38 preamble = re.search( preamble_regex, data ) 39 …ct_block_regex = re.compile( '^(struct|const struct|static struct|static const struct).*?(\w+) (.*… 40 field_regex = re.compile( '{.*?},', re.MULTILINE | re.DOTALL ) 41 cpuid_regex = re.compile( '\.cpuid = (.*?),', re.MULTILINE | re.DOTALL ) 42 name_regex = re.compile( '\.name = (.*?),', re.MULTILINE | re.DOTALL ) 47 for struct in re.findall( struct_block_regex, data ): 53 for entry in re.findall( field_regex, struct[3] ): 55 cpuid = re.search( cpuid_regex, entry ) [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.4/scripts/ |
| H A D | checkstack.pl | 37 my (@stack, $re, $dre, $x, $xs, $funcre); 50 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 53 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 57 $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o; 62 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 66 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 70 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 73 $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; 77 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 80 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.4/scripts/ |
| H A D | checkstack.pl | 37 my (@stack, $re, $dre, $x, $xs, $funcre); 50 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 53 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 57 $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o; 62 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 66 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 70 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 73 $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; 77 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 80 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | checkstack.pl | 36 my (@stack, $re, $dre, $x, $xs, $funcre); 49 $re = qr/^.*stp.*sp,\#-([0-9]{1,8})\]\!/o; 52 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 57 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 61 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 65 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 68 $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; 72 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 75 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 77 $re = qr/.*ldo ($x{1,8})\(sp\),sp/o; [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.19/scripts/ |
| H A D | checkstack.pl | 38 my (@stack, $re, $dre, $x, $xs, $funcre); 51 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 54 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 59 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 63 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 67 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 70 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 73 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 76 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 79 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.19/scripts/ |
| H A D | checkstack.pl | 38 my (@stack, $re, $dre, $x, $xs, $funcre); 51 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 54 $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; 59 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 63 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 67 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 70 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 73 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 76 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 79 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/go/go-1.18/ |
| H A D | CVE-2022-41715.patch | 96 @@ -122,6 +156,104 @@ func (p *parser) reuse(re *Regexp) { 97 p.free = re 100 +func (p *parser) checkLimits(re *Regexp) { 104 + p.checkSize(re) 105 + p.checkHeight(re) 108 +func (p *parser) checkSize(re *Regexp) { 118 + if re.Op == OpRepeat { 119 + n := re.Max 121 + n = re.Min 140 + for _, re := range p.stack { [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-5.10/scripts/ |
| H A D | checkstack.pl | 40 my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack); 59 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 63 $re = qr/.*sub.*sp, sp, #([0-9]{1,4})/o; 69 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 73 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 77 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 80 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 83 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 86 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 89 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-5.10/scripts/ |
| H A D | checkstack.pl | 40 my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack); 59 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 63 $re = qr/.*sub.*sp, sp, #([0-9]{1,4})/o; 69 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 73 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 77 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 80 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 83 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 86 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 89 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | checkstack.pl | 40 my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack); 59 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 63 $re = qr/.*sub.*sp, sp, #([0-9]{1,4})/o; 69 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 73 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 77 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o; 80 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 83 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 86 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 89 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/functional/ |
| H A D | test_functional_basic.py | 10 import re 42 …self.assertTrue(re.search("Custom images",self.driver.find_element_by_xpath("//div[@class='col-md-… 48 …self.assertTrue(re.search("Compatible image recipes",self.driver.find_element_by_xpath("//div[@cla… 54 …self.assertTrue(re.search("Compatible software recipes",self.driver.find_element_by_xpath("//div[@… 60 …self.assertTrue(re.search("Compatible machines",self.driver.find_element_by_xpath("//div[@class='c… 66 …self.assertTrue(re.search("Compatible layers",self.driver.find_element_by_xpath("//div[@class='col… 72 …self.assertTrue(re.search("Bitbake variables",self.driver.find_element_by_xpath("//div[@class='col… 86 …self.assertTrue(re.search("qemux86",self.driver.find_element_by_xpath("//span[@id='project-machine… 100 …self.assertTrue(re.search("Yocto Project master",self.driver.find_element_by_xpath("//span[@id='pr… 106 …self.assertTrue(re.search("3",self.driver.find_element_by_id("project-layers-count").text),'There … [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/classes/ |
| H A D | kernel-arch.bbclass | 20 import re 24 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 25 elif re.match('arceb$', a): return 'arc' 26 elif re.match('armeb$', a): return 'arm' 27 elif re.match('aarch64$', a): return 'arm64' 28 elif re.match('aarch64_be$', a): return 'arm64' 29 elif re.match('aarch64_ilp32$', a): return 'arm64' 30 elif re.match('aarch64_be_ilp32$', a): return 'arm64' 31 elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'mips' 32 elif re.match('mcf', a): return 'm68k' [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/musl/ |
| H A D | libucontext_1.2.bb | 28 import re 33 elif re.match('(i.86|athlon)$', a): return 'x86' 34 elif re.match('x86.64$', a): return 'x86_64' 35 elif re.match('armeb$', a): return 'arm' 36 elif re.match('aarch64$', a): return 'aarch64' 37 elif re.match('aarch64_be$', a): return 'aarch64' 38 elif re.match('aarch64_ilp32$', a): return 'aarch64' 39 elif re.match('aarch64_be_ilp32$', a): return 'aarch64' 40 elif re.match('mips(isa|)(32|)(r6|)(el|)$', a): return 'mips' 41 elif re.match('mips(isa|)64(r6|)(el|)$', a): return 'mips64' [all …]
|
| /OK3568_Linux_fs/buildroot/utils/checkpackagelib/ |
| H A D | lib_mk.py | 8 import re 24 COMMENT = re.compile(r"^\s*#") 25 …CONDITIONAL = re.compile(r"^\s*({})\s".format("|".join(start_conditional + end_conditional + conti… 26 ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") 27 END_DEFINE = re.compile(r"^\s*endef\s") 28 MAKEFILE_TARGET = re.compile(r"^[^# \t]+:\s") 29 START_DEFINE = re.compile(r"^\s*define\s") 80 CONCATENATING = re.compile(r"^([A-Z0-9_]+)\s*(\+|:|)=\s*\$\(\\1\)") 81 END_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(end_conditional))) 83 START_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(start_conditional))) [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | slre.c | 195 exact(struct slre *r, const char **re) in exact() argument 199 while (**re != '\0' && (strchr(meta_chars, **re)) == NULL) in exact() 200 store_char_in_data(r, *(*re)++); in exact() 208 get_escape_char(const char **re) in get_escape_char() argument 212 switch (*(*re)++) { in get_escape_char() 235 res = (*re)[-1]; in get_escape_char() 243 anyof(struct slre *r, const char **re) in anyof() argument 247 if (**re == '^') { in anyof() 249 (*re)++; in anyof() 252 while (**re != '\0') in anyof() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | logparser.py | 7 import re 17 test_regex['PASSED'] = re.compile(r"^PASS:(.+)") 18 test_regex['FAILED'] = re.compile(r"^FAIL:([^(]+)") 19 test_regex['SKIPPED'] = re.compile(r"^SKIP:(.+)") 22 section_regex['begin'] = re.compile(r"^BEGIN: .*/(.+)/ptest") 23 section_regex['end'] = re.compile(r"^END: .*/(.+)/ptest") 24 section_regex['duration'] = re.compile(r"^DURATION: (.+)") 25 section_regex['exitcode'] = re.compile(r"^ERROR: Exit status is (.+)") 26 section_regex['timeout'] = re.compile(r"^TIMEOUT: .*/(.+)/ptest") 112 test_regex['PASSED'] = re.compile(r"PASS") [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/sphinx/ |
| H A D | automarkup.py | 15 import re 22 ascii_p3 = re.ASCII 33 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3) 38 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)', 45 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 46 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 47 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 48 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 54 RE_doc = re.compile(r'\bDocumentation(/[\w\-_/]+)(\.\w+)*') 112 repl.append(markup_func[m.re](docname, app, m)) [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/plugin-lib/ |
| H A D | valgrindPlugin.py | 8 import re 113 self.definitely_lost_re = re.compile( 114 … r'definitely lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\sblocks', re.MULTILINE | re.DOTALL) 115 self.indirectly_lost_re = re.compile( 116 … r'indirectly lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re.DOTALL) 117 self.possibly_lost_re = re.compile( 118 r'possibly lost:\s+([,0-9]+)bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re.DOTALL) 119 self.non_leak_error_re = re.compile( 120 … r'ERROR SUMMARY:\s+([,0-9]+) errors from\s+([,0-9]+)\s+contexts', re.MULTILINE | re.DOTALL)
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/scripts/ |
| H A D | symbolize.py | 12 import re 17 CALL_STACK_RE = re.compile('Call stack:') 18 TEE_LOAD_ADDR_RE = re.compile(r'TEE load address @ (?P<load_addr>0x[0-9a-f]+)') 21 STACK_ADDR_RE = re.compile( 23 ABORT_ADDR_RE = re.compile(r'-abort at address (?P<addr>0x[0-9a-f]+)') 24 REGION_RE = re.compile(r'region +[0-9]+: va (?P<addr>0x[0-9a-f]+) ' 27 ELF_LIST_RE = re.compile(r'\[(?P<idx>[0-9]+)\] (?P<uuid>[0-9a-f\-]+)' 29 FUNC_GRAPH_RE = re.compile(r'Function graph') 30 GRAPH_ADDR_RE = re.compile(r'(?P<addr>0x[0-9a-f]+)') 31 GRAPH_RE = re.compile(r'}') [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/scripts/ |
| H A D | symbolize.py | 12 import re 17 CALL_STACK_RE = re.compile('Call stack:') 18 TEE_LOAD_ADDR_RE = re.compile(r'TEE load address @ (?P<load_addr>0x[0-9a-f]+)') 21 STACK_ADDR_RE = re.compile( 23 ABORT_ADDR_RE = re.compile(r'-abort at address (?P<addr>0x[0-9a-f]+)') 24 REGION_RE = re.compile(r'region +[0-9]+: va (?P<addr>0x[0-9a-f]+) ' 27 ELF_LIST_RE = re.compile(r'\[(?P<idx>[0-9]+)\] (?P<uuid>[0-9a-f\-]+)' 29 FUNC_GRAPH_RE = re.compile(r'Function graph') 30 GRAPH_ADDR_RE = re.compile(r'(?P<addr>0x[0-9a-f]+)') 31 GRAPH_RE = re.compile(r'}') [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/contrib/ |
| H A D | patchreview.py | 43 import re, os.path 48 sob_re = re.compile(r"^[\t ]*(Signed[-_ ]off[-_ ]by:?)[\t ]*(.+)", re.IGNORECASE | re.MULTILINE) 49 …status_re = re.compile(r"^[\t ]*(Upstream[-_ ]Status:?)[\t ]*([\w-]*)", re.IGNORECASE | re.MULTILI… 50 cve_tag_re = re.compile(r"^[\t ]*(CVE:)[\t ]*(.*)", re.IGNORECASE | re.MULTILINE) 51 cve_re = re.compile(r"cve-[0-9]{4}-[0-9]{4,6}", re.IGNORECASE)
|
| /OK3568_Linux_fs/kernel/arch/mips/math-emu/ |
| H A D | sp_maddf.c | 18 int re; in _sp_maddf() local 155 re = xe + ye; in _sp_maddf() 166 re++; in _sp_maddf() 178 return ieee754sp_format(rs, re, rm); in _sp_maddf() 186 if (ze > re) { in _sp_maddf() 190 s = ze - re; in _sp_maddf() 192 re += s; in _sp_maddf() 193 } else if (re > ze) { in _sp_maddf() 197 s = re - ze; in _sp_maddf() 201 assert(ze == re); in _sp_maddf()
|
| /OK3568_Linux_fs/yocto/poky/meta-selftest/lib/oeqa/runtime/cases/ |
| H A D | dnf_runtime.py | 41 import re 44 …self.assertTrue(re.match(r".*Failed to synchronize cache", output_makecache, re.DOTALL) is None, m… 45 …self.assertTrue(re.match(r".*Metadata cache created", output_makecache, re.DOTALL) is not None, ms… 48 matchobj = re.match(r".*Repo-pkgs\s*:\s*(?P<n_pkgs>[0-9]+)", output_repoinfo, re.DOTALL)
|