HomeSort by relevance Sort by last modified time
    Searched refs:Attribute (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /dalvik/dx/src/com/android/dx/cf/iface/
AttributeList.java 41 * Get the {@code n}th attribute.
43 * @param n {@code n >= 0, n < size();} which attribute
44 * @return {@code non-null;} the attribute in question
46 public Attribute get(int n);
58 * Get the first attribute in the list with the given name, if any.
60 * @param name {@code non-null;} attribute name
61 * @return {@code null-ok;} first attribute in the list with the given name,
64 public Attribute findFirst(String name);
67 * Get the next attribute in the list after the given one, with the same
70 * @param attrib {@code non-null;} attribute to start looking afte
    [all...]
Attribute.java 22 public interface Attribute {
24 * Get the name of the attribute.
31 * Get the total length of the attribute in bytes, including the
StdAttributeList.java 23 * an array of {@link Attribute} objects and can be made immutable.
37 public Attribute get(int n) {
38 return (Attribute) get0(n);
54 public Attribute findFirst(String name) {
58 Attribute att = get(i);
68 public Attribute findNext(Attribute attrib) {
74 Attribute att = get(at);
86 Attribute att = get(at);
96 * Sets the attribute at the given index
    [all...]
  /external/emma/core/java12/com/vladium/emma/report/html/doc/
Attribute.java 7 * $Id: Attribute.java,v 1.1.1.1 2004/05/09 16:57:41 vlad_r Exp $
18 abstract class Attribute implements IContent
22 public static final Attribute ID = new AttributeImpl ("ID");
23 public static final Attribute NAME = new AttributeImpl ("NAME");
24 public static final Attribute TITLE = new AttributeImpl ("TITLE");
25 public static final Attribute TYPE = new AttributeImpl ("TYPE");
26 public static final Attribute CLASS = new AttributeImpl ("CLASS");
27 public static final Attribute HTTP_EQUIV = new AttributeImpl ("HTTP-EQUIV");
28 public static final Attribute CONTENT = new AttributeImpl ("CONTENT");
29 public static final Attribute HREF = new AttributeImpl ("HREF")
    [all...]
AttributeSet.java 37 public abstract AttributeSet set (Attribute attr, String value);
38 public abstract AttributeSet set (Attribute attr, int value);
59 final Attribute attr = (Attribute) entry.getKey ();
88 public AttributeSet set (final Attribute attr, final String value) // null removes?
95 public AttributeSet set (final Attribute attr, final int value)
109 private final Map /* Attribute->String|Integer */ m_attrMap; // never null
HTMLTable.java 38 if (width != null) attrs.set (Attribute.WIDTH, width);
39 if (border != null) attrs.set (Attribute.BORDER, border);
40 if (cellpadding != null) attrs.set (Attribute.CELLPADDING, cellpadding);
41 if (cellspacing != null) attrs.set (Attribute.CELLSPACING, cellspacing);
50 m_caption.getAttributes ().set (Attribute.ALIGN, align);
92 getAttributes ().set (Attribute.COLSPAN, span);
  /external/webkit/WebCore/dom/
Attribute.cpp 25 #include "Attribute.h"
32 PassRefPtr<Attribute> Attribute::clone() const
34 return adoptRef(new Attribute(m_name, m_value));
37 PassRefPtr<Attr> Attribute::createAttrIfNeeded(Element* e)
MappedAttribute.cpp 29 PassRefPtr<Attribute> MappedAttribute::clone() const
Attribute.h 40 class Attribute : public RefCounted<Attribute> {
44 static PassRefPtr<Attribute> create(const QualifiedName& name, const AtomicString& value)
46 return adoptRef(new Attribute(name, value));
48 virtual ~Attribute() { }
63 virtual PassRefPtr<Attribute> clone() const;
74 Attribute(const QualifiedName& name, const AtomicString& value)
78 Attribute(const AtomicString& name, const AtomicString& value)
MappedAttribute.h 28 #include "Attribute.h"
33 class MappedAttribute : public Attribute {
44 virtual PassRefPtr<Attribute> clone() const;
55 : Attribute(name, value), m_styleDecl(declaration)
59 : Attribute(name, value), m_styleDecl(declaration)
NamedAttrMap.h 28 #include "Attribute.h"
72 Attribute* attributeItem(unsigned index) const { return m_attributes[index].get(); }
73 Attribute* getAttributeItem(const QualifiedName&) const;
79 void insertAttribute(PassRefPtr<Attribute> newAttribute, bool allowDuplicates)
94 void addAttribute(PassRefPtr<Attribute>);
105 Attribute* getAttributeItem(const String& name, bool shouldIgnoreAttributeCase) const;
106 Attribute* getAttributeItemSlowCase(const String& name, bool shouldIgnoreAttributeCase) const;
109 Vector<RefPtr<Attribute> > m_attributes;
113 inline Attribute* NamedNodeMap::getAttributeItem(const QualifiedName& name) const
125 inline Attribute* NamedNodeMap::getAttributeItem(const String& name, bool shouldIgnoreAttributeCase) cons
    [all...]
NamedMappedAttrMap.cpp 50 Attribute* attr = attributeItem(i);
66 Attribute* attr = attributeItem(i);
69 Attribute* otherAttr = otherMap->getAttributeItem(attr->name());
  /libcore/luni/src/main/java/java/text/
AttributedCharacterIterator.java 38 public static class Attribute implements Serializable {
43 * This attribute marks segments from an input method. Most input
49 public static final Attribute INPUT_METHOD_SEGMENT = new Attribute("input_method_segment");
52 * The attribute describing the language of a character. The value
55 public static final Attribute LANGUAGE = new Attribute("language");
59 * Japanese), this attribute allows to define which reading should be
63 public static final Attribute READING = new Attribute("reading")
    [all...]
AttributedString.java 20 import java.text.AttributedCharacterIterator.Attribute;
39 Map<AttributedCharacterIterator.Attribute, List<Range>> attributeMap;
61 private HashSet<Attribute> attributesAllowed;
71 AttributedCharacterIterator.Attribute[] attributes, int begin,
81 HashSet<Attribute> set = new HashSet<Attribute>(
103 clone.attributesAllowed = (HashSet<Attribute>) attributesAllowed
181 * @return a set of attribute keys that may be empty.
183 public Set<AttributedIterator.Attribute> getAllAttributeKeys() {
189 Set<AttributedIterator.Attribute> result = new HashSet<Attribute>
288 AttributedCharacterIterator.Attribute attribute = it.next(); local
336 AttributedCharacterIterator.Attribute attribute = it.next(); local
408 AttributedCharacterIterator.Attribute attribute = it.next(); local
445 AttributedCharacterIterator.Attribute attribute = it.next(); local
    [all...]
  /external/webkit/WebCore/bindings/js/
ScriptEventListener.h 41 class Attribute;
46 PassRefPtr<JSLazyEventListener> createAttributeEventListener(Node*, Attribute*);
47 PassRefPtr<JSLazyEventListener> createAttributeEventListener(Frame*, Attribute*);
  /external/webkit/WebCore/bindings/v8/
ScriptEventListener.h 40 class Attribute;
46 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Node*, Attribute*);
47 PassRefPtr<V8LazyEventListener> createAttributeEventListener(Frame*, Attribute*);
  /libcore/luni/src/test/java/libcore/java/text/
OldAttributedCharacterIteratorTest.java 34 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2,
37 HashSet<AttributedCharacterIterator.Attribute> attr =
38 new HashSet<AttributedCharacterIterator.Attribute>();
39 attr.add(AttributedCharacterIterator.Attribute.LANGUAGE);
44 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null,
50 attr.add(AttributedCharacterIterator.Attribute.READING);
58 Set<AttributedCharacterIterator.Attribute> emptyAttributes =
64 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE,
68 Set<AttributedCharacterIterator.Attribute> attributes =
70 for(AttributedCharacterIterator.Attribute attr:attributes)
77 Object attribute = local
    [all...]
OldAttributedStringTest.java 97 attrString2 = new AttributedString(iter, 2, 7, new AttributedCharacterIterator.Attribute[] {});
106 * int, int, AttributedCharacterIterator.Attribute[]) Test of method
108 * int, int, AttributedCharacterIterator.Attribute[]). Case 1: Try to
114 public void test_ConstructorLAttributedCharacterIteratorII$Ljava_text_AttributedCharacterIterator$Attribute() {
143 AttributedCharacterIterator.Attribute[] attributes = new AttributedCharacterIterator.Attribute[1];
154 * int, int, Map<? extends AttributedCharacterIterator.Attribute,?>)
158 * AttributedCharacterIterator.Attribute,?>). Case 1: Try to
170 new WeakHashMap<AttributedCharacterIterator.Attribute, String>());
185 Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterator.Attribute, String>()
    [all...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
BaseAttribute.java 19 import com.android.dx.cf.iface.Attribute;
22 * Base implementation of {@link Attribute}, which directly stores
23 * the attribute name but leaves the rest up to subclasses.
25 public abstract class BaseAttribute implements Attribute {
26 /** {@code non-null;} attribute name */
32 * @param name {@code non-null;} attribute name
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/
Attribute.java 11 public class Attribute
18 * return an Attribute object from the given object.
23 public static Attribute getInstance(
26 if (o == null || o instanceof Attribute)
28 return (Attribute)o;
33 return new Attribute((ASN1Sequence)o);
39 public Attribute(
51 public Attribute(
72 * Attribute ::= SEQUENCE {
  /external/proguard/src/proguard/classfile/editor/
AttributesEditor.java 24 import proguard.classfile.attribute.*;
67 * target code attribute.
82 * Adds the given attribute to the target.
84 public void addAttribute(Attribute attribute)
89 // Try to replace an existing attribute.
93 attribute))
95 // Otherwise append the attribute.
99 attribute);
106 // Try to replace an existing attribute
    [all...]
AttributeSorter.java 24 import proguard.classfile.attribute.*;
25 import proguard.classfile.attribute.visitor.AttributeVisitor;
68 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
82 Attribute attribute1 = (Attribute)object1;
83 Attribute attribute2 = (Attribute)object2;
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509Attribute.java 9 import org.bouncycastle.asn1.x509.Attribute;
12 * Class for carrying the values in an X.509 Attribute.
17 Attribute attr;
20 * @param at an object representing an attribute.
25 this.attr = Attribute.getInstance(at);
29 * Create an X.509 Attribute with the type given by the passed in oid and
32 * @param oid type of the attribute
39 this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value));
43 * Create an X.59 Attribute with the type given by the passed in oid and the
46 * @param oid type of the attribute
    [all...]
  /external/proguard/src/proguard/classfile/attribute/annotation/
AnnotationDefaultAttribute.java 21 package proguard.classfile.attribute.annotation;
24 import proguard.classfile.attribute.Attribute;
25 import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor;
26 import proguard.classfile.attribute.visitor.AttributeVisitor;
29 * This Attribute represents an annotation default attribute.
33 public class AnnotationDefaultAttribute extends Attribute
67 // Implementations for Attribute.
  /external/proguard/src/proguard/obfuscate/
AttributeUsageMarker.java 24 import proguard.classfile.attribute.Attribute;
25 import proguard.classfile.attribute.visitor.AttributeVisitor;
39 // A visitor info flag to indicate the attribute is being used.
45 public void visitAnyAttribute(Clazz clazz, Attribute attribute)
47 markAsUsed(attribute);
55 * In this context, the VisitorAccepter will be an Attribute object.
65 * In this context, the VisitorAccepter will be an Attribute object.

Completed in 281 milliseconds

1 2 3 4 5 6 7 8 910