Home
last modified time | relevance | path

Searched refs:m_data (Results 1 – 25 of 176) sorted by relevance

12345678

/external/webkit/WebCore/platform/graphics/wx/
DGraphicsContextWx.cpp117 , m_data(new GraphicsContextPlatformPrivate) in GraphicsContext()
126 m_data->context = (wxGCDC*)context; in GraphicsContext()
128 m_data->context = (wxWindowDC*)context; in GraphicsContext()
135 delete m_data; in ~GraphicsContext()
140 return (PlatformGraphicsContext*)m_data->context; in platformContext()
145 if (m_data->context) in savePlatformState()
148 wxGraphicsContext* gc = m_data->context->GetGraphicsContext(); in savePlatformState()
154 wxGraphicsContext* gc = m_data->context->GetGraphicsContext(); in savePlatformState()
160 HDC dc = (HDC)m_data->context->GetHDC(); in savePlatformState()
161 m_data->mswDCStateID = ::SaveDC(dc); in savePlatformState()
[all …]
/external/webkit/WebCore/rendering/style/
DDataRef.h33 const T* get() const { return m_data.get(); } in get()
40 if (!m_data->hasOneRef()) in access()
41 m_data = m_data->copy(); in access()
42 return m_data.get(); in access()
47 ASSERT(!m_data); in init()
48 m_data = T::create(); in init()
53 ASSERT(m_data);
54 ASSERT(o.m_data);
55 return m_data == o.m_data || *m_data == *o.m_data;
60 ASSERT(m_data);
[all …]
/external/webkit/WebCore/platform/graphics/wince/
DGraphicsContextWince.cpp457 GraphicsContextPlatformPrivate* m_data; member in WebCore::TransparentLayerDC
472 : m_data(data) in TransparentLayerDC()
478 m_data->m_opacity *= alpha / 255.; in TransparentLayerDC()
480 if (!m_data->hasAlpha()) { in TransparentLayerDC()
487 if (rectBeforeTransform && !isZero(m_data->m_transform.b())) { in TransparentLayerDC()
489 …m_rotatedBitmap = m_data->getTransparentLayerBitmap(m_rotatedOrigRect, m_alphaPaintType, m_bmpRect… in TransparentLayerDC()
491 double a = m_data->m_transform.a(); in TransparentLayerDC()
492 double b = m_data->m_transform.b(); in TransparentLayerDC()
511 … FloatPoint topLeft = m_data->m_transform.mapPoint(FloatPoint(rectBeforeTransform->topLeft())); in TransparentLayerDC()
513 topRight = m_data->m_transform.mapPoint(topRight); in TransparentLayerDC()
[all …]
/external/webkit/WebCore/html/
DHTMLSelectElement.cpp62 SelectElement::recalcStyle(m_data, this); in recalcStyle()
70 return m_data.multiple() ? selectMultiple : selectOne; in formControlType()
75 return SelectElement::selectedIndex(m_data, this); in selectedIndex()
80 SelectElement::deselectItems(m_data, this, excludeElement); in deselectItems()
85 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, false, false); in setSelectedIndex()
90 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, fireOnChangeNow, true); in setSelectedIndexByUser()
95 if (m_data.activeSelectionAnchorIndex() >= 0) in activeSelectionStartListIndex()
96 return m_data.activeSelectionAnchorIndex(); in activeSelectionStartListIndex()
102 if (m_data.activeSelectionEndIndex() >= 0) in activeSelectionEndListIndex()
103 return m_data.activeSelectionEndIndex(); in activeSelectionEndListIndex()
[all …]
DHTMLScriptElement.cpp39 , m_data(this, this) in HTMLScriptElement()
42 m_data.setCreatedByParser(createdByParser); in HTMLScriptElement()
56 return m_data.shouldExecuteAsJavaScript(); in shouldExecuteAsJavaScript()
61 ScriptElement::childrenChanged(m_data); in childrenChanged()
70 handleSourceAttribute(m_data, attr->value()); in parseMappedAttribute()
79 ScriptElement::finishParsingChildren(m_data, sourceAttributeValue()); in finishParsingChildren()
86 ScriptElement::insertedIntoDocument(m_data, sourceAttributeValue()); in insertedIntoDocument()
92 ScriptElement::removedFromDocument(m_data); in removedFromDocument()
97 return m_data.scriptContent(); in text()
180 return m_data.scriptCharset(); in scriptCharset()
[all …]
/external/svox/pico/tts/
Dsvox_ssml_parser.cpp59 m_data = new char[m_datasize]; in SvoxSsmlParser()
60 m_data[0] = '\0'; in SvoxSsmlParser()
68 if (m_data) in ~SvoxSsmlParser()
69 delete [] m_data; in ~SvoxSsmlParser()
78 return (mParser && m_data); in initSuccessful()
95 return m_data; in getParsedDocument()
112 if (strlen(m_data) > 0) in startElement()
115 delete m_data; in startElement()
116 m_data = NULL; in startElement()
118 m_data = new char[m_datasize]; in startElement()
[all …]
/external/webkit/WebCore/dom/
DCharacterData.cpp35 , m_data(StringImpl::empty()) in CharacterData()
42 m_data = text.impl() ? text.impl() : StringImpl::empty(); in CharacterData()
52 if (equal(m_data.get(), dataImpl)) in setData()
56 RefPtr<StringImpl> oldStr = m_data; in setData()
57 m_data = dataImpl; in setData()
63 toRenderText(renderer())->setText(m_data); in setData()
76 return m_data->substring(offset, count); in substringData()
81 String newStr = m_data; in appendData()
84 RefPtr<StringImpl> oldStr = m_data; in appendData()
85 m_data = newStr.impl(); in appendData()
[all …]
DClassNames.h67 …ClassNames(const String& string, bool shouldFoldCase) : m_data(new ClassNamesData(string, shouldFo… in ClassNames()
69 …void set(const String& string, bool shouldFoldCase) { m_data.set(new ClassNamesData(string, should… in set()
70 void clear() { m_data.clear(); } in clear()
72 … bool contains(const AtomicString& string) const { return m_data && m_data->contains(string); } in contains()
73 …l(const ClassNames& names) const { return !names.m_data || (m_data && m_data->containsAll(*names.m… in containsAll()
75 size_t size() const { return m_data ? m_data->size() : 0; } in size()
76 const AtomicString& operator[](size_t i) const { ASSERT(i < size()); return (*m_data)[i]; }
79 OwnPtr<ClassNamesData> m_data;
/external/webkit/WebCore/svg/
DSVGScriptElement.cpp39 , m_data(this, this) in SVGScriptElement()
41 m_data.setCreatedByParser(createdByParser); in SVGScriptElement()
50 return m_data.scriptContent(); in scriptContent()
74 handleSourceAttribute(m_data, href()); in svgAttributeChanged()
79 …if (!externalResourcesRequiredBaseValue() && !m_data.haveFiredLoadEvent() && !m_data.createdByPars… in svgAttributeChanged()
80 m_data.setHaveFiredLoadEvent(true); in svgAttributeChanged()
91 ScriptElement::insertedIntoDocument(m_data, sourceAttributeValue()); in insertedIntoDocument()
93 if (m_data.createdByParser()) in insertedIntoDocument()
98 m_data.setHaveFiredLoadEvent(true); in insertedIntoDocument()
106 ScriptElement::removedFromDocument(m_data); in removedFromDocument()
[all …]
/external/webkit/WebCore/wml/
DWMLSelectElement.cpp59 return m_data.multiple() ? selectMultiple : selectOne; in formControlType()
80 SelectElement::selectAll(m_data, this); in selectAll()
85 SelectElement::recalcStyle(m_data, this); in recalcStyle()
91 SelectElement::dispatchFocusEvent(m_data, this); in dispatchFocusEvent()
97 SelectElement::dispatchBlurEvent(m_data, this); in dispatchBlurEvent()
103 return SelectElement::selectedIndex(m_data, this); in selectedIndex()
108 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, false, false); in setSelectedIndex()
113 SelectElement::setSelectedIndex(m_data, this, optionIndex, deselect, fireOnChangeNow, true); in setSelectedIndexByUser()
118 return SelectElement::saveFormControlState(m_data, this, value); in saveFormControlState()
123 SelectElement::restoreFormControlState(m_data, this, state); in restoreFormControlState()
[all …]
DWMLInputElement.cpp72 InputElement::dispatchFocusEvent(m_data, this, this); in dispatchFocusEvent()
90 InputElement::dispatchBlurEvent(m_data, this, this); in dispatchBlurEvent()
96 InputElement::updateFocusAppearance(m_data, this, this, restorePreviousSelection); in updateFocusAppearance()
106 return m_data.size(); in size()
123 return m_data.name(); in formControlName()
128 String value = m_data.value(); in value()
137 InputElement::updatePlaceholderVisibility(m_data, this, this); in setValue()
139 m_data.setValue(constrainValue(value)); in setValue()
146 unsigned max = m_data.value().length(); in setValue()
157 InputElement::setValueFromRenderer(m_data, this, this, value); in setValueFromRenderer()
[all …]
/external/webkit/WebCore/platform/text/
DStringImpl.cpp83 , m_data(0) in StringImpl()
103 m_data = data; in StringImpl()
113 memcpy(data, str.m_data, str.m_length * sizeof(UChar)); in StringImpl()
115 m_data = data; in StringImpl()
131 m_data = data; in StringImpl()
136 , m_data(characters) in StringImpl()
157 m_data = data; in StringImpl()
176 m_data = data; in StringImpl()
188 deleteUCharVector(m_data); in ~StringImpl()
203 if (!isASCIISpace(m_data[i])) in containsOnlyWhitespace()
[all …]
DStringBuffer.h42 , m_data(static_cast<UChar*>(fastMalloc(length * sizeof(UChar)))) in StringBuffer()
47 fastFree(m_data); in ~StringBuffer()
59 m_data = static_cast<UChar*>(fastRealloc(m_data, newLength * sizeof(UChar))); in resize()
64 UChar* characters() { return m_data; } in characters()
66 UChar& operator[](unsigned i) { ASSERT(i < m_length); return m_data[i]; }
68 UChar* release() { UChar* data = m_data; m_data = 0; return data; } in release()
72 UChar* m_data; variable
/external/webkit/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp254 , m_data(new GraphicsContextPlatformPrivate(context)) in GraphicsContext()
266 while (!m_data->layers.isEmpty()) in ~GraphicsContext()
270 delete m_data; in ~GraphicsContext()
275 return m_data->p(); in platformContext()
289 m_data->p()->save(); in savePlatformState()
294 m_data->p()->restore(); in restorePlatformState()
296 if (!m_data->currentPath.isEmpty() && m_common->state.pathTransform.isInvertible()) { in restorePlatformState()
298 m_data->currentPath = m_data->currentPath * matrix; in restorePlatformState()
414 QPainter *p = m_data->p(); in drawRect()
416 p->setRenderHint(QPainter::Antialiasing, m_data->antiAliasingForRectsAndLines); in drawRect()
[all …]
DImageBufferQt.cpp72 : m_data(size) in ImageBuffer()
75 m_context.set(new GraphicsContext(m_data.m_painter.get())); in ImageBuffer()
85 ASSERT(m_data.m_painter->isActive()); in context()
96 m_image = StillImage::create(m_data.m_pixmap); in image()
104 bool isPainting = m_data.m_painter->isActive(); in platformTransformColorSpace()
106 m_data.m_painter->end(); in platformTransformColorSpace()
108 QImage image = m_data.m_pixmap.toImage().convertToFormat(QImage::Format_ARGB32); in platformTransformColorSpace()
122 m_data.m_pixmap = QPixmap::fromImage(image); in platformTransformColorSpace()
125 m_data.m_painter->begin(&m_data.m_pixmap); in platformTransformColorSpace()
158 QImage image = m_data.m_pixmap.toImage().convertToFormat(QImage::Format_ARGB32); in getImageData()
[all …]
/external/webkit/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp83 , m_data(new GraphicsContextPlatformPrivate) in GraphicsContext()
85 m_data->cr = cairo_reference(cr); in GraphicsContext()
86 m_data->syncContext(cr); in GraphicsContext()
93 delete m_data; in ~GraphicsContext()
106 return m_data->cr; in platformContext()
111 cairo_save(m_data->cr); in savePlatformState()
112 m_data->save(); in savePlatformState()
117 cairo_restore(m_data->cr); in restorePlatformState()
118 m_data->restore(); in restorePlatformState()
127 cairo_t* cr = m_data->cr; in drawRect()
[all …]
/external/webkit/WebCore/platform/graphics/win/
DGraphicsContextCairoWin.cpp64 , m_data(new GraphicsContextPlatformPrivate) in GraphicsContext()
67 m_data->cr = createCairoContextWithHDC(dc, hasAlpha); in GraphicsContext()
68 m_data->m_hdc = dc; in GraphicsContext()
71 m_data->cr = 0; in GraphicsContext()
72 m_data->m_hdc = 0; in GraphicsContext()
75 if (m_data->cr) { in GraphicsContext()
85 m_data->restore(); in releaseWindowsContext()
109 cairo_translate(m_data->cr, 0, dstRect.height()); in releaseWindowsContext()
110 cairo_scale(m_data->cr, dstRect.width(), -dstRect.height()); in releaseWindowsContext()
111 cairo_set_source_surface (m_data->cr, image, dstRect.x(), dstRect.y()); in releaseWindowsContext()
[all …]
/external/webkit/WebCore/bindings/js/
DJSCustomSQLTransactionCallback.cpp68 : m_data(new Data(callback, frame)) in JSCustomSQLTransactionCallback()
82 callOnMainThread(deleteData, m_data); in ~JSCustomSQLTransactionCallback()
84 m_data = 0; in ~JSCustomSQLTransactionCallback()
91 ASSERT(m_data); in handleEvent()
92 ASSERT(m_data->callback()); in handleEvent()
93 ASSERT(m_data->frame()); in handleEvent()
95 if (!m_data->frame()->script()->isEnabled()) in handleEvent()
99 JSGlobalObject* globalObject = m_data->frame()->script()->globalObject(); in handleEvent()
104 JSValue handleEventFunction = m_data->callback()->get(exec, Identifier(exec, "handleEvent")); in handleEvent()
111 callbackCallType = m_data->callback()->getCallData(callbackCallData); in handleEvent()
[all …]
/external/webkit/WebCore/xml/
DXPathValue.cpp51 if (!m_data) { in toNodeSet()
56 return m_data->m_nodeSet; in toNodeSet()
64 if (!m_data) in modifiableNodeSet()
65 m_data = ValueData::create(); in modifiableNodeSet()
68 return m_data->m_nodeSet; in modifiableNodeSet()
75 return !m_data->m_nodeSet.isEmpty(); in toBoolean()
81 return !m_data->m_string.isEmpty(); in toBoolean()
95 const String& str = m_data->m_string.simplifyWhiteSpace(); in toNumber()
122 if (m_data->m_nodeSet.isEmpty()) in toString()
124 return stringValue(m_data->m_nodeSet.firstNode()); in toString()
[all …]
/external/webkit/JavaScriptCore/runtime/
DPropertyNameArray.h66 : m_data(PropertyNameArrayData::create()) in PropertyNameArray()
73 : m_data(PropertyNameArrayData::create()) in PropertyNameArray()
83 …void addKnownUnique(UString::Rep* identifier) { m_data->propertyNameVector().append(Identifier(m_g… in addKnownUnique()
85 size_t size() const { return m_data->propertyNameVector().size(); } in size()
87 Identifier& operator[](unsigned i) { return m_data->propertyNameVector()[i]; }
88 const Identifier& operator[](unsigned i) const { return m_data->propertyNameVector()[i]; }
90 const_iterator begin() const { return m_data->begin(); } in begin()
91 const_iterator end() const { return m_data->end(); } in end()
93 void setData(PassRefPtr<PropertyNameArrayData> data) { m_data = data; } in setData()
94 PropertyNameArrayData* data() { return m_data.get(); } in data()
[all …]
DPropertySlot.h59 return *m_data.valueSlot; in getValue()
61 return (*m_data.registerSlot).jsValue(); in getValue()
68 return *m_data.valueSlot; in getValue()
70 return (*m_data.registerSlot).jsValue(); in getValue()
87 m_data.valueSlot = valueSlot; in setValueSlot()
95 m_data.valueSlot = valueSlot; in setValueSlot()
103 m_data.valueSlot = valueSlot; in setValueSlot()
114 m_data.valueSlot = &m_value; in setValue()
123 m_data.registerSlot = registerSlot; in setRegisterSlot()
140 m_data.index = index; in setCustomIndex()
[all …]
/external/webkit/WebCore/loader/
DCachedCSSStyleSheet.cpp78 if (!m_data || m_data->isEmpty() || !canUseSheet(enforceMIMEType)) in sheetText()
85 String sheetText = m_decoder->decode(m_data->data(), m_data->size()); in sheetText()
95 m_data = data; in data()
96 setEncodedSize(m_data.get() ? m_data->size() : 0); in data()
98 if (m_data) { in data()
99 m_decodedSheetText = m_decoder->decode(m_data->data(), m_data->size()); in data()
/external/webkit/WebCore/platform/graphics/android/
DGraphicsContextAndroid.cpp52 #define GC2Canvas(ctx) (ctx)->m_data->mPgc->mCanvas
368 , m_data(new GraphicsContextPlatformPrivate(this, gc)) in GraphicsContext()
375 delete m_data; in ~GraphicsContext()
382 m_data->save(); in savePlatformState()
392 m_data->restore(); in restorePlatformState()
396 return m_data->mState->mFillColor != 0; in willFill()
400 return m_data->mState->mStrokeColor != 0; in willStroke()
404 return m_data->mState->mPath; in getCurrPath()
417 m_data->setup_paint_fill(&paint); in drawRect()
423 m_data->setup_paint_stroke(&paint, &r); in drawRect()
[all …]
/external/webkit/WebCore/platform/wx/
DScrollViewWx.cpp124 m_data = new ScrollViewPrivate(this); in platformInit()
130 delete m_data; in platformDestroy()
136 m_data->bindEvents(win); in setPlatformWidget()
165 return IntRect(m_data->viewStart.x, m_data->viewStart.y, width, height); in platformVisibleContentRect()
183 wxPoint scrollOffset = m_data->viewStart; in platformSetScrollPosition()
204 m_data->viewStart = newScrollOffset; in platformSetScrollPosition()
240 if (x == -1) x = m_data->viewStart.x; in adjustScrollbars()
241 if (y == -1) y = m_data->viewStart.y; in adjustScrollbars()
250 switch (m_data->hScrollbarMode) { in adjustScrollbars()
268 switch (m_data->vScrollbarMode) { in adjustScrollbars()
[all …]
/external/webkit/WebCore/platform/image-decoders/bmp/
DBMPImageReader.cpp136 if ((m_decodedOffset > m_data->size()) in readInfoHeaderSize()
137 || ((m_data->size() - m_decodedOffset) < 4)) in readInfoHeaderSize()
173 if ((m_decodedOffset > m_data->size()) in processInfoHeader()
174 || ((m_data->size() - m_decodedOffset) < m_infoHeader.biSize) in processInfoHeader()
441 if ((m_data->size() - m_decodedOffset) < SIZEOF_BITMASKS) in processBitmasks()
517 if ((m_decodedOffset > m_data->size()) in processColorTable()
518 || ((m_data->size() - m_decodedOffset) < m_tableSizeInBytes)) in processColorTable()
522 m_colorTable[i].rgbBlue = m_data->data()[m_decodedOffset++]; in processColorTable()
523 m_colorTable[i].rgbGreen = m_data->data()[m_decodedOffset++]; in processColorTable()
524 m_colorTable[i].rgbRed = m_data->data()[m_decodedOffset++]; in processColorTable()
[all …]

12345678