Home
last modified time | relevance | path

Searched refs:GetExecutablePath (Results 1 – 25 of 144) sorted by relevance

123456

/aosp_15_r20/external/clang/examples/clang-interpreter/
H A Dmain.cpp38 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() function
41 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in GetExecutablePath()
81 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in main()
82 std::string Path = GetExecutablePath(argv[0]); in main()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/stream_executor/lib/
H A Denv.h38 inline std::string GetExecutablePath() { in GetExecutablePath() function
39 return Env::Default()->GetExecutablePath(); in GetExecutablePath()
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/
H A Dfake_python_env_test.cc37 TEST(FakePythonEnvTest, GetExecutablePath) { in TEST() argument
54 string path = env->GetExecutablePath(); in TEST()
H A Dplatform_strings_test.cc139 printf("rc=%d\n", PrintStrings(env->GetExecutablePath())); in main()
140 rc = RunTest(env->GetExecutablePath()); in main()
H A Denv_test.cc369 TEST_F(DefaultEnvTest, GetExecutablePath) { in TEST_F() argument
371 TF_EXPECT_OK(env->FileExists(env->GetExecutablePath())); in TEST_F()
/aosp_15_r20/external/angle/src/common/
H A Dsystem_utils_linux.cpp20 std::string GetExecutablePath() in GetExecutablePath() function
38 std::string executablePath = GetExecutablePath(); in GetExecutableDirectory()
H A Dsystem_utils_apple.cpp24 std::string GetExecutablePath() in GetExecutablePath() function
46 std::string executablePath = GetExecutablePath(); in GetExecutableDirectory()
H A Dsystem_utils_ios.mm25 std::string GetExecutablePath()
35 std::string executablePath = GetExecutablePath();
H A Dsystem_utils_unittest.cpp32 std::string executablePath = GetExecutablePath(); in TEST()
45 std::string executablePath = GetExecutablePath(); in TEST()
/aosp_15_r20/frameworks/base/tools/aapt2/cmd/
H A DCompile_test.cpp59 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
117 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
146 BuildPath({android::base::Dirname(android::base::GetExecutablePath()), "integration-tests", in TEST_F()
272 BuildPath({android::base::Dirname(android::base::GetExecutablePath()), "integration-tests", in TEST_F()
/aosp_15_r20/external/clang/tools/driver/
H A Ddriver.cpp57 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) { in GetExecutablePath() function
63 void *P = (void*) (intptr_t) GetExecutablePath; in GetExecutablePath()
299 void *GetExecutablePathVP = (void *)(intptr_t) GetExecutablePath; in ExecuteCC1Tool()
427 std::string Path = GetExecutablePath(argv[0], CanonicalPrefixes); in main()
/aosp_15_r20/external/google-breakpad/src/client/mac/tests/
H A Dspawn_child_process.h79 string GetExecutablePath() { in GetExecutablePath() function
88 string helper_path(GetExecutablePath()); in GetHelperPath()
H A Dminidump_generator_test.cc138 EXPECT_EQ(GetExecutablePath(), main_module->code_file()); in TEST_F()
229 EXPECT_EQ(GetExecutablePath(), main_module->code_file()); in TEST_F()
/aosp_15_r20/system/core/init/
H A Dfirmware_handler_test.cpp27 using android::base::GetExecutablePath;
34 auto test_path = GetExecutablePath() + " firmware " + test_name; in FirmwareTestWithExternalHandler()
H A Dsubcontext.cpp46 using android::base::GetExecutablePath;
229 auto init_path = GetExecutablePath(); in Fork()
/aosp_15_r20/device/google/cuttlefish/common/libs/utils/
Dproc_file_utils.cpp175 Result<std::string> GetExecutablePath(const pid_t pid) { in GetExecutablePath() function
235 auto pid_exec_path = GetExecutablePath(pid); in CollectPidsByExecPath()
302 .actual_exec_path_ = CF_EXPECT(GetExecutablePath(pid)), in ExtractProcInfo()
Dproc_file_utils.h82 Result<std::string> GetExecutablePath(const pid_t pid);
/aosp_15_r20/external/clang/tools/arcmt-test/
H A Darcmt-test.cpp65 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() function
68 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in GetExecutablePath()
343 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in main()
/aosp_15_r20/external/llvm/tools/llvm-config/
H A Dllvm-config.cpp225 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() function
228 void *P = (void *)(intptr_t)GetExecutablePath; in GetExecutablePath()
269 llvm::SmallString<256> CurrentPath(GetExecutablePath(argv[0])); in main()
/aosp_15_r20/system/libbase/
H A Dfile_test.cpp349 ASSERT_NE(android::base::GetExecutablePath(), path); in TEST()
354 TEST(file, GetExecutablePath) { in TEST() argument
355 ASSERT_NE("", android::base::GetExecutablePath()); in TEST()
/aosp_15_r20/external/cronet/base/
H A Dbase_paths_apple.h13 base::FilePath GetExecutablePath();
H A Dbase_paths_apple.cc18 base::FilePath GetExecutablePath() { in GetExecutablePath() function
/aosp_15_r20/external/python/cpython2/Launcher/
Dlauncher_main.cpp47 std::string executable_path = android::base::GetExecutablePath(); in main()
/aosp_15_r20/system/extras/memory_replay/
H A DPrintTrace.cpp27 android::base::Basename(android::base::GetExecutablePath()).c_str()); in Usage()
/aosp_15_r20/external/python/cpython3/android/
Dlauncher_main.cpp61 std::string executable_path = android::base::GetExecutablePath(); in main()

123456