Searched defs:Attr (Results 1 - 25 of 34) sorted by relevance

12

/external/clang/lib/AST/
H A DAttrImpl.cpp10 // This file contains out-of-line virtual methods for Attr classes.
14 #include "clang/AST/Attr.h"
20 Attr::~Attr() { }
H A DCommentDumper.cpp149 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); local
150 OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
/external/skia/include/xml/
H A DSkDOM.h26 typedef SkDOMAttr Attr; typedef in class:SkDOM
46 const Attr* getFirstAttr(const Node*) const;
47 const Attr* getNextAttr(const Node*, const Attr*) const;
48 const char* getAttrName(const Node*, const Attr*) const;
49 const char* getAttrValue(const Node*, const Attr*) const;
77 const Attr* fAttr;
78 const Attr* fStop;
/external/webkit/Source/WebCore/dom/
H A DAttr.cpp24 #include "Attr.h"
37 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) function in class:WebCore::Attr
48 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute)
50 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute));
55 Attr::~Attr()
61 void Attr
[all...]
H A DAttr.h33 // Attr can have Text and EntityReference children
39 class Attr : public ContainerNode { class in namespace:WebCore
42 static PassRefPtr<Attr> create(Element*, Document*, PassRefPtr<Attribute>);
43 virtual ~Attr();
64 Attr(Element*, Document*, PassRefPtr<Attribute>);
/external/clang/lib/Sema/
H A DTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
32 if (Attr.getNumArgs() != 1) {
33 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1;
39 Expr *NumParamsExpr = static_cast<Expr *>(Attr.getArg(0));
42 S.Diag(Attr.getLoc(), diag::err_attribute_argument_not_int)
49 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
55 d->addAttr(::new (S.Context) MSP430InterruptAttr(Attr.getLoc(), S.Context, Num));
56 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context));
64 const AttributeList &Attr, Sem
24 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
29 HandleMSP430InterruptAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
63 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
74 HandleMBlazeInterruptHandlerAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
89 HandleMBlazeSaveVolatilesAttr(Decl *d, const AttributeList &Attr, Sema &S) argument
109 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
123 HandleX86ForceAlignArgPointerAttr(Decl *D, const AttributeList& Attr, Sema &S) argument
166 HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
209 HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) argument
241 ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr, Sema &S) const argument
[all...]
H A DSemaAttr.cpp17 #include "clang/AST/Attr.h"
386 void Sema::PushNamespaceVisibilityAttr(const VisibilityAttr *Attr, argument
/external/llvm/lib/Support/
H A DThreading.cpp82 pthread_attr_t Attr; local
86 if (::pthread_attr_init(&Attr) != 0)
91 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
103 ::pthread_attr_destroy(&Attr);
/external/llvm/lib/MC/
H A DMCSectionMachO.cpp261 StringRef Attr = Plus.first; local
262 StripSpaces(Attr);
270 Attr == SectionAttrDescriptors[i].AssemblerName) {
/external/clang/include/clang/AST/
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
57 /// Attr - This represents one attribute.
58 class Attr { class in namespace:clang
66 virtual ~Attr();
87 Attr(attr::Kind AK, SourceRange R) function in class:clang::Attr
103 virtual Attr* clone(ASTContext &C) const = 0;
112 static bool classof(const Attr *) { return true; }
115 class InheritableAttr : public Attr {
119 : Attr(A
[all...]
H A DComment.h454 const Attribute &Attr = Attrs.back(); local
455 SourceLocation L = Attr.ValueRange.getEnd();
459 Range.setEnd(Attr.getNameLocEnd());
/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp69 Attr = dyn_cast<AttributedTypeLoc>(&TL)) {
70 if (handleAttr(*Attr, D))
72 TL = Attr->getModifiedLoc();
114 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); local
116 Attr.Kind = Kind;
117 Attr.Loc = Loc;
118 Attr.ModifiedType = TL.getModifiedLoc().getType();
119 Attr.Dcl = D;
120 Attr.FullyMigratable = FullyMigratable;
191 MigrationContext::GCAttrOccurrence &Attr local
207 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local
342 GCAttrOccurrence &Attr = GCAttrs[i]; local
[all...]
/external/llvm/include/llvm/Support/
H A DGraphWriter.h248 void emitSimpleNode(const void *ID, const std::string &Attr, argument
252 if (!Attr.empty())
253 O << Attr << ","; local
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp135 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) local
138 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
148 getStreamer().EmitSymbolAttribute(Sym, Attr);
H A DELFAsmParser.cpp158 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) local
165 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
175 getStreamer().EmitSymbolAttribute(Sym, Attr);
474 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Type)
484 if (Attr == MCSA_Invalid)
492 getStreamer().EmitSymbolAttribute(Sym, Attr);
/external/chromium/third_party/libjingle/source/talk/xmllite/
H A Dxmlelement.cc192 XmlElement::Attr(const QName & name) const { function in class:buzz::XmlElement
/external/skia/include/views/
H A DSkWidget.h363 enum Attr { enum in class:SkListView
370 SkPaint& paint(Attr);
435 enum Attr { enum in class:SkGridView
440 SkPaint& paint(Attr);
/external/clang/tools/libclang/
H A DCXComment.cpp521 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); local
522 Result << Attr.Name;
523 if (!Attr.Value.empty())
524 Result << "=\"" << Attr.Value << "\"";
/external/clang/utils/TableGen/
H A DClangAttrEmitter.cpp100 Argument(Record &Arg, StringRef Attr) argument
102 attrName(Attr) {
134 SimpleArgument(Record &Arg, StringRef Attr, std::string T) argument
135 : Argument(Arg, Attr), type(T)
188 StringArgument(Record &Arg, StringRef Attr) argument
189 : Argument(Arg, Attr)
248 AlignedArgument(Record &Arg, StringRef Attr) argument
249 : Argument(Arg, Attr)
272 OS << "bool " << getAttrName() << "Attr::is" << getUpperName()
288 OS << "unsigned " << getAttrName() << "Attr
362 VariadicArgument(Record &Arg, StringRef Attr, std::string T) argument
448 EnumArgument(Record &Arg, StringRef Attr) argument
512 VersionArgument(Record &Arg, StringRef Attr) argument
559 ExprArgument(Record &Arg, StringRef Attr) argument
582 VariadicExprArgument(Record &Arg, StringRef Attr) argument
613 createArgument(Record &Arg, StringRef Attr, Record *Search = 0) argument
966 Record &Attr = **I; local
985 Record &Attr = **I; local
1090 Record &Attr = **I; local
1126 Record &Attr = **I; local
[all...]
/external/llvm/lib/AsmParser/
H A DLLParser.h334 ArgInfo(LocTy L, Type *ty, Attributes Attr, const std::string &N) argument
335 : Loc(L), Ty(ty), Attrs(Attr), Name(N) {}
/external/clang/lib/Parse/
H A DParseExprCXX.cpp765 ParsedAttributes Attr(AttrFactory);
770 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc);
797 MaybeParseCXX0XAttributes(Attr, &DeclEndLoc);
828 Attr, DeclEndLoc); local
854 ParsedAttributes Attr(AttrFactory);
874 Attr, DeclEndLoc); local
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2125 MCSymbolAttr Attr = MCSA_Invalid; local
2131 Attr = MAI->getHiddenVisibilityAttr();
2133 Attr = MAI->getHiddenDeclarationVisibilityAttr();
2136 Attr = MAI->getProtectedVisibilityAttr();
2140 if (Attr != MCSA_Invalid)
2141 OutStreamer.EmitSymbolAttribute(Sym, Attr);
H A DDwarfDebug.cpp1655 unsigned Attr = AbbrevData[i].getAttribute(); local
1660 Asm->OutStreamer.AddComment(dwarf::AttributeString(Attr));
1662 switch (Attr) {
/external/llvm/lib/VMCore/
H A DVerifier.cpp576 const AttributeWithIndex &Attr = Attrs.getSlot(i); local
579 if (Attr.Index == 0)
581 else if (Attr.Index-1 < FT->getNumParams())
582 Ty = FT->getParamType(Attr.Index-1);
586 VerifyParameterAttrs(Attr.Attrs, Ty, Attr.Index == 0, V);
588 if (Attr.Attrs & Attribute::Nest) {
593 if (Attr.Attrs & Attribute::StructRet)
594 Assert1(Attr.Index == 1, "Attribute sret not on first parameter!", V);
1169 Attributes Attr local
[all...]
/external/clang/lib/Analysis/
H A DThreadSafety.cpp1409 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1413 void getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, Expr *Exp,
1499 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1503 if (Attr->args_size() == 0) {
1513 for (iterator_type I=Attr->args_begin(), E=Attr->args_end(); I != E; ++I) {
1527 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr, argument
1548 getMutexIDs(Mtxs, Attr, Exp, D);
1659 Attr *Attr local
2189 Attr *Attr = ArgAttrs[i]; local
[all...]

Completed in 423 milliseconds

12