Home | History | Annotate | Download | only in lib

Lines Matching refs:path

16 #include "tensorflow/stream_executor/lib/path.h"
24 static bool IsAbsolutePath(port::StringPiece path) {
25 return !path.empty() && path[0] == '/';
29 // ensuring that the proper path separators are inserted between them.
33 for (port::StringPiece path : paths) {
34 if (path.empty()) continue;
37 result = path.ToString();
42 if (IsAbsolutePath(path)) {
43 StrAppend(&result, path.substr(1));
45 StrAppend(&result, path);
48 if (IsAbsolutePath(path)) {
49 StrAppend(&result, path);
51 StrAppend(&result, "/", path);