Home
last modified time | relevance | path

Searched refs:DOMStringImpl (Results 1 – 25 of 65) sorted by relevance

123

/dports/www/kf5-khtml/khtml-5.89.0/src/xml/
H A Ddom_stringimpl.h43 class DOMStringImpl : public khtml::Shared<DOMStringImpl>
46 DOMStringImpl(const DOMStringImpl &);
49 DOMStringImpl() in DOMStringImpl() function
106 ~DOMStringImpl();
113 DOMStringImpl *copy() const in copy()
134 DOMStringImpl *lower() const;
135 DOMStringImpl *upper() const;
137 DOMStringImpl *escapeHTML();
169 static DOMStringImpl *empty();
184 inline bool strcmp(const DOMStringImpl *a, const DOMStringImpl *b) in strcmp()
[all …]
H A Ddom_stringimpl.cpp86 DOMStringImpl::~DOMStringImpl() in ~DOMStringImpl()
121 void DOMStringImpl::append(DOMStringImpl *str) in append()
281 DOMStringImpl *out = new DOMStringImpl(); in collapseWhiteSpace()
420 DOMStringImpl *DOMStringImpl::lower() const in lower()
422 DOMStringImpl *c = new DOMStringImpl; in lower()
437 DOMStringImpl *DOMStringImpl::upper() const in upper()
439 DOMStringImpl *c = new DOMStringImpl; in upper()
457 DOMStringImpl *c = new DOMStringImpl; in capitalize()
575 DOMStringImpl *DOMStringImpl::escapeHTML() in escapeHTML()
593 DOMStringImpl *toRet = new DOMStringImpl(); in escapeHTML()
[all …]
H A Ddom_xmlimpl.h71 DOMStringImpl *m_publicId;
72 DOMStringImpl *m_systemId;
74 DOMStringImpl *m_name;
96 DOMStringImpl *m_entityName;
121 DOMStringImpl *m_name;
122 DOMStringImpl *m_publicId;
123 DOMStringImpl *m_systemId;
172 DOMStringImpl *m_target;
173 DOMStringImpl *m_data;
175 DOMStringImpl *m_title;
[all …]
H A Ddom_textimpl.h41 CharacterDataImpl(DocumentImpl *doc, DOMStringImpl *_text);
64 DOMStringImpl *string() const in string()
94 DOMStringImpl *str;
96 void dispatchModifiedEvent(DOMStringImpl *prevValue);
104 CommentImpl(DocumentImpl *doc, DOMStringImpl *_text) in CommentImpl()
126 TextImpl(DocumentImpl *impl, DOMStringImpl *_text) in TextImpl()
161 DOMStringImpl *renderString() const;
171 virtual TextImpl *createNew(DOMStringImpl *_str);
179 CDATASectionImpl(DocumentImpl *impl, DOMStringImpl *_text) in CDATASectionImpl()
196 TextImpl *createNew(DOMStringImpl *_str) override;
H A Ddom_elementimpl.h137 DOMStringImpl *val() const in val()
147 DOMStringImpl *m_value;
163 DOMStringImpl *val() const in val()
202 void setValue(DOMStringImpl *value, ElementImpl *element);
213 DOMStringImpl *value;
300 inline DOMStringImpl *getAttributeImplById(NodeImpl::Id id) const;
462 void updateId(DOMStringImpl *oldId, DOMStringImpl *newId);
570 DOMStringImpl *valueAt(unsigned index) const;
579 inline DOMStringImpl *fastFind(NodeImpl::Id id) const;
632 DOMStringImpl *qname = qualifiedName.implementation(); in checkQualifiedName()
[all …]
H A Ddom_textimpl.cpp74 DOMStringImpl *oldStr = str; in setData()
77 str = new DOMStringImpl((QChar *)nullptr, 0); in setData()
121 DOMStringImpl *oldStr = str; in appendData()
142 DOMStringImpl *oldStr = str; in insertData()
167 DOMStringImpl *oldStr = str; in deleteData()
199 DOMStringImpl *oldStr = str; in replaceData()
246 DOMStringImpl *newValue = str->copy(); in dispatchModifiedEvent()
367 DOMStringImpl *oldStr = str; in splitText()
590 TextImpl *TextImpl::createNew(DOMStringImpl *_str) in createNew()
595 DOMStringImpl *TextImpl::renderString() const in renderString()
[all …]
H A Ddom2_viewsimpl.h35 class DOMStringImpl; variable
47 CSSStyleDeclarationImpl *getComputedStyle(ElementImpl *elt, DOMStringImpl *pseudoElt);
H A Ddom_elementimpl.cpp176 DOMStringImpl *oldVal = m_value; in childrenChanged()
177 m_value = new DOMStringImpl((QChar *)nullptr, 0); in childrenChanged()
180 DOMStringImpl *data = static_cast<const TextImpl *>(n)->string(); in childrenChanged()
297 void AttributeImpl::setValue(DOMStringImpl *value, ElementImpl *element) in setValue()
334 DOMStringImpl *value = newValue.implementation(); in rewriteValue()
592 DOMStringImpl *oldId = namedAttrMap ? namedAttrMap->getValue(ATTR_ID) : nullptr; in setAttributeMap()
593 DOMStringImpl *newId = list ? list->getValue(ATTR_ID) : nullptr; in setAttributeMap()
1249 void ElementImpl::dispatchAttrRemovalEvent(NodeImpl::Id /*id*/, DOMStringImpl * /*value*/) in dispatchAttrRemovalEvent() argument
1271 void ElementImpl::updateId(DOMStringImpl *oldId, DOMStringImpl *newId) in updateId()
1692 DOMStringImpl *NamedAttrMapImpl::valueAt(unsigned index) const in valueAt()
[all …]
H A Ddom_docimpl.h134 …static CSSStyleSheetImpl *createCSSStyleSheet(DOMStringImpl *title, DOMStringImpl *media, int &exc…
216 TextImpl *createTextNode(DOMStringImpl *data) in createTextNode()
222 return createTextNode(new DOMStringImpl(data.unicode(), data.length())); in createTextNode()
232 CommentImpl *createComment(DOMStringImpl *data);
233 CDATASectionImpl *createCDATASection(DOMStringImpl *data, int &exceptioncode);
234 …ProcessingInstructionImpl *createProcessingInstruction(const DOMString &target, DOMStringImpl *dat…
649 CSSStyleDeclarationImpl *getOverrideStyle(ElementImpl *elt, DOMStringImpl *pseudoElt);
H A Ddom2_viewsimpl.cpp42 CSSStyleDeclarationImpl *AbstractViewImpl::getComputedStyle(ElementImpl *elt, DOMStringImpl * /*pse… in getComputedStyle() argument
/dports/www/kf5-khtml/khtml-5.89.0/src/misc/
H A DAtomicString.cpp38 static HashSet<DOMStringImpl *> *stringTable;
43 return DOMStringImpl::computeHash(c); in hash()
67 DOMStringImpl *impl = a.impl(); in operator ==()
77 DOMStringImpl *AtomicString::add(const char *c) in add()
83 return DOMStringImpl::empty(); in add()
171 return DOMStringImpl::empty(); in add()
183 DOMStringImpl *AtomicString::add(const QChar *s) in add()
195 return DOMStringImpl::empty(); in add()
207 DOMStringImpl *AtomicString::add(DOMStringImpl *r) in add()
214 return DOMStringImpl::empty(); in add()
[all …]
H A DStringHash.h30 using DOM::DOMStringImpl;
40 static unsigned hash(DOMStringImpl *key) in hash()
44 static bool equal(DOMStringImpl *a, DOMStringImpl *b) in equal()
75 static unsigned hash(const RefPtr<DOMStringImpl> &key) in hash()
79 static bool equal(const RefPtr<DOMStringImpl> &a, const RefPtr<DOMStringImpl> &b) in equal()
145 static unsigned hash(DOMStringImpl *str) in hash()
195 static bool equal(DOMStringImpl *a, DOMStringImpl *b) in equal()
214 static unsigned hash(const RefPtr<DOMStringImpl> &key) in hash()
219 static bool equal(const RefPtr<DOMStringImpl> &a, const RefPtr<DOMStringImpl> &b) in equal()
H A DAtomicString.h28 using DOM::DOMStringImpl;
44 AtomicString(DOMStringImpl *imp) : m_string(add(imp)) { } in AtomicString()
110 static void remove(DOMStringImpl *);
115 static DOMStringImpl *add(const char *);
116 static DOMStringImpl *add(const QChar *, int length);
117 static DOMStringImpl *add(const QChar *);
118 static DOMStringImpl *add(DOMStringImpl *);
H A Didstring.h32 using DOM::DOMStringImpl;
105 …static IDString<TableFactory> fromString(DOMStringImpl *string, CaseNormalizeMode cnm = IDS_CaseSe…
127 DOMStringImpl *name; // same as our key, so no separate
133 Mapping(DOMStringImpl *_name): refCount(0), name(_name) in Mapping()
141 DOMStringImpl *str;
145 MappingKey(DOMStringImpl *v): str(v) {} in MappingKey()
174 unsigned short grabId(DOMStringImpl *string, CaseNormalizeMode cnm);
H A Didstring.cpp62 unsigned short IDTableBase::grabId(DOMStringImpl *origName, CaseNormalizeMode cnm) in grabId()
78 DOMStringImpl *name = nullptr; in grabId()
84 name = new DOMStringImpl(origName->s, origName->l); in grabId()
120 name = new DOMStringImpl("_khtml_fallback"); in grabId()
147 DOMStringImpl *nameImpl = name.implementation(); in addHiddenMapping()
H A DAtomicStringImpl.h32 class AtomicStringImpl : public DOM::DOMStringImpl
/dports/www/kf5-khtml/khtml-5.89.0/src/rendering/
H A Drender_text.h186 RenderText(DOM::NodeImpl *node, DOM::DOMStringImpl *_str);
190 virtual DOM::DOMStringImpl *originalString() const;
209 DOM::DOMStringImpl *string() const in string()
306 void setText(DOM::DOMStringImpl *text, bool force = false);
389 virtual void setTextInternal(DOM::DOMStringImpl *text);
395 DOM::DOMStringImpl *str; //
432 RenderTextFragment(DOM::NodeImpl *_node, DOM::DOMStringImpl *_str,
452 DOM::DOMStringImpl *contentString() const in contentString()
456 DOM::DOMStringImpl *originalString() const override;
470 void setTextInternal(DOM::DOMStringImpl *text) override;
[all …]
H A Drender_text.cpp718 RenderText::RenderText(DOM::NodeImpl *node, DOMStringImpl *_str) in RenderText()
875 DOM::DOMStringImpl *RenderText::originalString() const in originalString()
1023 /*const */DOMStringImpl *domString = originalString(); in convertToDOMPosition()
1024 /*const */DOMStringImpl *renderedString = string(); in convertToDOMPosition()
1067 /*const */DOMStringImpl *domString = originalString(); in convertToRenderedPosition()
1068 /*const */DOMStringImpl *renderedString = string(); in convertToRenderedPosition()
1515 void RenderText::setText(DOMStringImpl *text, bool force) in setText()
1524 void RenderText::setTextInternal(DOMStringImpl *text) in setTextInternal()
1526 DOMStringImpl *oldstr = str; in setTextInternal()
1975 DOM::DOMStringImpl *RenderTextFragment::originalString() const in originalString()
[all …]
/dports/www/kf5-khtml/khtml-5.89.0/src/dom/
H A Ddom_string.cpp35 impl = new DOMStringImpl(str, len); in DOMString()
46 impl = new DOMStringImpl(str.unicode(), str.length()); in DOMString()
57 impl = new DOMStringImpl(str); in DOMString()
67 impl = new DOMStringImpl(str, len); in DOMString()
71 DOMString::DOMString(DOMStringImpl *i) in DOMString()
119 DOMStringImpl *i = impl->copy(); in operator +=()
368 DOMStringImpl *out = new DOMStringImpl(s + start, len); in trimSpaces()
454 return new DOMStringImpl(buffer.data()/*, len*/); in format()
480 DOMStringImpl *aimpl = a.impl; in operator ==()
H A Ddom_string.h33 class DOMStringImpl; variable
61 DOMString(DOMStringImpl *i);
145 DOMStringImpl *implementation() const in implementation()
157 DOMStringImpl *impl;
/dports/www/kf5-khtml/khtml-5.89.0/src/xpath/
H A DXPathNamespaceImpl.h33 class DOMStringImpl; variable
39 DOMStringImpl *prefix, DOMStringImpl *uri);
H A DXPathNamespaceImpl.cpp32 XPathNamespaceImpl::XPathNamespaceImpl(DocumentImpl *ptr, DOMStringImpl *prefix, DOMStringImpl *uri) in XPathNamespaceImpl()
/dports/www/kf5-khtml/khtml-5.89.0/src/html/
H A Dhtmlprospectivetokenizer.cpp716 DOMStringImpl tagNameDS(DOMStringImpl::ShallowCopy, m_tagName.data(), m_tagName.size()); in processAttribute()
724DOMStringImpl attrDS(DOMStringImpl::ShallowCopy, m_attributeName.data(), m_attributeName.size()); in processAttribute()
733DOMStringImpl attrDS(DOMStringImpl::ShallowCopy, m_attributeName.data(), m_attributeName.size()); in processAttribute()
739DOMStringImpl *lowerAttribute = DOMStringImpl(DOMStringImpl::ShallowCopy, m_attributeValue.data(),… in processAttribute()
852 DOMStringImpl tagNameDS(DOMStringImpl::ShallowCopy, m_tagName.data(), m_tagName.size()); in emitTag()
/dports/www/kf5-khtml/khtml-5.89.0/src/css/
H A Dcsshelper.cpp32 DOMStringImpl *i = url.implementation(); in parseURL()
79 DOMStringImpl *j = new DOMStringImpl(i->s + o, l); in parseURL()
/dports/www/kf5-khtml/khtml-5.89.0/src/svg/
H A DSVGStyledElement.cpp79 static void mapAttributeToCSSProperty(HashMap<DOMStringImpl *, int> *propertyNameToIdMap, const Qua… in mapAttributeToCSSProperty() argument
95 static HashMap<DOMStringImpl *, int> *propertyNameToIdMap = nullptr; in cssPropertyIdForSVGAttributeName()
97 propertyNameToIdMap = new HashMap<DOMStringImpl *, int>; in cssPropertyIdForSVGAttributeName()

123