Home
last modified time | relevance | path

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

123

/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DAttrResourceLoader.java41 …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/
DAttributeList.h215 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
219 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
229 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
237 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
252 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
258 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
272 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
276 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
291 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() argument
294 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
[all …]
/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/skia/include/svg/parser/
DSkSVGParser.h29 void _addAttribute(const char* attrName, const char* attrValue) { in _addAttribute() argument
30 fXMLWriter.addAttribute(attrName, attrValue); } in _addAttribute()
31 void _addAttribute(const char* attrName, SkString& attrValue) { in _addAttribute() argument
32 fXMLWriter.addAttribute(attrName, attrValue.c_str()); } in _addAttribute()
33 void _addAttributeLen(const char* attrName, const char* attrValue, size_t len) { in _addAttributeLen() argument
34 fXMLWriter.addAttributeLen(attrName, attrValue, len); } in _addAttributeLen()
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DClassReader.java455 String attrName; in accept() local
510 attrName = readUTF8(v, c); in accept()
513 if ("SourceFile".equals(attrName)) { in accept()
515 } else if ("InnerClasses".equals(attrName)) { in accept()
517 } else if ("EnclosingMethod".equals(attrName)) { in accept()
524 } else if (SIGNATURES && "Signature".equals(attrName)) { in accept()
526 } else if (ANNOTATIONS && "RuntimeVisibleAnnotations".equals(attrName)) { in accept()
528 } else if ("Deprecated".equals(attrName)) { in accept()
530 } else if ("Synthetic".equals(attrName)) { in accept()
532 } else if ("SourceDebugExtension".equals(attrName)) { in accept()
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_adapters/
Dhtmlparser2.js80 var attrName = attrs[i].name;
82 attribs[attrName] = attrs[i].value;
83 attribsNamespace[attrName] = attrs[i].namespace;
84 attribsPrefix[attrName] = attrs[i].prefix;
230 var attrName = attrs[i].name;
232 if (typeof recipientNode.attribs[attrName] === 'undefined') {
233 recipientNode.attribs[attrName] = attrs[i].value;
234 recipientNode['x-attribsNamespace'][attrName] = attrs[i].namespace;
235 recipientNode['x-attribsPrefix'][attrName] = attrs[i].prefix;
/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/antlr-3.4/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 …]
DST4ObjC.stg224 /** 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/
DST.stg61 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/
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/chromium-trace/catapult/tracing/third_party/css-element-queries/src/
DElementQueries.js77 … var key, option, width = 0, height = 0, value, actualValue, attrValues, attrValue, attrName;
108 attrName = option.mode + '-' + option.property;
119 if (!attrValues[attrName]) attrValues[attrName] = '';
120 … if (attrValue && -1 === (' '+attrValues[attrName]+' ').indexOf(' ' + attrValue + ' ')) {
121 attrValues[attrName] += ' ' + attrValue;
/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/antlr/antlr-3.4/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/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/fixtures/
Dtokenizer_test.js88 Object.keys(tokenEntry).forEach(function (attrName) { argument
89 var attrVal = tokenEntry[attrName];
91 delete tokenEntry[attrName];
92 tokenEntry[unicodeUnescape(attrName)] = unicodeUnescape(attrVal);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DNameSpaceChecker.java200 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/antlr/antlr-3.4/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/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dinputstream.py786 attrName = []
790 if c == b"=" and attrName:
797 return b"".join(attrName), b""
799 attrName.append(c.lower())
803 attrName.append(c)
809 return b"".join(attrName), b""
824 return b"".join(attrName), b"".join(attrValue)
832 return b"".join(attrName), b""
843 return b"".join(attrName), b"".join(attrValue)
/external/skia/src/animator/
DSkDisplayXMLParser.cpp97 bool SkDisplayXMLParser::onAddAttributeLen(const char attrName[], const char attrValue[], in onAddAttributeLen() argument
101 return strncmp(attrName, "xmlns", sizeof("xmlns") - 1) != 0; in onAddAttributeLen()
105 if (strcmp(attrName, "id") == 0) { in onAddAttributeLen()
123 const char* name = attrName; in onAddAttributeLen()
/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/antlr-3.4/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>
/external/apache-harmony/security/src/test/resources/java/security/
DProvider.prop.dat3 serviceName.algName\ attrName= attrValue

123