Home
last modified time | relevance | path

Searched refs:attrName (Results 1 – 25 of 79) sorted by relevance

1234

/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DThemeStyleSetTest.java29 …assertThat(themeStyleSet.getAttrValue(attrName("string1")).value).isEqualTo("string1 value from st… in shouldFindAttributesFromAnAppliedStyle()
30 …assertThat(themeStyleSet.getAttrValue(attrName("string2")).value).isEqualTo("string2 value from st… in shouldFindAttributesFromAnAppliedStyle()
40 …assertThat(themeStyleSet.getAttrValue(attrName("string1")).value).isEqualTo("string1 value from st… in shouldFindAttributesFromAnAppliedFromForcedStyle()
41 …assertThat(themeStyleSet.getAttrValue(attrName("string2")).value).isEqualTo("string2 value from st… in shouldFindAttributesFromAnAppliedFromForcedStyle()
48 private AttributeResource createAttribute(String attrName, String value) { in createAttribute() argument
49 return new AttributeResource(attrName(attrName), value, "package"); in createAttribute()
52 private ResName attrName(String attrName) { in attrName() argument
53 return new ResName("package", "attr", attrName); in attrName()
/external/owasp/sanitizer/src/main/org/owasp/html/
DElementAndAttributePolicies.java68 String attrName = e.getKey(); in and() local
70 AttributePolicy b = p.attrPolicies.get(attrName); in and()
74 joinedAttrPolicies.put(attrName, a); in and()
77 String attrName = e.getKey(); in and() local
78 if (!this.attrPolicies.containsKey(attrName)) { in and()
79 joinedAttrPolicies.put(attrName, e.getValue()); in and()
108 String attrName = e.getKey(); in andGlobals() local
109 AttributePolicy globalAttrPolicy = globalAttrPolicies.get(attrName); in andGlobals()
119 anded.put(attrName, joined); in andGlobals()
124 String attrName = e.getKey(); in andGlobals() local
[all …]
DPolicyFactory.java181 String attrName = e.getKey(); in and() local
183 attrName, in and()
185 e.getValue(), f.globalAttrPolicies.get(attrName))); in and()
189 String attrName = e.getKey(); in and() local
190 if (!this.globalAttrPolicies.containsKey(attrName)) { in and()
191 ab.put(attrName, e.getValue()); in and()
/external/clang/include/clang/Sema/
DAttributeList.h237 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
241 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
252 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
261 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
275 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
281 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
294 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
298 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
313 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
316 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DNodeHandler.java34 String attrName = entry.getKey(); in findMatchFor() local
35 String attributeValue = xml.getAttributeValue(null, attrName); in findMatchFor()
55 String attrName = attrMatcher.group(2); in addHandler() local
64 elementHandler = new ElementHandler(attrName == null ? subHandler : null); in addHandler()
68 if (attrName != null) { in addHandler()
69 AttrHandler attrHandler = elementHandler.get(attrName); in addHandler()
72 elementHandler.put(attrName, attrHandler); in addHandler()
DStaxStyleLoader.java17 private String attrName; in StaxStyleLoader()
22 attrName = xml.getAttributeValue(null, "name"); in StaxStyleLoader()
33 ResName attrResName = ResName.qualifyResName(attrName, xmlContext.getPackageName(), "attr"); in StaxStyleLoader()
DStyleData.java34 private void add(ResName attrName, AttributeResource attribute) { in add() argument
35 attrName.mustBe("attr"); in add()
36 items.put(attrName, attribute); in add()
DThemeStyleSet.java13 @Override public AttributeResource getAttrValue(ResName attrName) { in getAttrValue() argument
17 AttributeResource overlayedAttribute = overlayedStyle.style.getAttrValue(attrName); in getAttrValue()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DTreeWalker.java330 final String attrName = attr.getNodeName(); in startNode() local
331 final int colon = attrName.indexOf(':'); in startNode()
335 if (attrName.equals("xmlns") || attrName.startsWith("xmlns:")) in startNode()
343 prefix = attrName.substring(colon + 1); in startNode()
349 prefix = attrName.substring(0,colon); in startNode()
477 final String attrName = attr.getNodeName(); in endNode() local
478 final int colon = attrName.indexOf(':'); in endNode()
481 if (attrName.equals("xmlns") || attrName.startsWith("xmlns:")) in endNode()
489 prefix = attrName.substring(colon + 1); in endNode()
494 prefix = attrName.substring(0, colon); in endNode()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DTreeWalker.java340 String attrName = attr.getNodeName(); in startNode() local
343 if (attrName.equals("xmlns") || attrName.startsWith("xmlns:")) in startNode()
350 String prefix = (index = attrName.indexOf(":")) < 0 in startNode()
351 ? "" : attrName.substring(index + 1); in startNode()
475 String attrName = attr.getNodeName();
477 if (attrName.equals("xmlns") || attrName.startsWith("xmlns:"))
483 String prefix = (index = attrName.indexOf(":")) < 0
484 ? "" : attrName.substring(index + 1);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DST.stg153 - (STAttrMap *) setObject:(id)aValue forKey:(NS*)String attrName
155 [super setObject:value forKey:attrName];
158 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName
160 [super setObject:[NSNumber numberWithInteger:value] forKey:attrName];
185 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
186 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName;
221 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
222 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName;
358 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
359 actionSetAttribute(st,attrName,expr) ::= <<
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg67 public STAttrMap Add(string attrName, object value)
69 base.Add(attrName, value);
72 public STAttrMap Add(string attrName, int value)
74 base.Add(attrName, value);
163 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
164 actionSetAttribute(st,attrName,expr) ::= <<
165 (<st>).SetAttribute("<attrName>",<expr>);
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DPYXWriter.java33 private String attrName; // saved attribute name field in PYXWriter
38 theWriter.println(attrName); in adup()
39 attrName = null; in adup()
46 attrName = new String(buff, offset, length); in aname()
52 attrName = null; in aval()
DSchema.java77 public void attribute(String elemName, String attrName, in attribute() argument
81 throw new Error("Attribute " + attrName + in attribute()
85 e.setAttribute(attrName, type, value); in attribute()
/external/cldr/tools/java/org/unicode/cldr/icu/
DDayPeriodsMapper.java64 String attrName = attr.getLocalName(i); in startElement() local
65 if (!attrName.equals("type")) { in startElement()
66 icuData.add(prefix + attrName, attr.getValue(i)); in startElement()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DST.stg62 public STAttrMap put(String attrName, Object value) {
63 super.put(attrName, value);
151 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
152 actionSetAttribute(st,attrName,expr) ::= <<
153 (<st>).setAttribute("<attrName>",<expr>);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DST.stg105 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
106 actionSetAttribute(st,attrName,expr) ::= <<
107 ( <st> )[ :<attrName> ] = <expr>
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DXmlPullParserTest.java154 String attrNs, String attrName, int resId, String value, int valueResId) { in assertAttribute() argument
155 assertThat(format(parser, attrNs, attrName)) in assertAttribute()
156 .isEqualTo(format(attrNs, attrName, resId, "CDATA", value, valueResId)); in assertAttribute()
172 private String format(String attrNs, String attrName, in format() argument
174 return attrNs + ":" + attrName in format()
/external/antlr/tool/src/main/java/org/antlr/tool/
DNameSpaceChecker.java192 String attrName = attribute.name; in checkForRuleScopeAttributeConflict() local
193 if ( r.name.equals(attrName) ) { in checkForRuleScopeAttributeConflict()
197 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(attrName)!=null) || in checkForRuleScopeAttributeConflict()
198 (r.parameterScope!=null&&r.parameterScope.getAttribute(attrName)!=null) ) in checkForRuleScopeAttributeConflict()
204 ErrorManager.grammarError(msgID,grammar,r.tree.getToken(),attrName,arg2); in checkForRuleScopeAttributeConflict()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DDotPrinter.java77 String attrName = nextNodeName(); in output() local
78 builder.append(System.lineSeparator() + attrName + " [label=\"" + a.getName() + "='" in output()
80 builder.append(System.lineSeparator() + ndName + " -> " + attrName + ";"); in output()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java282 String attrName; in build()
288 attrName = magicAttr; in build()
293 attrName = attrResName.name; in build()
309 + (attrResName == null ? attrName : attrResName.getFullyQualifiedName())); in build()
322 + (attrResName == null ? attrName : attrResName.getFullyQualifiedName())); in build()
342 int attrNameIndex = resStringPoolWriter.uniqueString(attrName); in build()
344 resStringPoolWriter.string(value), resValue, attrNs + ":" + attrName); in build()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DST.stg145 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
146 actionSetAttribute(st,attrName,expr) ::= <<
147 (<st>).SetAttribute("<attrName>",<expr>);
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java671 String attrName = attr.getNodeName(); in serializeAttList() local
686 attrName=attr.getLocalName(); in serializeAttList()
693 attrName.equals("xmlns") || attrName.startsWith("xmlns:"); in serializeAttList()
731 attrName = declAttrPrefix + ":" + localName; in serializeAttList()
733 attrName = localName; in serializeAttList()
760 attrName = attrPrefix + ":" + localName; in serializeAttList()
782 new Object[] { attrName }); in serializeAttList()
838 fSerializer.addAttribute(attrNS, localName, attrName, type, attrValue); in serializeAttList()
850 attrName, in serializeAttList()
857 attrName, in serializeAttList()
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DST.stg163 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
164 actionSetAttribute(st,attrName,expr) ::= <<
165 (<st>)["<attrName>"] = <expr>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DST.stg163 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */
164 actionSetAttribute(st,attrName,expr) ::= <<
165 (<st>)["<attrName>"] = <expr>

1234