/external/clang/lib/AST/ |
AttrImpl.cpp | 10 // This file contains out-of-line virtual methods for Attr classes. 14 #include "clang/AST/Attr.h" 20 Attr::~Attr() { }
|
/external/clang/lib/Sema/ |
TargetAttributesSema.cpp | 25 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, Sema &S) const [all...] |
SemaDeclAttr.cpp | 201 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, 203 if (Attr.getNumArgs() != Num) { 204 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num; 214 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, 216 if (Attr.getNumArgs() < Num) { 217 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num; 311 const AttributeList &Attr) { 328 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 329 << Attr.getName()->getName() << QT; 331 S.Diag(Attr.getLoc(), diag::err_attribute_can_be_applied_only_to_value_decl [all...] |
TargetAttributesSema.h | 23 const AttributeList &Attr, Sema &S) const;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AttributeSortOrder.java | 23 import org.w3c.dom.Attr; 43 public Comparator<Attr> getAttributeComparator() { 56 private static final Comparator<Attr> SORTED_ORDER_COMPARATOR = new Comparator<Attr>() { 58 public int compare(Attr attr1, Attr attr2) { 80 private static final Comparator<Attr> EXISTING_ORDER_COMPARATOR = new Comparator<Attr>() { 82 public int compare(Attr attr1, Attr attr2) [all...] |
/external/webkit/Source/WebCore/dom/ |
Attr.cpp | 24 #include "Attr.h" 37 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) 44 ASSERT(!m_attribute->attr()); 48 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute) 50 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute)); local 51 attr->createTextChild() [all...] |
Attribute.cpp | 27 #include "Attr.h" 34 typedef HashMap<Attribute*, Attr*> AttributeAttrMap; 46 Attr* Attribute::attr() const function in class:WebCore::Attribute 57 PassRefPtr<Attr> Attribute::createAttrIfNeeded(Element* e) 59 RefPtr<Attr> r; 65 r = Attr::create(e, e->document(), this); // This will end up calling Attribute::bindAttr. 72 void Attribute::bindAttr(Attr* attr) 76 attributeAttrMap().set(this, attr); [all...] |
Attribute.h | 33 class Attr; 39 // It is an internal representation of the node value of an Attr. 40 // The actual Attr with its value as a Text child is allocated only if needed. 42 friend class Attr; 65 Attr* attr() const; 66 PassRefPtr<Attr> createAttrIfNeeded(Element*); 107 void bindAttr(Attr*); 108 void unbindAttr(Attr*);
|
Attr.h | 33 // Attr can have Text and EntityReference children 39 class Attr : public ContainerNode { 42 static PassRefPtr<Attr> create(Element*, Document*, PassRefPtr<Attribute>); 43 virtual ~Attr(); 53 Attribute* attr() const { return m_attribute.get(); } function in class:WebCore::Attr 64 Attr(Element*, Document*, PassRefPtr<Attribute>);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
Element.java | 22 * <code>Attr</code> object by name or an attribute value by name. In XML, 24 * <code>Attr</code> object should be retrieved to examine the possibly 50 * @return The <code>Attr</code> value as a string, or the empty string 63 * references, the user must create an <code>Attr</code> node plus any 105 * @return The <code>Attr</code> node with the specified name ( 109 public Attr getAttributeNode(String name); 118 * @param newAttr The <code>Attr</code> node to add to the attribute list. 120 * attribute, the replaced <code>Attr</code> node is returned, 128 * explicitly clone <code>Attr</code> nodes to re-use them in other 131 public Attr setAttributeNode(Attr newAttr [all...] |
Attr.java | 16 * The <code>Attr</code> interface represents an attribute in an 19 * <p><code>Attr</code> objects inherit the <code>Node</code> interface, but 24 * <code>null</code> value for <code>Attr</code> objects. The DOM takes the 29 * <code>Attr</code> nodes may not be immediate children of a 33 * DOM need to be aware that <code>Attr</code> nodes have some things in 43 * attribute on the <code>Attr</code> instance can also be used to retrieve 58 * the child nodes of the <code>Attr</code> node may be either 68 * <code>nodeValue</code> attributes of an <code>Attr</code> node initially 73 * the string value directly or by changing the <code>Attr</code> child 90 * <th>Initial <code>Attr.value</code></th [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
ElementImpl.java | 20 import org.w3c.dom.Attr; 45 Attr attrNode = getAttributeNode(name); 58 public Attr getAttributeNode(String name) { 59 return (Attr)mAttributes.getNamedItem(name); 62 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 100 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { 106 Attr attribute = getAttributeNode(name); 120 public Attr setAttributeNode(Attr newAttr) throws DOMException [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NamedNodeMapGetNamedItemNS.java | 28 import org.w3c.dom.Attr; 104 Attr attribute; 112 attribute = (Attr) attributes.getNamedItemNS("http://www.nist.gov", 121 Attr attribute; 122 Attr newAttr1; 123 Attr newAttr2; 133 attribute = (Attr) attributes.getNamedItemNS( 142 Attr attribute; 143 Attr newAttr1; 152 attribute = (Attr) attributes.getNamedItemNS [all...] |
AttrGetOwnerElement.java | 3 import org.w3c.dom.Attr; 38 // Attr attr; 52 // attr = (Attr) attributes.getNamedItemNS(nullNS, "defaultAttr"); 53 // ownerElement = attr.getOwnerElement(); 63 Attr attr; local 67 attr = doc.createAttributeNS("http://www.w3.org/DOM/L1", "L1:att"); 68 element.setAttributeNodeNS(attr); 76 Attr attr; local 87 Attr attr; local 110 Attr attr; local [all...] |
/external/skia/include/xml/ |
SkDOM.h | 26 typedef SkDOMAttr Attr; 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;
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
namednodemapremovenameditemns03.java | 74 Attr attribute; 75 Attr newAttribute; 76 Attr attribute1; 77 Attr attribute2; 86 attribute = (Attr) attributes.removeNamedItemNS("http://www.w3.org/DOM/L1", "att"); 87 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
|
namednodemapremovenameditemns04.java | 73 Attr attribute; 74 Attr attributeRemoved; 80 attributeRemoved = (Attr) attributes.removeNamedItemNS("http://www.w3.org/2000/xmlns/", "xmlns"); 81 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/2000/xmlns/", "xmlns"); 83 attributeRemoved = (Attr) attributes.removeNamedItemNS("http://www.w3.org/2000/xmlns/", "dmstc"); 84 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/2000/xmlns/", "dmstc");
|
namednodemapgetnameditemns03.java | 38 * Verify if the attr node has been retreived successfully by checking its nodeName atttribute. 74 Attr attribute; 75 Attr newAttr1; 76 Attr newAttr2; 77 Attr newAttribute; 86 attribute = (Attr) attributes.getNamedItemNS("http://www.w3.org/DOM/L2", "att");
|
namednodemapgetnameditemns06.java | 38 * Verify if the attr node has been retreived successfully by checking its nodeName atttribute. 75 Attr attribute; 76 Attr newAttr1; 77 Attr newAttribute; 87 attribute = (Attr) attributesMap1.getNamedItemNS("http://www.w3.org/DOM/L1", "street"); 90 attribute = (Attr) attributesMap2.getNamedItemNS("http://www.w3.org/DOM/L1", "street");
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
sessionsendtask.h | 65 if (stanza->Attr(buzz::QN_TYPE) == "set") { 68 ASSERT((stanza->Attr(buzz::QN_TYPE) == "result") || 69 (stanza->Attr(buzz::QN_TYPE) == "error")); 75 set_task_id(stanza_->Attr(buzz::QN_ID)); 92 if (stanza_->Attr(buzz::QN_TYPE) == buzz::STR_SET) { 108 if (next->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) { 119 buzz::Jid(stanza_->Attr(buzz::QN_TO)), task_id())) 121 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT || 122 stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) {
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_namednodemapremovenameditem.java | 68 Attr newAttribute; 71 Attr streetAttr; 79 streetAttr = (Attr) attributes.getNamedItem("class");
|
hc_attrclonenode1.java | 62 Attr titleAttr; 67 Attr clonedTitle; 72 titleAttr = (Attr) attributes.getNamedItem("title"); 75 clonedTitle = (Attr) titleAttr.cloneNode(false);
|
hc_elementinuseattributeerr.java | 63 Attr newAttribute; 67 Attr attrAddress; 69 Attr setAttr1; 70 Attr setAttr2;
|
/external/clang/lib/ARCMigrate/ |
TransGCAttrs.cpp | 69 Attr = dyn_cast<AttributedTypeLoc>(&TL)) { 70 if (handleAttr(*Attr, D)) 72 TL = Attr->getModifiedLoc(); 114 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); 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 = MigrateCtx.GCAttrs[i] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractStyleWizard.java | 47 import org.w3c.dom.Attr; 86 private Set<Attr> mInSelection; 87 private List<Attr> mAllAttributes; 89 private Map<Attr, Integer> mFrequencyCount; 90 private Set<Attr> mShown; 91 private List<Attr> mInitialChecked; 92 private List<Attr> mAllChecked; 93 private List<Map.Entry<String, List<Attr>>> mRoot; 94 private Map<String, List<Attr>> mAvailableAttributes; 170 Attr attribute = (Attr) event.getElement() [all...] |