Home
last modified time | relevance | path

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

1234

/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dbug-regex16.c14 struct re_pattern_buffer re; in main() local
19 memset (&re, 0, sizeof (re)); in main()
20 s = re_compile_pattern ("[[.invalid_collating_symbol.]]", 30, &re); in main()
26 s = re_compile_pattern ("[[=invalid_equivalence_class=]]", 31, &re); in main()
32 s = re_compile_pattern ("[[:invalid_character_class:]]", 29, &re); in main()
Dbug-regex9.c39 regex_t re; in main() local
47 n = regcomp (&re, "^#! */.*/(k|ba||pdk|z)sh", REG_EXTENDED); in main()
51 regerror (n, &re, buf, sizeof (buf)); in main()
58 if (regexec (&re, text, 2, rm, 0)) in main()
72 regfree (&re); in main()
Dbug-regex12.c49 regex_t re; in main() local
60 n = regcomp (&re, tests[i].pattern, tests[i].flags); in main()
64 regerror (n, &re, buf, sizeof (buf)); in main()
70 if (! regexec (&re, tests[i].string, tests[i].nmatch, in main()
77 regfree (&re); in main()
Dbug-regex11.c98 regex_t re; in main() local
109 n = regcomp (&re, tests[i].pattern, tests[i].flags); in main()
113 regerror (n, &re, buf, sizeof (buf)); in main()
119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0)) in main()
123 regfree (&re); in main()
139 regfree (&re); in main()
Drunptests.c61 regex_t re; in main() local
69 err = regcomp (&re, tests[cnt].reg, tests[cnt].options); in main()
77 regerror (err, &re, buf, sizeof (buf)); in main()
92 err = regexec (&re, tests[cnt].str, 20, match, 0); in main()
121 regfree (&re); in main()
Dtst-boost.c88 regex_t re; in main() local
176 n = regcomp (&re, pattern, flags); in main()
182 regerror (n, &re, buf, sizeof (buf)); in main()
191 regfree (&re); in main()
197 if (regexec (&re, string, 20, rm, eflags)) in main()
206 regfree (&re); in main()
Dbug-regex21.c33 regex_t re; in main() local
43 if (regcomp (&re, "X-.+:.+Y=\".*\\.(A|B|C|D|E|F|G|H|I", in main()
50 regfree (&re); in main()
Dbug-regex15.c20 regex_t re; in main() local
37 reerr = regcomp (&re, "^6?3?[25]?5?[14]*[25]*[69]*+[58]*87?4?$", in main()
42 regerror (reerr, &re, buf, sizeof buf); in main()
Dtst-pcre.c142 regex_t re; in main() local
165 n = regcomp (&re, pattern, in main()
170 regerror (n, &re, buf, sizeof (buf)); in main()
177 if (regexec (&re, string, 20, rm, 0)) in main()
183 regfree (&re); in main()
Dtst-rxspencer.c217 regex_t re; in test() local
221 n = regcomp (&re, pattern, cflags); in test()
251 regerror (n, &re, buf, sizeof (buf)); in test()
258 regfree (&re); in test()
271 if (regexec (&re, string, 10, rm, eflags)) in test()
273 regfree (&re); in test()
280 regfree (&re); in test()
Duniq.good15 && length - re->max_match_size > start_offset)
31 (re->tables + fcc_offset)[req_char] : req_char;
144 /* This function applies a compiled re to a subject string and picks out
210 analyzing most of the pattern. length > re->max_match_size is
211 anchored = ((re->options | options) & PCRE_ANCHORED) != 0;
324 const pcre *re;
391 first_char = re->first_char;
411 if (!match (start_match, re->code, 2, &match_block, ims, NULL, match_isgroup))
440 if ((re->options & PCRE_FIRSTSET) != 0)
441 if ((re->options & PCRE_REQCHSET) != 0)
[all …]
Duniq.inp371 && length - re->max_match_size > start_offset)
391 (re->tables + fcc_offset)[req_char] : req_char;
535 /* This function applies a compiled re to a subject string and picks out
615 analyzing most of the pattern. length > re->max_match_size is
616 anchored = ((re->options | options) & PCRE_ANCHORED) != 0;
834 const pcre *re;
1015 first_char = re->first_char;
1070 if (!match (start_match, re->code, 2, &match_block, ims, NULL, match_isgroup))
1111 if ((re->options & PCRE_FIRSTSET) != 0)
1112 if ((re->options & PCRE_REQCHSET) != 0)
[all …]
/ndk/sources/host-tools/nawk-20071023/
Db.c140 if ((f->posns[0] = (int *) calloc(1, *(f->re[0].lfollow)*sizeof(int))) == NULL) in mkdfa()
158 k = *(f->re[0].lfollow); in makeinit()
163 (f->posns[2])[i] = (f->re[0].lfollow)[i]; in makeinit()
347 f->re[info(v)].ltype = type(v); in cfoll()
348 f->re[info(v)].lval.np = right(v); in cfoll()
362 f->re[info(v)].lfollow = p; in cfoll()
869 if ((k = f->re[p[i]].ltype) != FINAL) { in cgoto()
870 if ((k == CHAR && c == ptoi(f->re[p[i]].lval.np)) in cgoto()
874 || (k == CCL && member(c, (char *) f->re[p[i]].lval.up)) in cgoto()
875 || (k == NCCL && !member(c, (char *) f->re[p[i]].lval.up) && c != 0 && c != HAT)) { in cgoto()
[all …]
Dawkgram.y65 %type <p> pas pattern ppattern plist pplist patlist prarg term re
215 | re
248 | re
280 re:
283 | NOT re { $$ = op1(NOT, notnull($2)); }
/ndk/sources/host-tools/sed-4.2.1/sed/
Dregexp.c53 errcode = regncomp(&new_regex->pattern, new_regex->re, new_regex->sz,
104 error = re_compile_pattern (new_regex->re, new_regex->sz,
157 memcpy (new_regex->re, get_buffer(b), re_len);
163 new_regex->sz = normalize_text(new_regex->re, re_len, TEXT_REGEX);
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-B38 # Test -B with the re-exec feature: we don't want to re-exec forever
53 # Test -B with the re-exec feature: we DO want -B in the "normal" part of the
Ddash-W31 # Test -W with the re-exec feature: we don't want to re-exec forever
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dreinvoke37 # the rule doesn't update it. Make shouldn't re-exec.
57 # Now try with the file we're not updating being the actual file we're
Dparallelism129 # Make sure that all jobserver FDs are closed if we need to re-exec the
133 # Then make sure they're still used.
/ndk/sources/host-tools/sed-4.2.1/po/
Dfr.po5 # J'ai pr�f�r� utiliser le terme <<Expression r�guli�re>> plut�t
32 msgstr "utilisation invalide de +N ou ~N comme premi�re adresse"
72 msgstr "expression r�guli�re d'adresse inachev�e"
108 msgstr "le caract�re d�limiteur n'est pas un caract�re � un seul octet"
131 msgstr "%s: -e expression n�%lu, caract�re %lu: %s\n"
186 msgstr "pas d'expression r�guli�re pr�c�dente"
456 msgstr "Expression r�guli�re invalide"
460 msgstr "Caract�re de collation invalide"
472 msgstr "R�f�rence arri�re invalide"
500 msgstr "L'expression r�guli�re pr�c�dente est invalide"
[all …]
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex.c36 # define re_set_registers(bu, re, nu, st, en) \ argument
37 __re_set_registers (bu, re, nu, st, en)
/ndk/sources/cxx-stl/stlport/src/
Dcomplex.cpp168 _Tp re = z._M_re; in sqrtT() local
170 _Tp mag = ::hypot(re, im); in sqrtT()
175 } else if (re > 0.f) { in sqrtT()
176 result._M_re = ::sqrt(0.5f * (mag + re)); in sqrtT()
179 result._M_im = ::sqrt(0.5f * (mag - re)); in sqrtT()
/ndk/build/tools/toolchain-patches/binutils/
D0001-Fix-elfxx-mips.c-mipself.em-and-elf.c-with-5-fixes.patch47 If we're creating a non-PIC relocatable object, mark H as
48 being PIC. If we're creating a non-relocatable object with
76 + /* If we're merging with the primary got, we will always have
/ndk/sources/host-tools/make-3.81/
DMakefile.am164 # If we're building outside the tree, we use symlinks to make a local copy of
/ndk/sources/host-tools/sed-4.2.1/
DREADME.boot16 somewhere in your $PATH, and then really re-build the normal way

1234