Searched refs:StrLit (Results 1 – 10 of 10) sorted by relevance
/external/rust/crates/protobuf/src/text_format/lexer/ |
D | token.rs | 5 use super::str_lit::StrLit; 18 StrLit(StrLit), enumerator 28 &Token::StrLit(ref s) => s.quoted(), in format()
|
D | str_lit.rs | 41 pub struct StrLit { struct 45 impl StrLit { impl 72 use crate::text_format::lexer::StrLit; 78 StrLit { in decode_utf8()
|
D | mod.rs | 18 pub use self::str_lit::StrLit;
|
D | lexer_impl.rs | 11 use super::str_lit::StrLit; 650 return Ok(Token::StrLit(StrLit { escaped })); in next_token_inner()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 17 RangeLimits, RangeSyntax, Stmt, StmtKind, StrLit, StrStyle, StructExpr, StructRest, 326 spanless_eq_struct!(StrLit; style symbol suffix span symbol_unescaped);
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 928 if (auto *StrLit = dyn_cast<ObjCStringLiteral>(Key)) { in CheckObjCDictionaryLiteralDuplicateKeys() local 929 StringRef Bytes = StrLit->getString()->getBytes(); in CheckObjCDictionaryLiteralDuplicateKeys() 930 SourceLocation Loc = StrLit->getExprLoc(); in CheckObjCDictionaryLiteralDuplicateKeys()
|
D | SemaDeclAttr.cpp | 665 if (const auto *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs() local 666 if (StrLit->getLength() == 0 || in checkAttrArgsAreCapabilityObjs() 667 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
|
D | SemaExprCXX.cpp | 3857 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion() local 3864 switch (StrLit->getKind()) { in IsStringLiteralToNonConstPointerConversion()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 535 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs() local 536 if (StrLit->getLength() == 0 || in checkAttrArgsAreCapabilityObjs() 537 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
|
D | SemaExprCXX.cpp | 3149 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion() local 3156 switch (StrLit->getKind()) { in IsStringLiteralToNonConstPointerConversion()
|