Home
last modified time | relevance | path

Searched refs:Attributes (Results 1 – 25 of 178) sorted by relevance

12345678

/external/llvm/include/llvm/
DAttributes.h43 class Attributes {
45 Attributes() : Bits(0) { } in Attributes() function
46 explicit Attributes(uint64_t Val) : Bits(Val) { } in Attributes() function
47 /*implicit*/ Attributes(Attribute::AttrConst Val) : Bits(Val.v) { } in Attributes() function
48 Attributes(const Attributes &Attrs) : Bits(Attrs.Bits) { } in Attributes() function
52 Attributes &operator = (const Attributes &Attrs) {
56 bool operator == (const Attributes &Attrs) const {
59 bool operator != (const Attributes &Attrs) const {
62 Attributes operator | (const Attributes &Attrs) const {
63 return Attributes(Bits | Attrs.Bits);
[all …]
DFunction.h172 bool hasFnAttr(Attributes N) const {
179 void addFnAttr(Attributes N) {
186 void removeFnAttr(Attributes N) {
199 bool paramHasAttr(unsigned i, Attributes attr) const {
204 void addAttribute(unsigned i, Attributes attr);
207 void removeAttribute(unsigned i, Attributes attr);
DArgument.h76 void addAttr(Attributes);
79 void removeAttr(Attributes);
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DAttributesTest.java26 import java.util.jar.Attributes;
30 private Attributes a;
34 a = new Attributes(); in setUp()
45 Attributes a2 = new Attributes(a); in test_ConstructorLjava_util_jar_Attributes()
69 assertTrue("Should have returned true", a.containsKey(new Attributes.Name("1"))); in test_containsKeyLjava_lang_Object()
100 assertTrue("a) Should contain key", keySet.contains(new Attributes.Name("1"))); in test_entrySet()
101 assertTrue("b) Should contain key", keySet.contains(new Attributes.Name("2"))); in test_entrySet()
102 assertTrue("c) Should contain key", keySet.contains(new Attributes.Name("3"))); in test_entrySet()
103 assertTrue("d) Should contain key", keySet.contains(new Attributes.Name("4"))); in test_entrySet()
121 a = new Attributes(); in test_isEmpty()
[all …]
DZipExecTest.java23 import java.util.jar.Attributes;
42 Attributes att = man.getMainAttributes(); in test_1562()
43 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_1562()
44 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_1562()
83 Attributes att = man.getMainAttributes(); in test_zip_class_path()
84 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_zip_class_path()
85 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_zip_class_path()
86 att.put(Attributes.Name.CLASS_PATH, barZip.getName()); in test_zip_class_path()
111 att.put(Attributes.Name.CLASS_PATH, "xx yy zz " + barZip.getName()); in test_zip_class_path()
125 …att.put(Attributes.Name.CLASS_PATH, ".." + File.separator + barZip.getParentFile().getName() + Fil… in test_zip_class_path()
[all …]
DManifestTest.java26 import java.util.jar.Attributes;
94 private void assertAttribute(Attributes attr, String name, String value) { in assertAttribute()
99 Attributes main = manifest.getMainAttributes(); in checkManifest()
152 Map<String, Attributes> entries = mf.getEntries(); in testStreamConstructor()
155 Attributes namedEntryAttributes = (Attributes) (entries.get("")); in testStreamConstructor()
218 new Attributes.Name(ATT_ATT_NAME))); in testGetAttributes()
226 Map<String, Attributes> myMap = m.getEntries(); in testGetEntries()
229 new Attributes.Name(ATT_ATT_NAME))); in testGetEntries()
237 Attributes a = m.getMainAttributes(); in testGetMainAttributes()
239 .get(Attributes.Name.MANIFEST_VERSION)); in testGetMainAttributes()
[all …]
DJarExecTest.java23 import java.util.jar.Attributes;
45 Attributes att = man.getMainAttributes(); in test_1562()
46 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_1562()
47 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_1562()
85 Attributes att = man.getMainAttributes(); in test_jar_class_path()
86 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_jar_class_path()
87 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_jar_class_path()
88 att.put(Attributes.Name.CLASS_PATH, barJar.getName()); in test_jar_class_path()
111 att.put(Attributes.Name.CLASS_PATH, "xx yy zz " + barJar.getName()); in test_jar_class_path()
123 …att.put(Attributes.Name.CLASS_PATH, ".." + File.separator + barJar.getParentFile().getName() + Fil… in test_jar_class_path()
[all …]
DJarOutputStreamTest.java24 import java.util.jar.Attributes;
58 Attributes att = newman.getMainAttributes(); in test_putNextEntryLjava_util_zip_ZipEntry()
59 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_putNextEntryLjava_util_zip_ZipEntry()
60 att.put(Attributes.Name.MAIN_CLASS, element); in test_putNextEntryLjava_util_zip_ZipEntry()
111 Attributes att = man.getMainAttributes(); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
112 att.put(Attributes.Name.MANIFEST_VERSION, "1.0"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
113 att.put(Attributes.Name.MAIN_CLASS, "foo.bar.execjartest.Foo"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
114 att.put(Attributes.Name.CLASS_PATH, barZip.getName()); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest()
DAttributesNameTest.java20 import java.util.jar.Attributes;
32 new Attributes.Name( in testAttributesNameConstructor()
/external/clang/include/clang/Basic/
DBuiltins.h48 const char *Name, *Type, *Attributes, *HeaderName; member
54 !strcmp(Attributes, RHS.Attributes);
93 return strchr(GetRecord(ID).Attributes, 'c') != 0; in isConst()
98 return strchr(GetRecord(ID).Attributes, 'n') != 0; in isNoThrow()
103 return strchr(GetRecord(ID).Attributes, 'r') != 0; in isNoReturn()
108 return strchr(GetRecord(ID).Attributes, 'j') != 0; in isReturnsTwice()
114 return strchr(GetRecord(ID).Attributes, 'F') != 0; in isLibFunction()
121 return strchr(GetRecord(ID).Attributes, 'f') != 0; in isPredefinedLibFunction()
126 return strchr(GetRecord(ID).Attributes, 't') != 0; in hasCustomTypechecking()
154 return strchr(GetRecord(ID).Attributes, 'e') != 0; in isConstWithoutErrno()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp112 unsigned Attributes = ODS.getPropertyAttributes(); in ActOnProperty() local
119 Attributes |= ObjCDeclSpec::DQ_PR_weak; in ActOnProperty()
121 bool isReadWrite = ((Attributes & ObjCDeclSpec::DQ_PR_readwrite) || in ActOnProperty()
123 !(Attributes & ObjCDeclSpec::DQ_PR_readonly)); in ActOnProperty()
126 bool isAssign = ((Attributes & ObjCDeclSpec::DQ_PR_assign) || in ActOnProperty()
128 !(Attributes & ObjCDeclSpec::DQ_PR_retain) && in ActOnProperty()
129 !(Attributes & ObjCDeclSpec::DQ_PR_strong) && in ActOnProperty()
130 !(Attributes & ObjCDeclSpec::DQ_PR_copy) && in ActOnProperty()
131 !(Attributes & ObjCDeclSpec::DQ_PR_unsafe_unretained) && in ActOnProperty()
132 !(Attributes & ObjCDeclSpec::DQ_PR_weak))); in ActOnProperty()
[all …]
/external/llvm/lib/DebugInfo/
DDWARFAbbreviationDeclaration.cpp26 Attributes.clear(); in extract()
36 Attributes.push_back(DWARFAttribute(attr, form)); in extract()
58 for (unsigned i = 0, e = Attributes.size(); i != e; ++i) { in dump()
60 const char *attrString = AttributeString(Attributes[i].getAttribute()); in dump()
64 OS << format("DW_AT_Unknown_%x", Attributes[i].getAttribute()); in dump()
66 const char *formString = FormEncodingString(Attributes[i].getForm()); in dump()
70 OS << format("DW_FORM_Unknown_%x", Attributes[i].getForm()); in dump()
78 for (uint32_t i = 0, e = Attributes.size(); i != e; ++i) { in findAttributeIndex()
79 if (Attributes[i].getAttribute() == attr) in findAttributeIndex()
DDWARFAbbreviationDeclaration.h25 SmallVector<DWARFAttribute, 8> Attributes; variable
34 uint32_t getNumAttributes() const { return Attributes.size(); } in getNumAttributes()
36 return Attributes.size() > idx ? Attributes[idx].getAttribute() : 0; in getAttrByIndex()
39 return Attributes.size() > idx ? Attributes[idx].getForm() : 0; in getFormByIndex()
48 return Attributes; in getAttributes()
/external/llvm/lib/VMCore/
DAttributes.cpp29 std::string Attribute::getAsString(Attributes Attrs) { in getAsString()
97 Attributes Attribute::typeIncompatible(Type *Ty) { in typeIncompatible()
98 Attributes Incompatible = None; in typeIncompatible()
250 Attributes AttrListPtr::getAttributes(unsigned Idx) const { in getAttributes()
262 bool AttrListPtr::hasAttrSomewhere(Attributes Attr) const { in hasAttrSomewhere()
273 AttrListPtr AttrListPtr::addAttr(unsigned Idx, Attributes Attrs) const { in addAttr()
274 Attributes OldAttrs = getAttributes(Idx); in addAttr()
278 Attributes OldAlign = OldAttrs & Attribute::Alignment; in addAttr()
279 Attributes NewAlign = Attrs & Attribute::Alignment; in addAttr()
284 Attributes NewAttrs = OldAttrs | Attrs; in addAttr()
[all …]
/external/webkit/Source/WebCore/html/canvas/
DWebGLContextAttributes.h44 static PassRefPtr<WebGLContextAttributes> create(GraphicsContext3D::Attributes attributes);
75 GraphicsContext3D::Attributes attributes() const;
79 WebGLContextAttributes(GraphicsContext3D::Attributes attributes);
82 GraphicsContext3D::Attributes m_attrs;
DWebGLContextAttributes.cpp40 PassRefPtr<WebGLContextAttributes> WebGLContextAttributes::create(GraphicsContext3D::Attributes att… in create()
50 WebGLContextAttributes::WebGLContextAttributes(GraphicsContext3D::Attributes attributes) in WebGLContextAttributes()
120 GraphicsContext3D::Attributes WebGLContextAttributes::attributes() const in attributes()
/external/clang/lib/Basic/
DBuiltins.cpp54 if (!LangOpts.NoBuiltin || !strchr(BuiltinInfo[i].Attributes, 'f')) { in InitializeBuiltins()
62 if (!LangOpts.NoBuiltin || !strchr(TSRecords[i].Attributes, 'f')) in InitializeBuiltins()
71 if (!NoBuiltins || !strchr(BuiltinInfo[i].Attributes, 'f')) in GetBuiltinNames()
76 if (!NoBuiltins || !strchr(TSRecords[i].Attributes, 'f')) in GetBuiltinNames()
87 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP"); in isPrintfLike()
106 const char *Scanf = strpbrk(GetRecord(ID).Attributes, "sS"); in isScanfLike()
/external/webkit/Source/WebCore/loader/
DFormSubmission.h50 class Attributes {
51 WTF_MAKE_NONCOPYABLE(Attributes);
53 Attributes() in Attributes() function
76 void copyFrom(const Attributes&);
88 …static PassRefPtr<FormSubmission> create(HTMLFormElement*, const Attributes&, PassRefPtr<Event> ev…
DFormSubmission.cpp85 void FormSubmission::Attributes::parseAction(const String& action) in parseAction()
91 void FormSubmission::Attributes::parseEncodingType(const String& type) in parseEncodingType()
105 void FormSubmission::Attributes::parseMethodType(const String& type) in parseMethodType()
113 void FormSubmission::Attributes::copyFrom(const Attributes& other) in copyFrom()
137 PassRefPtr<FormSubmission> FormSubmission::create(HTMLFormElement* form, const Attributes& attribut… in create()
145 FormSubmission::Attributes copiedAttributes; in create()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTElementProcessor.java33 import org.xml.sax.Attributes;
158 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement()
264 StylesheetHandler handler, String rawName, Attributes attributes, in setPropertiesFromAttributes()
285 Attributes setPropertiesFromAttributes( in setPropertiesFromAttributes()
286 StylesheetHandler handler, String rawName, Attributes attributes, in setPropertiesFromAttributes()
DProcessorDecimalFormat.java24 import org.xml.sax.Attributes;
61 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement()
DProcessorKey.java29 import org.xml.sax.Attributes;
65 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement()
87 StylesheetHandler handler, String rawName, Attributes attributes, in setPropertiesFromAttributes()
DProcessorStripSpace.java29 import org.xml.sax.Attributes;
59 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement()
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/
DSAXUtil.java37 import org.xml.sax.Attributes;
126 public static Vector3f parseVector3(Attributes attribs) throws SAXException{ in parseVector3()
133 public static ColorRGBA parseColor(Attributes attribs) throws SAXException{ in parseColor()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerTrace.java23 import org.xml.sax.Attributes;
123 public void fireGenerateEvent(int eventType, String name, Attributes atts); in fireGenerateEvent()

12345678