Searched refs:Literal (Results 1 - 25 of 31) sorted by relevance

12

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp6.cpp16 struct Literal { struct
17 constexpr Literal() {} function in struct:Literal
57 template<typename T> struct T1 : virtual Literal { // expected-note {{here}}
66 constexpr T2<Literal> g2(); // expected-error {{not a literal type}}
72 constexpr T3<Literal> g3(); // ok
H A Dp4.cpp15 struct Literal { struct
16 constexpr Literal() {} function in struct:Literal
33 constexpr S(Literal) = delete; member in struct:S
165 Literal l;
166 Literal m;
167 Literal n[3];
177 Literal l;
H A Dp3.cpp15 struct Literal { struct
16 constexpr Literal() {} function in struct:Literal
/external/icu4c/test/intltest/
H A Dwbnf.cpp506 class Literal : public Pick { class in inherits:Pick
511 Literal(const char * s /*c-string*/){ function in class:Literal
1081 node = new Literal(s.token);
1422 Pick *p = new Literal(str);
1431 Literal n(s);
1438 seq.append(new Literal("abc "));
1439 seq.append(new Literal(", s"));
1446 alt.append(new Literal("aaa_10%"),10);
1447 alt.append(new Literal("bbb_0%"),0);
1448 alt.append(new Literal("ccc_1
[all...]
/external/clang/lib/Lex/
H A DPPExpressions.cpp207 NumericLiteralParser Literal(Spelling.begin(), Spelling.end(),
209 if (Literal.hadError)
212 if (Literal.isFloatingLiteral() || Literal.isImaginary) {
216 assert(Literal.isIntegerLiteral() && "Unknown ppnumber");
219 if (!PP.getLangOptions().C99 && Literal.isLongLong)
224 if (Literal.GetIntegerValue(Result.Val)) {
231 Result.Val.setIsUnsigned(Literal.isUnsigned);
237 if (!Literal.isUnsigned && Result.Val.isNegative()) {
239 if (ValueLive && Literal
[all...]
H A DPragma.cpp448 StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this);
449 assert(Literal.isAscii() && "Didn't allow wide strings in");
450 if (Literal.hadError)
452 if (Literal.Pascal) {
457 ArgumentString = Literal.GetString();
524 StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this);
525 assert(Literal.isAscii() && "Didn't allow wide strings in");
526 if (Literal.hadError)
528 if (Literal.Pascal) {
533 StringRef MessageString(Literal
[all...]
H A DPPDirectives.cpp799 StringLiteralParser Literal(&StrTok, 1, *this);
800 assert(Literal.isAscii() && "Didn't allow wide strings in");
801 if (Literal.hadError)
803 if (Literal.Pascal) {
807 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString());
932 StringLiteralParser Literal(&StrTok, 1, *this);
933 assert(Literal.isAscii() && "Didn't allow wide strings in");
934 if (Literal.hadError)
936 if (Literal.Pascal) {
940 FilenameID = SourceMgr.getLineTableFilenameID(Literal
[all...]
H A DPPMacroExpansion.cpp1062 StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this);
1063 assert(Literal.isAscii() && "Didn't allow wide strings in");
1064 if (Literal.hadError)
1066 if (Literal.Pascal) {
1071 StringRef WarningName(Literal.GetString());
/external/libvpx/examples/includes/geshi/geshi/
H A Dcil.php106 9 => array(//Literal
H A Dboo.php19 * Regular Expression Literal matching
/external/clang/lib/Sema/
H A DSemaStmt.cpp2032 StringLiteral *Literal = Constraints[i]; local
2033 if (!Literal->isAscii())
2034 return StmtError(Diag(Literal->getLocStart(),diag::err_asm_wide_character)
2035 << Literal->getSourceRange());
2041 TargetInfo::ConstraintInfo Info(Literal->getString(), OutputName);
2043 return StmtError(Diag(Literal->getLocStart(),
2061 StringLiteral *Literal = Constraints[i]; local
2062 if (!Literal->isAscii())
2063 return StmtError(Diag(Literal->getLocStart(),diag::err_asm_wide_character)
2064 << Literal
2108 StringLiteral *Literal = Clobbers[i]; local
[all...]
H A DSemaExpr.cpp1139 StringLiteralParser Literal(StringToks, NumStringToks, PP);
1140 if (Literal.hadError)
1148 if (Literal.isWide())
1150 else if (Literal.isUTF16())
1152 else if (Literal.isUTF32())
1154 else if (Literal.Pascal)
1158 if (Literal.isWide())
1160 else if (Literal.isUTF8())
1162 else if (Literal.isUTF16())
1164 else if (Literal
4330 ExprResult Literal = Owned(exprs[0]); local
4351 ExprResult Literal = Owned(exprs[0]); local
[all...]
H A DSemaChecking.cpp96 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg); local
97 if (!Literal || !Literal->isAscii()) {
864 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg); local
866 if (!Literal || !Literal->isAscii()) {
872 if (Literal->containsNonAsciiOrNull()) {
873 StringRef String = Literal->getString();
1413 return; // Literal format string found, check done!
/external/v8/src/
H A Dast.cc171 ObjectLiteral::Property::Property(Literal* key, Expression* value) {
190 key_ = new Literal(value->name());
245 Literal* literal = property->key();
484 bool Literal::IsInlineable() const {
616 Literal* lit_key = key()->AsLiteral();
638 Literal* lit_key = prop->key()->AsLiteral();
740 Literal* key = property->key()->AsLiteral();
H A Dparser.h630 Literal* GetLiteralUndefined();
631 Literal* GetLiteralTheHole();
632 Literal* GetLiteralNumber(double value);
682 Literal* NewNumberLiteral(double value);
H A Dast.h78 V(Literal) \
839 class Literal: public Expression { class in namespace:v8::internal
841 explicit Literal(Handle<Object> handle) : handle_(handle) { } function in class:v8::internal::Literal
843 DECLARE_NODE_TYPE(Literal)
849 bool IsIdenticalTo(const Literal* other) const {
932 Property(Literal* key, Expression* value);
935 Literal* key() { return key_; }
945 Literal* key_;
1048 CatchExtensionObject(Literal* key, VariableProxy* value)
1054 Literal* ke
[all...]
H A Dparser.cc867 Literal* key1 = p1->key()->AsLiteral();
868 Literal* key2 = p2->key()->AsLiteral();
996 Literal* literal = property->key()->AsLiteral();
1009 Literal* literal = assignment->value()->AsLiteral();
1114 Literal *literal;
1657 arguments->Add(new(zone()) Literal(name));
1675 // We may want to pass singleton to avoid Literal allocations.
2105 Literal* name_literal = new(zone()) Literal(name);
2513 Literal* x_litera
[all...]
H A Ddata-flow.cc106 Literal* init_lit = init->value()->AsLiteral();
122 Literal* term_lit = cond->right()->AsLiteral();
352 void AssignedVariablesAnalyzer::VisitLiteral(Literal* expr) {
H A Drewriter.cc231 void Processor::VisitLiteral(Literal* node) {
H A Dprettyprinter.cc247 void PrettyPrinter::VisitLiteral(Literal* node) {
336 Literal* literal = key->AsLiteral();
906 void AstPrinter::VisitLiteral(Literal* node) {
1001 Literal* literal = node->key()->AsLiteral();
1331 void JsonAstBuilder::VisitLiteral(Literal* expr) {
1332 TagScope tag(this, "Literal");
H A Dscopes.cc328 new Literal(Handle<Object>(Smi::FromInt(index))),
1005 new Literal(Handle<Object>(Smi::FromInt(i))),
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp1678 const StringLiteral *Literal,
1682 StringRef String = Literal->getString();
1686 if (!Literal->containsNonAsciiOrNull()) {
1729 const StringLiteral *Literal,
1732 StringRef String = Literal->getString();
1738 CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) { argument
1742 GetConstantCFStringEntry(CFConstantStringMap, Literal,
1838 CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { argument
1841 GetConstantStringEntry(CFConstantStringMap, Literal, StringLength);
1677 GetConstantCFStringEntry(llvm::StringMap<llvm::Constant*> &Map, const StringLiteral *Literal, bool TargetIsLSB, bool &IsUTF16, unsigned &StringLength) argument
1728 GetConstantStringEntry(llvm::StringMap<llvm::Constant*> &Map, const StringLiteral *Literal, unsigned &StringLength) argument
H A DCodeGenModule.h559 llvm::Constant *GetAddrOfConstantCFString(const StringLiteral *Literal);
564 llvm::Constant *GetAddrOfConstantString(const StringLiteral *Literal);
H A DCGExprConstant.cpp925 const StringLiteral *Literal = cast<StringLiteral>(Arg); local
928 return CGM.getObjCRuntime().GenerateConstantString(Literal);
931 return CGM.GetAddrOfConstantCFString(Literal);
/external/v8/src/mips/
H A Dcodegen-mips.cc569 void CodeGenerator::VisitLiteral(Literal* node) {

Completed in 434 milliseconds

12