Lines Matching defs:path
367 bool IsFilePath(const std::string& path) {
369 if (path.length() > 2 && path[0] == '\\' && path[1] == '\\')
372 if (path.length() < 3)
374 if ((path[0] >= 'A' && path[0] <= 'Z') || (path[0] >= 'a' && path[0] <= 'z'))
375 return path[1] == ':' && (path[2] == '/' || path[2] == '\\');
379 bool IsFilePath(const std::string& path) {
380 return !path.empty() && path[0] == '/';
689 bool Agent::Start(const std::string& path,
693 path_ = path;