Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:parse2
(Results
1 - 24
of
24
) sorted by relevance
/third_party/rust/crates/syn/tests/regression/
H
A
D
issue1235.rs
12
let file = syn::
parse2
::<syn::File>(tokens).unwrap();
in main()
21
let file = syn::
parse2
::<syn::File>(tokens).unwrap();
in main()
30
let file = syn::
parse2
::<syn::File>(tokens).unwrap();
in main()
/third_party/rust/crates/bindgen/bindgen/codegen/postprocessing/
H
A
D
mod.rs
3
use syn::{
parse2
, ItemMod};
50
let mut item_mod =
parse2
::<ItemMod>(module_wrapped_tokens).unwrap();
/third_party/rust/crates/syn/benches/
H
A
D
file.rs
50
b.iter(|| immediate_fail.
parse2
(tokens.clone()));
in create_token_buffer()
56
b.iter(|| syn::
parse2
::<syn::File>(tokens.clone()));
in parse_file()
/third_party/rust/crates/syn/tests/
H
A
D
test_pat.rs
14
match Pat::parse_single.
parse2
(quote!(self)).unwrap() {
in test_pat_ident()
22
match Pat::parse_single.
parse2
(quote!(self::CONST)).unwrap() {
in test_pat_path()
52
let pat = Pat::parse_single.
parse2
(tokens).unwrap();
in test_group()
H
A
D
test_stmt.rs
87
let stmts = Block::parse_within.
parse2
(tokens).unwrap();
in test_none_group()
275
let stmts = Block::parse_within.
parse2
(tokens).unwrap();
in test_early_parse_loop()
299
let stmts = Block::parse_within.
parse2
(tokens).unwrap();
in test_early_parse_loop()
H
A
D
test_ident.rs
6
syn::
parse2
(TokenStream::from_str(s).unwrap())
in parse()
H
A
D
test_visibility.rs
45
syn::
parse2
::<VisRest>($input.parse().unwrap()).unwrap_err();
H
A
D
test_parse_buffer.rs
91
parse.
parse2
(tokens).unwrap();
in trailing_empty_none_group()
H
A
D
test_derive_input.rs
353
syn::
parse2
::<DeriveInput>(input).unwrap_err();
in test_attr_with_non_mod_style_path()
H
A
D
test_expr.rs
97
assert_eq!(expected, syn::
parse2
(tokens).unwrap());
in test_tuple_multi_index()
367
syn::
parse2
::<Stmt>(stmt).unwrap();
376
syn::
parse2
::<Stmt>(stmt).unwrap_err();
H
A
D
test_precedence.rs
159
let Ok(reparsed_expr_invisible) = syn::
parse2
(expr_invisible.to_token_stream()) else {
in test_expressions()
/third_party/rust/crates/rust-openssl/openssl/src/
H
A
D
pkcs12.rs
36
#[deprecated(note = "Use
parse2
instead", since = "0.10.46")]
39
let parsed = self.
parse2
(pass)?;
in parse()
50
pub fn
parse2
(&self, pass: &str) -> Result<ParsedPkcs12_2, ErrorStack> {
in parse2()
functions
304
let parsed = pkcs12.
parse2
("mypass").unwrap();
in parse()
326
let parsed = pkcs12.
parse2
("cassandra").unwrap();
in parse_empty_chain()
369
let parsed = pkcs12.
parse2
("mypass").unwrap();
in create()
386
let parsed = pkcs12.
parse2
("hunter2").unwrap();
in create_only_ca()
H
A
D
cms.rs
303
.
parse2
("mypass")
in cms_encrypt_decrypt()
440
.
parse2
("mypass")
in cms_sign_verify_error()
/third_party/rust/crates/syn/codegen/src/
H
A
D
file.rs
17
let syntax_tree: syn::File = syn::
parse2
(content).unwrap();
in write()
H
A
D
parse.rs
315
ast: syn::
parse2
(quote! {
in ast_struct_inner()
337
ast: syn::
parse2
(quote! {
in ast_enum()
586
parsing::ast_struct.
parse2
(tts)
in do_load_file()
588
parsing::ast_enum.
parse2
(tts)
in do_load_file()
590
parsing::ast_enum_of_structs.
parse2
(tts)
in do_load_file()
/third_party/rust/crates/cxx/gen/lib/src/
H
A
D
lib.rs
56
let syntax = syn::
parse2
(rust_source)
in generate_header_and_cc()
/third_party/rust/crates/syn/src/
H
A
D
parse_quote.rs
117
match parser.
parse2
(token_stream) {
in parse()
H
A
D
lib.rs
598
/// let expr: Expr = syn::
parse2
(code).unwrap();
684
/// let syntax_tree: File = syn::
parse2
(code).unwrap();
716
/// let syntax_tree: File = syn::
parse2
(code).unwrap();
813
/// let mut syntax_tree: File = syn::
parse2
(code).unwrap();
870
/// `proc_macro2::TokenStream`, use [`syn::
parse2
`] instead.
872
/// [`syn::
parse2
`]:
parse2
919
pub fn
parse2
<T: parse::Parse>(tokens: proc_macro2::TokenStream) -> Result<T> {
in parse2()
functions
920
parse::Parser::
parse2
(T::parse, tokens)
in parse2()
H
A
D
lit.rs
231
let result = parser.
parse2
(tokens)?;
in parse_with()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H
A
D
parse.rs
737
.
parse2
(tokens)
in parse_extern_verbatim()
1056
self_ty = syn::
parse2
(ty)?;
in parse_impl()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H
A
D
parse.rs
737
.
parse2
(tokens)
in parse_extern_verbatim()
1056
self_ty = syn::
parse2
(ty)?;
in parse_impl()
/third_party/rust/crates/cxx/macro/src/syntax/
H
A
D
parse.rs
737
.
parse2
(tokens)
in parse_extern_verbatim()
1056
self_ty = syn::
parse2
(ty)?;
in parse_impl()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H
A
D
parse.rs
737
.
parse2
(tokens)
in parse_extern_verbatim()
1056
self_ty = syn::
parse2
(ty)?;
in parse_impl()
/third_party/rust/crates/cxx/syntax/
H
A
D
parse.rs
737
.
parse2
(tokens)
in parse_extern_verbatim()
1056
self_ty = syn::
parse2
(ty)?;
in parse_impl()
Completed in 17 milliseconds