/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 252 static void add_dumpop(struct readelf *re, size_t si, const char *sn, int op, 294 static bool dump_ar(struct readelf *re, int); 295 static void dump_arm_attributes(struct readelf *re, uint8_t *p, uint8_t *pe); 296 static void dump_attributes(struct readelf *re); 298 static void dump_dwarf(struct readelf *re); 299 static void dump_dwarf_abbrev(struct readelf *re); 300 static void dump_dwarf_aranges(struct readelf *re); 301 static void dump_dwarf_block(struct readelf *re, uint8_t *b, 303 static void dump_dwarf_die(struct readelf *re, Dwarf_Die die, int level); 304 static void dump_dwarf_frame(struct readelf *re, int alt); [all …]
|
/freebsd/sys/dev/safe/ |
H A D | safe.c | 331 struct safe_ringentry *re = &sc->sc_ring[i]; in safe_attach() local 333 re->re_desc.d_sa = raddr + in safe_attach() 335 re->re_sa.sa_staterec = raddr + in safe_attach() 540 struct safe_ringentry *re = sc->sc_back; in safe_intr() local 544 safe_dump_request(sc, __func__, re); in safe_intr() 554 if (re->re_desc.d_csr != 0) { in safe_intr() 555 if (!SAFE_PE_CSR_IS_DONE(re->re_desc.d_csr)) in safe_intr() 557 if (!SAFE_PE_LEN_IS_DONE(re->re_desc.d_len)) in safe_intr() 560 safe_callback(sc, re); in safe_intr() 594 safe_feed(struct safe_softc *sc, struct safe_ringentry *re) in safe_feed() argument [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() 81 for (; wc <= re->__max; wc++) in nextwctype_l() 82 if (re->__types[wc - re->__min] & wct) in nextwctype_l() 84 } else if (re->__map & wct) 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 | 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()
|
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()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_rx_edma.c | 207 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; in ath_edma_reinit_fifo() local 215 i = re->m_fifo_head; in ath_edma_reinit_fifo() 216 for (j = 0; j < re->m_fifo_depth; j++) { in ath_edma_reinit_fifo() 217 bf = re->m_fifo[i]; in ath_edma_reinit_fifo() 225 INCR(i, re->m_fifolen); in ath_edma_reinit_fifo() 229 if (i != re->m_fifo_tail) { in ath_edma_reinit_fifo() 233 re->m_fifo_tail); in ath_edma_reinit_fifo() 412 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; in ath_edma_recv_proc_queue() local 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() [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 75 -./re -er <tests 77 rx: ./re tests [all …]
|
H A D | main.c | 30 regex_t re; in main() local 77 err = regcomp(&re, argv[optind++], copts); in main() 79 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 84 regprint(&re, stdout); in main() 87 regfree(&re); in main() 95 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main() 97 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 138 regex_t re; in regress() local 184 re.re_endp = bpname; in regress() 185 ne = regerror(REG_ATOI, &re, erbuf, sizeof(erbuf)); in regress() [all …]
|
/freebsd/usr.bin/m4/ |
H A D | gnum4.c | 249 exit_regerror(int er, regex_t *re, const char *source) in exit_regerror() argument 254 errlen = regerror(er, re, NULL, 0); in exit_regerror() 257 regerror(er, re, errbuf, errlen); in exit_regerror() 280 add_sub(int n, const char *string, regex_t *re, regmatch_t *pm) in add_sub() argument 282 if (n > (int)re->re_nsub) in add_sub() 297 add_replace(const char *string, regex_t *re, const char *replace, regmatch_t *pm) in add_replace() argument 303 add_sub(0, string, re, pm); in add_replace() 314 add_sub(0, string, re, pm); in add_replace() 321 add_sub(*(++p) - '0', string, re, pm); in add_replace() 330 do_subst(const char *string, regex_t *re, const char *source, in do_subst() argument [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 20 18 Efface le caractère sous le curseur 21 19 Efface le caractère sous le curseur, ou signale la fin de fichier si ligne vide 22 20 Efface le caractère sous le curseur, ou liste les compléments si fin de ligne 23 21 Efface le caractère sous le curseur, liste les compléments ou signale la fin de fichier 36 34 Avance d'un caractère 39 37 Cherche en arrière dans l'historique une ligne commençant comme la ligne courante 41 39 Insère le dernier elément de la commande précédente [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) 165 test_output = re.sub(r': Failure\n', r': error: ', test_output) 167 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output) 175 output = re.sub(r'\d+ tests?, listed below', '? tests, listed below', output) [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 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 56 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 58 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.cppm |
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | main.c | 61 regex_t re; in main() local 108 err = regcomp(&re, argv[optind++], copts); in main() 110 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 115 regprint(&re, stdout); in main() 118 regfree(&re); in main() 126 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main() 128 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 168 regex_t re; in regress() local 214 re.re_endp = bpname; in regress() 215 ne = regerror(REG_ATOI, &re, erbuf, sizeof(erbuf)); in regress() [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | sctp.py | 5 import re 296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 297 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states) 344 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states) 345 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states) 363 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states) 393 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states) 394 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states) 395 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.3:1234", states) 396 assert re [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/contrib/ofed/opensm/opensm/ |
H A D | osm_opensm.c | 181 struct osm_routing_engine *re; in setup_routing_engine() local 191 re = malloc(sizeof(struct osm_routing_engine)); in setup_routing_engine() 192 if (!re) { in setup_routing_engine() 197 memset(re, 0, sizeof(struct osm_routing_engine)); in setup_routing_engine() 199 re->name = m->name; in setup_routing_engine() 200 re->type = osm_routing_engine_type(m->name); in setup_routing_engine() 201 if (m->setup(re, osm)) { in setup_routing_engine() 205 free(re); in setup_routing_engine() 209 "\'%s\' routing engine set up\n", re->name); in setup_routing_engine() 210 if (re->type == OSM_ROUTING_ENGINE_TYPE_MINHOP) in setup_routing_engine() [all …]
|