Home
last modified time | relevance | path

Searched refs:classNames (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
DClassNodeList.cpp38 ClassNodeList::ClassNodeList(PassRefPtr<Node> rootNode, const String& classNames) in ClassNodeList() argument
40 , m_classNames(classNames, m_rootNode->document()->inQuirksMode()) in ClassNodeList()
41 , m_originalClassNames(classNames) in ClassNodeList()
57 return static_cast<StyledElement*>(testNode)->classNames().containsAll(m_classNames); in nodeMatches()
DClassNodeList.h41 static PassRefPtr<ClassNodeList> create(PassRefPtr<Node> rootNode, const String& classNames) in create() argument
43 return adoptRef(new ClassNodeList(rootNode, classNames)); in create()
49 ClassNodeList(PassRefPtr<Node> rootNode, const String& classNames);
DStyledElement.h64 const SpaceSplitString& classNames() const;
99 inline const SpaceSplitString& StyledElement::classNames() const in classNames() function
103 return attributeMap()->classNames(); in classNames()
DNamedNodeMap.h99 const SpaceSplitString& classNames() const { return m_classNames; } in classNames() function
DNode.h524 PassRefPtr<NodeList> getElementsByClassName(const String& classNames);
DNode.cpp1746 PassRefPtr<NodeList> Node::getElementsByClassName(const String& classNames) in getElementsByClassName() argument
1754 …NodeListCache::iterator, bool> result = data->nodeLists()->m_classNodeListCache.add(classNames, 0); in getElementsByClassName()
1758 RefPtr<ClassNodeList> list = ClassNodeList::create(this, classNames); in getElementsByClassName()
/external/webkit/Source/WebCore/html/
DClassList.cpp57 return m_element->hasClass() ? classNames().size() : 0; in length()
64 return classNames()[index]; in item()
76 return m_element->hasClass() && classNames().contains(token); in containsInternal()
138 const SpaceSplitString& ClassList::classNames() const in classNames() function in WebCore::ClassList
143 return m_element->attributeMap()->classNames(); in classNames()
DClassList.h66 const SpaceSplitString& classNames() const;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DObjectTest.java57 String classNames[] = { "java.lang.Object", "java.lang.Throwable", in test_getClass() local
63 for (int i = 0; i < classNames.length; ++i) { in test_getClass()
64 classToTest = Class.forName(classNames[i]); in test_getClass()
70 .forName(classNames[i])); in test_getClass()
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidFrameworkMockGeneratorTest.java76 List<String> classNames = new ArrayList<String>(); in getClassNames() local
78 classNames.add(clazz.getClassName()); in getClassNames()
80 return classNames; in getClassNames()
DAndroidMockGeneratorTest.java116 List<String> classNames = new ArrayList<String>(); in getClassNames() local
118 classNames.add(clazz.getClassName()); in getClassNames()
120 return classNames; in getClassNames()
/external/jdiff/src/jdiff/
DHTMLIndexes.java446 classNames = new ArrayList(); // Index[] in emitClassesIndex()
464 classNames.add(new Index(cls.name_, 0, pkgName, cls.isInterface_)); in emitClassesIndex()
471 classNames.add(idx); in emitClassesIndex()
476 classNames.add(new Index(cls.name_, 2, pkgName, cls.isInterface_)); in emitClassesIndex()
479 Collections.sort(classNames); in emitClassesIndex()
481 emitIndexEntries(classNames.iterator()); in emitClassesIndex()
483 emitMissingSinces(classNames.iterator()); in emitClassesIndex()
503 generateLetterIndex(classNames, sw, false); in emitClassIndexEntry()
874 allNames.addAll(classNames); in emitAllDiffsIndex()
957 private List classNames = null; // Index[] field in HTMLIndexes
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java537 public int[] addClassInfo(String[] classNames) { in addClassInfo() argument
538 int n = classNames.length; in addClassInfo()
541 result[i] = addClassInfo(classNames[i]); in addClassInfo()
/external/proguard/src/proguard/classfile/
DClassPool.java80 public Iterator classNames() in classNames() method in ClassPool
/external/proguard/src/proguard/gui/
DProGuardGUI.java952 String classNames = in setProGuardConfiguration() local
956 boilerplateKeepCheckBoxes[index].setSelected(classNames != null); in setProGuardConfiguration()
957 boilerplateKeepTextFields[index].setText(classNames == null ? "*" : classNames); in setProGuardConfiguration()
964 String classNames = in setProGuardConfiguration() local
968 boilerplateKeepNamesCheckBoxes[index].setSelected(classNames != null); in setProGuardConfiguration()
969 boilerplateKeepNamesTextFields[index].setText(classNames == null ? "*" : classNames); in setProGuardConfiguration()
/external/webkit/Source/WebKit/mac/WebView/
DWebRenderLayer.mm63 for (size_t i = 0; i < styledElement->classNames().size(); ++i) {
66 classes += styledElement->classNames()[i];
/external/proguard/src/proguard/
DOutputWriter.java237 Iterator iterator = classPool.classNames(); in createPackagePrefixMap()
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Djquery-1.3.2.js711 add: function( elem, classNames ) { argument
712 jQuery.each((classNames || "").split(/\s+/), function(i, className){
719 remove: function( elem, classNames ) { argument
721 elem.className = classNames !== undefined ?
723 return !jQuery.className.has( classNames, className );
1225 addClass: function( classNames ) { argument
1226 jQuery.className.add( this, classNames );
1229 removeClass: function( classNames ) { argument
1230 jQuery.className.remove( this, classNames );
1233 toggleClass: function( classNames, state ) { argument
[all …]
Dconcat-jquery-mootools-prototype.js711 add: function( elem, classNames ) { argument
712 jQuery.each((classNames || "").split(/\s+/), function(i, className){
719 remove: function( elem, classNames ) { argument
721 elem.className = classNames !== undefined ?
723 return !jQuery.className.has( classNames, className );
1225 addClass: function( classNames ) { argument
1226 jQuery.className.add( this, classNames );
1229 removeClass: function( classNames ) { argument
1230 jQuery.className.remove( this, classNames );
1233 toggleClass: function( classNames, state ) { argument
[all …]
Dprototype-1.6.0.3.js1830 classNames: function(element) { method
4262 var elements = [], classNames = (/\s/.test(className) ? $w(className) : null);
4263 if (!classNames && !className) return elements;
4270 (classNames && classNames.all(function(name) {
/external/webkit/Source/WebCore/inspector/
DDOMNodeHighlighter.cpp143 … const SpaceSplitString& classNamesString = static_cast<StyledElement*>(element)->classNames(); in drawElementTitle()
/external/webkit/Source/WebCore/rendering/
DRenderTreeAsText.cpp427 for (size_t i = 0; i < styledElement->classNames().size(); ++i) { in writeRenderObject()
430 classes += styledElement->classNames()[i]; in writeRenderObject()
/external/webkit/Source/WebCore/css/
DCSSStyleSelector.cpp613 const SpaceSplitString& classNames = styledElement->classNames(); in collectElementIdentifierHashes() local
614 size_t count = classNames.size(); in collectElementIdentifierHashes()
616 identifierHashes.append(classNames[i].impl()->existingHash()); in collectElementIdentifierHashes()
706 const SpaceSplitString& classNames = m_styledElement->classNames(); in matchRules() local
707 size_t size = classNames.size(); in matchRules()
709 …matchRulesForList(rules->getClassRules(classNames[i].impl()), firstRuleIndex, lastRuleIndex, inclu… in matchRules()
2126 …return element->hasClass() && static_cast<const StyledElement*>(element)->classNames().contains(va… in checkValue()
2378 … return e->hasClass() && static_cast<StyledElement*>(e)->classNames().contains(sel->value()); in checkOneSelector()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1036626 classNames function since the hasClass bit can only be set for a
36689 Replaced the getClassNames function with a classNames function returning a reference
36702 inline classNames function.
DChangeLog-2010-12-0623240 (WebCore::ClassList::classNames):
40358 (WebCore::DOMTokenList::classNames):
45566 …contains check. In standards mode the existing classNames is used but in quirks mode we use an int…
45619 (WebCore::DOMTokenList::classNames):

12