/trunk/main/ridljar/java/ridl/src/main/java/com/sun/star/lib/uno/typedesc/ |
H A D | TypeDescription.java | 52 Type t = new Type(typeName); in getTypeDescription() 54 if (typeName.startsWith("[]")) { in getTypeDescription() 205 return typeName; in getTypeName() 386 this.typeName = typeName; in TypeDescription() 516 int i = typeName.indexOf('<'); in calculateTypeArguments() 545 if (j != typeName.length()) { in calculateTypeArguments() 556 } while (i != typeName.length() && typeName.charAt(i) != '>'); in calculateTypeArguments() 557 if (i != typeName.length() - 1 || typeName.charAt(i) != '>' in calculateTypeArguments() 688 map.remove(e.typeName); in cleanUp() 698 public final String typeName; field in TypeDescription.Cache.Entry [all …]
|
/trunk/main/codemaker/source/cunomaker/ |
H A D | cunotype.cxx | 41 const OString& typeName, in CunoType() argument 49 , m_typeName(typeName) in CunoType() 228 OString typeName; in dumpDependedTypes() local 232 typeName = (*iter).m_type; in dumpDependedTypes() 234 typeName = typeName.copy(index + 1); in dumpDependedTypes() 238 if (!produceType(typeName, in dumpDependedTypes() 321 tmpBuf.append(typeName); in dumpInclude() 338 tmpBuf.append(typeName); in dumpInclude() 537 << typeName <<" );\n"; in dumpLGetCunoType() 946 typeName = type; in getTypeClass() [all …]
|
H A D | cunomaker.cxx | 39 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 46 if (!produceType(typeName, typeMgr, typeDependencies, pOptions)) in produceAllTypes() 50 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 54 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 121 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 126 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 128 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 129 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 133 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 138 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); 151 const ::rtl::OString& typeName, 191 const ::rtl::OString& typeName, 209 const ::rtl::OString& typeName, 222 const ::rtl::OString& typeName, 237 const ::rtl::OString& typeName, 252 const ::rtl::OString& typeName, 270 const ::rtl::OString& typeName, [all …]
|
/trunk/main/codemaker/source/idlmaker/ |
H A D | idltype.cxx | 46 , m_typeName(typeName) in IdlType() 122 OString typeName; in dumpDependedTypes() local 128 typeName = typeName.copy(index + 1); in dumpDependedTypes() 184 tmpBuf.append(typeName); in dumpInclude() 194 tmpBuf.append(typeName); in dumpInclude() 286 OString typeName(type); in dumpNameSpace() local 288 if ( typeName.isEmpty() ) in dumpNameSpace() 290 typeName = m_typeName; in dumpNameSpace() 294 if (typeName == "/") in dumpNameSpace() 301 typeName = typeName.copy( 0, typeName.lastIndexOf( '/' ) ); in dumpNameSpace() [all …]
|
H A D | idlmaker.cxx | 39 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 46 if (!produceType(typeName, typeMgr, typeDependencies, pOptions)) in produceAllTypes() 50 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 54 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 121 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 126 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 128 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 129 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 133 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 138 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); 120 const ::rtl::OString& typeName, 147 const ::rtl::OString& typeName, 162 const ::rtl::OString& typeName, 175 const ::rtl::OString& typeName, 190 const ::rtl::OString& typeName, 205 const ::rtl::OString& typeName, 218 const ::rtl::OString& typeName, [all …]
|
/trunk/main/codemaker/source/bonobowrappermaker/ |
H A D | corbatype.cxx | 45 const OString& typeName, in CorbaType() argument 51 , m_typeName(typeName) in CorbaType() 99 OString typeName; in dumpDependedTypes() local 105 typeName = typeName.copy(index + 1); in dumpDependedTypes() 378 OString typeName(type); in dumpNameSpace() local 382 typeName = m_typeName; in dumpNameSpace() 386 if (typeName == "/") in dumpNameSpace() 393 typeName = typeName.copy( 0, typeName.lastIndexOf( '/' ) ); in dumpNameSpace() 418 typeName = typeName.copy( 0, nPos ); in dumpNameSpace() 494 typeName = type; in getTypeClass() [all …]
|
H A D | corbamaker.cxx | 39 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 50 …if (!produceType(typeName, typeMgr, typeDependencies, pOptions, o, pAllreadyDumped, generatedConve… in produceAllTypes() 54 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 58 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 152 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 157 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 159 sal_Int32 nPos = typeName.lastIndexOf( '.' ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 160 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 164 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() 169 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
H A D | corbatype.hxx | 75 const ::rtl::OString& typeName, 89 …pIncludes(FileStream& o, TypeSet* allreadyDumped, const ::rtl::OString& typeName, sal_Char* prefix… 121 sal_Bool isDerivedFromUnknown(const ::rtl::OString& typeName); 168 const ::rtl::OString& typeName, 196 const ::rtl::OString& typeName, 212 const ::rtl::OString& typeName, 226 const ::rtl::OString& typeName, 242 const ::rtl::OString& typeName, 258 const ::rtl::OString& typeName, 272 const ::rtl::OString& typeName, [all …]
|
/trunk/main/codemaker/source/cppumaker/ |
H A D | cppumaker.cxx | 52 OString typeName = typeMgr.getTypeName(rTypeKey); in produce() local 53 failed(typeName, options); in produce() 62 failed(typeName, options); in produce() 73 OString typeName = typeMgr.getTypeName(rTypeKey); in produceAllTypes() local 77 RegistryKeyList typeKeys = typeMgr.getTypeKeys(typeName); in produceAllTypes() 107 void produceAllTypes(const OString& typeName, in produceAllTypes() argument 114 produce(typeName, typeMgr, generated, pOptions); in produceAllTypes() 184 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 188 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 195 if (typeName.equals("*")) in SAL_IMPLEMENT_MAIN_WITH_ARGS() [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() 709 rtl::OString typeName( in dumpCppuGetTypeMemberDecl() local 803 typeName = type; in getTypeClass() 807 typeName = m_typeName; in getTypeClass() 4210 if (typeName.equals("/") || typeName.equals(typeMgr.getBase()) || in produceType() 4211 TypeManager::isBaseType(typeName) || generated.contains(typeName)) in produceType() 4248 generated.add(typeName); in produceType() 4346 if (typeName.equals("/") ||typeName.equals(typeMgr.getBase()) || in produceType() [all …]
|
H A D | cpputype.hxx | 56 const ::rtl::OString& typeName, 158 const ::rtl::OString& typeName, 218 const ::rtl::OString& typeName, 235 const ::rtl::OString& typeName, 248 const ::rtl::OString& typeName, 286 const ::rtl::OString& typeName, 302 const ::rtl::OString& typeName, 319 const ::rtl::OString& typeName, 382 bool produceType(const ::rtl::OString& typeName, 388 bool produceType(RegistryKey& typeName, bool bIsExtraType,
|
/trunk/main/pyuno/source/module/ |
H A D | uno.py | 52 def getTypeByName( typeName): argument 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 130 return (self.typeName == that.typeName) and (self.value == that.value) 137 self.typeName = typeName 146 return self.typeClass == that.typeClass and self.typeName == that.typeName [all …]
|
H A D | pyuno_type.cxx | 170 PyRef typeName( PyObject_GetAttrString( obj,const_cast< char * >("typeName") ), SAL_NO_ACQUIRE); in PyEnum2Enum() local 172 if( !PYSTR_CHECK( typeName.get() ) || ! PYSTR_CHECK( value.get() ) ) in PyEnum2Enum() 179 OUString strTypeName( pyString2ustring( typeName.get() ) ); in PyEnum2Enum() 284 const char *typeName = PyUnicode_AsUTF8( str ); in importToGlobal() local 289 const char *typeName = PyBytes_AsString( pTypeName.get() ); in importToGlobal() local 292 const char *typeName = PyBytes_AsString( str ); in importToGlobal() local 297 PyUNO_Type_new( typeName, tc, runtime ) ); in importToGlobal() 414 PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r ) in PyUNO_Type_new() argument 419 PyTuple_SetItem( args.get() , 0 , PYSTR_FROMSTR( typeName ) ); in PyUNO_Type_new()
|
/trunk/main/codemaker/source/javamaker/ |
H A D | javamaker.cxx | 45 OString typeName = typeMgr.getTypeName(rTypeKey); in produceAllTypes() local 51 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 55 RegistryKeyList typeKeys = typeMgr.getTypeKeys(typeName); in produceAllTypes() 90 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 97 if (!produceType(typeName, typeMgr, generated, pOptions)) in produceAllTypes() 101 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 177 OString typeName, tmpName; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 181 typeName = tOption.getToken(0, ';', nIndex); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 184 tmpName = typeName.copy( nPos != -1 ? nPos+1 : 0 ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 188 if (typeName.equals("*")) 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() 291 typeName = OString("long"); in lookupPrimitiveType() 297 typeName = OString("hyper"); in lookupPrimitiveType() 303 typeName = OString("float"); in lookupPrimitiveType() 306 typeName = OString("double"); in lookupPrimitiveType() 309 typeName = OString("char"); in lookupPrimitiveType() 312 typeName = OString("byte"); in lookupPrimitiveType() 318 typeName = OString("any"); in lookupPrimitiveType() 321 typeName = OString("void"); in lookupPrimitiveType() [all …]
|
/trunk/main/rdbmaker/source/rdbmaker/ |
H A D | rdbtype.cxx | 57 sal_Bool produceDependedTypes(const OString& typeName, in produceDependedTypes() argument 68 TypeUsingSet usingSet(typeDependencies.getDependencies(typeName)); in produceDependedTypes() 105 sal_Bool produceType(const OString& typeName, in produceType() argument 115 if (typeDependencies.isGenerated(typeName) ) in produceType() 123 if( !checkTypeDependencies(typeMgr, typeDependencies, typeName, bDepend)) in produceType() 126 if ( !checkFilterTypes(typeName) ) in produceType() 130 o << typeName.getStr() << "\n"; in produceType() 153 TypeReader reader = typeMgr.getTypeReader(typeName); in produceType() 157 if (typeName.equals("/")) in produceType() 183 typeDependencies.setGenerated(typeName); in produceType() [all …]
|
H A D | rdbmaker.cxx | 241 sal_Bool produceAllTypes(const OString& typeName, in produceAllTypes() argument 255 OString("cannot dump Type '" + typeName + "'").getStr()); in produceAllTypes() 260 RegistryKey typeKey = typeMgr.getTypeKey(typeName); in produceAllTypes() 414 OString typeName, tmpName; in main() local 419 typeName = tOption.getToken( 0, ';', nIndex); in main() 420 sal_Int32 lastIndex = typeName.lastIndexOf('.'); in main() 421 tmpName = typeName.copy( lastIndex+1 ); in main() 432 if (typeName.equals("*")) in main() 437 tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); in main() 448 ret = produceType(typeName.replace('.', '/'), typeMgr, typeDependencies, 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 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() 260 rtl::OUString const & typeName) in setReferenceData() argument [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() 1337 rtl_uString const * typeName) in typereg_writer_setMethodExceptionTypeName() 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); 474 System::String* mapUnoTypeName(rtl_uString const * typeName) in mapUnoTypeName() argument 476 OUString usUnoName( const_cast< rtl_uString * >( typeName ) ); in mapUnoTypeName() 637 OUString mapCliTypeName(System::String* typeName) in mapCliTypeName() argument 644 int cur = typeName->Length - 1; in mapCliTypeName() 648 System::Char c = typeName->Chars[cur]; in mapCliTypeName() 658 mapCliString(typeName)); in mapCliTypeName() 667 mapCliString(typeName)); in mapCliTypeName() 676 mapCliString(typeName)); in mapCliTypeName() 678 typeName = typeName->Substring(0, cur + 1); in mapCliTypeName() [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()
|