Lines Matching refs:p1
1215 const char *p1 = p0 + aName.Len() - 1; in GetExtension() local
1216 while ( p1 >= p0 && *p1 != cSep ) in GetExtension()
1217 p1--; in GetExtension()
1219 if ( p1 >= p0 ) in GetExtension()
1222 aName.Copy( static_cast< xub_StrLen >(p1 - p0 + 1) ), in GetExtension()
1242 const char *p1 = p0 + aName.Len() - 1; in GetBase() local
1243 while ( p1 >= p0 && *p1 != cSep ) in GetBase()
1244 p1--; in GetBase()
1246 if ( p1 >= p0 ) in GetBase()
1249 aName.Copy( 0, static_cast< xub_StrLen >(p1 - p0) ), in GetBase()
1675 const char *p1 = p0 + aName.Len() - 1; in SetExtension() local
1676 while ( p1 >= p0 && *p1 != cSep ) in SetExtension()
1677 p1--; in SetExtension()
1678 if ( p1 >= p0 ) in SetExtension()
1683 p1 - p0 + 1 - ( rExtension.Len() ? 0 : 1 )) ); in SetExtension()
1709 const char *p1 = p0 + aName.Len() - 1; in CutExtension() local
1710 while ( p1 >= p0 && *p1 != cSep ) in CutExtension()
1711 p1--; in CutExtension()
1713 if ( p1 >= p0 ) in CutExtension()
1716 aName.Erase( static_cast< xub_StrLen >(p1-p0) ); in CutExtension()
1717 return String(p1 + 1, osl_getThreadTextEncoding()); in CutExtension()
1983 const char *p1 = p0 + aName.Len() - 1; in SetBase() local
1984 while ( p1 >= p0 && *p1 != cSep ) in SetBase()
1985 p1--; in SetBase()
1987 if ( p1 >= p0 ) in SetBase()
1990 aName.Erase( 0, static_cast< xub_StrLen >(p1 - p0) ); in SetBase()