Home
last modified time | relevance | path

Searched refs:attributeName (Results 1 – 25 of 69) sorted by relevance

123

/external/proguard/src/proguard/classfile/editor/
DAttributesEditor.java84 public Attribute findAttribute(String attributeName) in findAttribute() argument
91 attributeName) : in findAttribute()
95 attributeName) : in findAttribute()
98 attributeName); in findAttribute()
165 public void deleteAttribute(String attributeName) in deleteAttribute() argument
173 attributeName); in deleteAttribute()
180 attributeName); in deleteAttribute()
187 attributeName); in deleteAttribute()
249 String attributeName) in deleteAttribute() argument
254 attributeName); in deleteAttribute()
[all …]
DNamedAttributeDeleter.java42 private final String attributeName; field in NamedAttributeDeleter
45 public NamedAttributeDeleter(String attributeName) in NamedAttributeDeleter() argument
47 this.attributeName = attributeName; in NamedAttributeDeleter()
58 new AttributesEditor(programClass, false).deleteAttribute(attributeName); in visitProgramClass()
69 new AttributesEditor(programClass, programMember, false).deleteAttribute(attributeName); in visitProgramMember()
80 …r((ProgramClass)clazz, (ProgramMember)method, codeAttribute, false).deleteAttribute(attributeName); in visitCodeAttribute()
/external/cldr/tools/java/org/unicode/cldr/api/
DAttributeKey.java90 public static AttributeKey keyOf(String elementName, String attributeName) { in keyOf() argument
95 checkArgument(attributeName.indexOf(':') == -1, in keyOf()
98 elementName, attributeName); in keyOf()
99 return checkNotNull(KNOWN_KEYS.get(elementName, attributeName), in keyOf()
101 elementName, attributeName); in keyOf()
105 return new AttributeKey(elementName, attributeName); in keyOf()
109 private final String attributeName; field in AttributeKey
111 private AttributeKey(String elementName, String attributeName) { in AttributeKey() argument
113 this.attributeName = checkValidLabel(attributeName, "attribute name"); in AttributeKey()
123 return attributeName; in getAttributeName()
[all …]
DCldrDataType.java118 Attribute getAttribute(String elementName, String attributeName) { in getAttribute() argument
119 Attribute attr = DtdData.getInstance(mainType).getAttribute(elementName, attributeName); in getAttribute()
122 attr = DtdData.getInstance(t).getAttribute(elementName, attributeName); in getAttribute()
161 boolean isDistinguishingAttribute(String elementName, String attributeName) {
162 Attribute attribute = getAttribute(elementName, attributeName);
172 boolean isValueAttribute(String elementName, String attributeName) {
173 Attribute attribute = getAttribute(elementName, attributeName);
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlPolicyBuilder.java303 for (String attributeName : attributeNames) { in allowAttributes()
304 b.add(HtmlLexer.canonicalName(attributeName)); in allowAttributes()
327 for (String attributeName : attributeNames) { in allowAttributesGlobally()
333 AttributePolicy oldPolicy = globalAttrPolicies.get(attributeName); in allowAttributesGlobally()
335 attributeName, AttributePolicy.Util.join(oldPolicy, policy)); in allowAttributesGlobally()
350 for (String attributeName : attributeNames) { in allowAttributesOnElements()
351 AttributePolicy oldPolicy = policies.get(attributeName); in allowAttributesOnElements()
353 attributeName, in allowAttributesOnElements()
600 String attributeName = ape.getKey(); in compilePolicies() local
603 if (globalAttrPolicies.containsKey(attributeName)) { continue; } in compilePolicies()
[all …]
DAttributePolicy.java58 String elementName, String attributeName, String value); in apply() argument
95 String elementName, String attributeName, String value) {
103 String elementName, String attributeName, String value) {
119 String elementName, String attributeName, @Nullable String value) { in apply() argument
122 value = p.apply(elementName, attributeName, value); in apply()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DXmlUtils.java48 static Long parseLongAttribute(XmlPullParser parser, String attributeName, in parseLongAttribute() argument
50 String attributeValueString = parser.getAttributeValue(null /* namespace */, attributeName); in parseLongAttribute()
57 throw new XmlPullParserException("Attribute \"" + attributeName in parseLongAttribute()
68 String attributeName, Boolean defaultValue) throws XmlPullParserException { in parseBooleanAttribute() argument
69 String attributeValueString = parser.getAttributeValue(null /* namespace */, attributeName); in parseBooleanAttribute()
75 throw new XmlPullParserException("Attribute \"" + attributeName in parseBooleanAttribute()
86 static List<String> parseStringListAttribute(XmlPullParser parser, String attributeName, in parseStringListAttribute() argument
88 String attributeValueString = parser.getAttributeValue(null /* namespace */, attributeName); in parseStringListAttribute()
/external/autotest/frontend/client/src/autotest/moblab/
DDutManagementView.java36 private TextBox attributeName; field in DutManagementView
58 attributeName.setText(""); in refresh()
94 attributeName.setText(""); in initialize()
135 addAttribute(i, attributeName.getText(), attributeValue.getText()); in initialize()
137 removeAttribute(i, attributeName.getText()); in initialize()
173 attributeName = new TextBox(); in initialize()
174 attributeName.setStyleName("dut_manage_action_row_item"); in initialize()
184 attribActionRow.add(attributeName); in initialize()
338 private void addAttribute(int row_number, String attributeName, String attributeValue) { in addAttribute() argument
340 …MoblabRpcHelper.setMoblabAttribute(ipAddress, attributeName, attributeValue, new LogAction(informa… in addAttribute()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliAnnotation.java92 …erride public PsiAnnotationMemberValue findAttributeValue(@Nullable @NonNls String attributeName) { in findAttributeValue() argument
93 return PsiImplUtil.findAttributeValue(this, attributeName); in findAttributeValue()
97 …ublic PsiAnnotationMemberValue findDeclaredAttributeValue(@Nullable @NonNls String attributeName) { in findDeclaredAttributeValue() argument
98 return PsiImplUtil.findDeclaredAttributeValue(this, attributeName); in findDeclaredAttributeValue()
103 @Nullable @NonNls String attributeName, @Nullable T value) { in setDeclaredAttributeValue()
/external/cldr/tools/java/org/unicode/cldr/util/
DDtdPathIterator.java81 String attributeName = attribute.getName(); in visit() local
82 if (!attributeName.equals("alt")) { in visit()
84 …if (parentName.equals("displayName") && attributeName.equals("count") && !xpathParts.contains("cur… in visit()
90 xpathParts.setAttribute(index, attributeName, sample.apply(attribute)); in visit()
100 String attributeName = attribute.getName(); in visit() local
102 xpathParts.setAttribute(index, attributeName, sample.apply(attribute)); in visit()
104 xpathParts.removeAttribute(index, attributeName); in visit()
DDtdData.java1159 public final String attributeName; field in DtdData.IllegalByDtdException
1162 … public IllegalByDtdException(String elementName, String attributeName, String attributeValue) { in IllegalByDtdException() argument
1164 this.attributeName = attributeName; in IllegalByDtdException()
1173 + (attributeName == null ? "" : ", attribute: " + attributeName) in getMessage()
1179 public boolean isDeprecated(String elementName, String attributeName, String attributeValue) { in isDeprecated() argument
1182 throw new IllegalByDtdException(elementName, attributeName, attributeValue); in isDeprecated()
1186 if ("*".equals(attributeName) || "_q".equals(attributeName)) { in isDeprecated()
1189 Attribute attribute = element.getAttributeNamed(attributeName); in isDeprecated()
1191 throw new IllegalByDtdException(elementName, attributeName, attributeValue); in isDeprecated()
1209 public AttributeStatus getAttributeStatus(String elementName, String attributeName) { in getAttributeStatus() argument
[all …]
DXPathParts.java473 public String findAttributeValue(String elementName, String attributeName) { in findAttributeValue() argument
478 return attributes.get(attributeName); in findAttributeValue()
552 public XPathParts removeAttribute(String elementName, String attributeName) { in removeAttribute() argument
553 return removeAttribute(findElement(elementName), attributeName); in removeAttribute()
556 public XPathParts removeAttribute(int elementIndex, String attributeName) { in removeAttribute() argument
557 putAttributeValue(elementIndex, attributeName, null); in removeAttribute()
1195 … public XPathParts setAttribute(String elementName, String attributeName, String attributeValue) { in setAttribute() argument
1197 putAttributeValue(index, attributeName, attributeValue); in setAttribute()
1254 public XPathParts setAttribute(int elementIndex, String attributeName, String attributeValue) { in setAttribute() argument
1255 putAttributeValue(elementIndex, attributeName, attributeValue); in setAttribute()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DXmlPullParserUtil.java97 public static @Nullable String getAttributeValue(XmlPullParser xpp, String attributeName) { in getAttributeValue() argument
100 if (xpp.getAttributeName(i).equals(attributeName)) { in getAttributeValue()
117 XmlPullParser xpp, String attributeName) { in getAttributeValueIgnorePrefix() argument
120 if (stripPrefix(xpp.getAttributeName(i)).equals(attributeName)) { in getAttributeValueIgnorePrefix()
/external/cldr/tools/java/org/unicode/cldr/test/
DTestCLDRTests.java130 void set(String attributeName, String attributeValue) { in set() argument
132 settings.put(attributeName, attributeValue); in set()
147 String attributeName = it.next(); in myerrln() local
148 String attributeValue = settings.get(attributeName); in myerrln()
149 temp += " " + attributeName + "=<" + attributeValue + ">"; in myerrln()
250 String attributeName = it.next();
252 .get(attributeName);
253 if (attributeName.equals("input")) {
294 String attributeName = it.next();
296 .get(attributeName);
[all …]
/external/proguard/src/proguard/classfile/io/
DProgramClassReader.java990 String attributeName = clazz.getString(u2attributeNameIndex); in createAttribute() local
993attributeName.equals(ClassConstants.ATTR_BootstrapMethods) ? (Attribute)new Bo… in createAttribute()
994attributeName.equals(ClassConstants.ATTR_SourceFile) ? (Attribute)new So… in createAttribute()
995attributeName.equals(ClassConstants.ATTR_SourceDir) ? (Attribute)new So… in createAttribute()
996attributeName.equals(ClassConstants.ATTR_InnerClasses) ? (Attribute)new In… in createAttribute()
997attributeName.equals(ClassConstants.ATTR_EnclosingMethod) ? (Attribute)new En… in createAttribute()
998attributeName.equals(ClassConstants.ATTR_Deprecated) ? (Attribute)new De… in createAttribute()
999attributeName.equals(ClassConstants.ATTR_Synthetic) ? (Attribute)new Sy… in createAttribute()
1000attributeName.equals(ClassConstants.ATTR_Signature) ? (Attribute)new Si… in createAttribute()
1001attributeName.equals(ClassConstants.ATTR_ConstantValue) ? (Attribute)new Co… in createAttribute()
[all …]
/external/testng/src/main/java/org/testng/xml/dom/
DWrapper.java37 for (String attributeName : m_onElement.attributes()) { in getParameters()
38 result.add(element.getAttribute(attributeName)); in getParameters()
51 for (String attributeName : m_onElementList.attributes()) { in getParameters()
52 result.add(item.getAttribute(attributeName)); in getParameters()
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java218 void set(AttributeName attributeName, String attributeValue) { in set() argument
220 settings.put(attributeName, attributeValue); in set()
250 AttributeName attributeName = it.next(); in loglnSAX() local
251 String attributeValue = settings.get(attributeName); in loglnSAX()
252 temp += " " + attributeName + "=<" + attributeValue + ">"; in loglnSAX()
381 AttributeName attributeName = it.next();
382 String attributeValue = settings.get(attributeName);
383 switch (attributeName) {
419 + attributeName);
447 AttributeName attributeName = it.next();
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestPaths.java279 String attributeName = attributeNValue.getKey(); in check() local
280 if (dtdData.isDeprecated(elementName, attributeName, "*")) { in check()
281 if (attributeName.equals("draft")) { in check()
285 + ":" + attributeName in check()
292 + ":" + attributeName in check()
298 if (dtdData.isDeprecated(elementName, attributeName, attributeValue)) { in check()
302 + ":" + attributeName in check()
307 data.put(dtdData.dtdType, elementName, attributeName, "*", true); in check()
308 data.put(dtdData.dtdType, elementName, attributeName, attributeValue, true); in check()
506 for (String attributeName : parts.getAttributeKeys(i)) { in checkParts()
[all …]
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DGcpMetadataConfig.java68 private static String getAttribute(String attributeName) { in getAttribute() argument
70 URL url = new URL(METADATA_URL + attributeName); in getAttribute()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlChangeReporterTest.java59 for (String attributeName : attributeNames) { in testChangeReporting()
60 log.append(' ').append(attributeName); in testChangeReporting()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DBouncyCastleProvider.java351 String attributeName = (String)it.next(); in addAttributes() local
352 String attributeKey = key + " " + attributeName; in addAttributes()
358 put(attributeKey, attributeMap.get(attributeName)); in addAttributes()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DBouncyCastleProvider.java354 String attributeName = (String)it.next(); in addAttributes() local
355 String attributeKey = key + " " + attributeName; in addAttributes()
361 put(attributeKey, attributeMap.get(attributeName)); in addAttributes()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DBouncyCastleProvider.java353 String attributeName = (String)it.next(); in addAttributes() local
354 String attributeKey = key + " " + attributeName; in addAttributes()
360 put(attributeKey, attributeMap.get(attributeName)); in addAttributes()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DSubTypeResolutionTest.java53 public <V> ListMetaAttribute<M, V, B> describeList(final String attributeName) { in describeList() argument
55 attributes.put(attributeName, metaAttribute); in describeList()
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
DMutationObserver.min.js11attributeName=null,this.attributeNamespace=null,this.oldValue=null}function d(e){var t=new o(e.typ…

123