Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c253 static void add_dumpop(struct readelf *re, size_t si, const char *sn, int op,
295 static bool dump_ar(struct readelf *re, int);
296 static void dump_arm_attributes(struct readelf *re, uint8_t *p, uint8_t *pe);
297 static void dump_attributes(struct readelf *re);
299 static void dump_dwarf(struct readelf *re);
300 static void dump_dwarf_abbrev(struct readelf *re);
301 static void dump_dwarf_aranges(struct readelf *re);
302 static void dump_dwarf_block(struct readelf *re, uint8_t *b,
304 static void dump_dwarf_die(struct readelf *re, Dwarf_Die die, int level);
305 static void dump_dwarf_frame(struct readelf *re, int alt);
[all …]
/freebsd/sys/dev/safe/
H A Dsafe.c331 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()
542 struct safe_ringentry *re = sc->sc_back; in safe_intr() local
546 safe_dump_request(sc, __func__, re); in safe_intr()
556 if (re->re_desc.d_csr != 0) { in safe_intr()
557 if (!SAFE_PE_CSR_IS_DONE(re->re_desc.d_csr)) in safe_intr()
559 if (!SAFE_PE_LEN_IS_DONE(re->re_desc.d_len)) in safe_intr()
562 safe_callback(sc, re); in safe_intr()
596 safe_feed(struct safe_softc *sc, struct safe_ringentry *re) in safe_feed() argument
[all …]
/freebsd/lib/libc/locale/
H A Dnextwctype.c46 _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 Drunetype.c52 _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 Dtoupper.c52 _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 Dtolower.c52 _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 Dif_ath_rx_edma.c207 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 DMakefile45 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 Dmain.c30 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 Dgnum4.c249 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 Dset33 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 Dtest-rewb-bsd.c8 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 Dtest-rewb-sysv.c8 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/crypto/krb5/src/util/
H A Dcstyle-file.py54 import re
137 line = re.sub(r'=\s*{.*}', '', line)
140 if re.search(r'{\s*\S', line):
142 if re.search(r'\S.*}', line):
149 for m in re.finditer(r'([\w]+)(\s*)\(', line):
160 if re.search(r' \)', line):
165 if re.search(r'return\s*\(.*\);', line):
181 for m in re.finditer(r'\(([^(]+)\)(\s*)[a-zA-Z_(]', line):
185 if re.search(r'[^\s\*]\*+$', m.group(1)):
191 if re.match(r'\s*' + binop + r'\s', line):
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-output-test.py43 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 Dgtest_json_test_utils.py32 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)
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dregex.inc12 // [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
57 // [re.submatch.op], sub_match non-member operators
63 // [re.results], class template match_results
75 // [re.results.swap], match_results swap
77 // [re.alg.match], function template regex_match
[all …]
H A Dregex.cppm
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_output_test.py44 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/netbsd-tests/lib/libc/regex/
H A Dmain.c61 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/crypto/openssh/
H A Dlibcrux_internal.h10969 Eurydice_arr_a3 *re, in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round() argument
10975 Eurydice_arr_4d tmp = re->data[index + step_by]; in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round()
10977 re->data[index + step_by] = re->data[index]; in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round()
10978 libcrux_ml_dsa_simd_portable_arithmetic_subtract(&re->data[index + step_by], &tmp); in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round()
10979 libcrux_ml_dsa_simd_portable_arithmetic_add(&re->data[index], &tmp); in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round()
10990 libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_30(Eurydice_arr_a3 *re) in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_30() argument
10995 libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_round(re, j, (size_t)16U, 25847); in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_30()
11000 libcrux_ml_dsa_simd_portable_ntt_ntt_at_layer_7(Eurydice_arr_a3 *re) in libcrux_ml_dsa_simd_portable_ntt_ntt_at_layer_7() argument
11002 libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_30(re); in libcrux_ml_dsa_simd_portable_ntt_ntt_at_layer_7()
11013 libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_300(Eurydice_arr_a3 *re) in libcrux_ml_dsa_simd_portable_ntt_outer_3_plus_300() argument
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A Dgen-punycode-examples.py37 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/tests/sys/netpfil/pf/
H A Dsctp.py5 import re
299 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
300 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
350 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
351 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states)
369 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states)
402 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states)
403 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states)
404 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.3:1234", states)
405 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.2:1234", states)
[all …]
/freebsd/usr.sbin/sa/tests/
H A Dv1-i386-sav.out1 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 Dv1-amd64-sav.out1 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*

12345678910>>...38