/aoo42x/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()
|
/aoo42x/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;
|
H A D | GlobalRef.hxx | 45 template< typename T > 85 void set( JNIEnv& _environment, T _object ) in set() 91 m_object = static_cast< T >( _environment.NewGlobalRef( m_object ) ); in set() 94 void set( LocalRef< T >& _object ) in set() 99 T get() const in get() 110 T m_object;
|
/aoo42x/main/editeng/source/editeng/ |
H A D | baselist.hxx | 27 template<class T> 30 std::vector<T*> contents; 33 T* GetObject( sal_uInt32 index ) const { return contents[index]; } in GetObject() 34 T* operator[]( std::size_t index ) const { return contents[index]; } in operator []() 35 T* const* GetData() const { return &contents[0]; } in GetData() 36 …void Insert( T *node, sal_uInt32 position ) { contents.insert( contents.begin() + position, node);… in Insert() 37 void Replace( T *node, sal_uInt32 position ) in Replace()
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | textdata.hxx | 171 template <class T> class ToolsList : public ::std::vector< T > 174 sal_uLong Count() const { return static_cast<sal_uLong>(::std::vector< T >::size()); } in Count() 175 …sal_uLong GetPos( T pObject ) const { return ( ::std::find( this->begin(), this->end(), pObject … in GetPos() 176 T GetObject( sal_uLong nIndex ) const { return (*this)[nIndex]; } in GetObject() 177 …void Insert( T pObject, sal_uLong nPos ) { ::std::vector< T >::insert( this->begin()+nPos, pObje… in Insert() 178 void Remove( sal_uLong nPos ) { ::std::vector< T >::erase( this->begin()+nPos ); } in Remove()
|
/aoo42x/main/i18npool/source/breakiterator/data/ |
H A D | char_in.txt | 45 $T = [\p{Grapheme_Cluster_Break = T}]; 69 ($LV | $V) ($V | $T); 70 ($LVT | $T) $T; 92 ($V | $T) ($LV | $V); 93 $T ($LVT | $T);
|
/aoo42x/main/cppu/inc/com/sun/star/uno/ |
H A D | Sequence.hxx | 221 template< typename T > inline ::com::sun::star::uno::Type const & 222 getTypeFavourUnsigned(::com::sun::star::uno::Sequence< T > const *) { in getTypeFavourUnsigned() 223 if (::com::sun::star::uno::Sequence< T >::s_pType == 0) { in getTypeFavourUnsigned() 225 &::com::sun::star::uno::Sequence< T >::s_pType, in getTypeFavourUnsigned() 228 typename ::com::sun::star::uno::Sequence< T >::ElementType * >( in getTypeFavourUnsigned() 233 &::com::sun::star::uno::Sequence< T >::s_pType); in getTypeFavourUnsigned() 236 template< typename T > inline ::com::sun::star::uno::Type const & 237 getTypeFavourChar(::com::sun::star::uno::Sequence< T > const *) { in getTypeFavourChar() 246 typename ::com::sun::star::uno::Sequence< T >::ElementType * >( in getTypeFavourChar()
|
/aoo42x/main/store/source/ |
H A D | lockbyte.cxx | 859 template< class T > struct ResourceHolder 863 T m_value; 865 explicit ResourceHolder (T const & value = T()) : m_value (value) {} in ResourceHolder() 868 T & get() { return m_value; } in get() 869 T const & get() const { return m_value; } in get() 871 void set (T const & value) { m_value = value; } in set() 872 void reset (T const & value = T()) in reset() 874 T tmp (m_value); in reset() 879 T release() in release() 881 T tmp (m_value); in release() [all …]
|
/aoo42x/main/basebmp/inc/basebmp/ |
H A D | truecolormaskaccessor.hxx | 41 template< typename T > inline T shiftLeft( T v, int shift ) in shiftLeft() 47 template< typename T > inline T shiftRight( T v, int shift ) in shiftRight() 123 template< class T > explicit TrueColorMaskAccessor( T accessor ) : in TrueColorMaskAccessor()
|
H A D | colorblendaccessoradapter.hxx | 66 template< class T > explicit ConstantColorBlendSetterAccessorAdapter( T acc ) : in ConstantColorBlendSetterAccessorAdapter() 73 template< class T > ConstantColorBlendSetterAccessorAdapter( T acc, in ConstantColorBlendSetterAccessorAdapter() 81 template< class T > ConstantColorBlendSetterAccessorAdapter( T acc, in ConstantColorBlendSetterAccessorAdapter()
|
/aoo42x/main/stoc/source/tdmanager/ |
H A D | tdmgr_check.cxx | 118 template<typename T> 119 void checkSeq( Sequence< Reference<T> > const & newTypes, in checkSeq() 120 Sequence< Reference<T> > const & existingTypes, in checkSeq() 132 Reference<T> const * pNewTypes = newTypes.getConstArray(); in checkSeq() 133 Reference<T> const * pExistingTypes = existingTypes.getConstArray(); in checkSeq() 215 template<typename T> 216 void checkParameters( Sequence< Reference<T> > const & newParams, in checkParameters() 217 Sequence< Reference<T> > const & existingParams, in checkParameters() 223 Reference<T> const * pNewParams = newParams.getConstArray(); in checkParameters() 227 Reference<T> const & xNewParam = pNewParams[pos]; in checkParameters() [all …]
|
/aoo42x/main/forms/source/xforms/ |
H A D | NameContainer.hxx | 43 template<class T> 47 typedef std::map<rtl::OUString,T> map_t; 66 T getItem( const rtl::OUString& rName ) in getItem() 74 const T& aElement ) in replace() 81 const T& aElement ) in insert() 106 return getCppuType( static_cast<T*>( NULL ) ); in getElementType() 170 T aItem; in replaceByName() 193 T aItem; in insertByName()
|
H A D | model_helper.hxx | 62 virtual bool isValid( const T& t ) const in isValid() 68 virtual void _insert( const T& t ) in _insert() 74 virtual void _remove( const T& t ) in _remove() 96 virtual bool isValid( const T& t ) const in isValid() 102 virtual void _insert( const T& t ) in _insert() 108 virtual void _remove( const T& t ) in _remove() 123 virtual bool isValid( const T& t ) const in isValid()
|
/aoo42x/main/basebmp/test/ |
H A D | bmpdemo.cxx | 161 template< typename T > class StridedArrayIterator 166 StridedArrayIterator(int stride, T* ptr = 0) : in StridedArrayIterator() 207 T* operator()() const in operator ()() 208 { return reinterpret_cast<T*>(current_); } in operator ()() 210 T* operator()(int d) const in operator ()() 211 { return reinterpret_cast<T*>(current_ + d*stride_); } in operator ()() 218 template <typename T> struct remove_const 220 typedef T type; 222 template <typename T> struct remove_const<const T> 224 typedef T type; [all …]
|
/aoo42x/main/bridges/source/cpp_uno/shared/ |
H A D | guardedarray.hxx | 29 template< typename T > class GuardedArray { 31 explicit GuardedArray(T * thePointer): pointer(thePointer) {} in GuardedArray() 35 T * get() const { return pointer; } in get() 37 T * release() { T * p = pointer; pointer = 0; return p; } in release() 43 T * pointer;
|
/aoo42x/main/canvas/source/vcl/ |
H A D | spritecanvashelper.cxx | 625 template< typename T > struct Adder 629 Adder( T& rAdderTarget, in Adder() 630 T nIncrement ) : in Adder() 638 void operator()( T nIncrement ) { *mpTarget += nIncrement; } in operator ()() 640 T* mpTarget; 641 T mnIncrement; 644 template< typename T> Adder<T> makeAdder( T& rAdderTarget, in makeAdder() 645 T nIncrement ) in makeAdder() 647 return Adder<T>(rAdderTarget, nIncrement); in makeAdder()
|
/aoo42x/main/svtools/source/filter/ |
H A D | sgvspln.cxx | 639 sal_Bool CondT, double* T, in ParaSpline() argument 652 T[0]=0.0; in ParaSpline() 657 T[i+1]=T[i]+sqrt(delt); in ParaSpline() 690 Error=PeriodicSpline(n,T,x,bx,cx,dx); in ParaSpline() 692 Error=PeriodicSpline(n,T,y,by,cy,dy); in ParaSpline() 695 Error=NaturalSpline(n,T,x,alphX,betX,MargCond,bx,cx,dx); in ParaSpline() 697 Error=NaturalSpline(n,T,y,alphY,betY,MargCond,by,cy,dy); in ParaSpline() 726 double*& cx, double*& cy, double*& dx, double*& dy, double*& T) in CalcSpline() argument 765 T =new double[n+1]; in CalcSpline() 776 bRet = ParaSpline(n,ax,ay,Marg,Marg01,Marg01,MargN1,MargN2,sal_False,T,bx,cx,dx,by,cy,dy) == 0; in CalcSpline() [all …]
|
/aoo42x/main/hsqldb/patches/ |
H A D | i121754.patch | 113 + public <T>T getObject(int parameterIndex, 114 + Class<T> type) throws SQLException { 115 + return (T) this.getObject(parameterIndex); 118 + public <T>T getObject(String parameterName, 119 + Class<T> type) throws SQLException { 240 + public <T>T getObject(int columnIndex, Class<T> type) throws SQLException { 241 + return (T) getObject(columnIndex); 244 + public <T>T getObject(String columnLabel, 245 + Class<T> type) throws SQLException {
|
/aoo42x/main/cppu/inc/cppu/ |
H A D | Shield.hxx | 45 template<class T> inline T * shield(T * pT) in shield() 56 template<class T> inline T * unshield(T * pT) in unshield()
|
/aoo42x/main/svx/source/table/ |
H A D | celltypes.hxx | 54 template< typename T > 62 RangeIterator( const T& rStart, const T& rEnd, bool bForeward = true ) in RangeIterator() 84 bool next( T& rValue ) in next() 98 T maEnd; 99 T maIter;
|
/aoo42x/main/tools/inc/tools/ |
H A D | rtti.hxx | 157 #define PTR_CAST( T, pObj ) \ argument 158 ( pObj && (pObj)->IsA( TYPE(T) ) ? (T*)(pObj) : 0 ) 162 #define HAS_BASE( T, pObj ) \ argument 163 ( pObj && (pObj)->IsA( TYPE(T) ) ) 167 #define IS_TYPE(T,pObj) \ argument 168 ( pObj && (pObj)->Type() == TYPE(T) )
|
/aoo42x/main/sw/source/core/unocore/ |
H A D | unocoll.cxx | 771 template<FlyCntType T> struct UnoFrameWrap_traits {}; 797 template<FlyCntType T> 824 template<FlyCntType T> 847 template<FlyCntType T> 875 if(UnoFrameWrap_traits<T>::filter(pNd)) in SwXFrameEnumeration() 876 *pInserter++ = lcl_UnoWrapFrame<T>(pFmt); in SwXFrameEnumeration() 880 template<FlyCntType T> 887 template<FlyCntType T> 898 template<FlyCntType T> 904 template<FlyCntType T> [all …]
|
/aoo42x/main/xmlscript/source/xmldlg_imexp/ |
H A D | exp_share.hxx | 106 template<typename T> 112 template<typename T> 113 inline bool readProp( T * ret, ::rtl::OUString const & rPropName ); 216 template<typename T> 226 T v = T(); in read() 234 template<typename T> 236 T * ret, ::rtl::OUString const & rPropName ) in readProp()
|
/aoo42x/main/chart2/source/inc/ |
H A D | CommonConverters.hxx | 224 template< typename T > 225 ::com::sun::star::uno::Sequence< T > 227 ::com::sun::star::uno::Sequence< T > > & aSeqSeq ) in FlattenSequence() 234 ::com::sun::star::uno::Sequence< T > aResult( nResultSize ); in FlattenSequence() 245 template< typename T > 246 ::std::vector< T > 247 FlattenVector( const ::std::vector< ::std::vector< T > > & rVecVec ) in FlattenVector() 249 typedef ::std::vector< T > tFlatVec; in FlattenVector()
|
/aoo42x/main/sc/source/core/tool/ |
H A D | reftokenhelper.cxx | 335 template<typename T> 336 static bool overlaps(T nMin1, T nMax1, T nMin2, T nMax2, T& rNewMin, T& rNewMax) in overlaps() 344 T nMin = nMin1 < nMin2 ? nMin1 : nMin2; in overlaps() 345 T nMax = nMax1 > nMax2 ? nMax1 : nMax2; in overlaps()
|