Home
last modified time | relevance | path

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

12345678910>>...48

/external/webkit/JavaScriptCore/wtf/
DRefPtr.h38 template <typename T> class RefPtr : public FastAllocBase {
40 RefPtr() : m_ptr(0) { } in RefPtr() function
41 RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } in RefPtr() function
42 RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { T* ptr = m_ptr; refIfNotNull(ptr); } in RefPtr() function
44 template <typename U> RefPtr(const PassRefPtr<U>&);
45 template <typename U> RefPtr(const NonNullPassRefPtr<U>&);
48 RefPtr(PlacementNewAdoptType) { } in RefPtr() function
51 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } in RefPtr() function
54 ~RefPtr() { derefIfNotNull(m_ptr); } in ~RefPtr()
56 …template <typename U> RefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { T* ptr = m_ptr; refIfNotNull(p… in RefPtr() function
[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 …]
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 ListRefPtr& operator=(T* optr) { RefPtr<T>::operator=(optr); return *this; }
41 ListRefPtr& operator=(const RefPtr<T>& o) { RefPtr<T>::operator=(o); return *this; }
42 ListRefPtr& operator=(const PassRefPtr<T>& o) { RefPtr<T>::operator=(o); return *this; }
43 …template <typename U> ListRefPtr& operator=(const RefPtr<U>& o) { RefPtr<T>::operator=(o); return …
44 …template <typename U> ListRefPtr& operator=(const PassRefPtr<U>& o) { RefPtr<T>::operator=(o); ret…
[all …]
/external/webkit/WebCore/html/
DHTMLParser.h86 bool bodyCreateErrorCheck(Token*, RefPtr<Node>&);
87 bool canvasCreateErrorCheck(Token*, RefPtr<Node>&);
88 bool commentCreateErrorCheck(Token*, RefPtr<Node>&);
89 bool ddCreateErrorCheck(Token*, RefPtr<Node>&);
90 bool dtCreateErrorCheck(Token*, RefPtr<Node>&);
91 bool formCreateErrorCheck(Token*, RefPtr<Node>&);
92 bool framesetCreateErrorCheck(Token*, RefPtr<Node>&);
93 bool headCreateErrorCheck(Token*, RefPtr<Node>&);
94 bool iframeCreateErrorCheck(Token*, RefPtr<Node>&);
95 bool isindexCreateErrorCheck(Token*, RefPtr<Node>&);
[all …]
DHTMLViewSourceDocument.cpp70 RefPtr<HTMLHtmlElement> html = new HTMLHtmlElement(htmlTag, this); in createContainingTable()
73 RefPtr<HTMLBodyElement> body = new HTMLBodyElement(bodyTag, this); in createContainingTable()
79 RefPtr<HTMLDivElement> div = new HTMLDivElement(divTag, this); in createContainingTable()
80 RefPtr<NamedMappedAttrMap> attrs = NamedMappedAttrMap::create(); in createContainingTable()
86 RefPtr<HTMLTableElement> table = new HTMLTableElement(tableTag, this); in createContainingTable()
134 RefPtr<Attribute> attr = 0; in addViewSourceToken()
212 RefPtr<HTMLElement> span = HTMLElement::create(spanTag, this); in addSpanWithClassName()
213 RefPtr<NamedMappedAttrMap> attrs = NamedMappedAttrMap::create(); in addSpanWithClassName()
224 RefPtr<HTMLTableRowElement> trow = new HTMLTableRowElement(trTag, this); in addLine()
229 RefPtr<HTMLTableCellElement> td = new HTMLTableCellElement(tdTag, this); in addLine()
[all …]
/external/webkit/WebCore/rendering/
DRenderMedia.h121 RefPtr<HTMLElement> m_controlsShadowRoot;
122 RefPtr<MediaControlElement> m_panel;
123 RefPtr<MediaControlMuteButtonElement> m_muteButton;
124 RefPtr<MediaControlPlayButtonElement> m_playButton;
125 RefPtr<MediaControlSeekButtonElement> m_seekBackButton;
126 RefPtr<MediaControlSeekButtonElement> m_seekForwardButton;
127 RefPtr<MediaControlRewindButtonElement> m_rewindButton;
128 RefPtr<MediaControlReturnToRealtimeButtonElement> m_returnToRealtimeButton;
129 RefPtr<MediaControlToggleClosedCaptionsButtonElement> m_toggleClosedCaptionsButton;
130 RefPtr<MediaControlTimelineElement> m_timeline;
[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/css/
DCSSParser.h82 bool parseFillImage(RefPtr<CSSValue>&);
84 void parseFillPosition(RefPtr<CSSValue>&, RefPtr<CSSValue>&);
85 void parseFillRepeat(RefPtr<CSSValue>&, RefPtr<CSSValue>&);
88 …bool parseFillProperty(int propId, int& propId1, int& propId2, RefPtr<CSSValue>&, RefPtr<CSSValue>…
91 void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval);
93 void addAnimationValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval);
104 void parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, RefPtr<CSSValue>&);
106 bool parseAnimationProperty(int propId, RefPtr<CSSValue>&);
143 bool parseBorderImage(int propId, bool important, RefPtr<CSSValue>&);
149 bool parseCanvas(RefPtr<CSSValue>&);
[all …]
DCSSFontSelector.cpp92 RefPtr<CSSValue> fontFamily = style->getPropertyCSSValue(CSSPropertyFontFamily); in addFontFaceRule()
93 RefPtr<CSSValue> src = style->getPropertyCSSValue(CSSPropertySrc); in addFontFaceRule()
94 RefPtr<CSSValue> unicodeRange = style->getPropertyCSSValue(CSSPropertyUnicodeRange); in addFontFaceRule()
110 if (RefPtr<CSSValue> fontStyle = style->getPropertyCSSValue(CSSPropertyFontStyle)) { in addFontFaceRule()
112 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
142 if (RefPtr<CSSValue> fontWeight = style->getPropertyCSSValue(CSSPropertyFontWeight)) { in addFontFaceRule()
144 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
198 if (RefPtr<CSSValue> fontVariant = style->getPropertyCSSValue(CSSPropertyFontVariant)) { in addFontFaceRule()
200 RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); in addFontFaceRule()
230 RefPtr<CSSFontFace> fontFace; in addFontFaceRule()
[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;
/external/webkit/JavaScriptCore/bytecompiler/
DNodesCodegen.cpp147RefPtr<RegExp> regExp = RegExp::create(generator.globalData(), m_pattern.ustring(), m_flags.ustrin… in emitBytecode()
200 RefPtr<RegisterID> array = generator.emitNewArray(generator.tempDestination(dst), m_element); in emitBytecode()
259 RefPtr<RegisterID> newObj = generator.tempDestination(dst); in emitBytecode()
291RefPtr<RegisterID> base = generator.emitNodeForLeftHandSide(m_base, m_subscriptHasAssignments, m_s… in emitBytecode()
318 RefPtr<RegisterID> func = generator.emitNode(m_expr); in emitBytecode()
326 RefPtr<RegisterID> func = generator.tempDestination(dst); in emitBytecode()
327 RefPtr<RegisterID> thisRegister = generator.newTemporary(); in emitBytecode()
337 RefPtr<RegisterID> func = generator.emitNode(m_expr); in emitBytecode()
338 RefPtr<RegisterID> thisRegister = generator.emitLoad(generator.newTemporary(), jsNull()); in emitBytecode()
346 if (RefPtr<RegisterID> local = generator.registerFor(m_ident)) { in emitBytecode()
[all …]
/external/webkit/WebCore/page/
DGeolocation.h109 RefPtr<PositionCallback> m_successCallback;
110 RefPtr<PositionErrorCallback> m_errorCallback;
111 RefPtr<PositionOptions> m_options;
113 RefPtr<PositionError> m_fatalError;
128 void getNotifiersVector(Vector<RefPtr<GeoNotifier> >&) const;
130 typedef HashMap<int, RefPtr<GeoNotifier> > IdToNotifierMap;
131 typedef HashMap<RefPtr<GeoNotifier>, int> NotifierToIdMap;
138 void sendError(Vector<RefPtr<GeoNotifier> >&, PositionError*);
139 void sendPosition(Vector<RefPtr<GeoNotifier> >&, Geoposition*);
141 static void stopTimer(Vector<RefPtr<GeoNotifier> >&);
[all …]
DGeolocation.cpp66RefPtr<Coordinates> coordinates = Coordinates::create(position->latitude(), position->longitude(),… in createGeoposition()
139 RefPtr<GeoNotifier> protect(this); in timerFired()
158RefPtr<PositionError> error = PositionError::create(PositionError::TIMEOUT, "Timeout expired"); in timerFired()
166 RefPtr<GeoNotifier> notifier = prpNotifier; in set()
206 void Geolocation::Watchers::getNotifiersVector(Vector<RefPtr<GeoNotifier> >& copy) const in getNotifiersVector()
277 RefPtr<GeoNotifier> notifier = startRequest(successCallback, errorCallback, options); in getCurrentPosition()
288 RefPtr<GeoNotifier> notifier = startRequest(successCallback, errorCallback, options); in watchPosition()
301RefPtr<GeoNotifier> notifier = GeoNotifier::create(this, successCallback, errorCallback, options); in startRequest()
453RefPtr<PositionError> error = PositionError::create(PositionError::PERMISSION_DENIED, permissionDe… in setIsAllowed()
469 void Geolocation::sendError(Vector<RefPtr<GeoNotifier> >& notifiers, PositionError* error) in sendError()
[all …]
DEventHandler.h215 RefPtr<Node> m_dragSrc; // element that may be a drag source, for the current mouse gesture
222 RefPtr<Clipboard> m_dragClipboard; // used on only the source side of dragging
343 RefPtr<Node> m_mousePressNode;
372 RefPtr<SVGElementInstance> m_instanceUnderMouse;
373 RefPtr<SVGElementInstance> m_lastInstanceUnderMouse;
378 RefPtr<Node> m_capturingMouseEventsNode;
380 RefPtr<Node> m_nodeUnderMouse;
381 RefPtr<Node> m_lastNodeUnderMouse;
382 RefPtr<Frame> m_lastMouseMoveEventSubframe;
383 RefPtr<Scrollbar> m_lastScrollbarUnderMouse;
[all …]
DDOMWindow.h377 RefPtr<SecurityOrigin> m_securityOrigin;
381 mutable RefPtr<Screen> m_screen;
382 mutable RefPtr<DOMSelection> m_selection;
383 mutable RefPtr<History> m_history;
384 mutable RefPtr<BarInfo> m_locationbar;
385 mutable RefPtr<BarInfo> m_menubar;
386 mutable RefPtr<BarInfo> m_personalbar;
387 mutable RefPtr<BarInfo> m_scrollbars;
388 mutable RefPtr<BarInfo> m_statusbar;
389 mutable RefPtr<BarInfo> m_toolbar;
[all …]
/external/webkit/WebCore/bindings/js/
DSerializedScriptValue.cpp53 typedef Vector<RefPtr<StringImpl> > PropertyNameList;
192 RefPtr<WTF::ByteArray> m_storage;
195 SerializedScriptValueData::SerializedScriptValueData(RefPtr<SerializedObject> data) in SerializedScriptValueData()
201 SerializedScriptValueData::SerializedScriptValueData(RefPtr<SerializedArray> data) in SerializedScriptValueData()
471 typedef RefPtr<SerializedArray> OutputArray;
472 typedef RefPtr<SerializedObject> OutputObject;
591 …void putProperty(RefPtr<SerializedArray> array, unsigned propertyName, const SerializedScriptValue… in putProperty()
596 …void putProperty(RefPtr<SerializedObject> object, const Identifier& propertyName, const Serialized… in putProperty()
601 bool startArray(JSArray* inArray, RefPtr<SerializedArray>) in startArray()
612 void endArray(JSArray* inArray, RefPtr<SerializedArray>) in endArray()
[all …]
/external/webkit/JavaScriptCore/runtime/
DJSGlobalData.h117 RefPtr<Structure> activationStructure;
118 RefPtr<Structure> interruptedExecutionErrorStructure;
119 RefPtr<Structure> staticScopeStructure;
120 RefPtr<Structure> stringStructure;
121 RefPtr<Structure> notAnObjectErrorStubStructure;
122 RefPtr<Structure> notAnObjectStructure;
123 RefPtr<Structure> propertyNameIteratorStructure;
124 RefPtr<Structure> getterSetterStructure;
125 RefPtr<Structure> apiWrapperStructure;
126 RefPtr<Structure> dummyMarkableCellStructure;
[all …]
/external/webkit/WebCore/websockets/
DWorkerThreadableWebSocketChannel.h80 …static Peer* create(RefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderPro… in create()
97 …Peer(RefPtr<ThreadableWebSocketChannelClientWrapper>, WorkerLoaderProxy&, ScriptExecutionContext*,…
99 RefPtr<ThreadableWebSocketChannelClientWrapper> m_workerClientWrapper;
101 RefPtr<ThreadableWebSocketChannel> m_mainWebSocketChannel;
120 …static void setWebSocketChannel(ScriptExecutionContext*, Bridge* thisPtr, Peer*, RefPtr<Threadable…
123 …inThreadCreateWebSocketChannel(ScriptExecutionContext*, Bridge* thisPtr, RefPtr<ThreadableWebSocke…
131 RefPtr<ThreadableWebSocketChannelClientWrapper> m_workerClientWrapper;
132 RefPtr<WorkerContext> m_workerContext;
146 RefPtr<WorkerContext> m_workerContext;
147 RefPtr<ThreadableWebSocketChannelClientWrapper> m_workerClientWrapper;
[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.cpp108 RefPtr<CSSComputedStyleDeclaration> computedStyle = position.computedStyle(); in init()
109RefPtr<CSSMutableStyleDeclaration> mutableStyle = getPropertiesNotInComputedStyle(style.get(), com… in init()
130RefPtr<CSSValue> textDecorationsInEffect = style->getPropertyCSSValue(CSSPropertyWebkitTextDecorat… in reconcileTextDecorationProperties()
131 RefPtr<CSSValue> textDecoration = style->getPropertyCSSValue(CSSPropertyTextDecoration); in reconcileTextDecorationProperties()
150 RefPtr<CSSValue> value = style->getPropertyCSSValue(propertyID); in getIdentifierValue()
185 RefPtr<CSSValue> textDecoration = style->getPropertyCSSValue(CSSPropertyTextDecoration); in extractTextStyles()
187 …DEFINE_STATIC_LOCAL(RefPtr<CSSPrimitiveValue>, underline, (CSSPrimitiveValue::createIdentifier(CSS… in extractTextStyles()
188 …DEFINE_STATIC_LOCAL(RefPtr<CSSPrimitiveValue>, lineThrough, (CSSPrimitiveValue::createIdentifier(C… in extractTextStyles()
190RefPtr<CSSValueList> newTextDecoration = static_cast<CSSValueList*>(textDecoration.get())->copy(); in extractTextStyles()
212 if (RefPtr<CSSValue> colorValue = style->getPropertyCSSValue(CSSPropertyColor)) { in extractTextStyles()
[all …]
/external/webkit/WebCore/html/canvas/
DWebGLGetInfo.h117 RefPtr<WebGLBuffer> m_webglBuffer;
118 RefPtr<WebGLFloatArray> m_webglFloatArray;
119 RefPtr<WebGLFramebuffer> m_webglFramebuffer;
120 RefPtr<WebGLIntArray> m_webglIntArray;
123 RefPtr<WebGLProgram> m_webglProgram;
124 RefPtr<WebGLRenderbuffer> m_webglRenderbuffer;
125 RefPtr<WebGLTexture> m_webglTexture;
126 RefPtr<WebGLUnsignedByteArray> m_webglUnsignedByteArray;
/external/webkit/WebCore/dom/
DXMLTokenizer.cpp170 RefPtr<Node> newNode = Text::create(m_doc, ""); in enterText()
230 static inline RefPtr<Element> createXHTMLParserErrorHeader(Document* doc, const String& errorMessag… in createXHTMLParserErrorHeader()
232RefPtr<Element> reportElement = doc->createElement(QualifiedName(nullAtom, "parsererror", xhtmlNam… in createXHTMLParserErrorHeader()
236 RefPtr<Element> h3 = doc->createElement(h3Tag, false); in createXHTMLParserErrorHeader()
240 RefPtr<Element> fixed = doc->createElement(divTag, false); in createXHTMLParserErrorHeader()
267 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
269 RefPtr<Node> body = doc->createElement(bodyTag, false); in insertErrorMessageBlock()
275 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
276 RefPtr<Node> body = doc->createElement(bodyTag, false); in insertErrorMessageBlock()
285 RefPtr<Node> rootElement = doc->createElement(htmlTag, false); in insertErrorMessageBlock()
[all …]
/external/webkit/WebCore/loader/
DSubresourceLoader.cpp105RefPtr<SubresourceLoader> subloader(adoptRef(new SubresourceLoader(frame, client, sendResourceLoad… in create()
124 RefPtr<SubresourceLoader> protect(this); in didSendData()
139 RefPtr<SubresourceLoader> protect(this); in didReceiveResponse()
149 RefPtr<SharedBuffer> buffer = resourceData(); in didReceiveResponse()
168 RefPtr<SubresourceLoader> protect(this); in didReceiveData()
185 RefPtr<SubresourceLoader> protect(this); in didFinishLoading()
205 RefPtr<SubresourceLoader> protect(this); in didFail()
223 RefPtr<SubresourceLoader> protect(this); in didCancel()
243 RefPtr<SubresourceLoader> protect(this); in shouldUseCredentialStorage()
254 RefPtr<SubresourceLoader> protect(this); in didReceiveAuthenticationChallenge()
[all …]
/external/webkit/WebCore/storage/
DSQLTransaction.h117 RefPtr<SQLStatement> m_currentStatement;
121 RefPtr<Database> m_database;
122 RefPtr<SQLTransactionWrapper> m_wrapper;
123 RefPtr<SQLTransactionCallback> m_callback;
124 RefPtr<VoidCallback> m_successCallback;
125 RefPtr<SQLTransactionErrorCallback> m_errorCallback;
126 RefPtr<SQLError> m_transactionError;
133 Deque<RefPtr<SQLStatement> > m_statementQueue;

12345678910>>...48