Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 5033) sorted by relevance

12345678910>>...202

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnalyseNewJavaParserTest.java65 private void parse(String fileName) throws IOException { in parse() method in AnalyseNewJavaParserTest
118 parse("com/github/javaparser/utils/Utils"); in parseUtilsUtils()
123 parse("com/github/javaparser/CommentsInserter"); in parseCommentsInserter()
128 parse("com/github/javaparser/utils/PositionUtils"); in parsePositionUtils()
133 parse("com/github/javaparser/ast/Modifier"); in parseModifier()
138 parse("com/github/javaparser/ast/nodeTypes/NodeWithMembers"); in parseNodeWithMembers()
143 parse("com/github/javaparser/ast/stmt/AssertStmt"); in parseAstStmts()
144 parse("com/github/javaparser/ast/stmt/BlockStmt"); in parseAstStmts()
145 parse("com/github/javaparser/ast/stmt/BreakStmt"); in parseAstStmts()
146 parse("com/github/javaparser/ast/stmt/CatchClause"); in parseAstStmts()
[all …]
DAnalyseJavaParserTest.java60 private void parse(String fileName) throws IOException { in parse() method in AnalyseJavaParserTest
102 parse("com/github/javaparser/PositionUtils"); in parsePositionUtils()
107 parse("com/github/javaparser/JavaParser"); in parseJavaParser()
112 parse("com/github/javaparser/ast/stmt/Statement"); in parseStatement()
117 parse("com/github/javaparser/ast/stmt/CatchClause"); in parseCatchClause()
122 parse("com/github/javaparser/ast/stmt/LabeledStmt"); in parseStatements()
123 parse("com/github/javaparser/ast/stmt/BreakStmt"); in parseStatements()
124 parse("com/github/javaparser/ast/stmt/ReturnStmt"); in parseStatements()
125 parse("com/github/javaparser/ast/stmt/DoStmt"); in parseStatements()
126 parse("com/github/javaparser/ast/stmt/AssertStmt"); in parseStatements()
[all …]
DAnalyseJavaSymbolSolver060Test.java83 private void parse(String projectName, String fileName) throws IOException { in parse() method in AnalyseJavaSymbolSolver060Test
135parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/SourceFileInfoExtractor"); in parseCoreSourceFileInfoExtractor()
140parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/core/resolution/Context"); in parseCoreCoreResolution()
141parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/core/resolution/ContextHelper… in parseCoreCoreResolution()
146parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/declarations/common/MethodDec… in parseCoreDeclarationsCommon()
151 parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/javaparser/Navigator"); in parseCoreJavaparserNavigator()
156parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor… in parseCoreJavaparsermodelTypeExtractor()
161parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/javaparsermodel/DefaultVisito… in parseCoreJavaparsermodel()
162parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFac… in parseCoreJavaparsermodel()
163parse("java-symbol-solver-core", "com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFac… in parseCoreJavaparsermodel()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DHttpUrlTest.java37 HttpUrl expected = HttpUrl.parse("http://host/"); in parseTrimsAsciiWhitespace()
38 assertEquals(expected, HttpUrl.parse("http://host/\f\n\t \r")); // Leading. in parseTrimsAsciiWhitespace()
39 assertEquals(expected, HttpUrl.parse("\r\n\f \thttp://host/")); // Trailing. in parseTrimsAsciiWhitespace()
40 assertEquals(expected, HttpUrl.parse(" http://host/ ")); // Both. in parseTrimsAsciiWhitespace()
41 assertEquals(expected, HttpUrl.parse(" http://host/ ")); // Both. in parseTrimsAsciiWhitespace()
42 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" ")); in parseTrimsAsciiWhitespace()
43 assertEquals(expected, HttpUrl.parse("http://host/").resolve(" . ")); in parseTrimsAsciiWhitespace()
48 assertNull(HttpUrl.parse("http://" + host + "/")); in parseHostAsciiNonPrintable()
53 assertEquals("/%0B", HttpUrl.parse("http://h/\u000b").encodedPath()); // line tabulation in parseDoesNotTrimOtherWhitespaceCharacters()
54 assertEquals("/%1C", HttpUrl.parse("http://h/\u001c").encodedPath()); // information separator 4 in parseDoesNotTrimOtherWhitespaceCharacters()
[all …]
/external/python/parse_type/tests/
Dtest_parse.py31 from parse_type import parse
34 import parse
40 self.assertEqual(parse.Parser(format)._expression, expression)
81 d = parse.extract_format(fmt, {'spam': 'spam'})
108 res = parse.parse('{hello.world}_{jojo.foo.baz}_{simple}', 'a_b_c')
114 res = parse.parse('{hello[world]}_{hello[foo][baz]}_{simple}', 'a_b_c')
121 res = parse.parse('{a_.b}_{a__b}_{a._b}_{a___b}', 'a_b_c_d')
128 self.assertRaises(NotImplementedError, parse.parse,
134 r = parse.Result((1, 2), {}, None)
141 r = parse.Result((), {'spam': 'ham'}, None)
[all …]
/external/antlr/runtime/Ruby/test/functional/ast-output/
Drewrites.rb8 def parse( grammar, rule, input, expect_errors = false ) method in TestASTViaRewriteRules
60 result = parse( <<-'END', :a, 'abc 34' )
73 result = parse( <<-'END', :a, 'abc' )
87 result = parse( <<-'END', :a, 'abc' )
101 result = parse( <<-'END', :a, 'abc' )
115 result = parse( <<-'END', :a, 'abc' )
128 result = parse( <<-'END', :a, 'c' )
142 result = parse( <<-'END', :a, 'ick' )
156 result = parse( <<-'END', :a, 'abc' )
171 result = parse( <<-'END', :a, 'abc 34' )
[all …]
Dauto-ast.rb8 def parse( grammar, rule, input, expect_errors = false ) method in TestAutoAST
61 result = parse( <<-'END', :a, 'abc 34' )
73 result = parse( <<-'END', :a, 'abc 34' )
85 result = parse( <<-'END', :a, 'abc 34' )
97 result = parse( <<-'END', :a, '34 abc' )
109 result = parse( <<-'END', :a, 'abc 34 dag 4532' )
122 result = parse( <<-'END', :a, 'a 1 b' )
134 result = parse( <<-'END', :a, 'void foo;' )
146 result = parse( <<-'END', :a, 'void foo;' )
158 result = parse( <<-'END', :a, 'void foo;' )
[all …]
/external/antlr/runtime/Python3/tests/
Dt042ast.py25 def parse(self, text, method, rArgs=(), **kwargs): member in t042ast
40 r = self.parse("1 + 2", 'r1')
48 r = self.parse("assert 2+3;", 'r2')
56 r = self.parse("assert 2+3 : 5;", 'r2')
64 r = self.parse("if 1 fooze", 'r3')
72 r = self.parse("if 1 fooze else fooze", 'r3')
80 r = self.parse("while 2 fooze", 'r4')
88 r = self.parse("return;", 'r5')
96 r = self.parse("return 2+3;", 'r5')
104 r = self.parse("3", 'r6')
[all …]
/external/antlr/runtime/Python/tests/
Dt042ast.py25 def parse(self, text, method, rArgs=[], **kwargs): member in t042ast
40 r = self.parse("1 + 2", 'r1')
48 r = self.parse("assert 2+3;", 'r2')
56 r = self.parse("assert 2+3 : 5;", 'r2')
64 r = self.parse("if 1 fooze", 'r3')
72 r = self.parse("if 1 fooze else fooze", 'r3')
80 r = self.parse("while 2 fooze", 'r4')
88 r = self.parse("return;", 'r5')
96 r = self.parse("return 2+3;", 'r5')
104 r = self.parse("3", 'r6')
[all …]
/external/python/dateutil/dateutil/test/
Dtest_parser.py11 from dateutil.parser import parse, parserinfo
97 assert parse(parsable_text) == expected_datetime, assertion_message
152 … assert parse(parsable_text, default=datetime(2003, 9, 25)) == expected_datetime, assertion_message
179 res = parse(dstr)
186 parse('')
190 parse(None)
194 parse(13)
209 res = parse(dstr)
216 res = parse(dstr)
225 res = parse(bytes_str)
[all …]
/external/rust/crates/anyhow/src/
Densure.rs112 (0 $stack:tt ($($bail:tt)*) $fuel:tt $parse:tt $dup:tt return $($rest:tt)*) => {
116 (0 $stack:tt ($($bail:tt)*) $fuel:tt $parse:tt $dup:tt break $($rest:tt)*) => {
120 (0 $stack:tt ($($bail:tt)*) $fuel:tt $parse:tt $dup:tt continue $($rest:tt)*) => {
124 (0 $stack:tt ($($bail:tt)*) $fuel:tt $parse:tt $dup:tt yield $($rest:tt)*) => {
128 (0 $stack:tt ($($bail:tt)*) $fuel:tt $parse:tt $dup:tt move $($rest:tt)*) => {
134 …(0 $stack:tt $bail:tt (~$($fuel:tt)*) {($($buf:tt)*) $($parse:tt)*} ($deref:tt $($dup:tt)*) * $($r…
135 …$crate::__parse_ensure!(0 $stack $bail ($($fuel)*) {($($buf)* $deref) $($parse)*} ($($rest)*) $($r…
138 …(0 $stack:tt $bail:tt (~$($fuel:tt)*) {($($buf:tt)*) $($parse:tt)*} ($not:tt $($dup:tt)*) ! $($res…
139 …$crate::__parse_ensure!(0 $stack $bail ($($fuel)*) {($($buf)* $not) $($parse)*} ($($rest)*) $($res…
142 …(0 $stack:tt $bail:tt (~$($fuel:tt)*) {($($buf:tt)*) $($parse:tt)*} ($neg:tt $($dup:tt)*) - $($res…
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DDateUtilsRoundingTest.java199 targetYearDate = dateTimeParser.parse("January 1, 2007 0:00:00.000"); in setUp()
200 targetDateDate = targetDayOfMonthDate = dateTimeParser.parse("June 1, 2008 0:00:00.000"); in setUp()
201 targetAmDate = dateTimeParser.parse("June 1, 2008 0:00:00.000"); in setUp()
202 targetPmDate = dateTimeParser.parse("June 1, 2008 12:00:00.000"); in setUp()
203 targetHourDate = dateTimeParser.parse("June 1, 2008 8:00:00.000"); in setUp()
204 targetHourOfDayDate = dateTimeParser.parse("June 1, 2008 8:00:00.000"); in setUp()
205 targetMinuteDate = dateTimeParser.parse("June 1, 2008 8:15:00.000"); in setUp()
206 targetSecondDate = dateTimeParser.parse("June 1, 2008 8:15:14.000"); in setUp()
207 targetMilliSecondDate = dateTimeParser.parse("June 1, 2008 8:15:14.231"); in setUp()
209 januaryOneDate = dateTimeParser.parse("January 1, 2008 0:00:00.000"); in setUp()
[all …]
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java63 assertSame(constant, MediaType.parse(constant.toString())); in testParse_useConstants()
219 assertEquals("text", MediaType.parse("text/plain").type());
220 assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
224 assertEquals("plain", MediaType.parse("text/plain").subtype());
225 assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
232 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
235 MediaType.parse("application/atom+xml; charset=utf-8").parameters());
236 assertEquals(PARAMETERS, MediaType.parse("application/atom+xml; a=1; a=2; b=3").parameters());
240 assertSame(MediaType.parse("image/gif"), MediaType.parse("image/gif").withoutParameters());
242 MediaType.parse("image/gif"), MediaType.parse("image/gif; foo=bar").withoutParameters());
[all …]
/external/guava/android/guava-tests/test/com/google/common/net/
DMediaTypeTest.java63 assertSame(constant, MediaType.parse(constant.toString())); in testParse_useConstants()
219 assertEquals("text", MediaType.parse("text/plain").type());
220 assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
224 assertEquals("plain", MediaType.parse("text/plain").subtype());
225 assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
232 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
235 MediaType.parse("application/atom+xml; charset=utf-8").parameters());
236 assertEquals(PARAMETERS, MediaType.parse("application/atom+xml; a=1; a=2; b=3").parameters());
240 assertSame(MediaType.parse("image/gif"), MediaType.parse("image/gif").withoutParameters());
242 MediaType.parse("image/gif"), MediaType.parse("image/gif; foo=bar").withoutParameters());
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLevelTest.java112 assertSame(Level.SEVERE, Level.parse("SEVERE")); in testParse_PredefinedConstStrings()
113 assertSame(Level.WARNING, Level.parse("WARNING")); in testParse_PredefinedConstStrings()
114 assertSame(Level.INFO, Level.parse("INFO")); in testParse_PredefinedConstStrings()
115 assertSame(Level.CONFIG, Level.parse("CONFIG")); in testParse_PredefinedConstStrings()
116 assertSame(Level.FINE, Level.parse("FINE")); in testParse_PredefinedConstStrings()
117 assertSame(Level.FINER, Level.parse("FINER")); in testParse_PredefinedConstStrings()
118 assertSame(Level.FINEST, Level.parse("FINEST")); in testParse_PredefinedConstStrings()
119 assertSame(Level.OFF, Level.parse("OFF")); in testParse_PredefinedConstStrings()
120 assertSame(Level.ALL, Level.parse("ALL")); in testParse_PredefinedConstStrings()
128 Level.parse("SEVERe"); in testParse_IllegalConstString()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java19 import static com.google.common.cache.CacheBuilderSpec.parse;
36 CacheBuilderSpec spec = parse(""); in testParse_empty()
49 CacheBuilderSpec spec = parse("initialCapacity=10"); in testParse_initialCapacity()
64 parse("initialCapacity=10, initialCapacity=20"); in testParse_initialCapacityRepeated()
71 CacheBuilderSpec spec = parse("maximumSize=9000"); in testParse_maximumSize()
85 parse("maximumSize=10, maximumSize=20"); in testParse_maximumSizeRepeated()
92 CacheBuilderSpec spec = parse("maximumWeight=9000"); in testParse_maximumWeight()
106 parse("maximumWeight=10, maximumWeight=20"); in testParse_maximumWeightRepeated()
114 parse("maximumSize=10, maximumWeight=20"); in testParse_maximumSizeAndMaximumWeight()
121 CacheBuilderSpec spec = parse("concurrencyLevel=32"); in testParse_concurrencyLevel()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java19 import static com.google.common.cache.CacheBuilderSpec.parse;
36 CacheBuilderSpec spec = parse(""); in testParse_empty()
49 CacheBuilderSpec spec = parse("initialCapacity=10"); in testParse_initialCapacity()
64 parse("initialCapacity=10, initialCapacity=20"); in testParse_initialCapacityRepeated()
71 CacheBuilderSpec spec = parse("maximumSize=9000"); in testParse_maximumSize()
85 parse("maximumSize=10, maximumSize=20"); in testParse_maximumSizeRepeated()
92 CacheBuilderSpec spec = parse("maximumWeight=9000"); in testParse_maximumWeight()
106 parse("maximumWeight=10, maximumWeight=20"); in testParse_maximumWeightRepeated()
114 parse("maximumSize=10, maximumWeight=20"); in testParse_maximumSizeAndMaximumWeight()
121 CacheBuilderSpec spec = parse("concurrencyLevel=32"); in testParse_concurrencyLevel()
[all …]
/external/jsmn/test/
Dtests.c10 check(parse("{}", 1, 1, JSMN_OBJECT, 0, 2, 0)); in test_empty()
11 check(parse("[]", 1, 1, JSMN_ARRAY, 0, 2, 0)); in test_empty()
12 check(parse("[{},{}]", 3, 3, JSMN_ARRAY, 0, 7, 2, JSMN_OBJECT, 1, 3, 0, in test_empty()
18 check(parse("{\"a\":0}", 3, 3, JSMN_OBJECT, 0, 7, 1, JSMN_STRING, "a", 1, in test_object()
20 check(parse("{\"a\":[]}", 3, 3, JSMN_OBJECT, 0, 8, 1, JSMN_STRING, "a", 1, in test_object()
22 check(parse("{\"a\":{},\"b\":{}}", 5, 5, JSMN_OBJECT, -1, -1, 2, JSMN_STRING, in test_object()
25 check(parse("{\n \"Day\": 26,\n \"Month\": 9,\n \"Year\": 12\n }", 7, 7, in test_object()
29 check(parse("{\"a\": 0, \"b\": \"c\"}", 5, 5, JSMN_OBJECT, -1, -1, 2, in test_object()
34 check(parse("{\"a\"\n0}", JSMN_ERROR_INVAL, 3)); in test_object()
35 check(parse("{\"a\", 0}", JSMN_ERROR_INVAL, 3)); in test_object()
[all …]
/external/rust/crates/chrono/src/format/
Dparsed.rs802 macro_rules! parse { in test_parsed_to_naive_date() macro
811 assert_eq!(parse!(), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
812 assert_eq!(parse!(year: 1984), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
813 assert_eq!(parse!(year: 1984, month: 1), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
814 assert_eq!(parse!(year: 1984, month: 1, day: 2), ymd(1984, 1, 2)); in test_parsed_to_naive_date()
815 assert_eq!(parse!(year: 1984, day: 2), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
816 assert_eq!(parse!(year_div_100: 19), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
817 assert_eq!(parse!(year_div_100: 19, year_mod_100: 84), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
818 assert_eq!(parse!(year_div_100: 19, year_mod_100: 84, month: 1), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
819 assert_eq!(parse!(year_div_100: 19, year_mod_100: 84, month: 1, day: 2), ymd(1984, 1, 2)); in test_parsed_to_naive_date()
[all …]
/external/libcups/vcnet/regex/
Dregcomp.ih7 static void p_ere(register struct parse *p, int stop);
8 static void p_ere_exp(register struct parse *p);
9 static void p_str(register struct parse *p);
10 static void p_bre(register struct parse *p, register int end1, register int end2);
11 static int p_simp_re(register struct parse *p, int starordinary);
12 static int p_count(register struct parse *p);
13 static void p_bracket(register struct parse *p);
14 static void p_b_term(register struct parse *p, register cset *cs);
15 static void p_b_cclass(register struct parse *p, register cset *cs);
16 static void p_b_eclass(register struct parse *p, register cset *cs);
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DJSONTest.kt32 val root = parser.parse(buffer) in parse2Test()
55 val root = JSONParser().parse(ArrayReadWriteBuffer(data, writePosition = data.size)) in parseSample()
93 assertEquals(-0.0, parser.parse(values[0]).toDouble()) in testDoubles()
94 assertEquals(1.0, parser.parse(values[1]).toDouble()) in testDoubles()
95 assertEquals(1.7976931348613157, parser.parse(values[2]).toDouble()) in testDoubles()
96 assertEquals(0.0, parser.parse(values[3]).toDouble()) in testDoubles()
97 assertEquals(-0.5, parser.parse(values[4]).toDouble()) in testDoubles()
98 assertEquals(3.141592653589793, parser.parse(values[5]).toDouble()) in testDoubles()
99 assertEquals(2.718281828459045e-3, parser.parse(values[6]).toDouble()) in testDoubles()
100 assertEquals(2.2250738585072014E-308, parser.parse(values[7]).toDouble()) in testDoubles()
[all …]
/external/truth/extensions/proto/src/test/java/com/google/common/truth/extensions/proto/
DOverloadResolutionTest.java48 protected TestMessage2 parse(String string) { in parse() method in OverloadResolutionTest
49 return (TestMessage2) super.parse(string); in parse()
54 TestMessage2 message = parse("r_string: \"foo\" r_string: \"bar\""); in testObjectOverloads_testMessages_normalMethods()
55 TestMessage2 eqMessage = parse("r_string: \"foo\" r_string: \"bar\""); in testObjectOverloads_testMessages_normalMethods()
56 TestMessage2 diffMessage = parse("r_string: \"bar\" r_string: \"foo\""); in testObjectOverloads_testMessages_normalMethods()
71 TestMessage2 message = parse("r_string: \"foo\" r_string: \"bar\""); in testObjectOverloads_testMessages_specializedMethods()
72 TestMessage2 diffMessage = parse("r_string: \"bar\" r_string: \"foo\""); in testObjectOverloads_testMessages_specializedMethods()
79 TestMessage2 message = parse("r_string: \"foo\" r_string: \"bar\""); in testObjectOverloads_objects_actuallyMessages()
80 TestMessage2 eqMessage = parse("r_string: \"foo\" r_string: \"bar\""); in testObjectOverloads_objects_actuallyMessages()
81 TestMessage2 diffMessage = parse("r_string: \"bar\" r_string: \"foo\""); in testObjectOverloads_objects_actuallyMessages()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc728 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_ns)); in TEST()
730 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ns)); in TEST()
734 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_us)); in TEST()
736 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_us)); in TEST()
738 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_us)); in TEST()
742 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ms)); in TEST()
744 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_ms)); in TEST()
746 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_ms)); in TEST()
750 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_s)); in TEST()
752 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_s)); in TEST()
[all …]
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc728 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_ns)); in TEST()
730 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ns)); in TEST()
734 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_us)); in TEST()
736 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_us)); in TEST()
738 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_us)); in TEST()
742 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ms)); in TEST()
744 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_ms)); in TEST()
746 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_ms)); in TEST()
750 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_s)); in TEST()
752 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_s)); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc728 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_ns)); in TEST()
730 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ns)); in TEST()
734 EXPECT_TRUE(parse(kFmt, "03:04:05.123456789", utc, &tp_us)); in TEST()
736 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_us)); in TEST()
738 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_us)); in TEST()
742 EXPECT_TRUE(parse(kFmt, "03:04:05.123456", utc, &tp_ms)); in TEST()
744 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_ms)); in TEST()
746 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_ms)); in TEST()
750 EXPECT_TRUE(parse(kFmt, "03:04:05.123", utc, &tp_s)); in TEST()
752 EXPECT_TRUE(parse(kFmt, "03:04:05", utc, &tp_s)); in TEST()
[all …]

12345678910>>...202