| /freebsd-12-stable/contrib/elftoolchain/readelf/ |
| D | readelf.c | 241 static void add_dumpop(struct readelf *re, size_t si, const char *sn, int op, 283 static bool dump_ar(struct readelf *re, int); 284 static void dump_arm_attributes(struct readelf *re, uint8_t *p, uint8_t *pe); 285 static void dump_attributes(struct readelf *re); 287 static void dump_dwarf(struct readelf *re); 288 static void dump_dwarf_abbrev(struct readelf *re); 289 static void dump_dwarf_aranges(struct readelf *re); 290 static void dump_dwarf_block(struct readelf *re, uint8_t *b, 292 static void dump_dwarf_die(struct readelf *re, Dwarf_Die die, int level); 293 static void dump_dwarf_frame(struct readelf *re, int alt); [all …]
|
| /freebsd-12-stable/sys/dev/safe/ |
| 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() 551 struct safe_ringentry *re = sc->sc_back; in safe_intr() local 555 safe_dump_request(sc, __func__, re); in safe_intr() 565 if (re->re_desc.d_csr != 0) { in safe_intr() 566 if (!SAFE_PE_CSR_IS_DONE(re->re_desc.d_csr)) in safe_intr() 568 if (!SAFE_PE_LEN_IS_DONE(re->re_desc.d_len)) in safe_intr() 571 safe_callback(sc, re); in safe_intr() 605 safe_feed(struct safe_softc *sc, struct safe_ringentry *re) in safe_feed() argument [all …]
|
| /freebsd-12-stable/lib/libc/locale/ |
| D | nextwctype.c | 49 _RuneEntry *base, *re; in nextwctype_l() local 70 re = base + (lim >> 1); in nextwctype_l() 71 if (re->__min <= wc && wc <= re->__max) in nextwctype_l() 73 else if (wc > re->__max) { in nextwctype_l() 74 base = re + 1; in nextwctype_l() 82 if (re->__min <= wc && wc <= re->__max) { in nextwctype_l() 83 if (re->__types != NULL) { in nextwctype_l() 84 for (; wc <= re->__max; wc++) in nextwctype_l() 85 if (re->__types[wc - re->__min] & wct) in nextwctype_l() 87 } else if (re->__map & wct) in nextwctype_l() [all …]
|
| D | runetype.c | 55 _RuneEntry *base, *re; in ___runetype_l() local 63 re = base + (lim >> 1); in ___runetype_l() 64 if (re->__min <= c && c <= re->__max) { in ___runetype_l() 65 if (re->__types) in ___runetype_l() 66 return(re->__types[c - re->__min]); in ___runetype_l() 68 return(re->__map); in ___runetype_l() 69 } else if (c > re->__max) { in ___runetype_l() 70 base = re + 1; in ___runetype_l()
|
| D | tolower.c | 55 _RuneEntry *base, *re; in ___tolower_l() local 63 re = base + (lim >> 1); in ___tolower_l() 64 if (re->__min <= c && c <= re->__max) in ___tolower_l() 65 return (re->__map + c - re->__min); in ___tolower_l() 66 else if (c > re->__max) { in ___tolower_l() 67 base = re + 1; in ___tolower_l()
|
| D | toupper.c | 55 _RuneEntry *base, *re; in ___toupper_l() local 63 re = base + (lim >> 1); in ___toupper_l() 64 if (re->__min <= c && c <= re->__max) in ___toupper_l() 66 return (re->__map + c - re->__min); in ___toupper_l() 68 else if (c > re->__max) { in ___toupper_l() 69 base = re + 1; in ___toupper_l()
|
| /freebsd-12-stable/sys/dev/ath/ |
| D | if_ath_rx_edma.c | 209 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; in ath_edma_reinit_fifo() local 217 i = re->m_fifo_head; in ath_edma_reinit_fifo() 218 for (j = 0; j < re->m_fifo_depth; j++) { in ath_edma_reinit_fifo() 219 bf = re->m_fifo[i]; in ath_edma_reinit_fifo() 227 INCR(i, re->m_fifolen); in ath_edma_reinit_fifo() 231 if (i != re->m_fifo_tail) { in ath_edma_reinit_fifo() 235 re->m_fifo_tail); in ath_edma_reinit_fifo() 414 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; in ath_edma_recv_proc_queue() local 448 bf = re->m_fifo[re->m_fifo_head]; in ath_edma_recv_proc_queue() 496 re->m_fifo[re->m_fifo_head] = NULL; in ath_edma_recv_proc_queue() [all …]
|
| /freebsd-12-stable/lib/libc/regex/grot/ |
| D | Makefile | 46 re: $(OBJS) target 68 r: re tests 69 ./re <tests 70 ./re -el <tests 71 ./re -er <tests 73 ra: ./re tests 74 -./re <tests 75 -./re -el <tests 76 -./re -er <tests 78 rx: ./re tests [all …]
|
| D | main.c | 33 regex_t re; in main() local 80 err = regcomp(&re, argv[optind++], copts); in main() 82 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 87 regprint(&re, stdout); in main() 90 regfree(&re); in main() 98 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main() 100 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 141 regex_t re; in regress() local 187 re.re_endp = bpname; in regress() 188 ne = regerror(REG_ATOI, &re, erbuf, sizeof(erbuf)); in regress() [all …]
|
| /freebsd-12-stable/usr.bin/m4/ |
| D | gnum4.c | 251 exit_regerror(int er, regex_t *re, const char *source) in exit_regerror() argument 256 errlen = regerror(er, re, NULL, 0); in exit_regerror() 259 regerror(er, re, errbuf, errlen); in exit_regerror() 282 add_sub(int n, const char *string, regex_t *re, regmatch_t *pm) in add_sub() argument 284 if (n > (int)re->re_nsub) in add_sub() 299 add_replace(const char *string, regex_t *re, const char *replace, regmatch_t *pm) in add_replace() argument 305 add_sub(0, string, re, pm); in add_replace() 316 add_sub(0, string, re, pm); in add_replace() 323 add_sub(*(++p) - '0', string, re, pm); in add_replace() 332 do_subst(const char *string, regex_t *re, const char *source, in do_subst() argument [all …]
|
| /freebsd-12-stable/contrib/tcsh/nls/french/ |
| 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-12-stable/contrib/mandoc/ |
| 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()
|
| 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()
|
| /freebsd-12-stable/contrib/googletest/googletest/test/ |
| D | googletest-output-test.py | 43 import re 104 return re.sub(r'.*[/\\]((googletest-output-test_|gtest).cc)(\:\d+|\(\d+\))\: ', 112 return re.sub(r'Stack trace:(.|\n)*?\n\n', 120 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 126 return re.sub(r'\(\d+ ms', '(? ms', output) 140 return re.sub(r'unsigned int', 'unsigned', test_output) 148 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output) 150 test_output = re.sub(r': Failure\n', r': error: ', test_output) 152 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output) 160 output = re.sub(r'\d+ tests?, listed below', [all …]
|
| /freebsd-12-stable/contrib/googletest/googlemock/test/ |
| D | gmock_output_test.py | 43 import re 66 output = re.sub(r'.*gtest_main.*\n', '', output) 67 output = re.sub(r'\[.*\d+ tests.*\n', '', output) 68 output = re.sub(r'\[.* test environment .*\n', '', output) 69 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output) 70 output = re.sub(r'.* FAILED TESTS\n', '', output) 87 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output) 93 return re.sub(r' error: ', ' Failure\n', output) 99 return re.sub(r'@\w+', '@0x#', output) 105 return re.sub(r'\(used in test .+\) ', '', output) [all …]
|
| /freebsd-12-stable/contrib/binutils/binutils/ |
| D | rescoff.c | 213 rc_res_entry *re; in read_coff_res_dir() local 231 re = (rc_res_entry *) res_alloc (sizeof *re); in read_coff_res_dir() 232 re->next = NULL; in read_coff_res_dir() 233 re->id.named = 1; in read_coff_res_dir() 235 re->id.u.n.length = length; in read_coff_res_dir() 236 re->id.u.n.name = (unichar *) res_alloc (length * sizeof (unichar)); in read_coff_res_dir() 238 re->id.u.n.name[j] = windres_get_16 (wrbfd, ers + j * 2 + 2, 2); in read_coff_res_dir() 241 type = &re->id; in read_coff_res_dir() 248 re->subdir = 1; in read_coff_res_dir() 249 re->u.dir = read_coff_res_dir (wrbfd, finfo->data + rva, finfo, type, in read_coff_res_dir() [all …]
|
| D | resres.c | 223 const rc_res_entry *re; in write_res_directory() local 225 for (re = rd->entries; re != NULL; re = re->next) in write_res_directory() 234 type = &re->id; in write_res_directory() 240 name = &re->id; in write_res_directory() 246 if (! re->id.named in write_res_directory() 247 && re->id.u.id != (unsigned long) *language in write_res_directory() 248 && (re->id.u.id & 0xffff) == re->id.u.id) in write_res_directory() 250 *language = re->id.u.id; in write_res_directory() 258 if (re->subdir) in write_res_directory() 259 off = write_res_directory (wrbfd, off, re->u.dir, type, name, language, in write_res_directory() [all …]
|
| /freebsd-12-stable/tools/debugscripts/ |
| D | kld_deb.py | 33 import re 37 filenamere = re.compile(r'filename\s+=\s+0x[0-9a-f]+\s("(?P<fn>[^"]+)"|(?P<error><[^>]*>))', re.M) 38 addressre = re.compile(r'address\s+=\s+(?P<ad>0x[0-9a-f]+)', re.M) 39 nextre = re.compile(r'tqe_next\s+=\s+(?P<ad>0x[0-9a-f]+)', re.M) 40 printre = re.compile(r'\$\d+\s+=\s+') 70 def searchfor(inp, re, j = 0, l = None): argument 78 ret = re.search(l) 84 ret = re.search(l)
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libc/regex/ |
| 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-12-stable/crypto/heimdal/lib/wind/ |
| 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-12-stable/contrib/dtc/ |
| D | flattree.c | 319 struct reserve_info *re; in flatten_reserve_list() local 324 for (re = reservelist; re; re = re->next) { in flatten_reserve_list() 325 d = data_append_re(d, &re->re); in flatten_reserve_list() 475 struct reserve_info *re; in dt_to_asm() local 540 for (re = dti->reservelist; re; re = re->next) { in dt_to_asm() 543 for_each_label(re->labels, l) { in dt_to_asm() 547 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.address >> 32)); in dt_to_asm() 549 (unsigned int)(re->re.address & 0xffffffff)); in dt_to_asm() 550 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size >> 32)); in dt_to_asm() 551 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size & 0xffffffff)); in dt_to_asm() [all …]
|
| /freebsd-12-stable/usr.sbin/sa/tests/ |
| D | v1-sparc64-sav.out | 1 28 1.839re 0.66cp 161avio 252k 2 14 0.930re 0.66cp 322avio 197k ***other 3 9 0.908re 0.00cp 0avio 10190k time 4 3 0.001re 0.00cp 0avio 16256k ln 5 2 0.001re 0.00cp 0avio 27900k 1234567890123456
|
| 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
|
| 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-12-stable/contrib/googletest/googletest/scripts/ |
| D | pump.py | 68 import re 73 (re.compile(r'\$var\s+'), '$var'), 74 (re.compile(r'\$elif\s+'), '$elif'), 75 (re.compile(r'\$else\s+'), '$else'), 76 (re.compile(r'\$for\s+'), '$for'), 77 (re.compile(r'\$if\s+'), '$if'), 78 (re.compile(r'\$range\s+'), '$range'), 79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'), 80 (re.compile(r'\$\(\$\)'), '$($)'), 81 (re.compile(r'\$'), '$'), [all …]
|