Searched refs:bin_dir (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dshell_icu_linux.c15 char bin_dir[PATH_MAX + 1]; local
16 int bin_dir_size = readlink("/proc/self/exe", bin_dir, PATH_MAX);
19 bin_dir[bin_dir_size] = 0;;
21 u_setDataDirectory(bin_dir);
/external/chromium/base/
H A Dbase_paths_linux.cc42 FilePath bin_dir; local
43 if (!file_util::ReadSymbolicLink(FilePath(kSelfExe), &bin_dir)) {
47 *result = bin_dir;
51 char bin_dir[PATH_MAX + 1];
52 size_t length = sizeof(bin_dir);
53 int error = sysctl(name, 4, bin_dir, &length, NULL, 0);
54 if (error < 0 || length == 0 || strlen(bin_dir) == 0) {
58 bin_dir[strlen(bin_dir)] = 0;
59 *result = FilePath(bin_dir);
[all...]
/external/chromium_org/base/
H A Dbase_paths_posix.cc38 FilePath bin_dir; local
39 if (!file_util::ReadSymbolicLink(FilePath(kProcSelfExe), &bin_dir)) {
43 *result = bin_dir;
47 char bin_dir[PATH_MAX + 1];
48 size_t length = sizeof(bin_dir);
49 // Upon return, |length| is the number of bytes written to |bin_dir|
51 int error = sysctl(name, 4, bin_dir, &length, NULL, 0);
56 *result = FilePath(FilePath::StringType(bin_dir, length - 1));
59 char bin_dir[PATH_MAX + 1];
60 if (realpath(getexecname(), bin_dir)
[all...]
H A Dbase_paths_android.cc23 char bin_dir[PATH_MAX + 1]; local
24 int bin_dir_size = readlink(kProcSelfExe, bin_dir, PATH_MAX);
29 bin_dir[bin_dir_size] = 0;
30 *result = FilePath(bin_dir);
/external/chromium_org/chrome/test/pyautolib/
H A Dchromoting_helper.py19 def InstallHost(self, bin_dir):
24 def UninstallHost(self, bin_dir):
35 def InstallHost(self, bin_dir):
46 os.chdir(bin_dir)
110 def UninstallHost(self, bin_dir):
164 def InstallHost(self, bin_dir):
166 host_msi = os.path.join(bin_dir, 'chromoting.msi')
169 def UninstallHost(self, bin_dir):
171 host_msi = os.path.join(bin_dir, 'chromoting.msi')
/external/chromium_org/chrome/test/base/
H A Dchrome_test_launcher.cc130 base::FilePath bin_dir; local
132 base::FilePath(base::kProcSelfExe), &bin_dir));
133 std::string filename = bin_dir.value();
/external/chromium_org/tools/gyp/test/module/src/
H A Dprogram.c62 char* bin_dir = dirname(path_copy); local
63 int path_size = snprintf(module_path, MAX_PATH, "%s/%s%s", bin_dir, module,
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dbuild_app.py67 bin_dir = os.path.join(pepperdir, 'toolchain',
71 return os.path.join(bin_dir, strip_name)

Completed in 269 milliseconds