/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/ |
D | ThemeStyleSetTest.java | 29 …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/ |
D | ElementAndAttributePolicies.java | 68 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 …]
|
D | PolicyFactory.java | 181 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | AttrResourceLoader.java | 41 …rtValueToEnum(Class<? extends View> viewClass, String namespace, String attrName, String attrValue… in convertValueToEnum() argument 43 String className = findKnownAttrClass(attrName, viewClass, isSystem); in convertValueToEnum() 44 return classAttrEnumToValue.get(key(className, attrName, attrValue, isSystem)); in convertValueToEnum() 47 …ublic boolean hasAttributeFor(Class<? extends View> viewClass, String namespace, String attrName) { in hasAttributeFor() argument 49 return findKnownAttrClass(attrName, viewClass, isSystem) != null; in hasAttributeFor() 52 private String findKnownAttrClass(String attrName, Class<?> clazz, boolean isSystem) { in findKnownAttrClass() argument 58 if (knownClassAttrs.contains(key(className, attrName, isSystem))) { in findKnownAttrClass() 66 private String key(String viewName, String attrName, String name, boolean isSystem) { in key() argument 67 return key(viewName, attrName, isSystem) + "#" + name; in key() 70 private String key(String viewName, String attrName, boolean isSystem) { in key() argument [all …]
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 237 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/annotation-tools/asmx/src/org/objectweb/asm/ |
D | ClassReader.java | 336 String attrName = readUTF8(u + 2, c); in copyBootstrapMethods() local 337 if ("BootstrapMethods".equals(attrName)) { in copyBootstrapMethods() 477 String attrName; in accept() local 533 attrName = readUTF8(v, c); in accept() 534 if (attrName.equals("SourceFile")) { in accept() 536 } else if (attrName.equals("Deprecated")) { in accept() 538 } else if (attrName.equals("Synthetic")) { in accept() 540 } else if (attrName.equals("Annotation")) { in accept() 542 } else if (attrName.equals("Enum")) { in accept() 544 } else if (attrName.equals("InnerClasses")) { in accept() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | NodeHandler.java | 34 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()
|
D | StaxStyleLoader.java | 17 private String attrName; in StaxStyleLoader() 22 attrName = xml.getAttributeValue(null, "name"); in StaxStyleLoader() 33 ResName attrResName = ResName.qualifyResName(attrName, xmlContext.getPackageName(), "attr"); in StaxStyleLoader()
|
D | StyleData.java | 34 private void add(ResName attrName, AttributeResource attribute) { in add() argument 35 attrName.mustBe("attr"); in add() 36 items.put(attrName, attribute); in add()
|
D | ThemeStyleSet.java | 13 @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/ |
D | TreeWalker.java | 330 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/ |
D | TreeWalker.java | 340 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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ST.stg | 153 - (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 …]
|
D | ST4ObjC.stg | 224 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */ 225 actionSetAttribute(st,attrName,expr) ::= << 226 [(<st>) setAttribute:@"<attrName>" value:<expr>];
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ST.stg | 61 public STAttrMap put(String attrName, Object value) { 62 super.put(attrName, value); 65 public STAttrMap put(String attrName, int value) { 66 super.put(attrName, new Integer(value)); 154 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */ 155 actionSetAttribute(st,attrName,expr) ::= << 156 (<st>).setAttribute("<attrName>",<expr>);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ST.stg | 67 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/ |
D | PYXWriter.java | 33 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()
|
D | Schema.java | 77 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/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | ST.stg | 105 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */ 106 actionSetAttribute(st,attrName,expr) ::= << 107 ( <st> )[ :<attrName> ] = <expr>
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | NameSpaceChecker.java | 200 String attrName = attribute.name; in checkForRuleScopeAttributeConflict() local 201 if ( r.name.equals(attrName) ) { in checkForRuleScopeAttributeConflict() 205 else if ( (r.returnScope!=null&&r.returnScope.getAttribute(attrName)!=null) || in checkForRuleScopeAttributeConflict() 206 (r.parameterScope!=null&&r.parameterScope.getAttribute(attrName)!=null) ) in checkForRuleScopeAttributeConflict() 212 ErrorManager.grammarError(msgID,grammar,r.tree.getToken(),attrName,arg2); in checkForRuleScopeAttributeConflict()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/ |
D | DotPrinter.java | 77 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/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ST.stg | 145 /** 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/ |
D | DOM3TreeWalker.java | 671 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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ST.stg | 163 /** An action has %st.attrName=expr; or %{st}.attrName=expr; */ 164 actionSetAttribute(st,attrName,expr) ::= << 165 (<st>)["<attrName>"] = <expr>
|
/external/annotation-tools/scene-lib/src/annotations/io/classfile/ |
D | CodeOffsetAdapter.java | 69 String attrName = cr.readUTF8(codeStart, buf); in visitMethod() local 70 debug.debug("attribute %s%n", attrName); in visitMethod() 71 if ("Code".equals(attrName)) { in visitMethod()
|