HomeSort by relevance Sort by last modified time
    Searched refs:QuoteMeta (Results 1 - 22 of 22) sorted by null

  /prebuilts/go/darwin-x86/src/io/ioutil/
tempfile_test.go 28 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
48 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
  /prebuilts/go/linux-x86/src/io/ioutil/
tempfile_test.go 28 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
48 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
  /prebuilts/go/darwin-x86/src/regexp/
all_test.go 339 // Verify that QuoteMeta returns the expected string.
340 quoted := QuoteMeta(tc.pattern)
342 t.Errorf("QuoteMeta(`%s`) = `%s`; want `%s`",
352 t.Errorf("Unexpected error compiling QuoteMeta(`%s`): %v", tc.pattern, err)
360 t.Errorf("QuoteMeta(`%s`).Replace(`%s`,`%s`) = `%s`; want `%s`",
468 if QuoteMeta(test.r) == test.r {
regexp.go 578 // QuoteMeta returns a string that quotes all regular expression metacharacters
580 // the literal text. For example, QuoteMeta(`[foo]`) returns `\[foo\]`.
581 func QuoteMeta(s string) string {
    [all...]
exec_test.go 520 pattern = QuoteMeta(pattern)
  /prebuilts/go/linux-x86/src/regexp/
all_test.go 339 // Verify that QuoteMeta returns the expected string.
340 quoted := QuoteMeta(tc.pattern)
342 t.Errorf("QuoteMeta(`%s`) = `%s`; want `%s`",
352 t.Errorf("Unexpected error compiling QuoteMeta(`%s`): %v", tc.pattern, err)
360 t.Errorf("QuoteMeta(`%s`).Replace(`%s`,`%s`) = `%s`; want `%s`",
468 if QuoteMeta(test.r) == test.r {
regexp.go 578 // QuoteMeta returns a string that quotes all regular expression metacharacters
580 // the literal text. For example, QuoteMeta(`[foo]`) returns `\[foo\]`.
581 func QuoteMeta(s string) string {
    [all...]
exec_test.go 520 pattern = QuoteMeta(pattern)
  /external/regex-re2/re2/testing/
re2_test.cc 386 string quoted = RE2::QuoteMeta(unquoted);
396 string quoted = RE2::QuoteMeta(unquoted);
404 TEST(QuoteMeta, Simple) {
416 TEST(QuoteMeta, SimpleNegative) {
431 TEST(QuoteMeta, Latin1) {
435 TEST(QuoteMeta, UTF8) {
448 TEST(QuoteMeta, HasNull) {
    [all...]
  /external/pcre/dist/
pcrecpp.h 623 // Note QuoteMeta behaves the same as perl's QuoteMeta function,
626 static string QuoteMeta(const StringPiece& unquoted);
pcrecpp_unittest.cc 487 string quoted = RE::QuoteMeta(unquoted);
496 string quoted = RE::QuoteMeta(unquoted);
552 printf("Testing QuoteMeta\n");
    [all...]
pcrecpp.cc 466 /*static*/ string RE::QuoteMeta(const StringPiece& unquoted) {
474 // same name; see `perldoc -f quotemeta`.) The one exception is
  /external/regex-re2/re2/
re2.h 408 static string QuoteMeta(const StringPiece& unquoted);
    [all...]
re2.cc 425 string RE2::QuoteMeta(const StringPiece& unquoted) {
435 // see `perldoc -f quotemeta`.)
    [all...]
  /external/regex-re2/util/
pcre.h 440 static string QuoteMeta(const StringPiece& unquoted);
pcre.cc 412 string PCRE::QuoteMeta(const StringPiece& unquoted) {
422 // see `perldoc -f quotemeta`.)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/go/
go_test.go 639 tg.grepStderr("^"+regexp.QuoteMeta(shortPath)+":", "missing file:line in error message")
    [all...]
main.go 477 re := regexp.QuoteMeta(pattern)
  /prebuilts/go/linux-x86/src/cmd/go/
go_test.go 639 tg.grepStderr("^"+regexp.QuoteMeta(shortPath)+":", "missing file:line in error message")
    [all...]
main.go 477 re := regexp.QuoteMeta(pattern)
  /prebuilts/go/darwin-x86/misc/cgo/testshared/
shared_test.go 292 AssertIsLinkedToRegexp(t, path, regexp.MustCompile(regexp.QuoteMeta(lib)))
  /prebuilts/go/linux-x86/misc/cgo/testshared/
shared_test.go 292 AssertIsLinkedToRegexp(t, path, regexp.MustCompile(regexp.QuoteMeta(lib)))

Completed in 641 milliseconds