Home
last modified time | relevance | path

Searched refs:EndsWithSlash (Results 1 – 6 of 6) sorted by relevance

/third_party/gn/src/gn/
Dfunction_rebase_path.cc25 if (EndsWithSlash(input)) { in MakeSlashEndingMatchInput()
26 if (!EndsWithSlash(*output)) // Preserve same slash type as input. in MakeSlashEndingMatchInput()
29 if (EndsWithSlash(*output)) in MakeSlashEndingMatchInput()
Dsource_dir.cc24 DCHECK(EndsWithSlash(s)) << s; in AssertValueSourceDirString()
60 if (EndsWithSlash(s)) { // Avoid allocation when possible. in SourceDirStringAtom()
Dfilesystem_utils.cc285 bool EndsWithSlash(std::string_view s) { in EndsWithSlash() function
673 DCHECK(EndsWithSlash(dest)); in MakeRelativePath()
746 if (!EndsWithSlash(input_full)) { in RebasePath()
797 if (!EndsWithSlash(result)) in ResolveRelative()
813 if (!EndsWithSlash(result)) in ResolveRelative()
832 if (!as_file && !EndsWithSlash(result)) in ResolveRelative()
845 if (!as_file && !EndsWithSlash(result)) in ResolveRelative()
Dpath_output.cc18 if (!EndsWithSlash(inverse_current_dir_)) in PathOutput()
Dfilesystem_utils.h63 bool EndsWithSlash(std::string_view s);
Dsource_file.cc23 DCHECK(!EndsWithSlash(s)) << s; in AssertValueSourceFileString()