Searched refs:LazyRE2 (Results 1 – 6 of 6) sorted by relevance
292 static LazyRE2 dim_labels_pattern = { in LexIdentifier()335 static LazyRE2 float_pattern = { in LexNumberOrPattern()344 static LazyRE2 dim_labels_pattern = { in LexNumberOrPattern()346 static LazyRE2 dxd_pattern = {R"([0-9]+(x[0-9]+)+)"}; in LexNumberOrPattern()347 static LazyRE2 pad_pattern = { in LexNumberOrPattern()368 static LazyRE2 int_pattern = {R"([-]?\d+)"}; in LexNumberOrPattern()385 static LazyRE2 neg_inf = {"-inf"}; in LexNumberOrPattern()391 static LazyRE2 neg_nan = {"-nan"}; in LexNumberOrPattern()447 static LazyRE2 escaping_pattern = {R"("([^"\\]|\\.)*")"};
46 static const LazyRE2 kTfOpNameRegEx = {"[A-Za-z0-9.][A-Za-z0-9_.\\/>-]*"}; in IsTfOpName()51 static const LazyRE2 kTfOpTypeRegEx = {"[A-Z_][a-zA-Z0-9_]*"}; in IsTfOpType()56 static const LazyRE2 kJaxOpTypeRegEx = {"[a-z_][a-z0-9_]*"}; in IsJaxOpType()
916 class LazyRE2 { in MAKE_INTEGER_PARSER()931 std::call_once(once_, &LazyRE2::Init, this); in MAKE_INTEGER_PARSER()944 static void Init(const LazyRE2* lazy_re2) { in MAKE_INTEGER_PARSER()948 void operator=(const LazyRE2&); // disallowed in MAKE_INTEGER_PARSER()1000 using re2::LazyRE2;
203 static LazyRE2 pattern{"(.*){{node (.*)}}(.*)"}; in InterpolateErrorMessage()
1431 TEST(RE2, LazyRE2) { in TEST() argument1433 static LazyRE2 a = {"a"}; in TEST()1434 static LazyRE2 b = {"b", RE2::Latin1}; in TEST()
80 static const LazyRE2 kTfDeviceTypeRegEx = {"[A-Z][A-Z_]*"}; in ValidateDeviceType()