Lines Matching refs:OString

41 				   const OString& typeName,  in CunoType()
62 OString outerTypeName(typeName.copy(0, i)); in CunoType()
77 sal_Bool CunoType::isNestedTypeByName(const ::rtl::OString& type) in isNestedTypeByName()
85 OString outerTypeName(type.copy(0, i)); in isNestedTypeByName()
92 sal_Bool CunoType::hasNestedType(const ::rtl::OString& type) in hasNestedType()
122 OString outPath; in dump()
126 OString tmpFileName; in dump()
127 OString hFileName = createFileNameFromType(outPath, m_typeName, ".h"); in dump()
155 OString message("cannot open "); in dump()
177 outPath = OString(); in dump()
179 OString cFileName = createFileNameFromType(outPath, m_typeName, ".c"); in dump()
204 OString message("cannot open "); in dump()
228 OString typeName; in dumpDependedTypes()
245 OString("cannot dump Type '" + typeName + "'").getStr()); in dumpDependedTypes()
255 OString CunoType::dumpHeaderDefine(FileStream& o, sal_Char* prefix, sal_Bool bExtended) in dumpHeaderDefine()
281 OString tmp(tmpBuf.makeStringAndClear().replace('/', '_').toAsciiUpperCase()); in dumpHeaderDefine()
311 void CunoType::dumpInclude(FileStream& o, const OString& typeName, sal_Char* prefix, sal_Bool bExte… in dumpInclude()
331 OString tmp(tmpBuf.makeStringAndClear().replace('/', '_').toAsciiUpperCase()); in dumpInclude()
358 void CunoType::dumpDepIncludes(FileStream& o, const OString& typeName, sal_Char* prefix) in dumpDepIncludes()
364 OString sPrefix(OString(prefix).toAsciiUpperCase()); in dumpDepIncludes()
368 OString relType; in dumpDepIncludes()
384 OString defPrefix("H"); in dumpDepIncludes()
408 OString outerNamespace(relType.copy(0,iLastS)); in dumpDepIncludes()
409 OString innerClass(relType.copy(iLastS+1)); in dumpDepIncludes()
412 OString outerClass(outerNamespace.copy(iLastS+1)); in dumpDepIncludes()
423 OString type(relType.replace('/', '_')); in dumpDepIncludes()
436 OString outerNamespace(relType.copy(0,iLastS)); in dumpDepIncludes()
449 OString outerNamespace(relType.copy(0,iLastS)); in dumpDepIncludes()
486 OString nestedName(s.getStr(), s.getLength(), RTL_TEXTENCODING_UTF8); in dumpDepIncludes()
509 OString typeName(m_typeName.replace('/', '_')); in dumpLGetCunoType()
546 OString typeName(m_typeName.replace('/', '_')); in dumpGetCunoType()
583 OString superType(m_reader.getSuperTypeName()); in dumpGetCunoType()
612 OString fieldType, fieldName; in dumpGetCunoType()
613 OString scope = m_typeName.replace('/', '.'); in dumpGetCunoType()
615 OString modFieldType; in dumpGetCunoType()
680 OString typeName(m_typeName.replace('/', '_')); in dumpCGetCunoType()
705 OString superType(m_reader.getSuperTypeName()); in dumpCGetCunoType()
741 OString fieldType, fieldName; in dumpCGetCunoType()
742 OString scope = m_typeName.replace('/', '.'); in dumpCGetCunoType()
767 << getTypeClass(OString(), sal_True) << ", pTypeName,\n"; in dumpCGetCunoType()
786 << getTypeClass(OString(), sal_True) << ", pTD);\n\n"; in dumpCGetCunoType()
870 OString superType(pReader->getSuperTypeName()); in checkInheritedMemberCount()
909 void CunoType::dumpInheritedMembers(FileStream& o, rtl::OString& superType) in dumpInheritedMembers()
913 OString baseType(aSuperReader.getSuperTypeName()); in dumpInheritedMembers()
921 OString fieldName; in dumpInheritedMembers()
922 OString fieldType; in dumpInheritedMembers()
939 OString CunoType::getTypeClass(const OString& type, sal_Bool bCStyle) in getTypeClass()
941 OString typeName = ( !type.isEmpty() ? type : m_typeName ); in getTypeClass()
976 OString realType = checkRealBaseType( typeName ); in getTypeClass()
1023 void CunoType::dumpType(FileStream& o, const OString& type, in dumpType()
1027 OString sType(checkRealBaseType(type, sal_True)); in dumpType()
1031 OString relType = (index > 0 ? (sType).copy(index+1) : type); in dumpType()
1061 OString tmp(getBaseType(relType)); in dumpType()
1085 OString CunoType::getBaseType(const OString& type) in getBaseType()
1120 return OString(); in getBaseType()
1123 void CunoType::dumpCppuGetType(FileStream& o, const OString& type, sal_Bool bDecl, CunoTypeDecl eDe… in dumpCppuGetType()
1125 OString sType( checkRealBaseType(type, sal_True) ); in dumpCppuGetType()
1127 OString relType = (index > 0 ? (sType).copy(index+1) : type); in dumpCppuGetType()
1169 void CunoType::dumpTypeInit(FileStream& o, const OString& typeName) in dumpTypeInit()
1171 OString type(checkSpecialCunoType(typeName)); in dumpTypeInit()
1219 BASETYPE CunoType::isBaseType(const OString& type) in isBaseType()
1253 OString CunoType::typeToIdentifier(const OString& type) in typeToIdentifier()
1258 OString relType = (index > 0 ? ((OString)type).copy(index+1) : type); in typeToIdentifier()
1259 OString sIdentifier; in typeToIdentifier()
1263 sIdentifier += OString("seq"); in typeToIdentifier()
1267 sIdentifier += OString("_"); in typeToIdentifier()
1283 OString CunoType::checkSpecialCunoType(const OString& type) in checkSpecialCunoType()
1285 OString baseType(type); in checkSpecialCunoType()
1316 sal_Bool CunoType::isSeqType(const OString& type, OString& baseType, OString& seqPrefix) in isSeqType()
1321 baseType = ((OString)type).copy(index+1); in isSeqType()
1322 seqPrefix = ((OString)type).copy(0, index+1); in isSeqType()
1327 seqPrefix = OString(); in isSeqType()
1332 sal_Bool CunoType::isArrayType(const OString& type, OString& baseType, OString& arrayPrefix) in isArrayType()
1337 baseType = ((OString)type).copy(0, index-1); in isArrayType()
1338 arrayPrefix = ((OString)type).copy(index); in isArrayType()
1343 arrayPrefix = OString(); in isArrayType()
1348 OString CunoType::checkRealBaseType(const OString& type, sal_Bool bResolveTypeOnly) in checkRealBaseType()
1350 OString realType; in checkRealBaseType()
1351 OString baseType; in checkRealBaseType()
1352 OString completePrefix; in checkRealBaseType()
1353 OString prefix; in checkRealBaseType()
1433 ::rtl::OString tmp( OString::valueOf(constValue.m_value.aHyper) ); in dumpConstantValue()
1439 ::rtl::OString tmp( OString::valueOf((sal_Int64)constValue.m_value.aUHyper) ); in dumpConstantValue()
1445 ::rtl::OString tmp( OString::valueOf(constValue.m_value.aFloat) ); in dumpConstantValue()
1451 ::rtl::OString tmp( OString::valueOf(constValue.m_value.aDouble) ); in dumpConstantValue()
1458 ::rtl::OString aStr = ::rtl::OUStringToOString(aUStr, RTL_TEXTENCODING_ASCII_US); in dumpConstantValue()
1478 OString CunoType::indent() in indent()
1489 OString CunoType::indent(sal_uInt32 num) in indent()
1504 const OString& typeName, in InterfaceType()
1522 OString headerDefine(dumpHeaderDefine(o, "H")); in dumpHFile()
1573 void InterfaceType::dumpInheritedFunctions(FileStream& o, rtl::OString& superType) in dumpInheritedFunctions()
1577 OString baseType(aSuperReader.getSuperTypeName()); in dumpInheritedFunctions()
1593 OString superType(m_reader.getSuperTypeName()); in dumpDeclaration()
1734 void InterfaceType::dumpAttributes(FileStream& o, const OString& interfaceType, TypeReader& reader ) in dumpAttributes()
1740 OString fieldName; in dumpAttributes()
1741 OString fieldType; in dumpAttributes()
1765 OString relType = checkSpecialCunoType(fieldType); in dumpAttributes()
1786 void InterfaceType::dumpMethods(FileStream& o, const OString& interfaceType, TypeReader& reader ) in dumpMethods()
1791 OString methodName, returnType, paramType, paramName; in dumpMethods()
1854 OString relType = checkSpecialCunoType(paramType); in dumpMethods()
1880 OString typeName(m_typeName.replace('/', '_')); in dumpGetCunoType()
1916 OString superType(m_reader.getSuperTypeName()); in dumpGetCunoType()
1950 OString typeName(m_typeName.replace('/', '_')); in dumpCGetCunoType()
1975 OString superType(m_reader.getSuperTypeName()); in dumpCGetCunoType()
2060 OString sRunTimeExceptionType("com/sun/star/uno/RuntimeException"); in dumpCGetCunoType()
2132 OString fieldName; in dumpCUnoAttributeRefs()
2133 OString scope = m_typeName.replace('/', '.'); in dumpCUnoAttributeRefs()
2157 OString methodName; //, returnType, paramType, paramName; in dumpCUnoMethodRefs()
2158 OString scope = m_typeName.replace('/', '.'); in dumpCUnoMethodRefs()
2209 OString superType(pReader->getSuperTypeName()); in checkInheritedMemberCount()
2253 OString fieldType; in dumpCUnoAttributes()
2294 OString methodName, returnType, paramType, paramName; in dumpCUnoMethods()
2377 << OString(m_reader.getMethodExcType(i, j)).replace('/', '.') << "\" );\n"; in dumpCUnoMethods()
2444 OString fieldName; in dumpAttributesCppuDecl()
2445 OString fieldType; in dumpAttributesCppuDecl()
2467 OString returnType, paramType, excType; in dumpMethodsCppuDecl()
2510 const OString& typeName, in ModuleType()
2530 OString outPath; in dump()
2534 OString tmpName(m_typeName); in dump()
2542 OString tmpFileName; in dump()
2543 OString hFileName = createFileNameFromType(outPath, tmpName, ".hdl"); in dump()
2571 OString message("cannot open "); in dump()
2640 OString headerDefine(dumpHeaderDefine(o, "H", bSpecialDefine)); in dumpHFile()
2663 OString fieldName; in dumpDeclaration()
2664 OString fieldType; in dumpDeclaration()
2711 const OString& typeName, in ConstantsType()
2731 OString outPath; in dump()
2735 OString tmpFileName; in dump()
2736 OString hFileName = createFileNameFromType(outPath, m_typeName, ".h"); in dump()
2764 OString message("cannot open "); in dump()
2826 const OString& typeName, in StructureType()
2841 OString headerDefine(dumpHeaderDefine(o, "H")); in dumpHFile()
2879 OString superType(m_reader.getSuperTypeName()); in dumpDeclaration()
2886 OString fieldName; in dumpDeclaration()
2887 OString fieldType; in dumpDeclaration()
2936 const OString& typeName, in ExceptionType()
2951 OString headerDefine(dumpHeaderDefine(o, "H")); in dumpHFile()
2989 OString superType(m_reader.getSuperTypeName()); in dumpDeclaration()
2996 OString fieldName; in dumpDeclaration()
2997 OString fieldType; in dumpDeclaration()
3047 const OString& typeName, in EnumType()
3062 OString headerDefine(dumpHeaderDefine(o, "H")); in dumpHFile()
3094 OString fieldName; in dumpDeclaration()
3135 OString typeName(m_typeName.replace('/', '_')); in dumpGetCunoType()
3181 OString typeName(m_typeName.replace('/', '_')); in dumpCGetCunoType()
3248 << getTypeClass(OString(), sal_True) << ", pTD);\n\n"; in dumpCGetCunoType()
3275 const OString& typeName, in TypeDefType()
3290 OString headerDefine(dumpHeaderDefine(o, "H")); in dumpHFile()
3364 sal_Bool produceType(const OString& typeName, in produceType()
3472 OString scopedName(const OString& scope, const OString& type, in scopedName()
3496 OString shortScopedName(const OString& scope, const OString& type, in shortScopedName()
3501 return OString(); in shortScopedName()
3504 return OString(); in shortScopedName()
3509 OString tmpScp(scope.copy(0, scope.lastIndexOf('/'))); in shortScopedName()
3510 OString tmpScp2(type.copy(0, nPos)); in shortScopedName()
3513 return OString(); in shortScopedName()
3516 OString aScope( type.copy( 0, nPos ) ); in shortScopedName()