Lines Matching refs:base
7 #include "base/files/file_util.h"
8 #include "base/logging.h"
9 #include "base/strings/string_util.h"
17 #include "base/win/win_util.h"
31 base::FilePath GetExePath() {
39 base::WriteInto(&executable_path, executable_length), &executable_length);
46 return base::MakeAbsoluteFilePath(base::FilePath(executable_path));
51 base::FilePath GetExePath() {
54 if (GetModuleFileName(NULL, base::ToWCharT(system_buffer), MAX_PATH) == 0) {
55 return base::FilePath();
57 return base::FilePath(system_buffer);
62 base::FilePath GetExePath() {
67 return base::FilePath();
69 return base::FilePath(buf);
74 base::FilePath GetExePath() {
79 return base::FilePath();
81 return base::FilePath(buf);
86 base::FilePath GetExePath() {
94 return base::FilePath(std::string(i_info.name));
99 base::FilePath GetExePath() {
102 return base::FilePath();
104 return base::FilePath(raw);
109 base::FilePath GetExePath() {
112 return base::FilePath();
114 return base::FilePath(path);
119 base::FilePath GetExePath() {
120 base::FilePath result;
122 if (!ReadSymbolicLink(base::FilePath(kProcSelfExe), &result)) {
124 return base::FilePath();