/aosp_15_r20/external/rust/android-crates-io/crates/http/src/uri/ |
D | tests.rs | 20 macro_rules! test_parse { macro 57 test_parse! { 69 test_parse! { 82 test_parse! { 95 test_parse! { 107 test_parse! { 120 test_parse! { 133 test_parse! { 146 test_parse! { 159 test_parse! { [all …]
|
/aosp_15_r20/external/curl/tests/unit/ |
H A D | unit1620.c | 43 static void test_parse( in test_parse() function 106 test_parse("hostname", "hostname", NULL, NULL); 107 test_parse("user:password", "user", "password", NULL); 108 test_parse("user:password;options", "user", "password", "options"); 109 test_parse("user:password;options;more", "user", "password", "options;more"); 110 test_parse("", "", NULL, NULL); 111 test_parse(":", "", "", NULL); 112 test_parse(":;", "", "", NULL); 113 test_parse(":password", "", "password", NULL); 114 test_parse(":password;", "", "password", NULL); [all …]
|
H A D | unit1663.c | 51 static void test_parse( in test_parse() function 84 test_parse("dev", "dev", NULL, NULL, CURLE_OK); 85 test_parse("if!eth0", NULL, "eth0", NULL, CURLE_OK); 86 test_parse("host!myname", NULL, NULL, "myname", CURLE_OK); 87 test_parse("ifhost!eth0!myname", NULL, "eth0", "myname", CURLE_OK); 88 test_parse("", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); 89 test_parse("!", "!", NULL, NULL, CURLE_OK); 90 test_parse("if!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); 91 test_parse("if!eth0!blubb", NULL, "eth0!blubb", NULL, CURLE_OK); 92 test_parse("host!", NULL, NULL, NULL, CURLE_BAD_FUNCTION_ARGUMENT); [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/workbench/x3/toy/ |
D | toy.cpp | 171 bool test_parse(Parser const& p, char const* in) in test_parse() function 198 std::cout << test_parse(abc, "abc") << std::endl; in main() 199 std::cout << test_parse(abc, "abx") << std::endl; in main() 210 std::cout << test_parse(start, "x") << std::endl; in main() 211 std::cout << test_parse(start, "ax") << std::endl; in main() 212 std::cout << test_parse(start, "aaaaax") << std::endl; in main() 213 std::cout << test_parse(start, "aaz") << std::endl; in main() 228 std::cout << test_parse(g, "x") << std::endl; in main() 229 std::cout << test_parse(g, "ax") << std::endl; in main() 230 std::cout << test_parse(g, "aaaaax") << std::endl; in main() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/container.adaptors/container.adaptors.format/ |
H A D | parse.pass.cpp | 40 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 52 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 53 test_parse<std::queue<int>>(fmt, offset); in test_parse() 54 test_parse<std::priority_queue<int>>(fmt, offset); in test_parse() 55 test_parse<std::stack<int>>(fmt, offset); in test_parse() 60 test_parse(SV(""), 0); in test_fmt() 61 test_parse(SV(":d"), 0); in test_fmt() 63 test_parse(SV("}"), 1); in test_fmt() 64 test_parse(SV(":d}"), 1); in test_fmt()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/num/ |
H A D | mod.rs | 75 fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>) in test_parse() function 93 test_parse::<i8>("127", Ok(127)); in test_int_from_str_overflow() 94 test_parse::<i8>("128", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 96 test_parse::<i8>("-128", Ok(-128)); in test_int_from_str_overflow() 97 test_parse::<i8>("-129", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 99 test_parse::<i16>("32767", Ok(32_767)); in test_int_from_str_overflow() 100 test_parse::<i16>("32768", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 102 test_parse::<i16>("-32768", Ok(-32_768)); in test_int_from_str_overflow() 103 test_parse::<i16>("-32769", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 105 test_parse::<i32>("2147483647", Ok(2_147_483_647)); in test_int_from_str_overflow() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/num/ |
H A D | mod.rs | 75 fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>) in test_parse() function 93 test_parse::<i8>("127", Ok(127)); in test_int_from_str_overflow() 94 test_parse::<i8>("128", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 96 test_parse::<i8>("-128", Ok(-128)); in test_int_from_str_overflow() 97 test_parse::<i8>("-129", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 99 test_parse::<i16>("32767", Ok(32_767)); in test_int_from_str_overflow() 100 test_parse::<i16>("32768", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 102 test_parse::<i16>("-32768", Ok(-32_768)); in test_int_from_str_overflow() 103 test_parse::<i16>("-32769", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 105 test_parse::<i32>("2147483647", Ok(2_147_483_647)); in test_int_from_str_overflow() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/num/ |
H A D | mod.rs | 75 fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>) in test_parse() function 93 test_parse::<i8>("127", Ok(127)); in test_int_from_str_overflow() 94 test_parse::<i8>("128", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 96 test_parse::<i8>("-128", Ok(-128)); in test_int_from_str_overflow() 97 test_parse::<i8>("-129", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 99 test_parse::<i16>("32767", Ok(32_767)); in test_int_from_str_overflow() 100 test_parse::<i16>("32768", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 102 test_parse::<i16>("-32768", Ok(-32_768)); in test_int_from_str_overflow() 103 test_parse::<i16>("-32769", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 105 test_parse::<i32>("2147483647", Ok(2_147_483_647)); in test_int_from_str_overflow() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/num/ |
H A D | mod.rs | 75 fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>) in test_parse() function 93 test_parse::<i8>("127", Ok(127)); in test_int_from_str_overflow() 94 test_parse::<i8>("128", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 96 test_parse::<i8>("-128", Ok(-128)); in test_int_from_str_overflow() 97 test_parse::<i8>("-129", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 99 test_parse::<i16>("32767", Ok(32_767)); in test_int_from_str_overflow() 100 test_parse::<i16>("32768", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 102 test_parse::<i16>("-32768", Ok(-32_768)); in test_int_from_str_overflow() 103 test_parse::<i16>("-32769", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 105 test_parse::<i32>("2147483647", Ok(2_147_483_647)); in test_int_from_str_overflow() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/num/ |
H A D | mod.rs | 75 fn test_parse<T>(num_str: &str, expected: Result<T, IntErrorKind>) in test_parse() function 93 test_parse::<i8>("127", Ok(127)); in test_int_from_str_overflow() 94 test_parse::<i8>("128", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 96 test_parse::<i8>("-128", Ok(-128)); in test_int_from_str_overflow() 97 test_parse::<i8>("-129", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 99 test_parse::<i16>("32767", Ok(32_767)); in test_int_from_str_overflow() 100 test_parse::<i16>("32768", Err(IntErrorKind::PosOverflow)); in test_int_from_str_overflow() 102 test_parse::<i16>("-32768", Ok(-32_768)); in test_int_from_str_overflow() 103 test_parse::<i16>("-32769", Err(IntErrorKind::NegOverflow)); in test_int_from_str_overflow() 105 test_parse::<i32>("2147483647", Ok(2_147_483_647)); in test_int_from_str_overflow() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.formatter/ |
H A D | parse.pass.cpp | 36 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 49 test_parse(SV(""), 0); in test_fmt() 50 test_parse(SV(":d"), 0); in test_fmt() 52 test_parse(SV("}"), 1); in test_fmt() 53 test_parse(SV(":d}"), 1); in test_fmt()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtmap/ |
H A D | parse.pass.cpp | 36 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 49 test_parse(SV(""), 0); in test_fmt() 50 test_parse(SV(":5"), 0); in test_fmt() 52 test_parse(SV("}"), 1); in test_fmt() 53 test_parse(SV(":5}"), 1); in test_fmt()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtdef/ |
H A D | parse.pass.cpp | 33 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 46 test_parse(SV(""), 0); in test_fmt() 47 test_parse(SV(":5"), 0); in test_fmt() 49 test_parse(SV("}"), 1); in test_fmt() 50 test_parse(SV(":5}"), 1); in test_fmt()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtset/ |
H A D | parse.pass.cpp | 36 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 49 test_parse(SV(""), 0); in test_fmt() 50 test_parse(SV(":5"), 0); in test_fmt() 52 test_parse(SV("}"), 1); in test_fmt() 53 test_parse(SV(":5}"), 1); in test_fmt()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/ |
H A D | parse.pass.cpp | 36 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 49 test_parse(SV(""), 0); in test_fmt() 50 test_parse(SV("1"), 0); in test_fmt() 52 test_parse(SV("}"), 1); in test_fmt() 53 test_parse(SV("1}"), 1); in test_fmt()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/sequences/vector.bool/vector.bool.fmt/ |
H A D | parse.pass.cpp | 37 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 50 test_parse(SV(""), 0); in test_fmt() 51 test_parse(SV("b"), 0); in test_fmt() 53 test_parse(SV("}"), 1); in test_fmt() 54 test_parse(SV("b}"), 1); in test_fmt()
|
/aosp_15_r20/external/libexif/test/ |
H A D | test-parse.c | 59 void test_parse(const char *filename, void *callback_data); 60 void test_parse(const char *filename, void *callback_data) in test_parse() function 114 split_ws_string(envar, test_parse, callback_data); in main() 118 test_parse(argv[i], callback_data); in main()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/format/format.range/format.range.fmtstr/ |
H A D | parse.pass.cpp | 32 constexpr void test_parse(StringViewT fmt, std::size_t offset) { in test_parse() function 46 …test_parse<std::formatter<test_range_format_string<std::basic_string<CharT>>, CharT>>(fmt, offset); in test_formatters() 47 …test_parse<std::formatter<test_range_format_debug_string<std::basic_string<CharT>>, CharT>>(fmt, o… in test_formatters()
|
/aosp_15_r20/system/extras/perf2cfg/ |
H A D | perf2cfg_test.py | 21 from tests.test_parse import *
|
/aosp_15_r20/external/python/cpython3/Lib/test/test_json/ |
D | test_pass2.py | 10 def test_parse(self): member in TestPass2
|
D | test_pass3.py | 16 def test_parse(self): member in TestPass3
|
D | test_pass1.py | 67 def test_parse(self): member in TestPass1
|
/aosp_15_r20/external/python/cpython2/Lib/json/tests/ |
D | test_pass3.py | 16 def test_parse(self): member in TestPass3
|
D | test_pass1.py | 67 def test_parse(self): member in TestPass1
|
D | test_pass2.py | 10 def test_parse(self): member in TestPass2
|