Lines Matching defs:ReplaceExtension
833 // ReplaceExtension creates a new OutputPath with the extension replaced with ext.
834 func (p OutputPath) ReplaceExtension(ctx PathContext, ext string) OutputPath {
838 ret := PathForOutput(ctx, pathtools.ReplaceExtension(p.path, ext))
839 ret.rel = pathtools.ReplaceExtension(p.rel, ext)
944 return PathForModuleGen(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
948 return PathForModuleObj(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
1041 return PathForModuleGen(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
1045 return PathForModuleObj(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))