Home
last modified time | relevance | path

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

1234

/external/v8/test/cctest/
Dtest-asm-validator.cc135 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
142 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
147 CHECK_EXPR(Literal, Bounds(cache.kAsmDouble)); in TEST()
151 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
155 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
163 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
170 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
178 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
182 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
191 CHECK_EXPR(Literal, Bounds(cache.kAsmFixnum)); in TEST()
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp4.cpp16 struct Literal { struct
17 constexpr Literal() {} in Literal() function
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.cpp214 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP); in EvaluateValue() local
215 if (Literal.hadError) in EvaluateValue()
218 if (Literal.isFloatingLiteral() || Literal.isImaginary) { in EvaluateValue()
222 assert(Literal.isIntegerLiteral() && "Unknown ppnumber"); in EvaluateValue()
225 if (Literal.hasUDSuffix()) in EvaluateValue()
229 if (!PP.getLangOpts().C99 && Literal.isLongLong) { in EvaluateValue()
239 if (Literal.GetIntegerValue(Result.Val)) { in EvaluateValue()
248 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue()
254 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue()
257 if (ValueLive && Literal.getRadix() == 10) in EvaluateValue()
[all …]
DPreprocessor.cpp839 StringLiteralParser Literal(StrToks, *this); in FinishLexStringLiteral() local
840 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
842 if (Literal.hadError) in FinishLexStringLiteral()
845 if (Literal.Pascal) { in FinishLexStringLiteral()
851 String = Literal.GetString(); in FinishLexStringLiteral()
862 NumericLiteralParser Literal(Spelling, Tok.getLocation(), *this); in parseSimpleIntegerLiteral() local
863 if (Literal.hadError || !Literal.isIntegerLiteral() || Literal.hasUDSuffix()) in parseSimpleIntegerLiteral()
866 if (Literal.GetIntegerValue(APVal)) in parseSimpleIntegerLiteral()
DPPDirectives.cpp1037 StringLiteralParser Literal(StrTok, *this); in HandleLineDirective() local
1038 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()
1039 if (Literal.hadError) in HandleLineDirective()
1041 if (Literal.Pascal) { in HandleLineDirective()
1045 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString()); in HandleLineDirective()
1173 StringLiteralParser Literal(StrTok, *this); in HandleDigitDirective() local
1174 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleDigitDirective()
1175 if (Literal.hadError) in HandleDigitDirective()
1177 if (Literal.Pascal) { in HandleDigitDirective()
1181 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.cpp1545 StringLiteralParser Literal(StringToks, PP); in ActOnStringLiteral() local
1546 if (Literal.hadError) in ActOnStringLiteral()
1555 if (Literal.isWide()) { in ActOnStringLiteral()
1558 } else if (Literal.isUTF8()) { in ActOnStringLiteral()
1560 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
1563 } else if (Literal.isUTF32()) { in ActOnStringLiteral()
1566 } else if (Literal.isPascal()) { in ActOnStringLiteral()
1579 llvm::APInt(32, Literal.GetNumStringChars()+1), in ActOnStringLiteral()
1588 StringLiteral *Lit = StringLiteral::Create(Context, Literal.GetString(), in ActOnStringLiteral()
1589 Kind, Literal.Pascal, StrTy, in ActOnStringLiteral()
[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/
Dliteral.cc39 Literal<int64_t> automatically_placed_literal(111, masm.GetLiteralPool()); in LiteralExample()
40 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/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=
Darc-annotate.m51 // CHECK: Literal: "0" [9:10 - 9:11] IntegerLiteral=
/external/v8/src/
Dtyping-asm.cc84 Literal* use_asm_literal = use_asm->expression()->AsLiteral(); in VisitAsmModule()
184 Literal* literal = stmt->expression()->AsLiteral(); in VisitFunctionAnnotation()
242 Literal* right = bin->right()->AsLiteral(); in VisitExpressionAnnotation()
369 Literal* literal = stmt->expression()->AsLiteral(); in VisitReturnStatement()
589 void AsmTyper::VisitLiteral(Literal* expr, bool is_return) { in VisitLiteral()
618 void AsmTyper::VisitLiteral(Literal* expr) { VisitLiteral(expr, false); } in VisitLiteral()
788 Literal* literal = expr->key()->AsLiteral(); in VisitHeapAccess()
803 Literal* right = bin->right()->AsLiteral(); in VisitHeapAccess()
878 Literal* key = property->key()->AsLiteral(); in GetReceiverOfPropertyAccess()
1221 Literal* left = expr->left()->AsLiteral(); in VisitBinaryOperation()
[all …]
/external/v8/src/ast/
Dast.cc333 Literal* key = property->key()->AsLiteral(); in AssignFeedbackVectorSlots()
390 ZoneHashMap table(Literal::Match, ZoneHashMap::kDefaultHashMapCapacity, in CalculateEmitStore()
396 Literal* literal = property->key()->AsLiteral(); in CalculateEmitStore()
997 void AstTraversalVisitor::VisitLiteral(Literal* expr) {} in VisitLiteral()
1133 uint32_t Literal::Hash() { in Hash()
1141 bool Literal::Match(void* literal1, void* literal2) { in Match()
1142 const AstValue* x = static_cast<Literal*>(literal1)->raw_value(); in Match()
1143 const AstValue* y = static_cast<Literal*>(literal2)->raw_value(); in Match()
Dast.h72 V(Literal) \
1290 class Literal final : public Expression {
1292 DECLARE_NODE_TYPE(Literal) in DECLARE_NODE_TYPE() argument
1323 Literal(Zone* zone, const AstValue* value, int position) in Literal() function
1557 : public base::TemplateHashMap<Literal, ObjectLiteral::Accessors,
1561 : base::TemplateHashMap<Literal, ObjectLiteral::Accessors, in AccessorTable()
1562 ZoneAllocationPolicy>(Literal::Match, in AccessorTable()
1566 Iterator lookup(Literal* literal) { in lookup()
3232 Literal* NewStringLiteral(const AstRawString* string, int pos) { in NewStringLiteral()
3234 Literal(local_zone_, ast_value_factory_->NewString(string), pos); in NewStringLiteral()
[all …]
/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.h339 typedef v8::internal::Literal* Literal; typedef
484 static Literal* EmptyLiteral() { in EmptyLiteral()
500 Literal* GetLiteralTheHole(int position, AstNodeFactory* factory);
517 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
605 void AddTemplateSpan(Literal* cooked, Literal* raw, int end, Zone* zone) { in AddTemplateSpan()
1002 Literal* GetLiteralUndefined(int position);
/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()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DPick.java125 return new Literal(source); in string()
438 private static class Literal extends FinalPick { class in Pick
442 private Literal(String source) { in Literal() method in Pick.Literal
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DPick.java126 return new Literal(source); in string()
439 private static class Literal extends FinalPick { class in Pick
443 private Literal(String source) { in Literal() method in Pick.Literal

1234