| /trunk/main/ridljar/java/ridl/src/main/java/com/sun/star/lib/uno/typedesc/ |
| H A D | TypeDescription.java | 49 public static TypeDescription getTypeDescription(String typeName) in getTypeDescription() argument 52 Type t = new Type(typeName); in getTypeDescription() 54 if (typeName.startsWith("[]")) { in getTypeDescription() 55 t = new Type(typeName, TypeClass.SEQUENCE); in getTypeDescription() 57 t = new Type(Class.forName(typeName)); in getTypeDescription() 205 return typeName; in getTypeName() 238 String typeName = type.getTypeName(); in get() local 239 TypeDescription desc = cache.get(typeName); in get() 251 String typeName = type.getTypeName(); in create() local 259 typeClass, typeName, "[Ljava.lang.Void;", zClass, null, null); in create() [all …]
|
| /trunk/main/codemaker/source/cunomaker/ |
| H A D | cunotype.cxx | 41 const OString& typeName, in CunoType() argument 49 , m_typeName(typeName) in CunoType() 51 , m_name(typeName.replace('/', '_')) in CunoType() 58 sal_Int32 i = typeName.lastIndexOf('/'); in CunoType() 62 OString outerTypeName(typeName.copy(0, i)); in CunoType() 67 RegistryKey key = m_typeMgr.getTypeKey(typeName); in CunoType() 98 OUString typeName(OStringToOUString(type, RTL_TEXTENCODING_UTF8)); in hasNestedType() local 101 ret = typeName.equals(m_nestedTypeNames.getElement(i).copy(5)); in hasNestedType() 226 OString typeName; in dumpDependedTypes() local 230 typeName = (*iter).m_type; in dumpDependedTypes() [all …]
|
| H A D | cunomaker.cxx | 39 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 45 if (!produceType(typeName, typeMgr, typeDependencies, pOptions)) in produceAllTypes() 49 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 53 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 120 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 125 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 127 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 128 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 132 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 137 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
| H A D | cunotype.hxx | 66 const ::rtl::OString& typeName, 80 …virtual void dumpInclude(FileStream& o, const ::rtl::OString& typeName, sal_Char* prefix, sal_Bool… 81 virtual void dumpDepIncludes(FileStream& o, const ::rtl::OString& typeName, sal_Char* prefix); 150 const ::rtl::OString& typeName, 190 const ::rtl::OString& typeName, 208 const ::rtl::OString& typeName, 221 const ::rtl::OString& typeName, 236 const ::rtl::OString& typeName, 251 const ::rtl::OString& typeName, 269 const ::rtl::OString& typeName, [all …]
|
| /trunk/main/codemaker/source/idlmaker/ |
| H A D | idltype.cxx | 41 const OString& typeName, in IdlType() argument 46 , m_typeName(typeName) in IdlType() 51 sal_Int32 i = typeName.lastIndexOf('/'); in IdlType() 52 m_name = typeName.copy( i != -1 ? i+1 : 0 ); in IdlType() 120 OString typeName; in dumpDependedTypes() local 124 typeName = (*iter).m_type; in dumpDependedTypes() 125 if ((index = typeName.lastIndexOf(']')) > 0) in dumpDependedTypes() 126 typeName = typeName.copy(index + 1); in dumpDependedTypes() 128 if ( getBaseType(typeName).isEmpty() ) in dumpDependedTypes() 130 if (!produceType(typeName, in dumpDependedTypes() [all …]
|
| H A D | idlmaker.cxx | 39 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 45 if (!produceType(typeName, typeMgr, typeDependencies, pOptions)) in produceAllTypes() 49 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 53 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 120 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 125 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 127 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 128 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 132 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 137 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
| H A D | idltype.hxx | 66 const ::rtl::OString& typeName, 78 …FileStream& o, const ::rtl::OString& genTypeName, const ::rtl::OString& typeName, sal_Char* prefix… 80 virtual void dumpDepIncludes(FileStream& o, const ::rtl::OString& typeName, sal_Char* prefix); 119 const ::rtl::OString& typeName, 146 const ::rtl::OString& typeName, 161 const ::rtl::OString& typeName, 174 const ::rtl::OString& typeName, 189 const ::rtl::OString& typeName, 204 const ::rtl::OString& typeName, 217 const ::rtl::OString& typeName, [all …]
|
| /trunk/main/codemaker/source/bonobowrappermaker/ |
| H A D | corbatype.cxx | 42 const OString& typeName, in CorbaType() argument 48 , m_typeName(typeName) in CorbaType() 54 sal_Int32 i = typeName.lastIndexOf('/'); in CorbaType() 55 m_name = typeName.copy( i != -1 ? i+1 : 0 ); in CorbaType() 94 OString typeName; in dumpDependedTypes() local 98 typeName = (*iter).m_type; in dumpDependedTypes() 99 if ((index = typeName.lastIndexOf(']')) > 0) in dumpDependedTypes() 100 typeName = typeName.copy(index + 1); in dumpDependedTypes() 102 if ( getUnoBaseType(typeName).isEmpty() ) in dumpDependedTypes() 104 if (!produceType(typeName, in dumpDependedTypes() [all …]
|
| H A D | corbamaker.cxx | 37 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 46 …if (!produceType(typeName, typeMgr, typeDependencies, pOptions, o, pAllreadyDumped, generatedConve… in produceAllTypes() 50 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 54 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 148 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 153 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 155 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 156 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 160 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 165 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
| H A D | corbatype.hxx | 75 const ::rtl::OString& typeName, 88 …virtual void dumpInclude(FileStream& o, TypeSet* allreadyDumped, const ::rtl::OString& typeName, s… 89 …pIncludes(FileStream& o, TypeSet* allreadyDumped, const ::rtl::OString& typeName, sal_Char* prefix… 117 sal_Bool isDerivedFromUnknown(const ::rtl::OString& typeName); 163 const ::rtl::OString& typeName, 191 const ::rtl::OString& typeName, 207 const ::rtl::OString& typeName, 221 const ::rtl::OString& typeName, 237 const ::rtl::OString& typeName, 253 const ::rtl::OString& typeName, [all …]
|
| /trunk/main/codemaker/source/cppumaker/ |
| H A D | cppumaker.cxx | 41 void failed(rtl::OString const & typeName, CppuOptions * options) { in failed() argument 43 rtl::OString("cannot dump Type '" + typeName + "'").getStr()); in failed() 52 OString typeName = typeMgr.getTypeName(rTypeKey); in produce() local 53 failed(typeName, options); in produce() 58 rtl::OString const & typeName, TypeManager const & typeMgr, in produce() argument 61 if (!produceType(typeName, typeMgr, generated, options)) { in produce() 62 failed(typeName, options); in produce() 72 OString typeName = typeMgr.getTypeName(rTypeKey); in produceAllTypes() local 76 RegistryKeyList typeKeys = typeMgr.getTypeKeys(typeName); in produceAllTypes() 106 void produceAllTypes(const OString& typeName, in produceAllTypes() argument [all …]
|
| H A D | cpputype.cxx | 82 const OString& typeName, in CppuType() argument 88 , m_typeName(typeName) in CppuType() 89 , m_name(typeName.copy(typeName.lastIndexOf('/') + 1)) in CppuType() 92 , m_dependencies(typeMgr, typeName) in CppuType() 707 rtl::OString typeName( in dumpCppuGetTypeMemberDecl() local 710 if (aFinishedTypes.count(typeName) == 0) in dumpCppuGetTypeMemberDecl() 712 aFinishedTypes.insert(typeName); in dumpCppuGetTypeMemberDecl() 713 dumpCppuGetType(o, typeName, sal_True, eDeclFlag); in dumpCppuGetTypeMemberDecl() 796 OString typeName = (!type.isEmpty() ? type : m_typeName); in getTypeClass() local 801 typeName = type; in getTypeClass() [all …]
|
| H A D | cpputype.hxx | 56 const ::rtl::OString& typeName, 157 const ::rtl::OString& typeName, 217 const ::rtl::OString& typeName, 234 const ::rtl::OString& typeName, 247 const ::rtl::OString& typeName, 285 const ::rtl::OString& typeName, 301 const ::rtl::OString& typeName, 318 const ::rtl::OString& typeName, 378 bool produceType(const ::rtl::OString& typeName, 383 bool produceType(RegistryKey& typeName, bool bIsExtraType,
|
| /trunk/main/pyuno/source/module/ |
| H A D | uno.py | 52 def getTypeByName( typeName): argument 56 return pyuno.getTypeByName( typeName ) 58 def createUnoStruct( typeName, *args ): argument 71 return getClass(typeName)( *args ) 73 def getClass( typeName ): argument 76 return pyuno.getClass(typeName) 119 def __init__(self,typeName, value): argument 120 self.typeName = typeName 125 return "<uno.Enum %s (%r)>" % (self.typeName, self.value) 130 return (self.typeName == that.typeName) and (self.value == that.value) [all …]
|
| /trunk/main/codemaker/source/javamaker/ |
| H A D | javamaker.cxx | 44 OString typeName = typeMgr.getTypeName(rTypeKey); in produceAllTypes() local 50 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 54 RegistryKeyList typeKeys = typeMgr.getTypeKeys(typeName); in produceAllTypes() 89 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 95 if (!produceType(typeName, typeMgr, generated, pOptions)) in produceAllTypes() 99 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 103 RegistryKeyList typeKeys = typeMgr.getTypeKeys(typeName); in produceAllTypes() 175 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 179 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 181 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
| /trunk/main/idlc/source/ |
| H A D | astscope.cxx | 271 OString typeName; in lookupPrimitiveType() local 285 typeName = OString("short"); in lookupPrimitiveType() 288 typeName = OString("unsigned short"); in lookupPrimitiveType() 291 typeName = OString("long"); in lookupPrimitiveType() 294 typeName = OString("unsigned long"); in lookupPrimitiveType() 297 typeName = OString("hyper"); in lookupPrimitiveType() 300 typeName = OString("unsigned hyper"); in lookupPrimitiveType() 303 typeName = OString("float"); in lookupPrimitiveType() 306 typeName = OString("double"); in lookupPrimitiveType() 309 typeName = OString("char"); in lookupPrimitiveType() [all …]
|
| /trunk/main/rdbmaker/source/rdbmaker/ |
| H A D | rdbtype.cxx | 57 sal_Bool produceDependedTypes(const OString& typeName, in produceDependedTypes() argument 67 TypeUsingSet usingSet(typeDependencies.getDependencies(typeName)); in produceDependedTypes() 104 sal_Bool produceType(const OString& typeName, in produceType() argument 113 if (typeDependencies.isGenerated(typeName) ) in produceType() 121 if( !checkTypeDependencies(typeMgr, typeDependencies, typeName, bDepend)) in produceType() 124 if ( !checkFilterTypes(typeName) ) in produceType() 128 o << typeName.getStr() << "\n"; in produceType() 151 TypeReader reader = typeMgr.getTypeReader(typeName); in produceType() 155 if (typeName.equals("/")) in produceType() 164 if ( regKey.createKey( OStringToOUString(typeName, RTL_TEXTENCODING_UTF8), typeKey) ) in produceType() [all …]
|
| H A D | rdbmaker.cxx | 241 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 250 if (!produceType(typeName, typeMgr, typeDependencies, pOptions, o, regKey, filterTypes2)) in produceAllTypes() 254 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 259 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 413 OString typeName, tmpName; in main() local 418 typeName = tOption.getToken( 0, ';', nIndex); in main() 419 sal_Int32 lastIndex = typeName.lastIndexOf('.'); in main() 420 tmpName = typeName.copy( lastIndex+1 ); in main() 431 if (typeName.equals("*")) in main() 436 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in main() [all …]
|
| /trunk/main/registry/inc/registry/ |
| H A D | writer.hxx | 81 rtl::OUString const & typeName, sal_uInt16 superTypeCount, in Writer() argument 87 published, typeName.pData, superTypeCount, fieldCount, in Writer() 112 void setSuperTypeName(sal_uInt16 index, rtl::OUString const & typeName) { in setSuperTypeName() argument 113 if (!typereg_writer_setSuperTypeName(m_handle, index, typeName.pData)) { in setSuperTypeName() 142 rtl::OUString const & typeName, RTConstValue const & value) in setFieldData() argument 146 name.pData, typeName.pData, value.m_type, value.m_value)) in setFieldData() 205 rtl::OUString const & typeName) in setMethodParameterData() argument 209 typeName.pData)) in setMethodParameterData() 230 rtl::OUString const & typeName) in setMethodExceptionTypeName() argument 233 m_handle, methodIndex, exceptionIndex, typeName.pData)) in setMethodExceptionTypeName() [all …]
|
| H A D | writer.h | 74 rtl_uString const * typeName, sal_uInt16 superTypeCount, 104 void * handle, sal_uInt16 index, rtl_uString const * typeName) 136 rtl_uString const * typeName, RTValueType valueType, 195 RTParamMode flags, rtl_uString const * name, rtl_uString const * typeName) 218 rtl_uString const * typeName) 244 RTReferenceType sort, RTFieldAccess flags, rtl_uString const * typeName)
|
| /trunk/main/registry/source/ |
| H A D | reflwrit.cxx | 376 const OString& typeName, 404 const OString& typeName, in setData() argument 419 m_typeName = typeName; in setData() 467 void setData(const OString& typeName, 481 void ParamEntry::setData(const OString& typeName, in setData() argument 486 m_typeName = typeName; in setData() 698 const OString& typeName, 716 const OString& typeName, in TypeWriter() argument 726 , m_typeName(typeName) in TypeWriter() 1249 rtl_uString const * typeName, RTValueType valueType, in typereg_writer_setFieldData() argument [all …]
|
| /trunk/main/unodevtools/source/unodevtools/ |
| H A D | typemanager.cxx | 172 OString typeName = OUStringToOString(rTypeKey.getName(), RTL_TEXTENCODING_UTF8); in getTypeName() local 174 if (typeName.indexOf(sBase) == 0) { in getTypeName() 175 typeName = typeName.copy(typeName.indexOf('/', 1) + 1); in getTypeName() 177 typeName = typeName.copy(1); in getTypeName() 179 return typeName; in getTypeName() 184 const OString& typeName, sal_uInt32* pBlob);
|
| /trunk/main/cli_ure/source/uno_bridge/ |
| H A D | cli_data.cxx | 61 OUString mapCliTypeName(System::String ^ typeName); 483 System::String ^ mapUnoTypeName(rtl_uString const * typeName) 485 OUString usUnoName( const_cast< rtl_uString * >( typeName ) ); 653 OUString mapCliTypeName(System::String ^ typeName) 660 int cur = typeName->Length - 1; 664 System::Char c = typeName[cur]; 674 mapCliString(typeName)); 683 mapCliString(typeName)); 692 mapCliString(typeName)); 694 typeName = typeName->Substring(0, cur + 1); [all …]
|
| /trunk/main/ridljar/java/ridl/src/main/java/com/sun/star/uno/ |
| H A D | Type.java | 183 public Type(String typeName, TypeClass typeClass) { in Type() argument 185 _typeName = typeName; in Type() 272 public Type(String typeName) { in Type() argument 273 if (typeName.startsWith("[]")) { in Type() 274 _typeName = typeName; in Type() 279 if (__typeClassToTypeName[i].equals(typeName)) { in Type() 280 _typeName = typeName; in Type() 285 int i = typeName.indexOf('<'); in Type() 288 typeName, in Type() 289 Class.forName(i < 0 ? typeName : typeName.substring(0, i)), in Type()
|
| /trunk/main/codemaker/source/codemaker/ |
| H A D | typemanager.cxx | 161 OString typeName = OUStringToOString(rTypeKey.getName(), RTL_TEXTENCODING_UTF8); in getTypeName() local 164 typeName = typeName.copy(typeName.indexOf('/', 1) + 1); in getTypeName() 166 typeName = typeName.copy(1); in getTypeName() 168 return typeName; in getTypeName()
|