/external/chromium_org/tools/telemetry/telemetry/util/ |
H A D | path_unittest.py | 10 from telemetry.util import path namespace 15 self.assertFalse(path.IsExecutable('nonexistent_file')) 16 self.assertTrue(path.IsExecutable(sys.executable)) 20 self.assertTrue(path.FindInstalledWindowsApplication(os.path.join(
|
H A D | support_binaries.py | 10 from telemetry.util import path namespace 15 return os.path.join(path.GetTelemetryDir(), 'bin', platform_name, binary_name) 19 return os.path.exists(_GetBinPath(binary_name, platform_name) + '.sha1') 27 chrome_root = path.GetChromiumSrcDir() 31 for build_dir, build_type in path.GetBuildDirectories(): 32 candidate = os.path.join(chrome_root, build_dir, build_type, binary_name) 33 if os.path.isfile(candidate) and os.access(candidate, required_mode): 43 """Returns the path to the given binary name, pulling from the cloud if 53 if command and os.path [all...] |
/external/chromium_org/tools/vim/ |
H A D | chromium.ycm_extra_conf.py | 41 import os.path namespace 55 return os.path.exists(os.path.join(*args)) 69 curdir = os.path.normpath(os.path.dirname(filename)) 73 nextdir = os.path.normpath(os.path.join(curdir, '..')) 77 return os.path.join(curdir, 'src') 94 root = os.path.join(chrome_root, output_dir) 95 debug_path = os.path [all...] |
/external/chromium_org/ui/base/resource/ |
H A D | resource_bundle_android.cc | 23 base::FilePath path; local 24 PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &path); 25 AddDataPackFromPath(path.AppendASCII("chrome_100_percent.pak"),
|
H A D | resource_bundle_auralinux.cc | 20 base::FilePath path; local 21 if (PathService::Get(base::DIR_MODULE, &path)) 22 return path.AppendASCII(pak_name.c_str());
|
/external/chromium_org/ui/events/ozone/evdev/ |
H A D | event_converter_evdev.cc | 13 EventConverterEvdev::EventConverterEvdev(int fd, const base::FilePath& path) argument 14 : fd_(fd), path_(path) {
|
/external/chromium_org/ui/gfx/ |
H A D | path_x11.cc | 13 #include "ui/gfx/path.h" 32 Region CreateRegionFromSkPath(const SkPath& path) { argument 33 int point_count = path.getPoints(NULL, 0); 35 path.getPoints(points.get(), point_count);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | function-sections-are-bad.cc | 16 char path[4096]; local 17 snprintf(path, sizeof(path), "%s-so.so", argv[0]); 19 void *handle = dlopen(path, RTLD_LAZY);
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | use_tls_dynamic.cc | 17 std::string path = std::string(argv[0]) + "-so.so"; local 19 void *handle = dlopen(path.c_str(), RTLD_LAZY);
|
/external/deqp/framework/delibs/decpp/ |
H A D | deDirectoryIterator.cpp | 37 DirectoryIterator::DirectoryIterator (const FilePath& path) argument 38 : m_path(FilePath::normalize(path)) 80 DirectoryIterator::DirectoryIterator (const FilePath& path) 81 : m_path (FilePath::normalize(path))
|
/external/e2fsprogs/misc/ |
H A D | mklost+found.c | 34 char path [sizeof (LPF) + 1 + 256]; local 61 strcpy (path, LPF); 62 strcat (path, "/"); 63 strcat (path, name); 64 if ((d = creat (path, 0644)) == -1) { 77 strcpy (path, LPF); 78 strcat (path, "/"); 79 strcat (path, name); 80 if (unlink (path) == -1) {
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | BstPathFactory.java | 30 * Returns this path extended by one node to the specified {@code side}. 32 P extension(P path, BstSide side); argument 35 * Returns the trivial path that starts at {@code root} and goes no further.
|
/external/harfbuzz_ng/src/ |
H A D | gen-arabic-table.py | 4 import os.path namespace 184 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
|
/external/icu/icu4c/source/common/ |
H A D | ures_cnv.c | 34 char *path = pathBuffer; local 40 path = NULL; 52 u_UCharsToChars(myPath, path, length+1); /* length+1 to include the NUL */ 57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); 63 /* not NUL-terminated - path too long */ 75 return ures_open(path, localeID, status);
|
/external/icu/icu4c/source/tools/gentest/ |
H A D | genres32.c | 42 genres32(const char *prog, const char *path) { argument 56 uprv_strcpy(file,path);
|
/external/jsoncpp/devtools/ |
H A D | licenseupdater.py | 15 def update_license( path, dry_run, show_diff ): 18 path: path of the C++ source file to update. 19 dry_run: if True, just print the path of the file that would be updated, 21 show_diff: if True, print the path of the file that would be modified, 24 with open( path, 'rt' ) as fin: 35 with open( path, 'wb' ) as fout: 37 print 'Updated', path 50 dry_run: if True, just print the path of the file that would be updated, 52 show_diff: if True, print the path o 90 import os.path namespace [all...] |
/external/libmtp/examples/ |
H A D | newfolder.c | 55 newfolder_function(char * path) argument 57 printf("Creating new folder %s\n",path); 58 char * parent = dirname(path); 59 char * folder = basename(path);
|
/external/libselinux/src/ |
H A D | canonicalize_context.c | 15 char path[PATH_MAX]; local 25 snprintf(path, sizeof path, "%s/context", selinux_mnt); 26 fd = open(path, O_RDWR);
|
H A D | compute_create.c | 18 char path[PATH_MAX]; local 28 snprintf(path, sizeof path, "%s/create", selinux_mnt); 29 fd = open(path, O_RDWR);
|
H A D | enabled.c | 74 char buf[20], path[PATH_MAX]; local 80 snprintf(path, sizeof path, "%s/mls", selinux_mnt); 81 fd = open(path, O_RDONLY);
|
H A D | get_initial_context.c | 16 char path[PATH_MAX]; local 26 snprintf(path, sizeof path, "%s%s%s", 28 fd = open(path, O_RDONLY);
|
/external/libunwind/include/ |
H A D | map_info.h | 37 char *path; member in struct:map_info
|
/external/libunwind/src/ |
H A D | os-common.c | 36 unsigned long *segbase, unsigned long *mapoff, char **path) 41 return local_get_elf_image (ei, ip, segbase, mapoff, path); 53 if (path != NULL) 55 *path = strdup (map->path); 34 tdep_get_elf_image(unw_addr_space_t as, struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char **path) argument
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | abspath.c | 22 const char *make_nonrelative_path(const char *path) argument 26 if (is_absolute_path(path)) { 27 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) 28 die("Too long path: %.*s", 60, path); 33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) 34 die("Too long path: %.*s", 60, path);
|
/external/lldb/scripts/ |
H A D | verify_api.py | 6 import os.path namespace 24 usage = "usage: verify_api --library <path> [ --library <path> ...] executable1 [executable2 ...]"
|