Home
last modified time | relevance | path

Searched refs:time_re (Results 1 - 2 of 2) sorted by relevance

/third_party/benchmark/test/
H A Doutput_test_helper.cc43 static std::string time_re = "([0-9]+[.])?[0-9]+"; in GetSubstitutions() local
52 {"%time", "[ ]*" + time_re + "[ ]+ns"}, in GetSubstitutions()
53 {"%console_report", "[ ]*" + time_re + "[ ]+ns [ ]*" + time_re + "[ ]+ns [ ]*[0-9]+"}, in GetSubstitutions()
55 {"%console_us_report", "[ ]*" + time_re + "[ ]+us [ ]*" + time_re + "[ ]+us [ ]*[0-9]+"}, in GetSubstitutions()
56 {"%console_ms_report", "[ ]*" + time_re + "[ ]+ms [ ]*" + time_re + "[ ]+ms [ ]*[0-9]+"}, in GetSubstitutions()
57 {"%console_s_report", "[ ]*" + time_re + "[ ]+s [ ]*" + time_re in GetSubstitutions()
[all...]
/third_party/python/Lib/test/
H A Dtest_strptime.py118 self.time_re = _strptime.TimeRE()
123 pattern_string = self.time_re.pattern(r"%a %A %d")
130 self.assertTrue(pattern_string.find(self.time_re['d']) != -1,
137 pattern_string = self.time_re.pattern(r"\d+")
145 found = self.time_re.compile(r"%A").match(self.locale_time.f_weekday[6])
148 compiled = self.time_re.compile(r"%a %b")
163 compiled = self.time_re.compile("%" + directive)
179 compiled_re = self.time_re.compile(r"\w+ %m")
191 time_re = _strptime.TimeRE(locale_time)
192 self.assertTrue(time_re
[all...]

Completed in 2 milliseconds