Home
last modified time | relevance | path

Searched refs:Literal (Results 1 – 25 of 126) sorted by relevance

123456

/external/libnl/doc/stylesheets/
Dpygments.css30 .highlight .m { color: #666666 } /* Literal.Number */
31 .highlight .s { color: #BB4444 } /* Literal.String */
46 .highlight .mf { color: #666666 } /* Literal.Number.Float */
47 .highlight .mh { color: #666666 } /* Literal.Number.Hex */
48 .highlight .mi { color: #666666 } /* Literal.Number.Integer */
49 .highlight .mo { color: #666666 } /* Literal.Number.Oct */
50 .highlight .sb { color: #BB4444 } /* Literal.String.Backtick */
51 .highlight .sc { color: #BB4444 } /* Literal.String.Char */
52 .highlight .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
53 .highlight .s2 { color: #BB4444 } /* Literal.String.Double */
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp4.cpp16 struct Literal { struct
17 constexpr Literal() {} in Literal() argument
18 explicit Literal(int); // expected-note 2 {{here}}
31 constexpr S(Literal) = delete; argument
194 Literal l;
195 Literal m;
196 Literal n[3];
206 Literal l;
222 struct ConstexprBaseMemberCtors : Literal {
223 Literal l;
[all …]
Dp6.cpp16 struct Literal { struct
17 constexpr Literal() {} in Literal() argument
51 template<typename T> struct T1 : virtual Literal { // expected-note {{here}}
60 constexpr T2<Literal> g2() { return {}; } in g2()
66 constexpr T3<Literal> g3() { return {}; } // ok in g3()
Dp3.cpp16 struct Literal { struct
17 constexpr Literal() {} in Literal() function
180 Literal a; in VarWithCtorDecl()
/external/clang/lib/Lex/
DPPExpressions.cpp268 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP); in EvaluateValue() local
269 if (Literal.hadError) in EvaluateValue()
272 if (Literal.isFloatingLiteral() || Literal.isImaginary) { in EvaluateValue()
276 assert(Literal.isIntegerLiteral() && "Unknown ppnumber"); in EvaluateValue()
279 if (Literal.hasUDSuffix()) in EvaluateValue()
283 if (!PP.getLangOpts().C99 && Literal.isLongLong) { in EvaluateValue()
293 if (Literal.GetIntegerValue(Result.Val)) { in EvaluateValue()
302 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue()
308 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue()
311 if (ValueLive && Literal.getRadix() == 10) in EvaluateValue()
[all …]
DPreprocessor.cpp842 StringLiteralParser Literal(StrToks, *this); in FinishLexStringLiteral() local
843 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
845 if (Literal.hadError) in FinishLexStringLiteral()
848 if (Literal.Pascal) { in FinishLexStringLiteral()
854 String = Literal.GetString(); in FinishLexStringLiteral()
865 NumericLiteralParser Literal(Spelling, Tok.getLocation(), *this); in parseSimpleIntegerLiteral() local
866 if (Literal.hadError || !Literal.isIntegerLiteral() || Literal.hasUDSuffix()) in parseSimpleIntegerLiteral()
869 if (Literal.GetIntegerValue(APVal)) in parseSimpleIntegerLiteral()
DPPDirectives.cpp1180 StringLiteralParser Literal(StrTok, *this); in HandleLineDirective() local
1181 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()
1182 if (Literal.hadError) in HandleLineDirective()
1184 if (Literal.Pascal) { in HandleLineDirective()
1188 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleLineDirective()
1316 StringLiteralParser Literal(StrTok, *this); in HandleDigitDirective() local
1317 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleDigitDirective()
1318 if (Literal.hadError) in HandleDigitDirective()
1320 if (Literal.Pascal) { in HandleDigitDirective()
1324 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleDigitDirective()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp168 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt() local
169 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
175 TargetInfo::ConstraintInfo Info(Literal->getString(), OutputName); in ActOnGCCAsmStmt()
177 return StmtError(Diag(Literal->getLocStart(), in ActOnGCCAsmStmt()
237 if (!Context.getTargetInfo().validateOutputSize(Literal->getString(), in ActOnGCCAsmStmt()
247 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt() local
248 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
254 TargetInfo::ConstraintInfo Info(Literal->getString(), InputName); in ActOnGCCAsmStmt()
257 return StmtError(Diag(Literal->getLocStart(), in ActOnGCCAsmStmt()
328 if (!Context.getTargetInfo().validateInputSize(Literal->getString(), in ActOnGCCAsmStmt()
[all …]
DSemaExpr.cpp1607 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral() local
1608 if (Literal.hadError) in ActOnStringLiteral()
1617 if (Literal.isWide()) { in ActOnStringLiteral()
1620 } else if (Literal.isUTF8()) { in ActOnStringLiteral()
1622 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
1625 } else if (Literal.isUTF32()) { in ActOnStringLiteral()
1628 } else if (Literal.isPascal()) { in ActOnStringLiteral()
1641 llvm::APInt(32, Literal.GetNumStringChars()+1), in ActOnStringLiteral()
1650 StringLiteral *Lit = StringLiteral::Create(Context, Literal.GetString(), in ActOnStringLiteral()
1651 Kind, Literal.Pascal, StrTy, in ActOnStringLiteral()
[all …]
/external/eigen/Eigen/src/Core/
DNumTraits.h107 typedef T Literal;
176 typedef typename NumTraits<_Real>::Literal Literal;
202 typedef typename NumTraits<Scalar>::Literal Literal;
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc1171 Literal<uint64_t> l1(0xcafebeefdeadbaba); in TEST()
1208 Literal<uint64_t> l1(0xcafebeefdeadbaba); in TEST()
1276 Literal<uint64_t> l1(0xcafebeefdeadbaba); in EmitReusedLoadLiteralStressTest()
1336 Literal<uint64_t> l0(0xcafebeefdeadbaba); in TEST()
1725 Literal<int32_t> lit(42); in TEST()
1809 Literal<uint64_t> l0(0x1234567890abcdef); in TEST()
1810 Literal<int32_t> l1(0x12345678); in TEST()
1811 Literal<uint16_t> l2(1234); in TEST()
1812 Literal<int16_t> l3(-678); in TEST()
1813 Literal<uint8_t> l4(42); in TEST()
[all …]
/external/mesa3d/src/gallium/tools/trace/
Dparse.py259 return Literal(None)
265 return Literal(value)
271 return Literal(value)
277 return Literal(value)
283 return Literal(value)
295 return Literal(value)
301 return Literal(value)
/external/vixl/examples/aarch64/
Dliteral.cc38 Literal<int64_t> automatically_placed_literal(111, masm.GetLiteralPool()); in LiteralExample()
39 Literal<int64_t> manually_placed_literal(222); in LiteralExample()
/external/clang/test/CXX/expr/expr.const/
Dp2-0x.cpp543 struct Literal { struct
544 constexpr Literal(const char *name) : name(name) {} in Literal() function
548 constexpr Expr(Literal l) : IsLiteral(true), l(l) {} in Expr()
551 Literal l;
561 Literal a("a");
562 Literal b("b");
/external/libmojo/third_party/jinja2/
Dnodes.py425 class Literal(Expr): class
430 class Const(Literal):
453 class TemplateData(Literal):
466 class Tuple(Literal):
484 class List(Literal):
493 class Dict(Literal):
/external/v8/src/ast/
Dast.cc406 Literal* key = property->key()->AsLiteral(); in AssignFeedbackVectorSlots()
464 Literal::Match, ZoneHashMap::kDefaultHashMapCapacity, allocator); in CalculateEmitStore()
469 Literal* literal = property->key()->AsLiteral(); in CalculateEmitStore()
940 uint32_t Literal::Hash() { in Hash()
948 bool Literal::Match(void* literal1, void* literal2) { in Match()
949 const AstValue* x = static_cast<Literal*>(literal1)->raw_value(); in Match()
950 const AstValue* y = static_cast<Literal*>(literal2)->raw_value(); in Match()
Dast.h92 V(Literal) \
1234 class Literal final : public Expression {
1269 Literal(const AstValue* value, int position) in Literal() function
1521 : public base::TemplateHashMap<Literal, ObjectLiteral::Accessors,
1526 : base::TemplateHashMap<Literal, ObjectLiteral::Accessors, in AccessorTable()
1528 Literal::Match, ZoneAllocationPolicy(zone)), in AccessorTable()
1531 Iterator lookup(Literal* literal) { in lookup()
3271 Literal* NewStringLiteral(const AstRawString* string, int pos) { in NewStringLiteral()
3272 return new (zone_) Literal(ast_value_factory_->NewString(string), pos); in NewStringLiteral()
3276 Literal* NewSymbolLiteral(const char* name, int pos) { in NewSymbolLiteral()
[all …]
/external/regex-re2/re2/
Dprefilter.cc215 static Info* Literal(Rune r);
406 Prefilter::Info* Prefilter::Info::Literal(Rune r) { in Literal() function in re2::Prefilter::Info
562 info = Literal(re->rune()); in PostVisit()
577 info = Literal(re->runes()[0]); in PostVisit()
579 info = Concat(info, Literal(re->runes()[i])); in PostVisit()
/external/clang/test/Index/
Dannotate-subscripting.m41 // CHECK: Literal: "3" [24:9 - 24:10] IntegerLiteral=
44 // CHECK: Literal: "0" [24:14 - 24:15] IntegerLiteral=
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVEntry.cpp270 SPIRVEntry::addDecorate(Decoration Kind, SPIRVWord Literal) { in addDecorate() argument
271 addDecorate(new SPIRVDecorate(Kind, this, Literal)); in addDecorate()
317 SPIRVWord Literal) { in addMemberDecorate() argument
318 addMemberDecorate(new SPIRVMemberDecorate(Kind, MemberNumber, this, Literal)); in addMemberDecorate()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyOps.def21 TIL_OPCODE_DEF(Literal)
DThreadSafetyTIL.h516 class Literal : public SExpr {
520 Literal(const clang::Expr *C) in Literal() function
523 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT), Cexpr(nullptr) {} in Literal() function
524 Literal(const Literal &L) : SExpr(L), ValType(L.ValType), Cexpr(L.Cexpr) {} in Literal() function
541 typename C::CType compare(const Literal* E, C& Cmp) const { in compare()
554 class LiteralT : public Literal {
556 LiteralT(T Dat) : Literal(ValueType::getValueType<T>()), Val(Dat) { } in LiteralT()
557 LiteralT(const LiteralT<T> &L) : Literal(L), Val(L.Val) { } in LiteralT()
569 typename V::R_SExpr Literal::traverse(V &Vs, typename V::R_Ctx Ctx) { in traverse()
/external/v8/src/parsing/
Dparser.h485 Literal* GetLiteralUndefined(int position);
568 void AddTemplateSpan(Literal* cooked, Literal* raw, int end, Zone* zone) {
765 Literal* literal = e_stat->expression()->AsLiteral();
920 V8_INLINE static Literal* EmptyLiteral() { return nullptr; }
958 V8_INLINE Literal* GetLiteralTheHole(int position) {
990 Literal* ExpressionFromLiteral(Token::Value token, int pos);
/external/regex-re2/re2/testing/
Dparse_test.cc258 TEST(TestParse, Literal) { in TEST() argument
259 TestParse(literal_tests, arraysize(literal_tests), Regexp::Literal, "literal"); in TEST()
/external/lzma/C/
DLzmaDec.c114 #define Literal (RepLenCoder + kNumLenProbs) macro
121 #if Literal != LZMA_BASE_SIZE
174 prob = probs + Literal; in LzmaDec_DecodeReal()
542 prob = probs + Literal; in LzmaDec_TryDummy()
742 UInt32 numProbs = Literal + ((UInt32)LZMA_LIT_SIZE << (p->prop.lc + p->prop.lp)); in LzmaDec_InitStateReal()

123456