Home
last modified time | relevance | path

Searched defs:Lit (Results 1 – 23 of 23) sorted by relevance

/external/rust/crates/tokio-macros/src/
Dentry.rs69 fn set_flavor(&mut self, runtime: syn::Lit, span: Span) -> Result<(), syn::Error> { in set_flavor()
83 worker_threads: syn::Lit, in set_worker_threads()
101 fn set_start_paused(&mut self, start_paused: syn::Lit, span: Span) -> Result<(), syn::Error> { in set_start_paused()
111 fn set_crate_name(&mut self, name: syn::Lit, span: Span) -> Result<(), syn::Error> { in set_crate_name()
175 fn parse_int(int: syn::Lit, span: Span, field: &str) -> Result<usize, syn::Error> { in parse_int()
191 fn parse_string(int: syn::Lit, span: Span, field: &str) -> Result<String, syn::Error> { in parse_string()
202 fn parse_ident(lit: syn::Lit, span: Span, field: &str) -> Result<Ident, syn::Error> { in parse_ident()
223 fn parse_bool(bool: syn::Lit, span: Span, field: &str) -> Result<bool, syn::Error> { in parse_bool() argument
/external/rust/crates/argh_derive/src/
Derrors.rs80 pub fn expect_nested_lit<'a>(&self, nm: &'a syn::NestedMeta) -> Option<&'a syn::Lit> { in expect_nested_lit()
102 fn unexpected_lit(&self, expected: &str, found: &syn::Lit) { in unexpected_lit()
/external/clang/unittests/AST/
DPostOrderASTVisitor.cpp42 bool VisitIntegerLiteral(IntegerLiteral *Lit) { in VisitIntegerLiteral()
/external/rust/crates/syn/src/
Dlit.rs733 pub fn Lit(marker: lookahead::TokenMarker) -> Lit { in Lit() argument
745 impl Parse for Lit { implementation
776 fn parse_negative_lit(neg: Punct, cursor: Cursor) -> Option<(Lit, Cursor)> { in parse_negative_lit()
956 impl Lit { impl
/external/rust/crates/syn/tests/
Dtest_lit.rs12 fn lit(s: &str) -> Lit { in lit()
/external/clang/test/CodeGenCXX/
Dconst-init-cxx11.cpp223 struct Lit { struct
224 constexpr Lit() : n(5) {} in Lit() function
225 int n;
/external/clang/lib/Parse/
DParseObjc.cpp2807 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCAtExpression() local
3341 ExprResult Lit(ParseStringLiteralExpression()); in ParseObjCStringLiteral() local
3366 ExprResult Lit(Actions.ActOnCharacterConstant(Tok)); in ParseObjCCharacterLiteral() local
3380 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCNumericLiteral() local
/external/rust/crates/serde_derive/src/internals/
Dattr.rs1593 lit: &'a syn::Lit, in get_lit_str2()
1619 lit: &syn::Lit, in parse_lit_into_expr_path()
1631 lit: &syn::Lit, in parse_lit_into_where()
1661 lit: &syn::Lit, in parse_lit_into_lifetimes()
/external/rust/crates/syn/tests/common/
Deq.rs750 fn is_escaped_lit(lit: &Lit, unescaped: Symbol) -> bool { in is_escaped_lit()
/external/rust/crates/syn/src/gen/
Deq.rs1242 impl Eq for Lit {} implementation
1244 impl PartialEq for Lit { implementation
Dclone.rs1325 impl Clone for Lit { implementation
Dhash.rs1676 impl Hash for Lit { implementation
Dvisit_mut.rs440 fn visit_lit_mut(&mut self, i: &mut Lit) { in visit_lit_mut()
Dfold.rs440 fn fold_lit(&mut self, i: Lit) -> Lit { in fold_lit()
Ddebug.rs1812 impl Debug for Lit { implementation
Dvisit.rs439 fn visit_lit(&mut self, i: &'ast Lit) { in visit_lit()
/external/clang/lib/Sema/
DSemaExpr.cpp1650 StringLiteral *Lit = StringLiteral::Create(Context, Literal.GetString(), in ActOnStringLiteral() local
3156 Expr *Lit = new (Context) CharacterLiteral(Literal.getValue(), Kind, Ty, in ActOnCharacterConstant() local
3308 Expr *Lit; in ActOnNumericConstant() local
3330 Expr *Lit = StringLiteral::Create( in ActOnNumericConstant() local
DSemaDeclCXX.cpp12126 StringLiteral *Lit = cast<StringLiteral>(LangStr); in ActOnStartLinkageSpecification() local
/external/clang/lib/AST/
DExprConstant.cpp2213 static APSInt extractStringLiteralCharacter(EvalInfo &Info, const Expr *Lit, in extractStringLiteralCharacter()
2233 static void expandStringLiteral(EvalInfo &Info, const Expr *Lit, in expandStringLiteral()
2916 APValue Lit; in handleLValueToRValueConversion() local
DExpr.cpp3228 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(this); in isNullPointerConstant() local
/external/libcxxabi/src/demangle/
DItaniumDemangle.h3800 AbstractManglingParser<Derived, Alloc>::parseIntegerLiteral(StringView Lit) { in parseIntegerLiteral()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h4043 AbstractManglingParser<Derived, Alloc>::parseIntegerLiteral(StringView Lit) { in parseIntegerLiteral()
/external/cronet/buildtools/third_party/libc++abi/trunk/src/demangle/
DItaniumDemangle.h4157 AbstractManglingParser<Derived, Alloc>::parseIntegerLiteral(StringView Lit) { in parseIntegerLiteral()