Lines Matching refs:path
52 rtl::OUString path(*ppustrPath); in osl_systemPathEnsureSeparator() local
53 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathEnsureSeparator()
55 if (i < (path.getLength()-1)) in osl_systemPathEnsureSeparator()
57 path += BACKSLASH; in osl_systemPathEnsureSeparator()
58 rtl_uString_assign(ppustrPath, path.pData); in osl_systemPathEnsureSeparator()
61 OSL_POSTCOND(path.lastIndexOf(BACKSLASH) == (path.getLength() - 1), \ in osl_systemPathEnsureSeparator()
71 rtl::OUString path(*ppustrPath); in osl_systemPathRemoveSeparator() local
73 if (!osl::systemPathIsLogicalDrivePattern(path)) in osl_systemPathRemoveSeparator()
75 sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); in osl_systemPathRemoveSeparator()
77 if (i > -1 && (i == (path.getLength() - 1))) in osl_systemPathRemoveSeparator()
79 path = rtl::OUString(path.getStr(), path.getLength() - 1); in osl_systemPathRemoveSeparator()
80 rtl_uString_assign(ppustrPath, path.pData); in osl_systemPathRemoveSeparator()