Home | History | Annotate | Download | only in base

Lines Matching full:bin_dir

42       FilePath bin_dir;
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);