Home
last modified time | relevance | path

Searched refs:RefPtr (Results 1 – 25 of 1003) sorted by relevance

12345678910>>...41

/external/webkit/JavaScriptCore/wtf/
DRefPtr.h36 template <typename T> class RefPtr : public FastAllocBase {
38 RefPtr() : m_ptr(0) { } in RefPtr() function
39 RefPtr(T* ptr) : m_ptr(ptr) { if (ptr) ptr->ref(); } in RefPtr() function
40 RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { if (T* ptr = m_ptr) ptr->ref(); } in RefPtr() function
42 template <typename U> RefPtr(const PassRefPtr<U>&);
45 RefPtr(PlacementNewAdoptType) { } in RefPtr() function
48 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } in RefPtr() function
51 ~RefPtr() { if (T* ptr = m_ptr) ptr->deref(); } in ~RefPtr()
53 …template <typename U> RefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { if (T* ptr = m_ptr) ptr->ref()… in RefPtr() function
69 typedef T* RefPtr::*UnspecifiedBoolType;
[all …]
DListRefPtr.h30 template <typename T> class ListRefPtr : public RefPtr<T> {
32 ListRefPtr() : RefPtr<T>() {} in ListRefPtr()
33 ListRefPtr(T* ptr) : RefPtr<T>(ptr) {} in ListRefPtr()
34 ListRefPtr(const RefPtr<T>& o) : RefPtr<T>(o) {} in ListRefPtr()
36 template <typename U> ListRefPtr(const PassRefPtr<U>& o) : RefPtr<T>(o) {} in ListRefPtr()
40 RefPtr<T> reaper = this->release(); in ~ListRefPtr()
45 ListRefPtr& operator=(T* optr) { RefPtr<T>::operator=(optr); return *this; }
46 ListRefPtr& operator=(const RefPtr<T>& o) { RefPtr<T>::operator=(o); return *this; }
47 ListRefPtr& operator=(const PassRefPtr<T>& o) { RefPtr<T>::operator=(o); return *this; }
48 …template <typename U> ListRefPtr& operator=(const RefPtr<U>& o) { RefPtr<T>::operator=(o); return …
[all …]
DRefPtrHashMap.h45 …class HashMap<RefPtr<T>, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg> : public FastAllocBase…
120 inline void HashMap<RefPtr<T>, U, V, W, X>::swap(HashMap& other) in swap()
126 inline int HashMap<RefPtr<T>, U, V, W, X>::size() const in size()
132 inline int HashMap<RefPtr<T>, U, V, W, X>::capacity() const in capacity()
138 inline bool HashMap<RefPtr<T>, U, V, W, X>::isEmpty() const in isEmpty()
144 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::begin() in begin()
150 inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::end() in end()
156 …inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::beg… in begin()
162 …inline typename HashMap<RefPtr<T>, U, V, W, X>::const_iterator HashMap<RefPtr<T>, U, V, W, X>::end… in end()
168 …inline typename HashMap<RefPtr<T>, U, V, W, X>::iterator HashMap<RefPtr<T>, U, V, W, X>::find(cons… in find()
[all …]
/external/webkit/WebCore/html/
DHTMLParser.h85 bool bodyCreateErrorCheck(Token*, RefPtr<Node>&);
86 bool canvasCreateErrorCheck(Token*, RefPtr<Node>&);
87 bool commentCreateErrorCheck(Token*, RefPtr<Node>&);
88 bool ddCreateErrorCheck(Token*, RefPtr<Node>&);
89 bool dtCreateErrorCheck(Token*, RefPtr<Node>&);
90 bool formCreateErrorCheck(Token*, RefPtr<Node>&);
91 bool framesetCreateErrorCheck(Token*, RefPtr<Node>&);
92 bool headCreateErrorCheck(Token*, RefPtr<Node>&);
93 bool iframeCreateErrorCheck(Token*, RefPtr<Node>&);
94 bool isindexCreateErrorCheck(Token*, RefPtr<Node>&);
[all …]
/external/webkit/JavaScriptCore/profiler/
DProfileNode.h41 typedef Vector<RefPtr<ProfileNode> >::const_iterator StackIterator;
97 const Vector<RefPtr<ProfileNode> >& children() const { return m_children; } in children()
136 RefPtr<ProfileNode>* childrenBegin() { return m_children.begin(); } in childrenBegin()
137 RefPtr<ProfileNode>* childrenEnd() { return m_children.end(); } in childrenEnd()
140 …static inline bool totalTimeDescendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<Profil… in totalTimeDescendingComparator()
141 …static inline bool totalTimeAscendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<Profile… in totalTimeAscendingComparator()
142 …static inline bool selfTimeDescendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<Profile… in selfTimeDescendingComparator()
143 …static inline bool selfTimeAscendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<ProfileN… in selfTimeAscendingComparator()
144 …static inline bool callsDescendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<ProfileNod… in callsDescendingComparator()
145 …static inline bool callsAscendingComparator(const RefPtr<ProfileNode>& a, const RefPtr<ProfileNode… in callsAscendingComparator()
[all …]
/external/webkit/WebCore/rendering/
DRenderMedia.h114 RefPtr<HTMLElement> m_controlsShadowRoot;
115 RefPtr<MediaControlElement> m_panel;
116 RefPtr<MediaControlMuteButtonElement> m_muteButton;
117 RefPtr<MediaControlPlayButtonElement> m_playButton;
118 RefPtr<MediaControlSeekButtonElement> m_seekBackButton;
119 RefPtr<MediaControlSeekButtonElement> m_seekForwardButton;
120 RefPtr<MediaControlRewindButtonElement> m_rewindButton;
121 RefPtr<MediaControlReturnToRealtimeButtonElement> m_returnToRealtimeButton;
122 RefPtr<MediaControlTimelineElement> m_timeline;
123 RefPtr<MediaControlFullscreenButtonElement> m_fullscreenButton;
[all …]
/external/webkit/WebCore/css/
DCSSParser.h82 bool parseFillImage(RefPtr<CSSValue>&);
84 void parseFillPosition(RefPtr<CSSValue>&, RefPtr<CSSValue>&);
87 …bool parseFillProperty(int propId, int& propId1, int& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>…
90 void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval);
92 void addAnimationValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval);
103 void parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
105 bool parseAnimationProperty(int propId, RefPtr<CSSValue>&);
142 bool parseBorderImage(int propId, bool important, RefPtr<CSSValue>&);
148 bool parseCanvas(RefPtr<CSSValue>&);
149 bool parseGradient(RefPtr<CSSValue>&);
[all …]
DFontValue.h42 RefPtr<CSSPrimitiveValue> style;
43 RefPtr<CSSPrimitiveValue> variant;
44 RefPtr<CSSPrimitiveValue> weight;
45 RefPtr<CSSPrimitiveValue> size;
46 RefPtr<CSSPrimitiveValue> lineHeight;
47 RefPtr<CSSValueList> family;
DCSSGradientValue.h48 RefPtr<CSSPrimitiveValue> m_color;
95 RefPtr<CSSPrimitiveValue> m_firstX;
96 RefPtr<CSSPrimitiveValue> m_firstY;
98 RefPtr<CSSPrimitiveValue> m_secondX;
99 RefPtr<CSSPrimitiveValue> m_secondY;
102 RefPtr<CSSPrimitiveValue> m_firstRadius;
103 RefPtr<CSSPrimitiveValue> m_secondRadius;
DCSSFontSelector.cpp93 RefPtr<CSSValue> fontFamily = style->getPropertyCSSValue(CSSPropertyFontFamily); in addFontFaceRule()
94 RefPtr<CSSValue> src = style->getPropertyCSSValue(CSSPropertySrc); in addFontFaceRule()
95 RefPtr<CSSValue> unicodeRange = style->getPropertyCSSValue(CSSPropertyUnicodeRange); in addFontFaceRule()
111 if (RefPtr<CSSValue> fontStyle = style->getPropertyCSSValue(CSSPropertyFontStyle)) { in addFontFaceRule()
113 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
143 if (RefPtr<CSSValue> fontWeight = style->getPropertyCSSValue(CSSPropertyFontWeight)) { in addFontFaceRule()
145 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
199 if (RefPtr<CSSValue> fontVariant = style->getPropertyCSSValue(CSSPropertyFontVariant)) { in addFontFaceRule()
201 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
231 RefPtr<CSSFontFace> fontFace; in addFontFaceRule()
[all …]
DShadowValue.h47 RefPtr<CSSPrimitiveValue> x;
48 RefPtr<CSSPrimitiveValue> y;
49 RefPtr<CSSPrimitiveValue> blur;
50 RefPtr<CSSPrimitiveValue> spread;
51 RefPtr<CSSPrimitiveValue> style;
52 RefPtr<CSSPrimitiveValue> color;
/external/webkit/WebCore/page/
DGeolocation.cpp99 RefPtr<PositionError> error = PositionError::create(PositionError::TIMEOUT, "Timed out"); in timerFired()
112 s_cachedPosition = new RefPtr<Geoposition>; in CachedPositionManager()
173RefPtr<Coordinates> coordinates = Coordinates::create(statement.getColumnDouble(0), // latitude in readFromDB()
234 static RefPtr<Geoposition>* s_cachedPosition;
239 RefPtr<Geoposition>* CachedPositionManager::s_cachedPosition;
277 RefPtr<GeoNotifier> notifier = makeRequest(successCallback, errorCallback, options); in getCurrentPosition()
285 RefPtr<GeoNotifier> notifier = makeRequest(successCallback, errorCallback, options); in watchPosition()
296RefPtr<GeoNotifier> notifier = GeoNotifier::create(this, successCallback, errorCallback, options); in makeRequest()
402RefPtr<WebCore::PositionError> error = PositionError::create(PositionError::PERMISSION_DENIED, per… in setIsAllowed()
421 void Geolocation::sendError(Vector<RefPtr<GeoNotifier> >& notifiers, PositionError* error) in sendError()
[all …]
DGeolocation.h91 RefPtr<PositionCallback> m_successCallback;
92 RefPtr<PositionErrorCallback> m_errorCallback;
93 RefPtr<PositionOptions> m_options;
95 RefPtr<PositionError> m_fatalError;
96 RefPtr<Geoposition> m_cachedPosition;
104 void sendError(Vector<RefPtr<GeoNotifier> >&, PositionError*);
105 void sendPosition(Vector<RefPtr<GeoNotifier> >&, Geoposition*);
107 static void stopTimer(Vector<RefPtr<GeoNotifier> >&);
130 typedef HashSet<RefPtr<GeoNotifier> > GeoNotifierSet;
131 typedef HashMap<int, RefPtr<GeoNotifier> > GeoNotifierMap;
DEventHandler.h187 RefPtr<Node> m_dragSrc; // element that may be a drag source, for the current mouse gesture
194 RefPtr<Clipboard> m_dragClipboard; // used on only the source side of dragging
296 RefPtr<Node> m_mousePressNode;
321 RefPtr<SVGElementInstance> m_instanceUnderMouse;
322 RefPtr<SVGElementInstance> m_lastInstanceUnderMouse;
327 RefPtr<Node> m_capturingMouseEventsNode;
329 RefPtr<Node> m_nodeUnderMouse;
330 RefPtr<Node> m_lastNodeUnderMouse;
331 RefPtr<Frame> m_lastMouseMoveEventSubframe;
332 RefPtr<Scrollbar> m_lastScrollbarUnderMouse;
[all …]
/external/webkit/JavaScriptCore/parser/
DNodes.cpp141 RefPtr<RegExp> regExp = RegExp::create(generator.globalData(), m_pattern, m_flags); in emitBytecode()
194 RefPtr<RegisterID> array = generator.emitNewArray(generator.tempDestination(dst), m_element); in emitBytecode()
253 RefPtr<RegisterID> newObj = generator.tempDestination(dst); in emitBytecode()
285RefPtr<RegisterID> base = generator.emitNodeForLeftHandSide(m_base, m_subscriptHasAssignments, m_s… in emitBytecode()
312 RefPtr<RegisterID> func = generator.emitNode(m_expr); in emitBytecode()
320 RefPtr<RegisterID> func = generator.tempDestination(dst); in emitBytecode()
321 RefPtr<RegisterID> thisRegister = generator.newTemporary(); in emitBytecode()
331 RefPtr<RegisterID> func = generator.emitNode(m_expr); in emitBytecode()
332 RefPtr<RegisterID> thisRegister = generator.emitLoad(generator.newTemporary(), jsNull()); in emitBytecode()
340 if (RefPtr<RegisterID> local = generator.registerFor(m_ident)) { in emitBytecode()
[all …]
/external/webkit/JavaScriptCore/runtime/
DJSGlobalData.h95 RefPtr<Structure> activationStructure;
96 RefPtr<Structure> interruptedExecutionErrorStructure;
97 RefPtr<Structure> staticScopeStructure;
98 RefPtr<Structure> stringStructure;
99 RefPtr<Structure> notAnObjectErrorStubStructure;
100 RefPtr<Structure> notAnObjectStructure;
101 RefPtr<Structure> propertyNameIteratorStructure;
102 RefPtr<Structure> getterSetterStructure;
103 RefPtr<Structure> apiWrapperStructure;
106 RefPtr<Structure> numberStructure;
DJSGlobalObject.h126 RefPtr<Structure> argumentsStructure;
127 RefPtr<Structure> arrayStructure;
128 RefPtr<Structure> booleanObjectStructure;
129 RefPtr<Structure> callbackConstructorStructure;
130 RefPtr<Structure> callbackFunctionStructure;
131 RefPtr<Structure> callbackObjectStructure;
132 RefPtr<Structure> dateStructure;
133 RefPtr<Structure> emptyObjectStructure;
134 RefPtr<Structure> errorStructure;
135 RefPtr<Structure> functionStructure;
[all …]
/external/webkit/WebCore/editing/
DDeleteSelectionCommand.h86 RefPtr<Node> m_startBlock;
87 RefPtr<Node> m_endBlock;
88 RefPtr<CSSMutableStyleDeclaration> m_typingStyle;
89 RefPtr<CSSMutableStyleDeclaration> m_deleteIntoBlockquoteStyle;
90 RefPtr<Node> m_startRoot;
91 RefPtr<Node> m_endRoot;
92 RefPtr<Node> m_startTableRow;
93 RefPtr<Node> m_endTableRow;
94 RefPtr<Node> m_temporaryPlaceholder;
DApplyStyleCommand.cpp103 RefPtr<CSSMutableStyleDeclaration> mutableStyle = style->makeMutable(); in init()
230 RefPtr<CSSComputedStyleDeclaration> style = pos.computedStyle(); in currentlyHasStyle()
231 RefPtr<CSSValue> value; in currentlyHasStyle()
294 RefPtr<Element> fontNode = createHTMLElement(document, fontTag); in createFontElement()
301 RefPtr<HTMLElement> styleElement = createHTMLElement(document, spanTag); in createStyleSpanElement()
306 RefPtr<CSSMutableStyleDeclaration> getPropertiesNotInComputedStyle(CSSStyleDeclaration* style, CSSC… in getPropertiesNotInComputedStyle()
310 RefPtr<CSSMutableStyleDeclaration> result = style->copy(); in getPropertiesNotInComputedStyle()
314RefPtr<CSSValue> computedValue = computedStyle->getPropertyCSSValue(CSSPropertyWebkitTextDecoratio… in getPropertiesNotInComputedStyle()
321 RefPtr<CSSValue> styleValue = style->getPropertyCSSValue(textDecorationProperties[n]); in getPropertiesNotInComputedStyle()
372 RefPtr<CSSComputedStyleDeclaration> computedStyleAtPosition = pos.computedStyle(); in editingStyleAtPosition()
[all …]
DIndentOutdentCommand.cpp55 RefPtr<HTMLBlockquoteElement> element = new HTMLBlockquoteElement(blockquoteTag, document); in createIndentBlockquoteElement()
75 RefPtr<Element> listNode = enclosingList(lastNodeInSelectedParagraph); in tryIndentingAsListItem()
89 RefPtr<Element> newList = document()->createElement(listNode->tagQName(), false); in tryIndentingAsListItem()
101 …& startOfCurrentParagraph, const VisiblePosition& endOfCurrentParagraph, RefPtr<Element>& targetBl… in indentIntoBlockquote()
111RefPtr<Node> startOfNewBlock = splitTreeToNode(startOfCurrentParagraph.deepEquivalent().node(), no… in indentIntoBlockquote()
148 RefPtr<Range> selectedRange = createRange(document(), start, end, ec); in appendParagraphIntoNode()
149RefPtr<Range> extendedRange = extendRangeToWrappingNodes(selectedRange, selectedRange.get(), newPa… in appendParagraphIntoNode()
187 RefPtr<Range> selectedRange = selection.firstRange(); in indentRegion()
196 RefPtr<Element> blockquote = createIndentBlockquoteElement(document()); in indentRegion()
198 RefPtr<Element> placeholder = createBreakElement(document()); in indentRegion()
[all …]
/external/webkit/WebCore/dom/
DXMLTokenizer.cpp139 RefPtr<Node> newNode = new Text(m_doc, ""); in enterText()
202 static inline RefPtr<Element> createXHTMLParserErrorHeader(Document* doc, const String& errorMessag… in createXHTMLParserErrorHeader()
204RefPtr<Element> reportElement = doc->createElement(QualifiedName(nullAtom, "parsererror", xhtmlNam… in createXHTMLParserErrorHeader()
208 RefPtr<Element> h3 = doc->createElement(h3Tag, false); in createXHTMLParserErrorHeader()
212 RefPtr<Element> fixed = doc->createElement(divTag, false); in createXHTMLParserErrorHeader()
239 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
241 RefPtr<Node> body = doc->createElement(bodyTag, false); in insertErrorMessageBlock()
247 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
248 RefPtr<Node> body = doc->createElement(bodyTag, false); in insertErrorMessageBlock()
257 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
[all …]
/external/webkit/WebCore/storage/
DSQLTransaction.h111 RefPtr<SQLStatement> m_currentStatement;
115 RefPtr<Database> m_database;
116 RefPtr<SQLTransactionWrapper> m_wrapper;
117 RefPtr<SQLTransactionCallback> m_callback;
118 RefPtr<VoidCallback> m_successCallback;
119 RefPtr<SQLTransactionErrorCallback> m_errorCallback;
120 RefPtr<SQLError> m_transactionError;
125 Deque<RefPtr<SQLStatement> > m_statementQueue;
/external/webkit/WebCore/loader/
DSubresourceLoader.cpp100RefPtr<SubresourceLoader> subloader(adoptRef(new SubresourceLoader(frame, client, sendResourceLoad… in create()
119 RefPtr<SubresourceLoader> protect(this); in didSendData()
134 RefPtr<SubresourceLoader> protect(this); in didReceiveResponse()
144 RefPtr<SharedBuffer> buffer = resourceData(); in didReceiveResponse()
163 RefPtr<SubresourceLoader> protect(this); in didReceiveData()
180 RefPtr<SubresourceLoader> protect(this); in didFinishLoading()
200 RefPtr<SubresourceLoader> protect(this); in didFail()
218 RefPtr<SubresourceLoader> protect(this); in didCancel()
238 RefPtr<SubresourceLoader> protect(this); in shouldUseCredentialStorage()
249 RefPtr<SubresourceLoader> protect(this); in didReceiveAuthenticationChallenge()
[all …]
/external/webkit/WebCore/xml/
DXMLHttpRequest.h106 typedef Vector<RefPtr<EventListener> > ListenerVector;
184 RefPtr<EventListener> m_onReadyStateChangeListener;
185 RefPtr<EventListener> m_onAbortListener;
186 RefPtr<EventListener> m_onErrorListener;
187 RefPtr<EventListener> m_onLoadListener;
188 RefPtr<EventListener> m_onLoadStartListener;
189 RefPtr<EventListener> m_onProgressListener;
192 RefPtr<XMLHttpRequestUpload> m_upload;
197 RefPtr<FormData> m_requestEntityBody;
202 RefPtr<ThreadableLoader> m_loader;
[all …]
/external/webkit/WebCore/loader/archive/
DArchiveResourceCollection.cpp44 const Vector<RefPtr<ArchiveResource> >& subresources = archive->subresources(); in addAllResources()
45 Vector<RefPtr<ArchiveResource> >::const_iterator iRes = subresources.begin(); in addAllResources()
46 Vector<RefPtr<ArchiveResource> >::const_iterator endRes = subresources.end(); in addAllResources()
51 const Vector<RefPtr<Archive> >& subframes = archive->subframeArchives(); in addAllResources()
52 Vector<RefPtr<Archive> >::const_iterator iFrame = subframes.begin(); in addAllResources()
53 Vector<RefPtr<Archive> >::const_iterator endFrame = subframes.end(); in addAllResources()

12345678910>>...41