/external/clang/test/SemaTemplate/ |
H A D | instantiate-default-assignment-operator.cpp | 3 template<typename T> struct RefPtr { struct 4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}} argument 5 RefPtr& operator=(const PassRefPtr<T>&); 8 struct A { RefPtr<int> a; }; // expected-note {{instantiation of member function 'RefPtr<int>::operator=' requested here}} 9 struct B : RefPtr<float> { }; // expected-note {{in instantiation of member function 'RefPtr<float>::operator=' requested here}}
|
/external/chromium_org/skia/ext/ |
H A D | refptr.h | 17 // skia::RefPtr<SkShader> shader = skia::AdoptRef(SkGradientShader::Create()); 21 // pass around the skia::RefPtr instead of the raw pointer. An example method 23 // void AMethodThatSavesAShader(const skia::RefPtr<SkShader>& shader) { 26 // skia::RefPtr<SkShader> member_refptr_; 28 // When returning a ref-counted pointer, also return the skia::RefPtr instead. 30 // skia::RefPtr<SkShader> MakeAShader() { 38 // skia::RefPtr<SkShader> shader = skia::SharePtr(paint.getShader()); 41 // AdoptRef() the raw pointer immediately into a skia::RefPtr and always work 42 // with skia::RefPtr instances instead, the ref-counting will be taken care of 45 class RefPtr { class in namespace:skia 47 RefPtr() : ptr_(NULL) {} function in class:skia::RefPtr 49 RefPtr(const RefPtr& other) function in class:skia::RefPtr 55 RefPtr(const RefPtr<U>& other) function in class:skia::RefPtr 98 explicit RefPtr(T* ptr) : ptr_(ptr) {} function in class:skia::RefPtr [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | RefPtr.h | 21 // RefPtr and PassRefPtr are documented at http://webkit.org/coding/RefPtr.html 34 template<typename T> class RefPtr { class in namespace:WTF 36 ALWAYS_INLINE RefPtr() : m_ptr(0) { } function in class:WTF::RefPtr 37 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } function in class:WTF::RefPtr 38 ALWAYS_INLINE explicit RefPtr(T& ref) : m_ptr(&ref) { m_ptr->ref(); } function in class:WTF::RefPtr 39 ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr 40 template<typename U> RefPtr(const RefPtr< function in class:WTF::RefPtr 46 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } function in class:WTF::RefPtr 82 template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o, EnsurePtrConvertibleArgDefn(U, T)) function in class:WTF::RefPtr [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSFontValue.h | 26 #include "wtf/RefPtr.h" 44 RefPtr<CSSPrimitiveValue> style; 45 RefPtr<CSSPrimitiveValue> variant; 46 RefPtr<CSSPrimitiveValue> weight; 47 RefPtr<CSSPrimitiveValue> size; 48 RefPtr<CSSPrimitiveValue> lineHeight; 49 RefPtr<CSSValueList> family;
|
H A D | CSSValuePool.h | 35 #include "wtf/RefPtr.h" 62 RefPtr<CSSInheritedValue> m_inheritedValue; 63 RefPtr<CSSInitialValue> m_implicitInitialValue; 64 RefPtr<CSSInitialValue> m_explicitInitialValue; 66 RefPtr<CSSPrimitiveValue> m_identifierValueCache[numCSSValueKeywords]; 68 typedef HashMap<unsigned, RefPtr<CSSPrimitiveValue> > ColorValueCache; 70 RefPtr<CSSPrimitiveValue> m_colorTransparent; 71 RefPtr<CSSPrimitiveValue> m_colorWhite; 72 RefPtr<CSSPrimitiveValue> m_colorBlack; 76 RefPtr<CSSPrimitiveValu [all...] |
H A D | InspectorCSSOMWrappers.h | 51 void collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet> >& sheetWrapperSet, StyleSheetContents*); 52 void collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); 55 HashMap<StyleRule*, RefPtr<CSSStyleRule> > m_styleRuleToCSSOMWrapperMap; 56 HashSet<RefPtr<CSSStyleSheet> > m_styleSheetCSSOMWrapperSet;
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | ResourceLoaderSet.h | 41 typedef HashSet<RefPtr<ResourceLoader> > SetType; 43 void add(const RefPtr<ResourceLoader>& loader) { m_set.add(loader); } 44 void remove(const RefPtr<ResourceLoader>& loader) { m_set.remove(loader); } 46 bool contains(const RefPtr<ResourceLoader>& loader) const { return m_set.contains(loader); }
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
H A D | SpeechRecognitionResult.h | 39 static PassRefPtr<SpeechRecognitionResult> create(const Vector<RefPtr<SpeechRecognitionAlternative> >&, bool final); 46 SpeechRecognitionResult(const Vector<RefPtr<SpeechRecognitionAlternative> >&, bool final); 48 Vector<RefPtr<SpeechRecognitionAlternative> > m_alternatives;
|
H A D | SpeechRecognitionResultList.h | 38 static PassRefPtr<SpeechRecognitionResultList> create(const Vector<RefPtr<SpeechRecognitionResult> >&); 44 explicit SpeechRecognitionResultList(const Vector<RefPtr<SpeechRecognitionResult> >&); 46 Vector<RefPtr<SpeechRecognitionResult> > m_results;
|
H A D | SpeechRecognitionResultList.cpp | 32 PassRefPtr<SpeechRecognitionResultList> SpeechRecognitionResultList::create(const Vector<RefPtr<SpeechRecognitionResult> >& results) 45 SpeechRecognitionResultList::SpeechRecognitionResultList(const Vector<RefPtr<SpeechRecognitionResult> >& results)
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringImplTest.cpp | 36 RefPtr<StringImpl> testStringImpl = StringImpl::create("1224");
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | CompositorAnimationsTimingFunctionReverserTest.cpp | 38 #include "wtf/RefPtr.h" 55 PassRefPtr<TimingFunction> reverse(const RefPtr<TimingFunction>& timefunc) 63 RefPtr<TimingFunction> linearTiming = LinearTimingFunction::create(); 69 RefPtr<TimingFunction> cubicEaseInTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 70 RefPtr<TimingFunction> cubicEaseOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseOut); 71 RefPtr<TimingFunction> cubicEaseInOutTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseInOut); 77 RefPtr<TimingFunction> cubicCustomTiming = CubicBezierTimingFunction::create(0.17, 0.67, 1, -1.73); 79 RefPtr<TimingFunction> cubicCustomTimingReversed = CubicBezierTimingFunction::create(0, 1.0 - (-1.73), 1.0 - 0.17, 1.0 - 0.67); 82 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); 83 RefPtr<TimingFunctio [all...] |
H A D | AnimatableRepeatable.h | 46 static PassRefPtr<AnimatableRepeatable> create(Vector<RefPtr<AnimatableValue> >& values) 51 const Vector<RefPtr<AnimatableValue> >& values() const { return m_values; } 57 AnimatableRepeatable(Vector<RefPtr<AnimatableValue> >& values) 63 static bool interpolateLists(const Vector<RefPtr<AnimatableValue> >& fromValues, const Vector<RefPtr<AnimatableValue> >& toValues, double fraction, Vector<RefPtr<AnimatableValue> >& interpolatedValues); 65 Vector<RefPtr<AnimatableValue> > m_values;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
H A D | CSSPendingAnimations.h | 50 Vector<std::pair<RefPtr<Player>, double> > m_pending; 51 Vector<RefPtr<Player> > m_waitingForCompositorAnimationStart;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | DragState.h | 31 #include "wtf/RefPtr.h" 43 RefPtr<Node> m_dragSrc; // element that may be a drag source, for the current mouse gesture 45 RefPtr<Clipboard> m_dragClipboard; // used on only the source side of dragging
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ThreadSafeDataTransport.h | 32 #include "wtf/RefPtr.h" 65 Vector<RefPtr<SharedBuffer> > m_newBufferQueue; 66 RefPtr<SharedBuffer> m_readBuffer;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/ |
H A D | TimingFunctionTestHelperTest.cpp | 49 Vector<std::pair<std::string, RefPtr<TimingFunction> > > v; 76 ::std::string PrintToString(RefPtr<CubicBezierTimingFunction> timing) 78 RefPtr<TimingFunction> generic = timing; 82 ::std::string PrintToString(RefPtr<TimingFunction> timing) 95 RefPtr<TimingFunction> linearTiming = LinearTimingFunction::create(); 103 RefPtr<TimingFunction> cubicEaseTiming = CubicBezierTimingFunction::preset(CubicBezierTimingFunction::EaseIn); 108 RefPtr<TimingFunction> cubicCustomTiming = CubicBezierTimingFunction::create(0.17, 0.67, 1, -1.73); 116 RefPtr<TimingFunction> stepTimingStart = StepsTimingFunction::preset(StepsTimingFunction::Start); 121 RefPtr<TimingFunction> stepTimingCustom = StepsTimingFunction::create(5, false); 129 RefPtr<TimingFunctio [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | StyleSheetCollection.h | 38 #include "wtf/RefPtr.h" 62 Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() { return m_activeAuthorStyleSheets; } 63 Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() { return m_styleSheetsForStyleSheetList; } 64 const Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() const { return m_activeAuthorStyleSheets; } 65 const Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() const { return m_styleSheetsForStyleSheetList; } 68 void appendActiveStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); 73 Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; 74 Vector<RefPtr<CSSStyleSheet> > m_activeAuthorStyleSheets; 119 static StyleResolverUpdateType compareStyleSheets(const Vector<RefPtr<CSSStyleSheet> >& oldStyleSheets, const Vector<RefPtr<CSSStyleShee [all...] |
H A D | NamedNodesCollection.h | 37 #include "wtf/RefPtr.h" 44 static PassRefPtr<NodeList> create(const Vector<RefPtr<Node> >& nodes) 54 explicit NamedNodesCollection(const Vector<RefPtr<Node> >& nodes) 57 Vector<RefPtr<Node> > m_nodes;
|
H A D | StaticNodeList.h | 34 #include "wtf/RefPtr.h" 43 static PassRefPtr<StaticNodeList> adopt(Vector<RefPtr<Node> >& nodes) 45 RefPtr<StaticNodeList> nodeList = adoptRef(new StaticNodeList); 60 Vector<RefPtr<Node> > m_nodes;
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | EventContext.h | 34 #include "wtf/RefPtr.h" 53 RefPtr<TouchList> m_touches; 54 RefPtr<TouchList> m_targetTouches; 55 RefPtr<TouchList> m_changedTouches; 77 void adoptEventPath(Vector<RefPtr<Node> >&); 87 RefPtr<Node> m_node; 88 RefPtr<EventTarget> m_currentTarget; 89 RefPtr<EventTarget> m_target; 90 RefPtr<EventTarget> m_relatedTarget; 91 RefPtr<NodeLis [all...] |
/external/chromium_org/third_party/WebKit/Source/core/timing/ |
H A D | Performance.h | 44 #include "wtf/RefPtr.h" 70 Vector<RefPtr<PerformanceEntry> > getEntries() const; 71 Vector<RefPtr<PerformanceEntry> > getEntriesByType(const String& entryType); 72 Vector<RefPtr<PerformanceEntry> > getEntriesByName(const String& name, const String& entryType); 93 mutable RefPtr<PerformanceNavigation> m_navigation; 94 mutable RefPtr<PerformanceTiming> m_timing; 96 Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer; 100 RefPtr<UserTiming> m_userTiming;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | DeleteSelectionCommand.h | 92 RefPtr<Node> m_startBlock; 93 RefPtr<Node> m_endBlock; 94 RefPtr<EditingStyle> m_typingStyle; 95 RefPtr<EditingStyle> m_deleteIntoBlockquoteStyle; 96 RefPtr<Node> m_startRoot; 97 RefPtr<Node> m_endRoot; 98 RefPtr<Node> m_startTableRow; 99 RefPtr<Node> m_endTableRow; 100 RefPtr<Node> m_temporaryPlaceholder;
|
H A D | MergeIdenticalElementsCommand.h | 46 RefPtr<Element> m_element1; 47 RefPtr<Element> m_element2; 48 RefPtr<Node> m_atChild;
|
H A D | RemoveNodeCommand.h | 46 RefPtr<Node> m_node; 47 RefPtr<ContainerNode> m_parent; 48 RefPtr<Node> m_refChild;
|