/openbmc/linux/arch/x86/crypto/ |
H A D | serpent-sse2-i586-asm_32.S | 31 #define RE %xmm4 macro 513 read_blocks(%eax, RA, RB, RC, RD, RT0, RT1, RE); 515 K(RA, RB, RC, RD, RE, 0); 516 S0(RA, RB, RC, RD, RE); LK(RC, RB, RD, RA, RE, 1); 517 S1(RC, RB, RD, RA, RE); LK(RE, RD, RA, RC, RB, 2); 518 S2(RE, RD, RA, RC, RB); LK(RB, RD, RE, RC, RA, 3); 519 S3(RB, RD, RE, RC, RA); LK(RC, RA, RD, RB, RE, 4); 520 S4(RC, RA, RD, RB, RE); LK(RA, RD, RB, RE, RC, 5); 521 S5(RA, RD, RB, RE, RC); LK(RC, RA, RD, RE, RB, 6); 522 S6(RC, RA, RD, RE, RB); LK(RD, RB, RA, RE, RC, 7); [all …]
|
H A D | serpent-sse2-x86_64-asm_64.S | 636 K2(RA, RB, RC, RD, RE, 0); 637 S(S0, RA, RB, RC, RD, RE); LK2(RC, RB, RD, RA, RE, 1); 638 S(S1, RC, RB, RD, RA, RE); LK2(RE, RD, RA, RC, RB, 2); 639 S(S2, RE, RD, RA, RC, RB); LK2(RB, RD, RE, RC, RA, 3); 640 S(S3, RB, RD, RE, RC, RA); LK2(RC, RA, RD, RB, RE, 4); 641 S(S4, RC, RA, RD, RB, RE); LK2(RA, RD, RB, RE, RC, 5); 642 S(S5, RA, RD, RB, RE, RC); LK2(RC, RA, RD, RE, RB, 6); 643 S(S6, RC, RA, RD, RE, RB); LK2(RD, RB, RA, RE, RC, 7); 644 S(S7, RD, RB, RA, RE, RC); LK2(RC, RA, RE, RD, RB, 8); 645 S(S0, RC, RA, RE, RD, RB); LK2(RE, RA, RD, RC, RB, 9); [all …]
|
H A D | serpent-avx2-asm_64.S | 566 K2(RA, RB, RC, RD, RE, 0); 567 S(S0, RA, RB, RC, RD, RE); LK2(RC, RB, RD, RA, RE, 1); 568 S(S1, RC, RB, RD, RA, RE); LK2(RE, RD, RA, RC, RB, 2); 569 S(S2, RE, RD, RA, RC, RB); LK2(RB, RD, RE, RC, RA, 3); 570 S(S3, RB, RD, RE, RC, RA); LK2(RC, RA, RD, RB, RE, 4); 571 S(S4, RC, RA, RD, RB, RE); LK2(RA, RD, RB, RE, RC, 5); 572 S(S5, RA, RD, RB, RE, RC); LK2(RC, RA, RD, RE, RB, 6); 573 S(S6, RC, RA, RD, RE, RB); LK2(RD, RB, RA, RE, RC, 7); 574 S(S7, RD, RB, RA, RE, RC); LK2(RC, RA, RE, RD, RB, 8); 575 S(S0, RC, RA, RE, RD, RB); LK2(RE, RA, RD, RC, RB, 9); [all …]
|
H A D | serpent-avx-x86_64-asm_64.S | 566 K2(RA, RB, RC, RD, RE, 0); 567 S(S0, RA, RB, RC, RD, RE); LK2(RC, RB, RD, RA, RE, 1); 568 S(S1, RC, RB, RD, RA, RE); LK2(RE, RD, RA, RC, RB, 2); 569 S(S2, RE, RD, RA, RC, RB); LK2(RB, RD, RE, RC, RA, 3); 570 S(S3, RB, RD, RE, RC, RA); LK2(RC, RA, RD, RB, RE, 4); 571 S(S4, RC, RA, RD, RB, RE); LK2(RA, RD, RB, RE, RC, 5); 572 S(S5, RA, RD, RB, RE, RC); LK2(RC, RA, RD, RE, RB, 6); 573 S(S6, RC, RA, RD, RE, RB); LK2(RD, RB, RA, RE, RC, 7); 574 S(S7, RD, RB, RA, RE, RC); LK2(RC, RA, RE, RD, RB, 8); 575 S(S0, RC, RA, RE, RD, RB); LK2(RE, RA, RD, RC, RB, 9); [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/jack/jack/ |
H A D | 0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch | 44 import copy, re, os 46 -re_imp = re.compile('^(#)*?([^#=]*?)\ =\ (.*?)$', re.M) 47 +re_imp = re.compile(r'^(#)*?([^#=]*?)\ =\ (.*?)$', re.M) 72 -re_cond = re.compile('(?P<var>\w+)|(?P<or>\|)|(?P<and>&)') 73 +re_cond = re.compile(r'(?P<var>\w+)|(?P<or>\|)|(?P<and>&)') 74 re_novar = re.compile(r'^(SRC|TGT)\W+.*?$') 75 …reg_act = re.compile(r'(?P<backslash>\\)|(?P<dollar>\$\$)|(?P<subst>\$\{(?P<var>\w+)(?P<code>.*?)\… 85 -re_m4 = re.compile('@(\w+)@', re.M) 86 +re_m4 = re.compile(r'@(\w+)@', re.M) 107 @@ -75,13 +75,13 @@ re_lines = re.compile( [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel-arch.bbclass | 27 import re 31 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 32 elif re.match('arceb$', a): return 'arc' 33 elif re.match('armeb$', a): return 'arm' 34 elif re.match('aarch64$', a): return 'arm64' 35 elif re.match('aarch64_be$', a): return 'arm64' 36 elif re.match('aarch64_ilp32$', a): return 'arm64' 37 elif re.match('aarch64_be_ilp32$', a): return 'arm64' 38 elif re.match('loongarch(32|64|)$', a): return 'loongarch' 39 elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'mips' [all …]
|
/openbmc/openbmc/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(r'^(struct|const struct|static struct|static const struct).*?(\w+) (.*… 40 field_regex = re.compile(r'{.*?},', re.MULTILINE | re.DOTALL ) 41 cpuid_regex = re.compile(r'\.cpuid = (.*?),', re.MULTILINE | re.DOTALL ) 42 name_regex = re.compile(r'\.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 …]
|
/openbmc/openbmc/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 …]
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | test_regexps.py | 14 return re.fullmatch(regexp, s, re.MULTILINE) 31 assert re.search(RE_MACRO_DEFINE, r''' 38 ''', re.MULTILINE) 42 assert not re.match(RE_CHECK_MACRO, r''' 48 } while (0)''', re.MULTILINE) 59 assert re.search(RE_TYPEINFO_START, r''' 67 ''', re.MULTILINE) 68 assert re.search(RE_TYPEINFO_START, r''' 74 };''', re.MULTILINE) 128 assert re.search(TypeInfoVar.regexp, test_simple, re.MULTILINE) [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 45 #define re w7 macro 358 ldp re, rf, [RSTATE, #16] 401 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 0, 0, IW, _, 0) 402 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 1, 1, IW, _, 0) 403 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 2, 2, IW, _, 0) 404 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 3, 3, IW, _, 0) 407 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 4, 0, IW, _, 0) 408 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 5, 1, IW, _, 0) 409 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 6, 2, IW, SCHED_W_W0W1W2W3W4W5_1, 12) 410 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 7, 3, IW, SCHED_W_W0W1W2W3W4W5_2, 12) [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | go.py | 7 import re 10 if re.match('i.86', a): 14 elif re.match('arm.*', a): 16 elif re.match('aarch64.*', a): 18 elif re.match('mips64el.*', a): 20 elif re.match('mips64.*', a): 26 elif re.match('p(pc|owerpc)(64le)', a): 28 elif re.match('p(pc|owerpc)(64)', a):
|
/openbmc/linux/fs/btrfs/ |
H A D | ref-verify.c | 63 * free it until we unmount the file system in order to make sure re-allocations 120 struct root_entry *re) in insert_root_entry() argument 129 if (entry->root_objectid > re->root_objectid) in insert_root_entry() 131 else if (entry->root_objectid < re->root_objectid) in insert_root_entry() 137 rb_link_node(&re->node, parent_node, p); in insert_root_entry() 138 rb_insert_color(&re->node, root); in insert_root_entry() 237 struct root_entry *re; in free_block_entry() local 243 re = rb_entry(n, struct root_entry, node); in free_block_entry() 244 rb_erase(&re->node, &be->roots); in free_block_entry() 245 kfree(re); in free_block_entry() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | checkstack.pl | 27 # $re is used for two matches: 28 # $& (whole re) matches the complete objdump line with the stack growth 32 # $& (whole re) matches the complete objdump line with the stack growth 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; [all …]
|
/openbmc/qemu/scripts/ |
H A D | xml-preprocess.py | 67 import re 87 matches = re.findall(include_regex, xml_str) 97 matches = re.findall(envvar_regex, xml_str) 104 matches = re.findall(sysvar_regex, xml_str) 111 matches = re.findall(define_regex, xml_str) 118 matches = re.findall(cusvar_regex, xml_str) 128 matches = re.findall(foreach_regex, xml_str) 139 matches = re.findall(error_regex, xml_str) 143 matches = re.findall(warning_regex, xml_str) 153 matches = re.findall(ifelif_regex, xml_str) [all …]
|
H A D | python_qmp_updater.py | 8 import re 12 start_reg = re.compile(r'^(?P<padding> *)(?P<res>\w+) = (?P<vm>.*).qmp\(', 13 flags=re.MULTILINE) 15 success_reg_templ = re.sub('\n *', '', r""" 28 some_check_templ = re.sub('\n *', '', r""" 34 padding: str, res: str) -> Optional[re.Match[str]]: 35 return re.match(template.format(padding=padding, res=res), text, 36 flags=re.MULTILINE) 103 m_args = re.search('(?P<pad> *).*$', args) 117 args = re.sub('\n' + ' ' * drop, '\n', args)
|
/openbmc/linux/scripts/ |
H A D | checkstack.pl | 29 # $re is used for two matches: 30 # $& (whole re) matches the complete objdump line with the stack growth 34 # $& (whole re) matches the complete objdump line with the stack growth 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; [all …]
|
/openbmc/linux/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)
|
/openbmc/u-boot/lib/ |
H A D | slre.c | 180 r->err_str = "RE is too long (code overflow)"; in emit() 189 r->err_str = "RE is too long (data overflow)"; in store_char_in_data() 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() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | test_functional_basic.py | 10 import re 46 …self.assertTrue(re.search("Custom images",self.driver.find_element(By.XPATH, "//div[@class='col-md… 53 …self.assertTrue(re.search("Compatible image recipes",self.driver.find_element(By.XPATH, "//div[@cl… 60 …self.assertTrue(re.search("Compatible software recipes",self.driver.find_element(By.XPATH, "//div[… 67 …self.assertTrue(re.search("Compatible machines",self.driver.find_element(By.XPATH, "//div[@class='… 74 …self.assertTrue(re.search("Compatible layers",self.driver.find_element(By.XPATH, "//div[@class='co… 81 …self.assertTrue(re.search("Bitbake variables",self.driver.find_element(By.XPATH, "//div[@class='co… 93 …self.assertTrue(re.search("qemux86-64",self.driver.find_element(By.XPATH, "//span[@id='project-mac… 110 …self.assertTrue(re.search("Yocto Project master",self.driver.find_element(By.XPATH, "//span[@id='p… 115 …self.assertTrue(re.search("3",self.driver.find_element(By.ID, "project-layers-count").text),'There… [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_synctypes.py | 7 import re 37 array_start = re.search(start_marker, self.reader.read()) 52 if not line or re.match(end_marker, line): 65 end_marker = re.compile('^};') 69 self.start_marker = re.compile(f'(static )?const bool {self.array_name}\[.*\] = {{\n') 83 pattern = re.compile('\[(BPF_\w*)\]\s*= (true|false),?$') 87 if line == '' or re.match(self.end_marker, line): 111 if re.search(end_marker, line): 180 start_marker = re.compile(f'enum {enum_name} {{\n') 181 pattern = re.compile('^\s*(BPF_\w+),?(\s+/\*.*\*/)?$') [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tslib/tslib/ |
H A D | ts.conf | 4 # Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d 7 # Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860 10 # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface 13 # Uncomment if you're using an HP iPaq h3600 or similar 16 # Uncomment if you're using a Hitachi Webpad 19 # Uncomment if you're using an IBM Arctic II
|
/openbmc/entity-manager/scripts/ |
H A D | autojson.py | 7 import re 11 # Trying to parse JSON comments and then being able to re-insert them into 12 # the correct location on a re-emitted and sorted JSON would be very difficult. 24 # - No attempts to re-indent multi-line comments will be made. 33 single_line_pattern = re.compile(r"\s*//.*$") 34 multi_line_start_pattern = re.compile(r"/\*") 35 multi_line_end_pattern = re.compile(r".*\*/", re.MULTILINE | re.DOTALL) 77 # Re-insert the saved off comments into a JSON-like string.
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | cdev.c | 13 * manipulate whole volumes: create, remove, and re-size them. Volume character 651 * verify_rsvol_req - verify volume re-size request. 672 * @req: volumes re-name request 674 * This is a helper function for the volume re-name IOCTL which validates the 684 struct ubi_rename_entry *re, *re1; in rename_volumes() local 723 /* Create the re-name list */ in rename_volumes() 730 re = kzalloc(sizeof(struct ubi_rename_entry), GFP_KERNEL); in rename_volumes() 731 if (!re) { in rename_volumes() 736 re->desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_METAONLY); in rename_volumes() 737 if (IS_ERR(re->desc)) { in rename_volumes() [all …]
|
/openbmc/linux/fs/sysfs/ |
H A D | symlink.c | 57 * @kn: directory we're creating the link in. 58 * @target: object we're pointing to. 85 * @kobj: object whose directory we're creating the link in. 86 * @target: object we're pointing to. 98 * @kobj: object whose directory we're creating the link in. 99 * @target: object we're pointing to. 114 * @kobj: object we're acting for. 115 * @targ: object we're pointing to. 140 * @kobj: object we're acting for. 158 * @kobj: object we're acting for. [all …]
|
/openbmc/linux/Documentation/sphinx/ |
H A D | automarkup.py | 15 import re 19 # Python 2 lacks re.ASCII... 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\-/]+)\.(rst|txt)') [all …]
|