Lines Matching refs:p1
1218 const char *p1 = p0 + aName.Len() - 1; in GetExtension() local
1219 while ( p1 >= p0 && *p1 != cSep ) in GetExtension()
1220 p1--; in GetExtension()
1222 if ( p1 >= p0 ) in GetExtension()
1225 aName.Copy( static_cast< xub_StrLen >(p1 - p0 + 1) ), in GetExtension()
1245 const char *p1 = p0 + aName.Len() - 1; in GetBase() local
1246 while ( p1 >= p0 && *p1 != cSep ) in GetBase()
1247 p1--; in GetBase()
1249 if ( p1 >= p0 ) in GetBase()
1252 aName.Copy( 0, static_cast< xub_StrLen >(p1 - p0) ), in GetBase()
1678 const char *p1 = p0 + aName.Len() - 1; in SetExtension() local
1679 while ( p1 >= p0 && *p1 != cSep ) in SetExtension()
1680 p1--; in SetExtension()
1681 if ( p1 >= p0 ) in SetExtension()
1686 p1 - p0 + 1 - ( rExtension.Len() ? 0 : 1 )) ); in SetExtension()
1712 const char *p1 = p0 + aName.Len() - 1; in CutExtension() local
1713 while ( p1 >= p0 && *p1 != cSep ) in CutExtension()
1714 p1--; in CutExtension()
1716 if ( p1 >= p0 ) in CutExtension()
1719 aName.Erase( static_cast< xub_StrLen >(p1-p0) ); in CutExtension()
1720 return String(p1 + 1, osl_getThreadTextEncoding()); in CutExtension()
1986 const char *p1 = p0 + aName.Len() - 1; in SetBase() local
1987 while ( p1 >= p0 && *p1 != cSep ) in SetBase()
1988 p1--; in SetBase()
1990 if ( p1 >= p0 ) in SetBase()
1993 aName.Erase( 0, static_cast< xub_StrLen >(p1 - p0) ); in SetBase()