Home
last modified time | relevance | path

Searched full:parse (Results 1 – 25 of 20260) sorted by relevance

12345678910>>...811

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_pkcs7.data1 PKCS7 Signed Data Parse Pass SHA256 #1
5 PKCS7 Signed Data Parse Pass SHA1 #2
9 PKCS7 Signed Data Parse Pass Without CERT #3
13 PKCS7 Signed Data Parse with zero signers
17 PKCS7 Signed Data Parse Fail with multiple certs #4
21 PKCS7 Signed Data Parse Fail with corrupted cert #5.0
25 PKCS7 Signed Data Parse Fail with disabled alg #5.1
29 PKCS7 Parse Fail with Inlined Content Info #5.2
33 PKCS7 Signed Data Parse Fail with no RSA #5.3
37 PKCS7 Signed Data Parse Fail with corrupted signer info #6
[all …]
H A Dtest_suite_pkparse.data1 Parse RSA Key #1 (No password when required)
5 Parse RSA Key #2 (Correct password)
9 Parse RSA Key #3 (Wrong password)
13 Parse RSA Key #4 (DES Encrypted)
17 Parse RSA Key #5 (3DES Encrypted)
21 Parse RSA Key #6 (AES-128 Encrypted)
25 Parse RSA Key #7 (AES-192 Encrypted)
29 Parse RSA Key #8 (AES-256 Encrypted)
33 Parse RSA Key #9 (2048-bit, DES Encrypted)
37 Parse RSA Key #10 (2048-bit, 3DES Encrypted)
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_pkcs7.data1 PKCS7 Signed Data Parse Pass SHA256 #1
5 PKCS7 Signed Data Parse Pass SHA1 #2
9 PKCS7 Signed Data Parse Pass Without CERT #3
13 PKCS7 Signed Data Parse with zero signers
17 PKCS7 Signed Data Parse Fail with multiple certs #4
21 PKCS7 Signed Data Parse Fail with corrupted cert #5.0
25 PKCS7 Signed Data Parse Fail with disabled alg #5.1
29 PKCS7 Parse Fail with Inlined Content Info #5.2
33 PKCS7 Signed Data Parse Fail with no RSA #5.3
37 PKCS7 Signed Data Parse Fail with corrupted signer info #6
[all …]
H A Dtest_suite_pkparse.data1 Parse RSA Key #1 (No password when required)
5 Parse RSA Key #2 (Correct password)
9 Parse RSA Key #3 (Wrong password)
13 Parse RSA Key #4 (DES Encrypted)
17 Parse RSA Key #5 (3DES Encrypted)
21 Parse RSA Key #6 (AES-128 Encrypted)
25 Parse RSA Key #7 (AES-192 Encrypted)
29 Parse RSA Key #8 (AES-256 Encrypted)
33 Parse RSA Key #9 (2048-bit, DES Encrypted)
37 Parse RSA Key #10 (2048-bit, 3DES Encrypted)
[all …]
/aosp_15_r20/external/grpc-grpc/test/core/transport/chttp2/hpack_parser_corpus/
H A Dclusterfuzz-testcase-minimized-hpack_parser_fuzzer-48659327152291843 parse: "\001\000@"
4 parse: "\377\377\377\023"
5 parse: "MMMMMM\212MMMM"
6 parse: "~\0140737095U160=\312I\\35"
7parse: "@\026grpc-re\264ry-pframes {\n parse: \"t\\000@\\014\"\n parse: \"\"\n}\nframes {\n end…
8 parse: "~\225)tr42ilers055161 pars"
9parse: "!frames {\n end_of_stream: true\n stop_buffering_after_segments: 6\n max_metadata_lengt…
10 parse: "~\225)tr42ildrs055161 pars"
11 parse: "~\225)tr42ilers055161 pars"
12 parse: "~\225)tr42ilers055161 pars"
[all …]
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
H A 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 …]
H A 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 …]
H A 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 …]
/aosp_15_r20/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A 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 …]
/aosp_15_r20/out/soong/.intermediates/external/rust/android-crates-io/crates/protobuf-parse/libprotobuf_parse/linux_glibc_x86_64_rlib_rlib-std/
Dlibprotobuf_parse.rlib.d.raw1parse/libprotobuf_parse/linux_glibc_x86_64_rlib_rlib-std/libprotobuf_parse.rlib: external/rust/and…
3parse/libprotobuf_parse/linux_glibc_x86_64_rlib_rlib-std/libprotobuf_parse.rlib.d.raw: external/ru…
5 external/rust/android-crates-io/crates/protobuf-parse/src/lib.rs:
6 external/rust/android-crates-io/crates/protobuf-parse/src/case_convert.rs:
7 external/rust/android-crates-io/crates/protobuf-parse/src/parse_and_typecheck.rs:
8 external/rust/android-crates-io/crates/protobuf-parse/src/parser.rs:
9 external/rust/android-crates-io/crates/protobuf-parse/src/path.rs:
10 external/rust/android-crates-io/crates/protobuf-parse/src/proto/mod.rs:
11 external/rust/android-crates-io/crates/protobuf-parse/src/proto_path.rs:
12 external/rust/android-crates-io/crates/protobuf-parse/src/protobuf_abs_path.rs:
[all …]
/aosp_15_r20/external/python/parse_type/tests/
Dtest_parse.py2 # -- BASED-ON: https://github.com/r1chardj0n3s/parse/test_parse.py
3 # VERSION: parse 1.12.0
4 # Same as original file but uses bundled :mod:`parse_type.parse` module
5 # instead of :mod:`parse` module
9 '''Test suite for parse.py
28 PARSE_MODULE = os.environ.get("PARSE_TYPE_PARSE_MODULE", "parse_type.parse")
30 # -- USE VENDOR MODULE: parse_type.parse (probably older that original)
31 from parse_type import parse
33 # -- USE ORIGINAL MODULE: parse
34 import parse
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/http/tests/
Dheader_map.rs10 let name: HeaderName = "hello".parse().unwrap(); in smoke()
14 e.insert("world".parse().unwrap()); in smoke()
26 e.append("zomg".parse().unwrap()); in smoke()
71 let name: HeaderName = "hello".parse().unwrap(); in drain()
72 headers.insert(name, "world".parse().unwrap()); in drain()
88 "hello".parse::<HeaderName>().unwrap(), in drain()
89 "world".parse().unwrap(), in drain()
92 "zomg".parse::<HeaderName>().unwrap(), in drain()
93 "bar".parse().unwrap(), in drain()
96 "hello".parse::<HeaderName>().unwrap(), in drain()
[all …]
/aosp_15_r20/external/rust/android-crates-io/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 …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.82/src/
H A 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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/
Ditem.rs925 use crate::parse::discouraged::Speculative as _;
926 use crate::parse::{Parse, ParseBuffer, ParseStream};
938 impl Parse for Item {
939 fn parse(input: ParseStream) -> Result<Self> { in parse() method
952 let vis: Visibility = ahead.parse()?; in parse_rest_of_item()
956 let vis: Visibility = input.parse()?; in parse_rest_of_item()
957 let sig: Signature = input.parse()?; in parse_rest_of_item()
959 input.parse::<Token![;]>()?; in parse_rest_of_item()
965 ahead.parse::<Token![extern]>()?; in parse_rest_of_item()
968 input.parse().map(Item::ExternCrate) in parse_rest_of_item()
[all …]
Dparse.rs16 //! enums (not shown) and structs, then provide implementations of the [`Parse`]
17 //! trait to parse these syntax tree data structures from a token stream.
19 //! Once `Parse` impls have been defined, they can be called conveniently from a
23 //! pointing out the exact token that triggered the failure to parse.
32 //! use syn::parse::{Parse, ParseStream};
49 //! impl Parse for Item {
50 //! fn parse(input: ParseStream) -> Result<Self> {
53 //! input.parse().map(Item::Struct)
55 //! input.parse().map(Item::Enum)
62 //! impl Parse for ItemStruct {
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/
H A Ditem.rs925 use crate::parse::discouraged::Speculative as _;
926 use crate::parse::{Parse, ParseBuffer, ParseStream};
938 impl Parse for Item {
939 fn parse(input: ParseStream) -> Result<Self> { in parse() method
952 let vis: Visibility = ahead.parse()?; in parse_rest_of_item()
956 let vis: Visibility = input.parse()?; in parse_rest_of_item()
957 let sig: Signature = input.parse()?; in parse_rest_of_item()
959 input.parse::<Token![;]>()?; in parse_rest_of_item()
965 ahead.parse::<Token![extern]>()?; in parse_rest_of_item()
968 input.parse().map(Item::ExternCrate) in parse_rest_of_item()
[all …]
H A Dparse.rs16 //! enums (not shown) and structs, then provide implementations of the [`Parse`]
17 //! trait to parse these syntax tree data structures from a token stream.
19 //! Once `Parse` impls have been defined, they can be called conveniently from a
23 //! pointing out the exact token that triggered the failure to parse.
32 //! use syn::parse::{Parse, ParseStream};
49 //! impl Parse for Item {
50 //! fn parse(input: ParseStream) -> Result<Self> {
53 //! input.parse().map(Item::Struct)
55 //! input.parse().map(Item::Enum)
62 //! impl Parse for ItemStruct {
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/
H A Ditem.rs968 use crate::parse::discouraged::Speculative;
969 use crate::parse::{Parse, ParseBuffer, ParseStream, Result};
977 impl Parse for Item {
978 fn parse(input: ParseStream) -> Result<Self> { in parse() method
982 let vis: Visibility = ahead.parse()?; in parse()
986 let vis: Visibility = input.parse()?; in parse()
987 let sig: Signature = input.parse()?; in parse()
989 input.parse::<Token![;]>()?; in parse()
995 ahead.parse::<Token![extern]>()?; in parse()
998 input.parse().map(Item::ExternCrate) in parse()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DSleepSessionHelperTest.kt61 val SLEEP_SESSION_1_START_DATE = Instant.parse("2023-02-13T16:00:00.00Z") in <lambda>()
62 val SLEEP_SESSION_1_END_DATE = Instant.parse("2023-02-13T18:00:00.00Z") in <lambda>()
65 val SLEEP_SESSION_2_START_DATE = Instant.parse("2023-02-13T17:30:00.00Z") in <lambda>()
66 val SLEEP_SESSION_2_END_DATE = Instant.parse("2023-02-13T23:15:00.00Z") in <lambda>()
69 val SLEEP_SESSION_3_START_DATE = Instant.parse("2023-02-13T01:00:00.00Z") in <lambda>()
70 val SLEEP_SESSION_3_END_DATE = Instant.parse("2023-02-13T08:20:00.00Z") in <lambda>()
97 val SLEEP_SESSION_1_START_DATE = Instant.parse("2023-02-13T16:00:00.00Z") in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax()
98 val SLEEP_SESSION_1_END_DATE = Instant.parse("2023-02-13T18:00:00.00Z") in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax()
101 val SLEEP_SESSION_2_START_DATE = Instant.parse("2023-02-13T17:30:00.00Z") in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax()
102 val SLEEP_SESSION_2_END_DATE = Instant.parse("2023-02-13T23:15:00.00Z") in clusterSessions_allSessionStartAndEndOnSameDay_withSessionUnknownStart_doesNotIncludeUnknownSessionInMinAndMax()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/toml_edit/tests/testsuite/
Dparse.rs4 macro_rules! parse { macro
6 let v = $s.parse::<$ty>();
14 parse!($s, Value)
20 let key = parse!($s, Key);
90 let doc = toml.parse::<Document>(); in test_key_unification()
99 match $toml.parse::<Document>() {
126 .parse::<Document>() in crlf()
166 .parse::<Document>() in fun_with_strings()
219 .parse::<Document>() in tables_in_arrays()
229 .parse::<Document>() in empty_table()
[all …]
/aosp_15_r20/external/antlr/runtime/Python3/tests/
H A 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 …]
/aosp_15_r20/external/antlr/runtime/Python/tests/
H A 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 …]
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/net/
H A DMediaTypeTest.java65 assertSame(constant, MediaType.parse(constant.toString())); in testParse_useConstants()
226 assertEquals("text", MediaType.parse("text/plain").type());
227 assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
231 assertEquals("plain", MediaType.parse("text/plain").subtype());
232 assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
239 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
242 MediaType.parse("application/atom+xml; charset=utf-8").parameters());
243 assertEquals(PARAMETERS, MediaType.parse("application/atom+xml; a=1; a=2; b=3").parameters());
247 assertSame(MediaType.parse("image/gif"), MediaType.parse("image/gif").withoutParameters());
249 MediaType.parse("image/gif"), MediaType.parse("image/gif; foo=bar").withoutParameters());
[all …]
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/net/
H A DMediaTypeTest.java65 assertSame(constant, MediaType.parse(constant.toString())); in testParse_useConstants()
226 assertEquals("text", MediaType.parse("text/plain").type());
227 assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
231 assertEquals("plain", MediaType.parse("text/plain").subtype());
232 assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
239 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
242 MediaType.parse("application/atom+xml; charset=utf-8").parameters());
243 assertEquals(PARAMETERS, MediaType.parse("application/atom+xml; a=1; a=2; b=3").parameters());
247 assertSame(MediaType.parse("image/gif"), MediaType.parse("image/gif").withoutParameters());
249 MediaType.parse("image/gif"), MediaType.parse("image/gif; foo=bar").withoutParameters());
[all …]

12345678910>>...811