Home
last modified time | relevance | path

Searched refs:ustrSystemPath (Results 1 – 9 of 9) sorted by relevance

/trunk/main/sal/osl/unx/
H A Dfile_url.cxx304 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath()
309 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->lengt… in osl_getFileURLFromSystemPath()
334 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) in osl_getFileURLFromSystemPath()
337 if( ( 1 == ustrSystemPath->length ) || ( (sal_Unicode)'/' == ustrSystemPath->buffer[1] ) ) in osl_getFileURLFromSystemPath()
357 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrSystemPath->buffer, ustrSystemPath->length, pDoubleSl… in osl_getFileURLFromSystemPath()
368 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
384 rtl_uString_assign( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
825 rtl_uString* ustrSystemPath = NULL; in FileURLToPath() local
831 osl_systemPathRemoveSeparator(ustrSystemPath); in FileURLToPath()
834 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()
[all …]
H A Dfile_misc.cxx149 rtl_uString* ustrSystemPath = NULL; in osl_openDirectory() local
158 eRet = osl_getSystemPathFromFileURL_Ex(ustrDirectoryURL, &ustrSystemPath, sal_False); in osl_openDirectory()
163 osl_systemPathRemoveSeparator(ustrSystemPath); in osl_openDirectory()
166 if ( UnicodeToText( path, PATH_MAX, ustrSystemPath->buffer, ustrSystemPath->length ) in osl_openDirectory()
183 pDirImpl->ustrPath = ustrSystemPath; in osl_openDirectory()
202 rtl_uString_release( ustrSystemPath ); in osl_openDirectory()
326 rtl_uString* ustrSystemPath = NULL; in osl_getDirectoryItem() local
337 osl_systemPathRemoveSeparator(ustrSystemPath); in osl_getDirectoryItem()
339 if (-1 == access_u(ustrSystemPath, F_OK)) in osl_getDirectoryItem()
345 *pItem = new DirectoryItem_Impl(ustrSystemPath); in osl_getDirectoryItem()
[all …]
/trunk/main/sal/osl/os2/
H A Dfile_url.cxx674 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath()
681 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->lengt… in osl_getFileURLFromSystemPath()
706 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) in osl_getFileURLFromSystemPath()
709 if( ( 1 == ustrSystemPath->length ) || ( (sal_Unicode)'/' == ustrSystemPath->buffer[1] ) ) in osl_getFileURLFromSystemPath()
729 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrSystemPath->buffer, ustrSystemPath->length, pDoubleSl… in osl_getFileURLFromSystemPath()
740 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
756 rtl_uString_assign( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
1609 rtl_uString* ustrSystemPath = NULL; in FileURLToPath() local
1615 osl_systemPathRemoveSeparator(ustrSystemPath); in FileURLToPath()
1618 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()
[all …]
H A Dfile.cxx826 rtl_uString *ustrSystemPath = NULL; in _osl_openLocalRoot() local
845 pDirImpl->ustrPath = ustrSystemPath; in _osl_openLocalRoot()
872 rtl_uString_release( ustrSystemPath ); in _osl_openLocalRoot()
964 rtl_uString* ustrSystemPath = NULL; in osl_openDirectory() local
984 osl_systemPathRemoveSeparator(ustrSystemPath); in osl_openDirectory()
987 if ( UnicodeToText( path, PATH_MAX, ustrSystemPath->buffer, ustrSystemPath->length ) ) in osl_openDirectory()
1005 pDirImpl->ustrPath = ustrSystemPath; in osl_openDirectory()
1021 rtl_uString_release( ustrSystemPath ); in osl_openDirectory()
2689 rtl_uString *ustrSystemPath = NULL; in _osl_getDriveInfo() local
2692 osl_getFileURLFromSystemPath( ustrSystemPath, &pStatus->ustrFileURL ); in _osl_getDriveInfo()
[all …]
/trunk/main/l10ntools/source/help/
H A DHelpCompiler.hxx79 rtl::OUString ustrSystemPath(rtl::OStringToOUString(tmp, getThreadTextEncoding())); in path() local
80 osl::File::getFileURLFromSystemPath(ustrSystemPath, data); in path()
90 ::rtl::OUString ustrSystemPath; in native_file_string()
91 osl::File::getSystemPathFromFileURL(data, ustrSystemPath); in native_file_string()
92 rtl::OString tmp(rtl::OUStringToOString(ustrSystemPath, getThreadTextEncoding())); in native_file_string()
99 ::rtl::OUString ustrSystemPath; in native_file_string_w()
100 osl::File::getSystemPathFromFileURL(data, ustrSystemPath); in native_file_string_w()
101 return reinterpret_cast< wchar_t const * >(ustrSystemPath.getStr()); in native_file_string_w()
117 rtl::OUString ustrSystemPath(rtl::OStringToOUString(tmp, getThreadTextEncoding())); in operator /() local
119 ret.data += ustrSystemPath; in operator /()
[all …]
/trunk/main/sal/osl/all/
H A Dfilepath.c33 oslFileError SAL_CALL osl_abbreviateSystemPath( rtl_uString *ustrSystemPath, rtl_uString **pustrCom… in osl_abbreviateSystemPath() argument
44 …_Int32 iLastSlash = rtl_ustr_lastIndexOfChar_WithLength( ustrSystemPath->buffer, ustrSystemPath->l… in osl_abbreviateSystemPath()
48 rtl_uString_newFromStr_WithLength( &ustrPath, ustrSystemPath->buffer, iLastSlash ); in osl_abbreviateSystemPath()
49 …rtl_uString_newFromStr_WithLength( &ustrFile, &ustrSystemPath->buffer[iLastSlash], ustrSystemPath-… in osl_abbreviateSystemPath()
54 rtl_uString_newFromString( &ustrFile, ustrSystemPath ); in osl_abbreviateSystemPath()
/trunk/main/sal/inc/osl/
H A Dfile.hxx192 … RC getSystemPathFromFileURL( const ::rtl::OUString& ustrFileURL, ::rtl::OUString& ustrSystemPath ) in getSystemPathFromFileURL() argument
194 return (RC) osl_getSystemPathFromFileURL( ustrFileURL.pData, &ustrSystemPath.pData ); in getSystemPathFromFileURL()
212 …static inline RC getFileURLFromSystemPath( const ::rtl::OUString& ustrSystemPath, ::rtl::OUString&… in getFileURLFromSystemPath() argument
214 return (RC) osl_getFileURLFromSystemPath( ustrSystemPath.pData, &ustrFileURL.pData ); in getFileURLFromSystemPath()
H A Dfile.h1461 rtl_uString *ustrSystemPath,
/trunk/main/sal/osl/w32/
H A Dfile_dirvol.cxx1622 rtl_uString *ustrSystemPath = NULL; in osl_getDriveInfo() local
1624 …rtl_uString_newFromStr( &ustrSystemPath, reinterpret_cast<const sal_Unicode*>(pItemImpl->cDriveStr… in osl_getDriveInfo()
1625 osl_getFileURLFromSystemPath( ustrSystemPath, &pStatus->ustrFileURL ); in osl_getDriveInfo()
1626 rtl_uString_release( ustrSystemPath ); in osl_getDriveInfo()

Completed in 166 milliseconds