/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 2313 dump_eflags(re, re->ehdr.e_flags); in dump_ehdr() 2552 if (re->sl[j].off + re->sl[j].sz > in dump_phdr() 3980 if ((re->ver = calloc(re->ver_sz, sizeof(*re->ver))) == in dump_verdef() 4055 if ((re->ver = calloc(re->ver_sz, sizeof(*re->ver))) == in dump_verneed() 4118 if (re->vs_s == NULL || re->ver == NULL || re->vs == NULL) in dump_versym() 4145 if (re->vs_s && re->ver && re->vs) in dump_ver() 4173 if (re->vs_s && re->ver != NULL) { in search_ver() 7239 if ((re->sl = calloc(re->shnum, sizeof(*re->sl))) == NULL) in load_sections() 7427 re->ar = re->elf; in dump_ar() 7493 re->elf = re->ar; in dump_ar() [all …]
|
/freebsd/sys/dev/safe/ |
H A D | safe.c | 794 sa = &re->re_sa; in safe_process() 1007 re->re_desc.d_src = re->re_src_segs[0].ds_addr; in safe_process() 1020 re->re_dst = re->re_src; in safe_process() 1130 re->re_dst_map, top, re->re_dst_segs, in safe_process() 1139 re->re_dst_mapsize = re->re_src_mapsize; in safe_process() 1200 re->re_desc.d_dst = re->re_dst_segs[0].ds_addr; in safe_process() 1246 if (re->re_dst_map != NULL && re->re_dst_map != re->re_src_map) { in safe_process() 1284 re->re_sa.sa_cmd0, re->re_sa.sa_cmd1); in safe_callback() 1294 if (re->re_dst_map != NULL && re->re_dst_map != re->re_src_map) { in safe_callback() 1849 , re, ix in safe_dump_request() [all …]
|
/freebsd/lib/libc/locale/ |
H A D | nextwctype.c | 46 _RuneEntry *base, *re; in nextwctype_l() local 67 re = base + (lim >> 1); in nextwctype_l() 68 if (re->__min <= wc && wc <= re->__max) in nextwctype_l() 70 else if (wc > re->__max) { in nextwctype_l() 71 base = re + 1; in nextwctype_l() 79 if (re->__min <= wc && wc <= re->__max) { in nextwctype_l() 80 if (re->__types != NULL) { in nextwctype_l() 82 if (re->__types[wc - re->__min] & wct) in nextwctype_l() 88 wc = re->__min; in nextwctype_l() 89 if (re->__types != NULL) { in nextwctype_l() [all …]
|
H A D | runetype.c | 52 _RuneEntry *base, *re; in ___runetype_l() local 60 re = base + (lim >> 1); in ___runetype_l() 61 if (re->__min <= c && c <= re->__max) { in ___runetype_l() 62 if (re->__types) in ___runetype_l() 63 return(re->__types[c - re->__min]); in ___runetype_l() 65 return(re->__map); in ___runetype_l() 66 } else if (c > re->__max) { in ___runetype_l() 67 base = re + 1; in ___runetype_l()
|
H A D | tolower.c | 52 _RuneEntry *base, *re; in ___tolower_l() local 60 re = base + (lim >> 1); in ___tolower_l() 61 if (re->__min <= c && c <= re->__max) in ___tolower_l() 62 return (re->__map + c - re->__min); in ___tolower_l() 63 else if (c > re->__max) { in ___tolower_l() 64 base = re + 1; in ___tolower_l()
|
H A D | toupper.c | 52 _RuneEntry *base, *re; in ___toupper_l() local 60 re = base + (lim >> 1); in ___toupper_l() 61 if (re->__min <= c && c <= re->__max) in ___toupper_l() 63 return (re->__map + c - re->__min); in ___toupper_l() 65 else if (c > re->__max) { in ___toupper_l() 66 base = re + 1; in ___toupper_l()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_rx_edma.c | 446 bf = re->m_fifo[re->m_fifo_head]; in ath_edma_recv_proc_queue() 494 re->m_fifo[re->m_fifo_head] = NULL; in ath_edma_recv_proc_queue() 498 INCR(re->m_fifo_head, re->m_fifolen); in ath_edma_recv_proc_queue() 828 if (re->m_fifo[re->m_fifo_tail] != NULL) { in ath_edma_rxfifo_alloc() 834 re->m_fifo[re->m_fifo_tail]); in ath_edma_rxfifo_alloc() 837 ath_edma_rxbuf_free(sc, re->m_fifo[re->m_fifo_tail]); in ath_edma_rxfifo_alloc() 840 re->m_fifo[re->m_fifo_tail] = NULL; in ath_edma_rxfifo_alloc() 855 re->m_fifo[re->m_fifo_tail] = bf; in ath_edma_rxfifo_alloc() 867 INCR(re->m_fifo_tail, re->m_fifolen); in ath_edma_rxfifo_alloc() 907 re->m_fifo_head = re->m_fifo_tail = re->m_fifo_depth = 0; in ath_edma_rxfifo_flush() [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | Makefile | 45 re: $(OBJS) target 67 r: re tests 68 ./re <tests 69 ./re -el <tests 70 ./re -er <tests 72 ra: ./re tests 73 -./re <tests 74 -./re -el <tests 77 rx: ./re tests 78 ./re -x <tests [all …]
|
H A D | main.c | 30 regex_t re; in main() local 84 regprint(&re, stdout); in main() 87 regfree(&re); in main() 138 regex_t re; in regress() local 184 re.re_endp = bpname; in regress() 205 regex_t re; in try() local 237 regfree(&re); in try() 275 regfree(&re); in try() 296 regfree(&re); in try() 484 regex_t re; in efind() local [all …]
|
/freebsd/usr.bin/m4/ |
H A D | gnum4.c | 282 if (n > (int)re->re_nsub) in add_sub() 303 add_sub(0, string, re, pm); in add_replace() 314 add_sub(0, string, re, pm); in add_replace() 337 while ((error = regexec(re, string, re->re_nsub+1, pm, flags)) == 0) { in do_subst() 376 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexp() 394 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexpindex() 483 regex_t re; in dopatsubst() local 501 do_subst(argv[2], &re, source, in dopatsubst() 504 regfree(&re); in dopatsubst() 513 regex_t re; in doregexp() local [all …]
|
/freebsd/contrib/tcsh/nls/french/ |
H A D | set3 | 3 1 Recule d'un caractère 4 2 Efface le caractère derrière le curseur 10 8 Vi change la casse du caractère sous le curseur et avance d'un caractère 36 34 Avance d'un caractère 74 72 Caractère tty d'interruption 75 73 Caractère tty de sortie 76 74 Caractère tty de suspension 86 84 Vi change la casse du caractère sous le curseur et avance d'un caractère 91 89 Vi va au caractère précédent (retour-arrière) 105 103 Vi remplace le caractère sous le curseur avec le prochain caractère saisi [all …]
|
/freebsd/contrib/mandoc/ |
H A D | test-rewb-bsd.c | 8 regex_t re; in main() local 10 if (regcomp(&re, "[[:<:]]word[[:>:]]", REG_EXTENDED | REG_NOSUB)) in main() 12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main() 14 if (regexec(&re, "same word", 0, NULL, 0)) in main() 16 if (regexec(&re, "word again", 0, NULL, 0)) in main() 18 if (regexec(&re, "word", 0, NULL, 0)) in main() 20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main() 22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main() 24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
|
H A D | test-rewb-sysv.c | 8 regex_t re; in main() local 10 if (regcomp(&re, "\\<word\\>", REG_EXTENDED | REG_NOSUB)) in main() 12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main() 14 if (regexec(&re, "same word", 0, NULL, 0)) in main() 16 if (regexec(&re, "word again", 0, NULL, 0)) in main() 18 if (regexec(&re, "word", 0, NULL, 0)) in main() 20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main() 22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main() 24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-output-test.py | 43 import re 115 return re.sub( 126 return re.sub( 135 return re.sub(r'Stack trace:(.|\n)*?\n', '', output) 141 return re.sub(r'\(\d+ ms', '(? ms', output) 155 return re.sub(r'unsigned int', 'unsigned', test_output) 163 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output) 177 output = re.sub( 181 return re.sub(r'\d+ tests?\.', '? tests.', output) 199 test_output = re.sub( [all …]
|
H A D | gtest_json_test_utils.py | 32 import re 48 return re.sub(r'^\d+(\.\d+)?s$', '*', value) 50 return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value) 52 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 53 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 55 return re.sub(r'^.*[/\\](.*)', '\\1', value)
|
H A D | gtest_xml_test_utils.py | 32 import re 213 source_file.value = re.sub(r'^.*[/\\](.*)', '\\1', source_file.value) 216 timestamp.value = re.sub( 223 time.value = re.sub(r'^\d+\.(\d+)?$', '*', time.value) 231 message.value = re.sub(source_line_pat, '\\1*\n', message.value) 235 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue) 237 child.nodeValue = re.sub(
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock_output_test.py | 44 import re 67 output = re.sub(r'.*gtest_main.*\n', '', output) 68 output = re.sub(r'\[.*\d+ tests.*\n', '', output) 69 output = re.sub(r'\[.* test environment .*\n', '', output) 70 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output) 71 output = re.sub(r'.* FAILED TESTS\n', '', output) 88 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output) 94 return re.sub(r' error: ', ' Failure\n', output) 100 return re.sub(r'@\w+', '@0x#', output) 106 return re.sub(r'\(used in test .+\) ', '', output) [all …]
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | regex.inc | 12 // [re.const], regex constants 30 // [re.badexp], class regex_error 33 // [re.traits], class template regex_traits 36 // [re.regex], class template basic_regex 44 // [re.regex.swap], basic_regex swap 47 // [re.submatch], class template sub_match 63 // [re.results], class template match_results 75 // [re.results.swap], match_results swap 77 // [re.alg.match], function template regex_match 80 // [re.alg.search], function template regex_search [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | main.c | 61 regex_t re; in main() local 115 regprint(&re, stdout); in main() 118 regfree(&re); in main() 168 regex_t re; in regress() local 214 re.re_endp = bpname; in regress() 234 regex_t re; in try() local 269 regfree(&re); in try() 308 regfree(&re); in try() 329 regfree(&re); in try() 519 regex_t re; in efind() local [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | gen-punycode-examples.py | 37 import re 62 l2 = re.sub('^ *', '', l2) 65 if re.match('7\.2', l): 68 m = re.search('^ *\([A-Z]\) *(.*)$', l); 73 m = re.search('^ *([uU]+.*) *$', l) 77 m = re.search('^ *Punycode: (.*) *$', l) 81 if re.match('^7\.1', l): 118 string.join([re.sub('[uU]\+', '0x', x) for x in cp], ', '),
|
/freebsd/usr.sbin/sa/tests/ |
H A D | v1-i386-sav.out | 1 28 0.425re 0.10cp 143avio 477k 2 14 0.220re 0.10cp 286avio 411k ***other 3 2 0.000re 0.00cp 0avio 0k 1234567890123456 4 3 0.000re 0.00cp 0avio 0k ln 5 9 0.205re 0.00cp 0avio 40400k time
|
H A D | v1-amd64-sav.out | 1 28 0.282re 0.06cp 40avio 957k 2 13 0.141re 0.06cp 87avio 903k ***other 3 3 0.000re 0.00cp 0avio 0k ln 4 9 0.141re 0.00cp 0avio 19700k time 5 3 0.000re 0.00cp 0avio 0k time*
|
/freebsd/contrib/pam_modules/pam_passwdqc/ |
H A D | LICENSE | 1 You're allowed to do whatever you like with this software (including 2 re-distribution in source and/or binary form, with or without 6 Note that you don't have to re-distribute this software under these 7 same relaxed terms. In particular, you're free to place modified 8 versions under (L)GPL, thus disallowing further re-distribution in
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | sctp.py | 5 import re 295 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states) 342 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 343 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states) 390 assert re.search(r".*sctp 192.0.2.1:.*192.0.2.3:1234", states) 391 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states) 392 assert re.search(r".*sctp 192.0.2.4:.*192.0.2.3:1234", states) 393 assert re.search(r"all sctp 192.0.2.4:.*192.0.2.2:1234", states) 444 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states) [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_opensm.c | 181 struct osm_routing_engine *re; in setup_routing_engine() local 192 if (!re) { in setup_routing_engine() 199 re->name = m->name; in setup_routing_engine() 201 if (m->setup(re, osm)) { in setup_routing_engine() 205 free(re); in setup_routing_engine() 211 osm->default_routing_engine = re; in setup_routing_engine() 212 return re; in setup_routing_engine() 224 struct osm_routing_engine *re; in setup_routing_engines() local 230 re = setup_routing_engine(osm, name); in setup_routing_engines() 231 if (re) in setup_routing_engines() [all …]
|