Lines Matching refs:pustrPath
71 void SAL_CALL osl_systemPathRemoveSeparator(rtl_uString* pustrPath) in osl_systemPathRemoveSeparator() argument
73 OSL_PRECOND(pustrPath, "osl_systemPathRemoveSeparator: Invalid parameter"); in osl_systemPathRemoveSeparator()
77 …while ((pustrPath->length > 1) && (FPH_CHAR_PATH_SEPARATOR == pustrPath->buffer[pustrPath->length … in osl_systemPathRemoveSeparator()
79 pustrPath->length--; in osl_systemPathRemoveSeparator()
80 pustrPath->buffer[pustrPath->length] = (sal_Unicode)'\0'; in osl_systemPathRemoveSeparator()
83 OSL_POSTCOND((0 == pustrPath->length) || (1 == pustrPath->length) || \ in osl_systemPathRemoveSeparator()
84 … (pustrPath->length > 1 && pustrPath->buffer[pustrPath->length - 1] != FPH_CHAR_PATH_SEPARATOR), \ in osl_systemPathRemoveSeparator()
115 sal_Bool SAL_CALL osl_systemPathIsRelativePath(const rtl_uString* pustrPath) in osl_systemPathIsRelativePath() argument
117 OSL_PRECOND(pustrPath, "osl_systemPathIsRelativePath: Invalid parameter"); in osl_systemPathIsRelativePath()
118 return (!osl_systemPathIsAbsolutePath(pustrPath)); in osl_systemPathIsRelativePath()
125 sal_Bool SAL_CALL osl_systemPathIsAbsolutePath(const rtl_uString* pustrPath) in osl_systemPathIsAbsolutePath() argument
127 OSL_PRECOND(pustrPath, "osl_systemPathIsAbsolutePath: Invalid parameter"); in osl_systemPathIsAbsolutePath()
128 if (pustrPath->length == 0) in osl_systemPathIsAbsolutePath()
130 if (pustrPath->buffer[0] == FPH_CHAR_PATH_SEPARATOR) in osl_systemPathIsAbsolutePath()
132 if (pustrPath->buffer[1] == FPH_CHAR_COLON in osl_systemPathIsAbsolutePath()
133 && pustrPath->buffer[2] == FPH_CHAR_PATH_SEPARATOR) in osl_systemPathIsAbsolutePath()
164 sal_Int32 SAL_CALL osl_systemPathGetParent(rtl_uString* pustrPath) in osl_systemPathGetParent() argument
174 const rtl_uString* pustrPath, in osl_systemPathGetFileNameOrLastDirectoryPart() argument
177 OSL_PRECOND(pustrPath && ppustrFileNameOrLastDirPart, \ in osl_systemPathGetFileNameOrLastDirectoryPart()
180 rtl::OUString path(const_cast<rtl_uString*>(pustrPath)); in osl_systemPathGetFileNameOrLastDirectoryPart()
201 const rtl_uString* pustrPath) in osl_systemPathIsHiddenFileOrDirectoryEntry() argument
203 OSL_PRECOND(pustrPath, "osl_systemPathIsHiddenFileOrDirectoryEntry: Invalid parameter"); in osl_systemPathIsHiddenFileOrDirectoryEntry()
207 if (pustrPath->length > 0) in osl_systemPathIsHiddenFileOrDirectoryEntry()
211 osl_systemPathGetFileNameOrLastDirectoryPart(pustrPath, &fdp.pData); in osl_systemPathIsHiddenFileOrDirectoryEntry()
226 const rtl_uString* pustrPath) in osl_systemPathIsLocalOrParentDirectoryEntry() argument
228 OSL_PRECOND(pustrPath, "osl_systemPathIsLocalOrParentDirectoryEntry: Invalid parameter"); in osl_systemPathIsLocalOrParentDirectoryEntry()
232 osl_systemPathGetFileNameOrLastDirectoryPart(pustrPath, &dirent.pData); in osl_systemPathIsLocalOrParentDirectoryEntry()