Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 2669) sorted by relevance

12345678910>>...107

/AOO41X/main/bridges/test/java_uno/any/
H A DTestAny.java28 import com.sun.star.uno.Type;
48 success &= testType(Type.class, TypeClass.TYPE, "type"); in test()
59 success &= testType(Type[].class, TypeClass.SEQUENCE, "[]type"); in test()
83 success &= testType(Type[][].class, TypeClass.SEQUENCE, "[][]type"); in test()
122 new Any(Type.BOOLEAN, Boolean.FALSE), in test()
125 new Any(Type.BOOLEAN, Boolean.TRUE), in test()
136 new Any(Type.BYTE, new Byte((byte) -128)), in test()
139 new Any(Type.BYTE, new Byte((byte) 0)), in test()
142 new Any(Type.BYTE, new Byte((byte) 127)), in test()
153 new Any(Type.SHORT, in test()
[all …]
/AOO41X/main/cppuhelper/source/
H A Dtypeprovider.cxx58 static inline void copy( Sequence< Type > & rDest, const Sequence< Type > & rSource, sal_Int32 nOff… in copy()
61 Type * pDest = rDest.getArray(); in copy()
62 const Type * pSource = rSource.getConstArray(); in copy()
70 const Type & rType1, in OTypeCollection()
71 const Sequence< Type > & rAddTypes ) in OTypeCollection()
80 const Type & rType1, in OTypeCollection()
81 const Type & rType2, in OTypeCollection()
82 const Sequence< Type > & rAddTypes ) in OTypeCollection()
92 const Type & rType1, in OTypeCollection()
93 const Type & rType2, in OTypeCollection()
[all …]
H A Dimplbase_ex.cxx52 static inline void checkInterface( Type const & rType ) in checkInterface()
102 Type const & rType = (*pEntry->m_type.getCppuType)( 0 ); in __getTypeEntries()
127 static inline void __fillTypes( Type * types, class_data * cd ) in __fillTypes()
238 Type const & rType, class_data * cd, void * that ) in ImplHelper_query()
263 Type const & rType, class_data * cd, void * that ) in ImplHelper_queryNoXInterface()
301 Sequence< Type > SAL_CALL ImplHelper_getTypes( in ImplHelper_getTypes()
305 Sequence< Type > types( cd->m_nTypes ); in ImplHelper_getTypes()
306 Type * pTypes = types.getArray(); in ImplHelper_getTypes()
311 Sequence< Type > SAL_CALL ImplInhHelper_getTypes( in ImplInhHelper_getTypes()
312 class_data * cd, Sequence< Type > const & rAddTypes ) in ImplInhHelper_getTypes()
[all …]
/AOO41X/main/cppuhelper/inc/cppuhelper/
H A Dtypeprovider.hxx39 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > _aTypes;
61 const ::com::sun::star::uno::Type & rType1,
62 …o::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::s…
65 const ::com::sun::star::uno::Type & rType1,
66 const ::com::sun::star::uno::Type & rType2,
67 …o::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::s…
70 const ::com::sun::star::uno::Type & rType1,
71 const ::com::sun::star::uno::Type & rType2,
72 const ::com::sun::star::uno::Type & rType3,
73 …o::Sequence< ::com::sun::star::uno::Type > & rAddTypes = ::com::sun::star::uno::Sequence< ::com::s…
[all …]
/AOO41X/main/jurt/test/com/sun/star/lib/uno/protocols/urp/
H A DMarshaling_Test.java28 import com.sun.star.uno.Type;
72 new Any(new Type(Integer.class), new Integer(10)), // Any as Any in test()
73 new Any(new Type(Integer.class), new Integer(10)), // Any as Any in test()
84 new Type(Void.class), in test()
85 new Type(String.class), in test()
86 new Type(Object.class), in test()
87 new Type(Byte.class), in test()
88 new Type(Integer.class), in test()
89 new Type(Double.class), in test()
90 new Type(Float.class), in test()
[all …]
/AOO41X/main/sc/source/filter/inc/
H A Dftools.hxx62 template< typename ReturnType, typename Type >
63 inline ReturnType llimit_cast( Type nValue, ReturnType nMin ) in llimit_cast()
64 { return static_cast< ReturnType >( ::std::max< Type >( nValue, nMin ) ); } in llimit_cast()
67 template< typename ReturnType, typename Type >
68 inline ReturnType llimit_cast( Type nValue ) in llimit_cast()
72 template< typename ReturnType, typename Type >
73 inline ReturnType ulimit_cast( Type nValue, ReturnType nMax ) in ulimit_cast()
74 { return static_cast< ReturnType >( ::std::min< Type >( nValue, nMax ) ); } in ulimit_cast()
77 template< typename ReturnType, typename Type >
78 inline ReturnType ulimit_cast( Type nValue ) in ulimit_cast()
[all …]
/AOO41X/main/oox/inc/oox/helper/
H A Dhelper.hxx113 template< typename ReturnType, typename Type >
114 inline ReturnType getLimitedValue( Type nValue, Type nMin, Type nMax ) in getLimitedValue()
119 template< typename ReturnType, typename Type >
120 inline ReturnType getIntervalValue( Type nValue, Type nBegin, Type nEnd ) in getIntervalValue()
124 Type nInterval = nEnd - nBegin; in getIntervalValue()
125Type nCount = (nValue < nBegin) ? -((nBegin - nValue - 1) / nInterval + 1) : ((nValue - nBegin) / … in getIntervalValue()
140 template< typename Type >
141 inline bool getFlag( Type nBitField, Type nMask ) in getFlag()
147 template< typename ReturnType, typename Type >
148 inline ReturnType getFlagValue( Type nBitField, Type nMask, ReturnType nSet, ReturnType nUnset ) in getFlagValue()
[all …]
H A Dbinaryinputstream.hxx84 template< typename Type >
85 void readValue( Type& ornValue );
90 template< typename Type >
91 inline Type readValue() { Type nValue; readValue( nValue ); return nValue; } in readValue()
94 template< typename Type >
95 inline BinaryInputStream& operator>>( Type& ornValue ) { readValue( ornValue ); return *this; } in operator >>()
119 template< typename Type >
120 sal_Int32 readArray( Type* opnArray, sal_Int32 nElemCount );
134 template< typename Type >
135 …sal_Int32 readArray( ::com::sun::star::uno::Sequence< Type >& orSequence, sal_Int32 nEle…
[all …]
/AOO41X/main/ridljar/test/com/sun/star/uno/
H A DType_Test.java34 assure("VOID", new Type("void").getZClass() == void.class); in testZClass()
35 assure("BOOLEAN", new Type("boolean").getZClass() == boolean.class); in testZClass()
36 assure("BYTE", new Type("byte").getZClass() == byte.class); in testZClass()
37 assure("SHORT", new Type("short").getZClass() == short.class); in testZClass()
39 new Type("unsigned short").getZClass() == short.class); in testZClass()
40 assure("LONG", new Type("long").getZClass() == int.class); in testZClass()
42 new Type("unsigned long").getZClass() == int.class); in testZClass()
43 assure("HYPER", new Type("hyper").getZClass() == long.class); in testZClass()
45 new Type("unsigned hyper").getZClass() == long.class); in testZClass()
46 assure("FLOAT", new Type("float").getZClass() == float.class); in testZClass()
[all …]
/AOO41X/main/cppu/inc/com/sun/star/uno/
H A DType.hxx40 inline Type::Type() SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
42 _pType = reinterpret_cast< const ::com::sun::star::uno::Type * >( in Type()
47 inline Type::Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
53 inline Type::Type( TypeClass eTypeClass, const sal_Char * pTypeName ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
59 inline Type::Type( typelib_TypeDescriptionReference * pType ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
65 inline Type::Type( typelib_TypeDescriptionReference * pType, UnoType_NoAcquire ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
70 inline Type::Type( typelib_TypeDescriptionReference * pType, __sal_NoAcquire ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
75 inline Type::Type( const Type & rType ) SAL_THROW( () ) in Type() function in com::sun::star::uno::Type
81 inline ::rtl::OUString Type::getTypeName() const SAL_THROW( () ) in getTypeName()
86 inline Type & Type::operator = ( const Type & rType ) SAL_THROW( () ) in operator =()
[all …]
H A DType.h61 class Type
85 inline Type() SAL_THROW( () );
92 inline Type( TypeClass eTypeClass, const ::rtl::OUString & rTypeName ) SAL_THROW( () );
99 inline Type( TypeClass eTypeClass, const sal_Char * pTypeName ) SAL_THROW( () );
105 inline Type( typelib_TypeDescriptionReference * pType ) SAL_THROW( () );
113 inline Type( typelib_TypeDescriptionReference * pType, UnoType_NoAcquire ) SAL_THROW( () );
120 inline Type( typelib_TypeDescriptionReference * pType, __sal_NoAcquire ) SAL_THROW( () );
126 inline Type( const Type & rType ) SAL_THROW( () );
130 inline ~Type() SAL_THROW( () )
138 inline Type & SAL_CALL operator = ( const Type & rType ) SAL_THROW( () );
[all …]
/AOO41X/main/tools/inc/tools/
H A Dlist.hxx74 #define DECLARE_LIST( ClassName, Type ) \ argument
91 void Insert( Type p, sal_uIntPtr nIndex ) \
93 void Insert( Type p ) \
95 void Insert( Type pNew, Type pOld ) \
97 Type Remove() \
98 { return (Type)List::Remove(); } \
99 Type Remove( sal_uIntPtr nIndex ) \
100 { return (Type)List::Remove( nIndex ); } \
101 Type Remove( Type p ) \
102 { return (Type)List::Remove( (void*)p ); } \
[all …]
H A Dtable.hxx94 #define DECLARE_TABLE( ClassName, Type ) \ argument
112 sal_Bool Insert( sal_uIntPtr nKey, Type p ) \
114 Type Remove( sal_uIntPtr nKey ) \
115 { return (Type)Table::Remove( nKey ); } \
116 Type Replace( sal_uIntPtr nKey, Type p ) \
117 { return (Type)Table::Replace( nKey, (void*)p ); } \
118 Type Get( sal_uIntPtr nKey ) const \
119 { return (Type)Table::Get( nKey ); } \
121 Type GetCurObject() const \
122 { return (Type)Table::GetCurObject(); } \
[all …]
H A Dunqidx.hxx94 #define DECLARE_UNIQUEINDEX( ClassName, Type ) \ argument
111 sal_uIntPtr Insert( sal_uIntPtr nIndex, Type p ) \
113 sal_uIntPtr Insert( Type p ) \
115 Type Remove( sal_uIntPtr nIndex ) \
116 { return (Type)UniqueIndex::Remove( nIndex ); } \
117 Type Replace( sal_uIntPtr nIndex, Type p ) \
118 { return (Type)UniqueIndex::Replace( nIndex, \
120 Type Get( sal_uIntPtr nIndex ) const \
121 { return (Type)UniqueIndex::Get( nIndex ); } \
123 Type GetCurObject() const \
[all …]
H A Downlist.hxx33 #define PRV_SV_DECL_OWNER_LIST(ClassName,Type) \ argument
46 { delete (Type *)aTypes.Remove(); } \
47 void Remove( Type * pObj ) \
48 { delete (Type *)aTypes.Remove( pObj ); } \
50 { delete (Type *)aTypes.Remove( nPos ); } \
51 Type & Insert( const Type &, sal_uIntPtr nPos ); \
52 Type & Insert( const Type & rType ) \
54 Type & Append( const Type & rType ) \
56 Type & GetObject( sal_uIntPtr nPos ) const \
57 { return *(Type *)aTypes.GetObject( nPos ); } \
[all …]
/AOO41X/main/oox/inc/oox/dump/
H A Ddumperbase.hxx363 template< typename Type >
364 static void appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth = 0 );
369 template< typename Type >
370 static void appendValue( ::rtl::OUStringBuffer& rStr, Type nData, FormatType eFmtType );
434 template< typename Type >
435 void StringHelper::appendFix( ::rtl::OUStringBuffer& rStr, Type nData, sal_Int32 nWidth ) in appendFix()
437 appendDec( rStr, static_cast< double >( nData ) / pow( 2.0, 4.0 * sizeof( Type ) ), nWidth ); in appendFix()
440 template< typename Type >
441 void StringHelper::appendValue( ::rtl::OUStringBuffer& rStr, Type nData, FormatType eFmtType ) in appendValue()
651 template< typename Type >
[all …]
/AOO41X/main/ridljar/com/sun/star/uno/
H A DType.java46 public class Type { class
139 Type.class, new TypeClass[] { TypeClass.TYPE, TypeClass.TYPE }); in __javaClassToTypeClass.put()
147 public static final Type VOID = new Type(void.class);
148 public static final Type CHAR = new Type(char.class);
149 public static final Type BOOLEAN = new Type(boolean.class);
150 public static final Type BYTE = new Type(byte.class);
151 public static final Type SHORT = new Type(short.class);
152 public static final Type UNSIGNED_SHORT = new Type(
154 public static final Type LONG = new Type(int.class);
155 public static final Type UNSIGNED_LONG = new Type(
[all …]
/AOO41X/main/javaunohelper/test/com/sun/star/lib/uno/helper/
H A DMultiTypeInterfaceContainer_Test.java30 import com.sun.star.uno.Type;
124 ci= cont.addInterface(new Type(XInterface.class), obj1); in addInterface()
125 ci= cont.addInterface(new Type(XInterface.class), obj2); in addInterface()
126 ci= cont.addInterface(new Type(XInterface.class), obj3); in addInterface()
128 ci= cont.addInterface(new Type(XWeak.class), obj1); in addInterface()
129 ci= cont.addInterface(new Type(XWeak.class), obj2); in addInterface()
133 ci= cont.addInterface(new Type(XTypeProvider.class), null); in addInterface()
141 ci= cont.addInterface(new Type(XInterface.class), arObj[c]); in addInterface()
143 Type[] arT= cont.getContainedTypes(); in addInterface()
146 ci= cont.removeInterface(new Type(XInterface.class), arObj[c]); in addInterface()
[all …]
H A DPropertySet_Test.java27 import com.sun.star.uno.Type;
161 value= new Type(String.class); in setPropertyValue()
164 r[i++]= ((Type) ret).equals(value); in setPropertyValue()
232 value= new Type(String.class); in setPropertyValue()
235 r[i++]= ((Type) ret).equals(value); in setPropertyValue()
236 cl.setPropertyValue("PropObjectA", new Any( new Type(byte.class), new Byte((byte)1))); in setPropertyValue()
289 value= new Type(String.class); in setPropertyValue()
295 value= new Any(new Type(boolean.class), new Boolean(true)); in setPropertyValue()
299 value= new Any (new Type(char.class), new Character('A')); in setPropertyValue()
303 value= new Any(new Type(byte.class), new Byte((byte) 111)); in setPropertyValue()
[all …]
/AOO41X/main/cppu/inc/cppu/
H A Dunotype.hxx98 inline ::com::sun::star::uno::Type const & getTypeFromTypeDescriptionReference( in getTypeFromTypeDescriptionReference()
101 return *reinterpret_cast< ::com::sun::star::uno::Type const * >(tdr); in getTypeFromTypeDescriptionReference()
104 inline ::com::sun::star::uno::Type const &
120 inline ::com::sun::star::uno::Type const &
125 inline ::com::sun::star::uno::Type const &
130 inline ::com::sun::star::uno::Type const &
135 inline ::com::sun::star::uno::Type const &
140 inline ::com::sun::star::uno::Type const &
145 inline ::com::sun::star::uno::Type const &
151 inline ::com::sun::star::uno::Type const &
[all …]
/AOO41X/main/svl/inc/svl/
H A Dcntnrsrt.hxx31 * DECLARE_CONTAINER_SORT( ClassName, Type )
32 * IMPL_CONTAINER_SORT( ClassName, Type, SortFunc )
46 * DECLARE_CONTAINER_SORT_DEL( ClassName, Type )
47 * IMPL_CONTAINER_SORT( ClassName, Type, SortFunc )
56 #define DECLARE_CONTAINER_SORT_COMMON( ClassName, Type ) \ argument
65 sal_Bool Insert( Type* pObj ); \
67 Type *Remove( sal_uLong nPos ) \
68 { return (Type *)Container::Remove( nPos ); } \
70 Type *Remove( Type* pObj ); \
74 Type *pObj = Remove( nPos ); \
[all …]
/AOO41X/main/cli_ure/source/climaker/
H A Dclimaker_emit.cxx298 ::System::Type * ret_type = m_module_builder->GetType( in type_resolve()
332 ::System::Type * TypeEmitter::get_type( in get_type()
335 ::System::Type * ret_type = m_module_builder->GetType( cts_name, false ); in get_type()
350 ret_type = ::System::Type::GetType(builder->ToString()); in get_type()
358 return ::System::Type::GetType( cts_name, throw_exc ); in get_type()
380 ::System::Type * TypeEmitter::get_type_Exception() in get_type_Exception()
402 ::System::Type * param_types[] = in get_type_Exception()
403 new ::System::Type *[ 2 ]; in get_type_Exception()
417 param_types = new ::System::Type * [ 1 ]; in get_type_Exception()
441 ::System::Type * TypeEmitter::get_type_RuntimeException() in get_type_RuntimeException()
[all …]
/AOO41X/main/ridljar/com/sun/star/lib/uno/typedesc/
H A DTypeDescription.java34 import com.sun.star.uno.Type;
52 Type t = new Type(typeName); in getTypeDescription()
55 t = new Type(typeName, TypeClass.SEQUENCE); in getTypeDescription()
57 t = new Type(Class.forName(typeName)); in getTypeDescription()
64 return getDefinitely(new Type(zClass)); in getTypeDescription()
67 public static TypeDescription getTypeDescription(Type type) in getTypeDescription()
82 return getDefinitely(Type.VOID); in getTypeDescription()
85 return getDefinitely(Type.BOOLEAN); in getTypeDescription()
88 return getDefinitely(Type.BYTE); in getTypeDescription()
91 return getDefinitely(Type.SHORT); in getTypeDescription()
[all …]
/AOO41X/main/sd/source/ui/app/
H A Dtoolbox2_tmpl.src261 Type = TOOLBOXITEM_SEPARATOR ;
269 Type = TOOLBOXITEM_SEPARATOR ;
294 Type = TOOLBOXITEM_SEPARATOR ;
316 Type = TOOLBOXITEM_SEPARATOR ;
334 Type = TOOLBOXITEM_SEPARATOR ;
348 Type = TOOLBOXITEM_SEPARATOR ;
365 Type = TOOLBOXITEM_SEPARATOR ;
390 Type = TOOLBOXITEM_SEPARATOR ;
420 Type = TOOLBOXITEM_SEPARATOR ;
434 Type = TOOLBOXITEM_SEPARATOR ;
[all …]
/AOO41X/main/testtools/com/sun/star/comp/bridge/
H A DTestComponent.java61 import com.sun.star.uno.Type;
284 public Type[] getTypes() throws com.sun.star.uno.RuntimeException { in getTypes()
286 …return new Type[]{new Type(XPerformanceTest.class), new Type(XServiceInfo.class), new Type(XTypePr… in getTypes()
948 public Type[] getTypes() throws com.sun.star.uno.RuntimeException { in getTypes()
950 …return new Type[]{new Type(XBridgeTest.class), new Type(XRecursiveCall.class), new Type(XServiceIn… in getTypes()
1125 Type.ANY, in testConstructorsService()
1126 new Any(Type.BOOLEAN, Boolean.TRUE), in testConstructorsService()
1139 new Type[] { Type.ANY }, in testConstructorsService()
1143 new Object[] { new Any(Type.BOOLEAN, Boolean.TRUE) } }, in testConstructorsService()
1148 new TestPolyStruct(new Any(Type.BOOLEAN, Boolean.TRUE)) }, in testConstructorsService()
[all …]

12345678910>>...107