/aoo41x/main/canvas/source/directx/ |
H A D | dx_winstuff.hxx | 121 template< typename T > class COMReference 124 typedef T Wrappee; 147 explicit COMReference( T* p ) : in COMReference() 187 T* get() const { return mp; } in get() 188 T* operator->() const { return mp; } in operator ->() 189 T& operator*() const { return *mp; } in operator *() 192 T* mp; 196 template<class T> inline T * get_pointer(COMReference<T> const& p) in get_pointer()
|
/aoo41x/main/formula/inc/formula/ |
H A D | intruref.hxx | 40 template< typename T > class SimpleIntrusiveReference 42 T* p; 51 inline SimpleIntrusiveReference( T *t ) in SimpleIntrusiveReference() 70 inline SimpleIntrusiveReference& operator=( T* t ) in operator =() 86 inline T* operator&() const { return p; } in operator &() 87 inline T* operator->() const { return p; } in operator ->() 88 inline T& operator*() const { return *p; } in operator *() 89 inline operator T*() const { return p; } in operator T*() 90 inline T* get() const { return p; } in get()
|
/aoo41x/main/comphelper/inc/comphelper/ |
H A D | makesequence.hxx | 36 template <typename T> 37 inline ::com::sun::star::uno::Sequence<T> makeSequence( T const& element ) in makeSequence() 39 return ::com::sun::star::uno::Sequence<T>( &element, 1 ); in makeSequence() 59 template <typename T> \ 60 inline ::com::sun::star::uno::Sequence<T> makeSequence( \ 61 BOOST_PP_ENUM_PARAMS(n_, T const& element) ) \ 63 ::com::sun::star::uno::Sequence<T> seq( n_ ); \ 64 T * p = seq.getArray(); \
|
H A D | make_shared_from_uno.hxx | 34 template <typename T> struct ReleaseFunc : ::std::unary_function<T *, void> { 35 void operator()( T * p ) const { p->release(); } in operator ()() 61 template <typename T> 62 inline ::boost::shared_ptr<T> make_shared_from_UNO( T * p ) in make_shared_from_UNO() 65 return ::boost::shared_ptr<T>( p, detail::ReleaseFunc<T>() ); in make_shared_from_UNO()
|
H A D | newarray.hxx | 31 template<typename T> T * 34 if ((::std::numeric_limits<size_t>::max() / sizeof(T)) <= n) { in newArray_null() 37 return new (::std::nothrow) T[n]; in newArray_null() 40 template<typename T> T * 43 if ((::std::numeric_limits<size_t>::max() / sizeof(T)) <= n) { in newArray_ex() 46 return new T[n]; in newArray_ex()
|
H A D | weakbag.hxx | 39 template< typename T > class WeakBag { 51 void add(com::sun::star::uno::Reference< T > const & e) { in add() 54 if (com::sun::star::uno::Reference< T >(*i).is()) { in add() 60 m_list.push_back(com::sun::star::uno::WeakReference< T >(e)); in add() 69 com::sun::star::uno::Reference< T > remove() { in remove() 71 com::sun::star::uno::Reference< T > r(m_list.front()); in remove() 77 return com::sun::star::uno::Reference< T >(); in remove() 81 typedef std::list< com::sun::star::uno::WeakReference< T > > List;
|
H A D | unwrapargs.hxx | 49 template <typename T> 52 sal_Int32 nArg, T & v, in extract() 67 buf.append( ::cppu::UnoType<T>::get().getTypeName() ); in extract() 75 template <typename T> 78 sal_Int32 nArg, ::boost::optional<T> & v, in extract() 83 T t; in extract() 94 BOOST_PP_CAT(T, n_) & BOOST_PP_CAT(v, n_) 121 template < BOOST_PP_ENUM_PARAMS( BOOST_PP_ADD(n_, 1), typename T) > \
|
/aoo41x/main/basebmp/inc/basebmp/ |
H A D | accessortraits.hxx | 40 template< typename T, typename M, bool polarity, typename DUMMY > struct outputMaskFunctorSelector … 41 ifBothScalarIntegral< T, M, 42 IntegerOutputMaskFunctor< T, M, polarity >, 43 GenericOutputMaskFunctor< T, M, polarity > > 46 template< typename T, typename M, bool polarity > struct outputMaskFunctorSelector< T, M, polarity,… 47 ifBothScalarIntegral< T, M, 48 FastIntegerOutputMaskFunctor< T, M, polarity >, 49 GenericOutputMaskFunctor< T, M, polarity > >
|
H A D | accessoradapters.hxx | 84 template< class T > explicit UnaryFunctionAccessorAdapter( T const& accessor ) : in UnaryFunctionAccessorAdapter() 90 template< class T > UnaryFunctionAccessorAdapter( T accessor, in UnaryFunctionAccessorAdapter() 197 template< class T > explicit BinarySetterFunctionAccessorAdapter( T const& accessor ) : in BinarySetterFunctionAccessorAdapter() 202 template< class T > BinarySetterFunctionAccessorAdapter( T accessor, in BinarySetterFunctionAccessorAdapter() 307 template< class T > explicit TernarySetterFunctionAccessorAdapter( T const& accessor ) : in TernarySetterFunctionAccessorAdapter() 444 template< class T > explicit JoinImageAccessorAdapter( T const& accessor ) : in JoinImageAccessorAdapter()
|
H A D | stridedarrayiterator.hxx | 40 template< typename T > class StridedArrayIterator 43 typedef typename clone_const<T, unsigned char>::type internal_type; 52 explicit StridedArrayIterator(int stride, T* ptr = 0) : in StridedArrayIterator() 66 reinterpret_cast<T*>(rSrc.current_)+offset)) in StridedArrayIterator() 97 T* operator()() const in operator ()() 98 { return reinterpret_cast<T*>(current_); } in operator ()() 100 T* operator()(int d) const in operator ()() 101 { return reinterpret_cast<T*>(current_ + d*stride_); } in operator ()()
|
/aoo41x/main/external/mingwheaders/ |
H A D | mingw_atl_headers.patch | 129 T* p; 133 -template <class T, const IID* piid = &__uuidof(T)> 134 +template <class T, const IID* piid> 151 T* p; 320 T& Read() 943 +template <class T> 1178 T* pT = static_cast<T*>(this); 1180 class CComCompositeControl : public CComControl< T, CAxDialogImpl< T > > 1183 + using CComControl< T, CAxDialogImpl< T > >::m_hWnd; 1184 + using CComControl< T, CAxDialogImpl< T > >::GetNextDlgTabItem; [all …]
|
/aoo41x/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | OSubComponent.hxx | 183 template <class T> 184 void implCopySequence(const T* _pSource, T*& _pDest, sal_Int32 _nSourceLen) in implCopySequence() 192 template <class T> 193 …::star::uno::Sequence<T> concatSequences(const ::com::sun::star::uno::Sequence<T>& _rLeft, const :… in concatSequences() 196 const T* pLeft = _rLeft.getConstArray(); in concatSequences() 197 const T* pRight = _rRight.getConstArray(); in concatSequences() 200 ::com::sun::star::uno::Sequence<T> aReturn(nReturnLen); in concatSequences() 201 T* pReturn = aReturn.getArray(); in concatSequences()
|
/aoo41x/main/basegfx/inc/basegfx/range/ |
H A D | basicrange.hxx | 34 template< typename T, typename Traits > class BasicRange 37 T mnMinimum; 38 T mnMaximum; 41 typedef T ValueType; 50 BasicRange( T nValue ) : in BasicRange() 73 T getMinimum() const { return mnMinimum; } in getMinimum() 74 T getMaximum() const { return mnMaximum; } in getMaximum() 88 bool isInside(T nValue) const in isInside() 170 void expand(T nValue) in expand() 235 void grow(T nValue) in grow()
|
/aoo41x/main/mysqlc/source/ |
H A D | mysqlc_subcomponent.hxx | 190 template <class T> 191 void implCopySequence(const T* _pSource, T*& _pDest, sal_Int32 _nSourceLen) in implCopySequence() 199 template <class T> 200 …::star::uno::Sequence<T> concatSequences(const ::com::sun::star::uno::Sequence<T>& _rLeft, const :… in concatSequences() 203 const T* pLeft = _rLeft.getConstArray(); in concatSequences() 204 const T* pRight = _rRight.getConstArray(); in concatSequences() 207 ::com::sun::star::uno::Sequence<T> aReturn(nReturnLen); in concatSequences() 208 T* pReturn = aReturn.getArray(); in concatSequences()
|
/aoo41x/main/stlport/systemstl/ |
H A D | functional | 48 template< typename T> struct identity : unary_function<T,T> { T operator()(const T& t) const { retu… 49 template< typename T, typename U> struct project2nd : public binary_function<T,U,U> { U operator()(… 54 template<typename T> inline T&& forward( typename identity<T>::type&& t) { return t; }
|
/aoo41x/main/tools/inc/tools/ |
H A D | solar.h | 193 template<typename T> inline T Min(T a, T b) { return (a<b?a:b); } in Min() 194 template<typename T> inline T Max(T a, T b) { return (a>b?a:b); } in Max() 195 template<typename T> inline T Abs(T a) { return (a>=0?a:-a); } in Abs()
|
/aoo41x/main/sal/osl/w32/ |
H A D | path_helper.hxx | 73 template< class T > 76 T* m_pBuffer; 85 : m_pBuffer( reinterpret_cast<T*>( rtl_allocateMemory( nCharNum * sizeof( T ) ) ) ) in LongPathBuffer() 103 operator T* () in operator T*() 110 …template< class U, class T > U mingw_reinterpret_cast(LongPathBuffer<T>& a) { return reinterpret_c… in mingw_reinterpret_cast()
|
/aoo41x/main/vigra/ |
H A D | vigra1.6.0.patch | 772 #define VIGRA_DEFINE_MISSING_ABS(T) \ 773 inline T abs(T t) { return t < 0 ? -t : t; } 777 +#define VIGRA_DEFINE_SIGNED_ABS(T) \ 778 + inline T abs(T t) { return (T)abs(t); } 779 +#define VIGRA_DEFINE_SIGNED_LABS(T) \ 780 + inline T abs(T t) { return (T)labs(t); } 782 + inline T abs(T t) { return (T)llabs(t); } 783 +#define VIGRA_DEFINE_FABS(T) \ 784 + inline T abs(T t) { return (T)fabs(t); } 1040 T * coeffs_; [all …]
|
/aoo41x/main/slideshow/source/inc/ |
H A D | tools.hxx | 74 template <typename T> 75 inline ::std::size_t hash_value( T * const& p ) in hash_value() 82 template <typename T> 83 struct hash : ::std::unary_function<T, ::std::size_t> 85 ::std::size_t operator()( T const& val ) const { in operator ()() 95 template <typename T> 97 ::com::sun::star::uno::Reference<T> const& x ) in hash_value() 317 template <typename T> 318 inline T const & ternary_op( in ternary_op() 319 const bool cond, T const & arg1, T const & arg2 ) in ternary_op()
|
/aoo41x/main/wizards/com/sun/star/wizards/common/ |
H A D | NamedValueCollection.java | 62 public final < T > T getOrDefault( final String i_key, final T i_default ) in getOrDefault() 69 return (T)value; in getOrDefault() 77 …public final < T extends XInterface > T queryOrDefault( final String i_key, final T i_default, Cla… in queryOrDefault() 82 return (T)UnoRuntime.queryInterface( i_interfaceClass, value ); in queryOrDefault()
|
/aoo41x/main/store/source/ |
H A D | stortree.hxx | 112 typedef OStoreBTreeEntry T; typedef 117 T m_pData[1]; 140 return sal_uInt16(capacity() / sizeof(T)); in capacityCount() 154 return sal_uInt16(usage() / sizeof(T)); in usageCount() 158 size_t const nBytes = self::thePageSize + nCount * sizeof(T); in usageCount() 216 sal_uInt16 find (const T& t) const; 217 void insert (sal_uInt16 i, const T& t); 246 typedef OStoreBTreeEntry T; typedef in store::OStoreBTreeNodeObject 287 typedef OStoreBTreeEntry T; typedef in store::OStoreBTreeRootObject
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | WW8Sttbf.hxx | 62 template <class T> 86 const T * getExtra(sal_uInt32 nEntry) const in getExtra() 88 return dynamic_cast<const T *> (m_Extras[nEntry].get()); in getExtra() 92 template <class T> 93 WW8Sttb<T>::WW8Sttb(SvStream& rSt, sal_Int32 nPos, sal_uInt32 nSize) in WW8Sttb() 129 ExtraPointer_t pExtra(new T(this, nOffset, ncbExtra)); in WW8Sttb() 137 template <class T> 138 WW8Sttb<T>::~WW8Sttb() in ~WW8Sttb()
|
/aoo41x/main/chart2/source/inc/ |
H A D | ContainerHelper.hxx | 115 template< typename T > 116 ::std::vector< T > 117 SequenceToVector( const ::com::sun::star::uno::Sequence< T > & rSeq ) in SequenceToVector() 119 return SequenceToSTLSequenceContainer< ::std::vector< T > >( rSeq ); in SequenceToVector() 129 template< typename T > 130 ::std::set< T > 131 SequenceToSet( const ::com::sun::star::uno::Sequence< T > & rSeq ) in SequenceToSet() 133 return SequenceToSTLContainer< ::std::set< T > >( rSeq ); in SequenceToSet()
|
/aoo41x/main/xmlscript/source/inc/ |
H A D | misc.hxx | 36 template< typename T > 37 inline void extract_throw( T * p, ::com::sun::star::uno::Any const & a ) in extract_throw() 49 template< typename T > 50 inline T extract_throw( ::com::sun::star::uno::Any const & a ) in extract_throw() 52 T v = T(); in extract_throw() 53 extract_throw<T>( &v, a ); in extract_throw()
|
/aoo41x/main/connectivity/source/inc/java/ |
H A D | LocalRef.hxx | 46 template< typename T > 56 LocalRef( JNIEnv& environment, T object ) in LocalRef() 67 T release() in release() 69 T t = m_object; in release() 74 void set( T object ) { reset(); m_object = object; } in set() 86 T get() const { return m_object; } in get() 95 T m_object;
|