Lines Matching refs:pustrPath

70  void SAL_CALL osl_systemPathRemoveSeparator(rtl_uString* pustrPath)  in osl_systemPathRemoveSeparator()  argument
72 OSL_PRECOND(0 != pustrPath, "osl_systemPathRemoveSeparator: Invalid parameter"); in osl_systemPathRemoveSeparator()
73 if (0 != pustrPath) 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()
117 sal_Bool SAL_CALL osl_systemPathIsRelativePath(const rtl_uString* pustrPath) in osl_systemPathIsRelativePath() argument
119 OSL_PRECOND(0 != pustrPath, "osl_systemPathIsRelativePath: Invalid parameter"); in osl_systemPathIsRelativePath()
120 …return ((0 == pustrPath) || (0 == pustrPath->length) || (pustrPath->buffer[0] != FPH_CHAR_PATH_SEP… in osl_systemPathIsRelativePath()
150 const rtl_uString* pustrPath, in osl_systemPathGetFileNameOrLastDirectoryPart() argument
153 OSL_PRECOND(pustrPath && ppustrFileNameOrLastDirPart, \ in osl_systemPathGetFileNameOrLastDirectoryPart()
156 rtl::OUString path(const_cast<rtl_uString*>(pustrPath)); in osl_systemPathGetFileNameOrLastDirectoryPart()
177 const rtl_uString* pustrPath) in osl_systemPathIsHiddenFileOrDirectoryEntry() argument
179 OSL_PRECOND(0 != pustrPath, "osl_systemPathIsHiddenFileOrDirectoryEntry: Invalid parameter"); in osl_systemPathIsHiddenFileOrDirectoryEntry()
180 if ((0 == pustrPath) || (0 == pustrPath->length)) in osl_systemPathIsHiddenFileOrDirectoryEntry()
184 osl_systemPathGetFileNameOrLastDirectoryPart(pustrPath, &fdp.pData); in osl_systemPathIsHiddenFileOrDirectoryEntry()
197 const rtl_uString* pustrPath) in osl_systemPathIsLocalOrParentDirectoryEntry() argument
199 OSL_PRECOND(pustrPath, "osl_systemPathIsLocalOrParentDirectoryEntry: Invalid parameter"); in osl_systemPathIsLocalOrParentDirectoryEntry()
203 osl_systemPathGetFileNameOrLastDirectoryPart(pustrPath, &dirent.pData); in osl_systemPathIsLocalOrParentDirectoryEntry()