Searched refs:re (Results 1 - 25 of 266) sorted by relevance

1234567891011

/freebsd-11-stable/contrib/mdocml/
H A Dtest-rewb-bsd.c8 regex_t re; local
10 if (regcomp(&re, "[[:<:]]word[[:>:]]", REG_EXTENDED | REG_NOSUB))
12 if (regexec(&re, "the word is here", 0, NULL, 0))
14 if (regexec(&re, "same word", 0, NULL, 0))
16 if (regexec(&re, "word again", 0, NULL, 0))
18 if (regexec(&re, "word", 0, NULL, 0))
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH)
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH)
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH)
H A Dtest-rewb-sysv.c8 regex_t re; local
10 if (regcomp(&re, "\\<word\\>", REG_EXTENDED | REG_NOSUB))
12 if (regexec(&re, "the word is here", 0, NULL, 0))
14 if (regexec(&re, "same word", 0, NULL, 0))
16 if (regexec(&re, "word again", 0, NULL, 0))
18 if (regexec(&re, "word", 0, NULL, 0))
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH)
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH)
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH)
/freebsd-11-stable/contrib/bmake/
H A Dfind_lib.sh2 re=$1; shift
6 found=`nm $lib | egrep "$re"`
/freebsd-11-stable/lib/libc/locale/
H A Dnextwctype.c47 _RuneEntry *base, *re; local
68 re = base + (lim >> 1);
69 if (re->__min <= wc && wc <= re->__max)
71 else if (wc > re->__max) {
72 base = re + 1;
80 if (re->__min <= wc && wc <= re->__max) {
81 if (re->__types != NULL) {
82 for (; wc <= re
[all...]
H A Dtolower.c53 _RuneEntry *base, *re; local
61 re = base + (lim >> 1);
62 if (re->__min <= c && c <= re->__max)
63 return (re->__map + c - re->__min);
64 else if (c > re->__max) {
65 base = re + 1;
H A Dtoupper.c53 _RuneEntry *base, *re; local
61 re = base + (lim >> 1);
62 if (re->__min <= c && c <= re->__max)
64 return (re->__map + c - re->__min);
66 else if (c > re->__max) {
67 base = re + 1;
H A Drunetype.c53 _RuneEntry *base, *re; local
61 re = base + (lim >> 1);
62 if (re->__min <= c && c <= re->__max) {
63 if (re->__types)
64 return(re->__types[c - re->__min]);
66 return(re->__map);
67 } else if (c > re->__max) {
68 base = re
[all...]
/freebsd-11-stable/contrib/serf/build/
H A Dgen_def.py29 import re namespace
43 _funcs = re.compile(r'^(?:(?:\w+|\*) )+\*?(serf_[a-z][a-zA-Z_0-9]*)\(',
44 re.MULTILINE)
50 _types = re.compile(r'^extern const serf_bucket_type_t (serf_[a-z_]*);',
51 re.MULTILINE)
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Drfc3454.py37 import re
50 m = re.search('^ *----- End Table ([A-Z0-9\.]+) ----- *$', l)
56 if re.search('^ *----- Start Table ([A-Z0-9\.]+) ----- *$', l):
H A DUnicodeData.py37 import re
48 l = re.sub('#.*$', '', l)
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], ', '),
H A Dgen-bidi.py37 import re
83 m = re.search('^ *([0-9A-F]+)-([0-9A-F]+) *$', l)
90 m = re.search('^ *([0-9A-F]+) *$', l)
/freebsd-11-stable/lib/libc/regex/grot/
H A DMakefile35 # Stuff that matters only if you're trying to lint the package.
46 re: $(OBJS)
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
[all...]
H A Dmain.c33 regex_t re; local
71 fprintf(stderr, "[-c copt][-C][-d] [re]\n");
80 err = regcomp(&re, argv[optind++], copts);
82 len = regerror(err, &re, erbuf, sizeof(erbuf));
87 regprint(&re, stdout);
90 regfree(&re);
98 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
100 len = regerror(err, &re, erbuf, sizeof(erbuf));
141 regex_t re; local
187 re
208 regex_t re; local
487 regex_t re; local
[all...]
/freebsd-11-stable/contrib/elftoolchain/readelf/
H A Dreadelf.c241 static void add_dumpop(struct readelf *re, size_t si, const char *sn, int op,
283 static void 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, in
2225 dump_ehdr(struct readelf *re) argument
2322 dump_eflags(struct readelf *re, uint64_t e_flags) argument
2430 dump_phdr(struct readelf *re) argument
2536 section_flags(struct readelf *re, struct section *s) argument
2567 dump_shdr(struct readelf *re) argument
2688 dump_dynamic(struct readelf *re) argument
2770 dyn_str(struct readelf *re, uint32_t stab, uint64_t d_val) argument
2785 dump_arch_dyn_val(struct readelf *re, GElf_Dyn *dyn) argument
2910 dump_dyn_val(struct readelf *re, GElf_Dyn *dyn, uint32_t stab) argument
3005 dump_rel(struct readelf *re, struct section *s, Elf_Data *d) argument
3088 dump_rela(struct readelf *re, struct section *s, Elf_Data *d) argument
3174 dump_reloc(struct readelf *re) argument
3200 dump_symtab(struct readelf *re, int i) argument
3264 dump_symtabs(struct readelf *re) argument
3386 dump_svr4_hash64(struct readelf *re, struct section *s) argument
3458 dump_gnu_hash(struct readelf *re, struct section *s) argument
3539 dump_gnu_property_type_0(struct readelf *re, const char *buf, size_t sz) argument
3589 dump_hash(struct readelf *re) argument
3609 dump_notes(struct readelf *re) argument
3720 dump_notes_data(struct readelf *re, const char *name, uint32_t type, const char *buf, size_t sz) argument
3784 dump_notes_content(struct readelf *re, const char *buf, size_t sz, off_t off) argument
3866 dump_verdef(struct readelf *re, int dump) argument
3941 dump_verneed(struct readelf *re, int dump) argument
4017 dump_versym(struct readelf *re) argument
4046 dump_ver(struct readelf *re) argument
4058 search_ver(struct readelf *re) argument
4105 dump_liblist(struct readelf *re) argument
4174 dump_section_groups(struct readelf *re) argument
4268 dump_arm_attributes(struct readelf *re, uint8_t *p, uint8_t *pe) argument
4341 dump_mips_attributes(struct readelf *re, uint8_t *p, uint8_t *pe) argument
4400 dump_attributes(struct readelf *re) argument
4489 dump_mips_specific_info(struct readelf *re) argument
4520 dump_mips_abiflags(struct readelf *re, struct section *s) argument
4596 dump_mips_reginfo(struct readelf *re, struct section *s) argument
4619 dump_mips_options(struct readelf *re, struct section *s) argument
4729 dump_mips_odk_reginfo(struct readelf *re, uint8_t *p, size_t sz) argument
4760 dump_arch_specific_info(struct readelf *re) argument
4776 dwarf_regname(struct readelf *re, unsigned int num) argument
4790 dump_dwarf_line(struct readelf *re) argument
5067 dump_dwarf_line_decoded(struct readelf *re) argument
5119 dump_dwarf_die(struct readelf *re, Dwarf_Die die, int level) argument
5398 set_cu_context(struct readelf *re, Dwarf_Half psize, Dwarf_Half osize, Dwarf_Half ver) argument
5408 dump_dwarf_info(struct readelf *re, Dwarf_Bool is_info) argument
5503 dump_dwarf_abbrev(struct readelf *re) argument
5580 dump_dwarf_pubnames(struct readelf *re) argument
5660 dump_dwarf_aranges(struct readelf *re) argument
5738 dump_dwarf_ranges_foreach(struct readelf *re, Dwarf_Die die, Dwarf_Addr base) argument
5810 dump_dwarf_ranges(struct readelf *re) argument
5854 dump_dwarf_macinfo(struct readelf *re) argument
5905 dump_dwarf_frame_inst(struct readelf *re, Dwarf_Cie cie, uint8_t *insts, Dwarf_Unsigned len, Dwarf_Unsigned caf, Dwarf_Signed daf, Dwarf_Addr pc, Dwarf_Debug dbg) argument
5995 get_regoff_str(struct readelf *re, Dwarf_Half reg, Dwarf_Addr off) argument
6011 dump_dwarf_frame_regtable(struct readelf *re, Dwarf_Fde fde, Dwarf_Addr pc, Dwarf_Unsigned func_len, Dwarf_Half cie_ra) argument
6098 dump_dwarf_frame_section(struct readelf *re, struct section *s, int alt) argument
6220 dump_dwarf_frame(struct readelf *re, int alt) argument
6236 dump_dwarf_str(struct readelf *re) argument
6309 search_loclist_at(struct readelf *re, Dwarf_Die die, Dwarf_Unsigned lowpc, struct loc_at **la_list, size_t *la_list_len, size_t *la_list_cap) argument
6404 dump_dwarf_loc(struct readelf *re, Dwarf_Loc *lr) argument
6651 dump_dwarf_block(struct readelf *re, uint8_t *b, Dwarf_Unsigned len) argument
6675 dump_dwarf_loclist(struct readelf *re) argument
6833 get_string(struct readelf *re, int strtab, size_t off) argument
6848 get_symbol_name(struct readelf *re, int symtab, int i) argument
6883 get_symbol_value(struct readelf *re, int symtab, int i) argument
6985 hex_dump(struct readelf *re) argument
7050 str_dump(struct readelf *re) argument
7116 load_sections(struct readelf *re) argument
7188 unload_sections(struct readelf *re) argument
7209 dump_elf(struct readelf *re) argument
7266 dump_dwarf(struct readelf *re) argument
7309 dump_ar(struct readelf *re, int fd) argument
7389 dump_object(struct readelf *re, int fd) argument
7418 add_dumpop(struct readelf *re, size_t si, const char *sn, int op, int t) argument
7437 find_dumpop(struct readelf *re, size_t si, const char *sn, int op, int t) argument
7475 parse_dwarf_op_short(struct readelf *re, const char *op) argument
7495 parse_dwarf_op_long(struct readelf *re, const char *op) argument
7758 struct readelf *re, re_storage; local
[all...]
/freebsd-11-stable/tools/debugscripts/
H A Dkld_deb.py33 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):
71 """searchfor(inp, re,
[all...]
/freebsd-11-stable/usr.bin/m4/
H A Dgnum4.c251 exit_regerror(int er, regex_t *re, const char *source) argument
256 errlen = regerror(er, re, NULL, 0);
259 regerror(er, re, errbuf, errlen);
282 add_sub(int n, const char *string, regex_t *re, regmatch_t *pm) argument
284 if (n > (int)re->re_nsub)
299 add_replace(const char *string, regex_t *re, const char *replace, regmatch_t *pm) argument
305 add_sub(0, string, re, pm);
316 add_sub(0, string, re, pm);
323 add_sub(*(++p) - '0', string, re, pm);
332 do_subst(const char *string, regex_t *re, cons argument
373 do_regexp(const char *string, regex_t *re, const char *source, const char *replace, regmatch_t *pm) argument
391 do_regexpindex(const char *string, regex_t *re, const char *source, regmatch_t *pm) argument
485 regex_t re; local
515 regex_t re; local
[all...]
/freebsd-11-stable/sys/dev/safe/
H A Dsafe.c330 struct safe_ringentry *re = &sc->sc_ring[i]; local
332 re->re_desc.d_sa = raddr +
334 re->re_sa.sa_staterec = raddr +
550 struct safe_ringentry *re = sc->sc_back; local
554 safe_dump_request(sc, __func__, re);
564 if (re->re_desc.d_csr != 0) {
565 if (!SAFE_PE_CSR_IS_DONE(re->re_desc.d_csr))
567 if (!SAFE_PE_LEN_IS_DONE(re->re_desc.d_len))
570 safe_callback(sc, re);
604 safe_feed(struct safe_softc *sc, struct safe_ringentry *re) argument
857 struct safe_ringentry *re; local
1499 safe_callback(struct safe_softc *sc, struct safe_ringentry *re) argument
1963 struct safe_ringentry *re = sc->sc_back; local
1981 safe_free_entry(struct safe_softc *sc, struct safe_ringentry *re) argument
2098 safe_dump_request(struct safe_softc *sc, const char* tag, struct safe_ringentry *re) argument
2193 struct safe_ringentry *re = sc->sc_back; local
[all...]
/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_validation.py6 import re namespace
10 comment_re = re.compile('\/\*((?!\*\/).)*?\*\/', re.DOTALL | re.MULTILINE)
/freebsd-11-stable/sys/modules/re/
H A DMakefile1 # $FreeBSD: stable/11/sys/modules/re/Makefile 319182 2017-05-30 04:11:12Z ngie $
3 .PATH: ${SRCTOP}/sys/dev/re
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_rx_edma.c202 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
208 i = re->m_fifo_head;
209 for (j = 0; j < re->m_fifo_depth; j++) {
210 bf = re->m_fifo[i];
218 INCR(i, re->m_fifolen);
222 if (i != re->m_fifo_tail) {
226 re->m_fifo_tail);
286 * We're now doing RX DMA!
378 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
410 bf = re
782 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
849 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
883 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
923 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/regex/
H A Dmain.c61 regex_t re; local
99 fprintf(stderr, "[-c copt][-C][-d] [re]\n");
108 err = regcomp(&re, argv[optind++], copts);
110 len = regerror(err, &re, erbuf, sizeof(erbuf));
115 regprint(&re, stdout);
118 regfree(&re);
126 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
128 len = regerror(err, &re, erbuf, sizeof(erbuf));
168 regex_t re; local
214 re
234 regex_t re; local
516 regex_t re; local
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dresres.c223 const rc_res_entry *re; local
225 for (re = rd->entries; re != NULL; re = re->next)
230 /* If we're at level 1, the key of this resource is the
234 type = &re->id;
238 /* If we're at level 2, the key of this resource is the name
240 name = &re->id;
244 /* If we're a
655 rc_res_entry *re = NULL; local
[all...]
/freebsd-11-stable/usr.bin/fortune/tools/
H A Ddo_uniq.py8 import re
23 f = re.sub('[\W_]', '', f)
25 f = re.sub(word, '', f)
26 # f = re.sub('[aeiouy]', '', f)
27 # f = re.sub('[^aeiouy]', '', f)
/freebsd-11-stable/sys/x86/isa/
H A Disa.c150 struct resource *re; local
166 re = isa_alloc_resource(bus, child, type, rid,
169 if (re == NULL)
174 resource_list_release(rl, bus, child, type, *rid, re);
177 bsre[0] = re;
196 bh = rman_get_bushandle(re);
200 return re;
204 isa_load_resourcev(struct resource *re, bus_addr_t *res, bus_size_t count) argument
207 return bus_space_map_load(rman_get_bustag(re), rman_get_bushandle(re),
[all...]

Completed in 117 milliseconds

1234567891011