/external/libxml2/python/tests/ |
regexp.py | 7 re = libxml2.regexpCompile("a|b") variable 8 if re.regexpExec("a") != 1: 11 if re.regexpExec("b") != 1: 14 if re.regexpExec("ab") != 0: 17 if re.regexpExec("") != 0: 20 if re.regexpIsDeterminist() != 1: 23 del re
|
/external/google-benchmark/cmake/ |
gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
/external/libcxx/utils/google-benchmark/cmake/ |
gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug216.go | 14 var re, im = complexSqrt(-1) var 17 if re != 0 || im != 1 { 18 println("BUG: bug216: want 0,-1 have ", re, im)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug216.go | 14 var re, im = complexSqrt(-1) var 17 if re != 0 || im != 1 { 18 println("BUG: bug216: want 0,-1 have ", re, im)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/cmake/ |
gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeExceptionTest.java | 27 RuntimeException re = new RuntimeException(message, npe); local 28 assertEquals(message, re.getMessage()); 29 assertEquals(npe, re.getCause()); 31 re = new RuntimeException(null, npe); 32 assertNull(re.getMessage()); 34 re = new RuntimeException(message, null); 35 assertNull(re.getCause()); 40 RuntimeException re = new RuntimeException(npe); local 41 assertEquals(npe, re.getCause()); 43 re = new RuntimeException((Throwable) null) [all...] |
/bionic/tests/ |
regex_test.cpp | 24 regex_t re; local 25 ASSERT_EQ(0, regcomp(&re, "ab*c", 0)); 26 ASSERT_EQ(0, regexec(&re, "abbbc", 0, NULL, 0)); 27 ASSERT_EQ(REG_NOMATCH, regexec(&re, "foo", 0, NULL, 0)); 30 regerror(REG_NOMATCH, &re, buf, sizeof(buf)); 37 regfree(&re); 41 regex_t re; local 43 ASSERT_EQ(0, regcomp(&re, "b", 0)); 44 ASSERT_EQ(0, regexec(&re, "abc", 1, matches, 0)); 47 regfree(&re); 51 regex_t re; local [all...] |
/external/clang/test/SemaCXX/ |
ref-init-ambiguous.cpp | 22 const E2 & re(C c) { function
|
/external/pcre/dist2/src/ |
pcre2_pattern_info.c | 67 const pcre2_real_code *re = (pcre2_real_code *)code; local 107 if (re == NULL) return PCRE2_ERROR_NULL; 112 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; 116 if ((re->flags & (PCRE2_CODE_UNIT_WIDTH/8)) == 0) return PCRE2_ERROR_BADMODE; 121 *((uint32_t *)where) = re->overall_options; 125 *((uint32_t *)where) = re->compile_options; 129 *((uint32_t *)where) = re->top_backref; 133 *((uint32_t *)where) = re->bsr_convention; 137 *((uint32_t *)where) = re->top_bracket; 141 *((uint32_t *)where) = ((re->flags & PCRE2_FIRSTSET) != 0)? 1 254 pcre2_real_code *re = (pcre2_real_code *)code; local [all...] |
/prebuilts/go/darwin-x86/src/math/rand/ |
exp.go | 20 re = 7.69711747013104972 40 return re - math.Log(r.Float64()) 19 re = 7.69711747013104972 const
|
/prebuilts/go/linux-x86/src/math/rand/ |
exp.go | 20 re = 7.69711747013104972 40 return re - math.Log(r.Float64()) 19 re = 7.69711747013104972 const
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/work/ |
security.go | 40 var re = regexp.MustCompile var 43 re(`-D([A-Za-z_].*)`), 44 re(`-I([^@\-].*)`), 45 re(`-O`), 46 re(`-O([^@\-].*)`), 47 re(`-W`), 48 re(`-W([^@,]+)`), // -Wall but not -Wa,-foo. 49 re(`-f(no-)?blocks`), 50 re(`-f(no-)?common`), 51 re(`-f(no-)?constant-cfstrings`) [all...] |
/prebuilts/go/linux-x86/src/cmd/go/internal/work/ |
security.go | 40 var re = regexp.MustCompile var 43 re(`-D([A-Za-z_].*)`), 44 re(`-I([^@\-].*)`), 45 re(`-O`), 46 re(`-O([^@\-].*)`), 47 re(`-W`), 48 re(`-W([^@,]+)`), // -Wall but not -Wa,-foo. 49 re(`-f(no-)?blocks`), 50 re(`-f(no-)?common`), 51 re(`-f(no-)?constant-cfstrings`) [all...] |
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 47 LOGV("re match %s", match.string()); 48 regex_t re; local 53 if (regcomp(&re, match.string(), cflags) != 0) { 58 if (regexec(&re, str.string(), nmatch, pmatch, 0) == 0) { 62 regfree(&re);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TestModule.java | 38 ReadElf re = ReadElf.read(mConfigExe); local 39 re.getDynamicSymbol(""); 40 mDynSymArr = re.getDynSymArr();
|
/development/ide/emacs/ |
android-compile.el | 43 (defvar android-compile-ignore-re 45 "RE to match line to suppress during a compilation. 129 (while (search-forward-regexp android-compile-ignore-re end t) 152 ;; Add-hook do not re-add if already present. The compile
|
/external/adhd/cras/src/server/ |
rate_estimator.c | 35 void rate_estimator_destroy(struct rate_estimator *re) 37 if (re) 38 free(re); 45 struct rate_estimator *re; local 47 re = (struct rate_estimator *)calloc(1, sizeof(*re)); 48 if (re == NULL) 51 re->window_size = *window_size; 52 re->estimated_rate = rate; 53 re->smooth_factor = smooth_factor [all...] |
/external/adhd/cras/src/tests/ |
rate_estimator_unittest.cc | 17 struct rate_estimator *re; local 24 re = rate_estimator_create(10000, &window, 0.0f); 27 rc = rate_estimator_check(re, level, &t); 32 rate_estimator_add_frames(re, 5 + tmp); 37 rc = rate_estimator_check(re, level, &t); 39 EXPECT_GT(10000, rate_estimator_get_rate(re)); 40 EXPECT_LT(9999, rate_estimator_get_rate(re)); 42 rate_estimator_destroy(re); 46 struct rate_estimator *re; local 57 re = rate_estimator_create(7470, &window, 0.0f) 78 struct rate_estimator *re; local 109 struct rate_estimator *re; local 138 struct rate_estimator *re; local 165 struct rate_estimator *re; local [all...] |