Home
last modified time | relevance | path

Searched refs:RE2 (Results 1 – 25 of 58) sorted by relevance

123

/external/swiftshader/third_party/SPIRV-Tools/test/link/
Dlinker_fixture.h100 if (!RE2::FindAndConsume(&temp, "{")) return SPV_ERROR_INVALID_TEXT;
101 while (RE2::FindAndConsume(&temp, "([,}])", &x) && x[0] == ',') cnt++;
109 RE2 pattern(regex);
114 std::vector<RE2::Arg> args(cnt + 1);
115 args[0] = RE2::Arg(&common);
116 std::vector<RE2::Arg*> pargs(cnt + 1);
119 args[i + 1] = RE2::Arg(&variants[i]);
126 while (RE2::ConsumeN(&temp2, pattern, pargs.data(), cnt + 1)) {
132 RE2::Consume(&temp2, "([^{]*)", &common);
/external/angle/third_party/spirv-tools/src/test/link/
Dlinker_fixture.h100 if (!RE2::FindAndConsume(&temp, "{")) return SPV_ERROR_INVALID_TEXT;
101 while (RE2::FindAndConsume(&temp, "([,}])", &x) && x[0] == ',') cnt++;
109 RE2 pattern(regex);
114 std::vector<RE2::Arg> args(cnt + 1);
115 args[0] = RE2::Arg(&common);
116 std::vector<RE2::Arg*> pargs(cnt + 1);
119 args[i + 1] = RE2::Arg(&variants[i]);
126 while (RE2::ConsumeN(&temp2, pattern, pargs.data(), cnt + 1)) {
132 RE2::Consume(&temp2, "([^{]*)", &common);
/external/deqp-deps/SPIRV-Tools/test/link/
Dlinker_fixture.h100 if (!RE2::FindAndConsume(&temp, "{")) return SPV_ERROR_INVALID_TEXT;
101 while (RE2::FindAndConsume(&temp, "([,}])", &x) && x[0] == ',') cnt++;
109 RE2 pattern(regex);
114 std::vector<RE2::Arg> args(cnt + 1);
115 args[0] = RE2::Arg(&common);
116 std::vector<RE2::Arg*> pargs(cnt + 1);
119 args[i + 1] = RE2::Arg(&variants[i]);
126 while (RE2::ConsumeN(&temp2, pattern, pargs.data(), cnt + 1)) {
132 RE2::Consume(&temp2, "([^{]*)", &common);
/external/tensorflow/tensorflow/core/kernels/
Dregex_replace_op.cc32 Status InternalCompute(const RE2& match, const string& rewrite, in InternalCompute()
55 RE2::GlobalReplace(&buf, match, rewrite); in InternalCompute()
57 RE2::Replace(&buf, match, rewrite); in InternalCompute()
78 const RE2 match(pattern); in Compute()
105 re_ = MakeUnique<RE2>(pattern); in StaticRegexReplaceOp()
119 std::unique_ptr<RE2> re_;
Dregex_full_match_op.cc42 const RE2 match(pattern); in Compute()
52 output_flat(i) = RE2::FullMatch(input_flat(i), match); in Compute()
65 re_ = MakeUnique<RE2>(pattern); in StaticRegexFullMatchOp()
81 output_flat(i) = RE2::FullMatch(input_flat(i), *re_); in Compute()
86 std::unique_ptr<RE2> re_;
/external/deqp-deps/SPIRV-Tools/external/
DCMakeLists.txt69 # Find Effcee and RE2, for testing.
71 # First find RE2, since Effcee depends on it.
75 # If we are configuring RE2, then turn off its testing. It takes a long time and
76 # does not add much value for us. If an enclosing project configured RE2, then it
77 # has already chosen whether to enable RE2 testing.
78 set(RE2_BUILD_TESTING OFF CACHE STRING "Run RE2 Tests")
81 set(RE2_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/re2" CACHE STRING "RE2 source dir" )
89 # If we're configuring RE2 (via Effcee), then turn off RE2 testing.
/external/swiftshader/third_party/SPIRV-Tools/external/
DCMakeLists.txt69 # Find Effcee and RE2, for testing.
71 # First find RE2, since Effcee depends on it.
75 # If we are configuring RE2, then turn off its testing. It takes a long time and
76 # does not add much value for us. If an enclosing project configured RE2, then it
77 # has already chosen whether to enable RE2 testing.
78 set(RE2_BUILD_TESTING OFF CACHE STRING "Run RE2 Tests")
81 set(RE2_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/re2" CACHE STRING "RE2 source dir" )
89 # If we're configuring RE2 (via Effcee), then turn off RE2 testing.
/external/angle/third_party/spirv-tools/src/external/
DCMakeLists.txt79 # Find Effcee and RE2, for testing.
81 # First find RE2, since Effcee depends on it.
85 # If we are configuring RE2, then turn off its testing. It takes a long time and
86 # does not add much value for us. If an enclosing project configured RE2, then it
87 # has already chosen whether to enable RE2 testing.
88 set(RE2_BUILD_TESTING OFF CACHE STRING "Run RE2 Tests")
91 set(RE2_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/re2" CACHE STRING "RE2 source dir" )
99 # If we're configuring RE2 (via Effcee), then turn off RE2 testing.
/external/iptables/extensions/
Dlibxt_rateest.t7 %iptables -I INPUT -j RATEEST --rateest-name RE2 --rateest-interval 250.0ms --rateest-ewmalog 500.0…
8 -m rateest --rateest1 RE1 --rateest-lt --rateest-bps --rateest2 RE2;=;OK
9 … --rateest-delta --rateest1 RE1 --rateest-pps1 0 --rateest-lt --rateest-pps2 42 --rateest2 RE2;=;OK
16 %iptables -D INPUT -j RATEEST --rateest-name RE2 --rateest-interval 250.0ms --rateest-ewmalog 500.0…
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.cc291 if (RE2::Consume(&consumable, *dim_labels_pattern)) { in LexIdentifier()
334 if (RE2::Consume(&consumable, *float_pattern)) { in LexNumberOrPattern()
347 if (RE2::Consume(&consumable, *dim_labels_pattern)) { in LexNumberOrPattern()
353 if (RE2::Consume(&consumable, *dxd_pattern)) { in LexNumberOrPattern()
359 if (RE2::Consume(&consumable, *pad_pattern)) { in LexNumberOrPattern()
366 if (RE2::Consume(&consumable, *int_pattern)) { in LexNumberOrPattern()
378 if (RE2::Consume(&consumable, *neg_inf)) { in LexNumberOrPattern()
/external/tensorflow/tensorflow/core/profiler/utils/
Dtf_op_utils.cc68 } else if (RE2::FullMatch(parts[1], *kTfOpTypeRegEx) && in ParseTfOpFullname()
69 RE2::FullMatch(parts[0], *kTfOpNameRegEx)) { // TensorFlow in ParseTfOpFullname()
71 } else if (RE2::FullMatch(parts[1], *kJaxOpTypeRegEx)) { // JAX in ParseTfOpFullname()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dparam-load-store.ll81 ; CHECK-DAG: ld.param.b8 [[RE2:%rs[0-9]+]], [retval0+2];
83 ; CHECK-DAG: st.param.b8 [func_retval0+2], [[RE2]];
99 ; CHECK: ld.param.v4.b8 {[[RE0:%rs[0-9]+]], [[RE1:%rs[0-9]+]], [[RE2:%rs[0-9]+]], [[RE3:%rs[0…
100 ; CHECK: st.param.v4.b8 [func_retval0+0], {[[RE0]], [[RE1]], [[RE2]], [[RE3]]};
118 ; CHECK-DAG: ld.param.v4.b8 {[[RE0:%rs[0-9]+]], [[RE1:%rs[0-9]+]], [[RE2:%rs[0-9]+]], [[RE3:%rs[0…
120 ; CHECK-DAG: st.param.v4.b8 [func_retval0+0], {[[RE0]], [[RE1]], [[RE2]], [[RE3]]}
183 ; CHECK-DAG: ld.param.b8 [[RE2:%rs[0-9]+]], [retval0+2];
185 ; CHECK-DAG: st.param.b8 [func_retval0+2], [[RE2]];
201 ; CHECK: ld.param.v4.b8 {[[RE0:%rs[0-9]+]], [[RE1:%rs[0-9]+]], [[RE2:%rs[0-9]+]], [[RE3:%rs[0…
202 ; CHECK: st.param.v4.b8 [func_retval0+0], {[[RE0]], [[RE1]], [[RE2]], [[RE3]]}
[all …]
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_module_loader.cc50 static RE2* matcher = new RE2( in StripLogHeaders()
56 if (matcher->Match(line, 0, line.size(), RE2::ANCHOR_START, matches, 4)) { in StripLogHeaders()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_macros.cc79 if (RE2::PartialMatch(test_name, *shard_num_pattern, &suffix)) { in PrependDisabledIfIndicated()
98 if (RE2::FullMatch(/*text=*/platform_string, /*re=*/s)) { in PrependDisabledIfIndicated()
Dxla_hlo_profile_test.cc58 if (RE2::FullMatch(parsed_line.flops, "[0-9.TGMk]+FLOP/s")) { in HasFlops()
71 if (RE2::FullMatch(parsed_line.trops, "[0-9.TGMk]+TROP/s")) { in HasTrops()
108 bool matched = RE2::FullMatch(
127 return RE2::FullMatch(line, "Extra metric \\S+: \\d+"); in IsExtraMetricProfileOutputLine()
/external/libchrome/components/policy/core/common/
Dschema.cc204 re2::RE2* CompileRegex(const std::string& pattern) const;
272 mutable std::map<std::string, std::unique_ptr<re2::RE2>> regex_cache_;
372 re2::RE2* Schema::InternalStorage::CompileRegex( in CompileRegex()
376 std::unique_ptr<re2::RE2> compiled(new re2::RE2(pattern)); in CompileRegex()
377 re2::RE2* compiled_ptr = compiled.get(); in CompileRegex()
598 re2::RE2* compiled_regex = CompileRegex(it.key()); in ParseDictionary()
730 re2::RE2* compiled_regex = CompileRegex(pattern); in ParseStringPattern()
1109 if (re2::RE2::PartialMatch(key, *storage_->CompileRegex(it->key))) { in GetPatternProperties()
1192 re2::RE2* regex = storage_->CompileRegex(*storage_->string_enums(index)); in ValidateStringRestriction()
1193 return re2::RE2::PartialMatch(str, *regex); in ValidateStringRestriction()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show.cc97 if (RE2::FullMatch(node->name(), regex)) { in ShouldShow()
107 if (RE2::FullMatch(node->name(), regex)) return false; in ShouldShow()
115 if (RE2::FullMatch(node->name(), regex)) { in ShouldTrim()
130 if (RE2::FullMatch(type, regex)) { in ReAccount()
Dtfprof_show_multi.cc87 if (RE2::FullMatch(node->name(), regex)) { in ShouldShow()
97 if (RE2::FullMatch(node->name(), regex)) return false; in ShouldShow()
105 if (RE2::FullMatch(node->name(), regex)) { in ShouldTrim()
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_specs.cc188 bool FindAndCut(string* input, const RE2& expr, string* before_match, in FindAndCut()
191 if (!RE2::PartialMatch(*input, expr, &match)) return false; in FindAndCut()
211 const RE2 markup_expr("(" + absl::StrJoin(markups_subexpr, "|") + ")"); in ParseDocumentation()
268 if (RE2::PartialMatch(input, "([^\\[]+)\\]\\((http.+)\\)", &label, in ParseDocumentation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h244 MachO::any_relocation_info RE2 = in processHALFSECTDIFFRelocation() local
260 uint32_t AddrB = MachO.getScatteredRelocationValue(RE2); in processHALFSECTDIFFRelocation()
273 uint32_t OtherHalf = MachO.getAnyRelocationAddress(RE2) & 0xffff; in processHALFSECTDIFFRelocation()
DRuntimeDyldMachOI386.h162 MachO::any_relocation_info RE2 = in processSECTDIFFRelocation() local
179 uint32_t AddrB = Obj.getScatteredRelocationValue(RE2); in processSECTDIFFRelocation()
/external/tensorflow/tensorflow/lite/testing/
Dgenerated_examples_zip_test.cc312 if (RE2::PartialMatch(test_name, p.first)) { in TEST_P()
334 if (RE2::PartialMatch(test_name, p.first)) { in TEST_P()
360 if (RE2::PartialMatch(test_name, p.first)) { in TEST_P()
/external/tensorflow/tensorflow/lite/tools/
Dgen_op_registration.cc26 RE2::GlobalReplace(&method, "([a-z])([A-Z])", "\\1_\\2"); in NormalizeCustomOpName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h372 MachO::any_relocation_info RE2 = in processHALFSECTDIFFRelocation() local
388 uint32_t AddrB = MachO.getScatteredRelocationValue(RE2); in processHALFSECTDIFFRelocation()
401 uint32_t OtherHalf = MachO.getAnyRelocationAddress(RE2) & 0xffff; in processHALFSECTDIFFRelocation()
DRuntimeDyldMachOI386.h162 MachO::any_relocation_info RE2 = in processSECTDIFFRelocation() local
179 uint32_t AddrB = Obj.getScatteredRelocationValue(RE2); in processSECTDIFFRelocation()

123