/external/deqp/android/scripts/ |
H A D | common.py | 29 def isExecutable (path): 30 return os.path.isfile(path) and os.access(path, os.X_OK) 33 for path in os.environ['PATH'].split(os.pathsep): 34 path = path.strip('"') 35 fullPath = os.path.join(path, binName) 46 fullPath = os.path [all...] |
/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 | path.c | 15 static char bad_path[] = "/bad-path/"; 47 static char *cleanup_path(char *path) argument 50 if (!memcmp(path, "./", 2)) { 51 path += 2; 52 while (*path == '/') 53 path++; 55 return path; 80 char path[PATH_MAX]; local 83 (void)perf_vsnpath(path, sizeof(path), fm 124 chomp_trailing_dir_sep(const char *path, int len) argument 136 strip_path_suffix(const char *path, const char *suffix) argument [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | Path.java | 40 private static String createPath(Box box, String path) { argument 42 return path; 46 path = String.format("/%s[%d]", box.getType(), index) + path; 48 return createPath(box.getParent(), path); 52 public static Box getPath(Box box, String path) { argument 53 List<Box> all = getPaths(box, path); 58 public static List<Box> getPaths(Box box, String path) { argument 59 if (path.startsWith("/")) { 65 return getPaths(isoFile, path 111 isContained(Box box, String path) argument [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
H A D | PushPromise.java | 23 private final String path; field in class:PushPromise 27 public PushPromise(String method, String path, List<String> headers, MockResponse response) { argument 29 this.path = path; 39 return path;
|
/external/chromium_org/chrome/tools/ |
H A D | check_grd_for_unused_strings.py | 88 full_path = os.path.join(root, file) 98 full_path = os.path.join(root, file) 115 chrome_tools_dir = os.path.dirname(os.path.abspath(sys.argv[0])) 116 src_dir = os.path.dirname(os.path.dirname(chrome_tools_dir)) 117 chrome_dir = os.path.join(src_dir, 'chrome') 130 ash_base_dir = os.path.join(src_dir, 'ash') 131 chrome_app_dir = os.path.join(chrome_dir, 'app') 132 chrome_app_res_dir = os.path [all...] |
/external/chromium_org/chrome/browser/ |
H A D | PRESUBMIT.py | 28 path = input_api.os_path 30 resources = path.join(cwd, 'resources') 31 webui = path.join(cwd, 'ui', 'webui') 35 path.join(cwd, 'PRESUBMIT.py'), 36 path.join(cwd, 'test_presubmit.py'), 37 path.join(cwd, 'web_dev_style', 'css_checker.py'), 38 path.join(cwd, 'web_dev_style', 'js_checker.py'), 41 tests = [path.join(cwd, 'test_presubmit.py')] 46 old_path = sys.path 49 sys.path [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/ |
H A D | generate_manifest.py | 13 jinja2_path = os.path.normpath(os.path.join(os.path.abspath(__file__), 14 *[os.path.pardir] * 7 + ['third_party'])) 15 nom_path = os.path.normpath(os.path.join(os.path.abspath(__file__), 16 *[os.path.pardir] * 7 + ['tools/json_comment_eater'])) 17 sys.path.insert(0, jinja2_path) 18 sys.path [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | export-w3c-performance-wg-tests | 49 source_directory = os.path.join(sys.argv[1], 'LayoutTests', 'http', 'tests', 'w3c', 'webperf') 50 destination_directory = os.path.join(sys.argv[2], 'tests') 62 destination_subdirectory = os.path.join(destination_directory, directory_to_copy) 63 if not os.path.exists(destination_subdirectory): 65 for root, dirs, files in os.walk(os.path.join(source_directory, directory_to_copy)): 66 root = os.path.relpath(root, source_directory) 68 destination_subdirectory = os.path.join(destination_directory, root, dirname) 69 if not os.path.exists(destination_subdirectory): 74 with open(os.path.join(source_directory, root, filename), 'r') as in_file: 75 with open(os.path [all...] |
H A D | check-blink-deps | 34 print 'Usage: %s [dir=Source]' % os.path.basename(sys.argv[0]) 45 root_dir = os.path.realpath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)) 47 start_dir = os.path.join(root_dir, 'Source') 49 check_deps = os.path.realpath(os.path.join(root_dir, os.pardir, os.pardir, 'buildtools', 'checkdeps', 'checkdeps.py'))
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | extension_to_load.py | 15 def __init__(self, path, browser_type, is_component=False): 16 if not os.path.isdir(path): 18 'Extension path not a directory %s' % path) 19 self._path = path 20 self._local_path = path 22 if is_component and not crx_id.HasPublicKey(path): 24 'Component extension %s must have a public key' % path) 29 # the extension path 48 def path(self): member in class:ExtensionToLoad [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
H A D | antenv.cmd | 74 parse arg path elem 76 if path\='' & right(path, 1)\=';' then path = path || ';' 77 return path 79 if substr(path, length(path)) = ';' then glue = '' 81 if pos(translate(elem), translate(path)) = 0 then path [all...] |
/external/chromium-trace/trace-viewer/build/ |
H A D | generate_template_contents.py | 9 srcdir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../src")) 16 all_filenames.append(os.path.join(dirpath, f)) 19 os.path.splitext(x)[1] == ".html"] 20 filenames = [os.path.relpath(x) for x in filenames] 23 if os.path.basename(x).startswith('.'):
|
/external/chromium_org/base/prefs/ |
H A D | pref_service.h | 167 const PrefService::Preference* FindPreference(const char* path) const; 169 // If the path is valid and the value at the end of the path matches the type 172 bool GetBoolean(const char* path) const; 173 int GetInteger(const char* path) const; 174 double GetDouble(const char* path) const; 175 std::string GetString(const char* path) const; 176 base::FilePath GetFilePath(const char* path) const; 179 // Note that |path| must point to a registered preference. In that case, these 182 const char* path) cons [all...] |
/external/chromium_org/base/test/ |
H A D | test_file_util.h | 41 bool VolumeSupportsADS(const FilePath& path); 58 std::wstring FilePathAsWString(const base::FilePath& path); 59 base::FilePath WStringAsFilePath(const std::wstring& path); 63 bool MakeFileUnreadable(const base::FilePath& path) WARN_UNUSED_RESULT; 64 bool MakeFileUnwritable(const base::FilePath& path) WARN_UNUSED_RESULT; 72 base::FilePath InsertImageIntoMediaStore(const base::FilePath& path); 75 // Saves the current permissions for a path, and restores it on destruction. 78 explicit PermissionRestorer(const base::FilePath& path);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | test_file_system.py | 40 def update_result(item, path): 41 AssertIsValid(path) 43 if path != '': 44 path += '/' 45 result[path] = [p if isinstance(content, basestring) else (p + '/') 48 update_result(subitem, path + subpath) 50 result[path] = item 67 def Increment(self, path=None, by=1): 68 if path is None: 71 self.SetVersion(path, sel [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/ |
H A D | dev_fs.h | 17 virtual Error Access(const Path& path, int a_mode); 18 virtual Error Open(const Path& path, int open_flags, ScopedNode* out_node); 19 virtual Error Unlink(const Path& path); 20 virtual Error Mkdir(const Path& path, int permissions); 21 virtual Error Rmdir(const Path& path); 22 virtual Error Remove(const Path& path); 23 virtual Error Rename(const Path& path, const Path& newpath);
|
/external/chromium_org/sandbox/linux/services/ |
H A D | libc_urandom_override.cc | 50 typedef FILE* (*FopenFunction)(const char* path, const char* mode); 56 typedef int (*XstatFunction)(int version, const char *path, struct stat *buf); 57 typedef int (*Xstat64Function)(int version, const char *path, 63 typedef int (*StatFunction)(const char *path, struct stat *buf); 64 typedef int (*Stat64Function)(const char *path, struct stat64 *buf); 125 FILE* fopen_override(const char* path, const char* mode) __asm__ ("fopen"); 128 FILE* fopen_override(const char* path, const char* mode) { argument 129 if (g_override_urandom && strcmp(path, kUrandomDevPath) == 0) { 139 return g_libc_fopen(path, mode); 144 FILE* fopen64(const char* path, cons argument 170 xstat_override(int version, const char *path, struct stat *buf) argument 187 xstat64_override(int version, const char *path, struct stat64 *buf) argument 205 stat_override(const char *path, struct stat *buf) argument 221 stat64_override(const char *path, struct stat64 *buf) argument [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | resbund_cnv.cpp | 25 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 30 constructForLocale(path, locale, error); 33 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 37 constructForLocale(path, Locale::getDefault(), error); 41 ResourceBundle::constructForLocale(const UnicodeString& path, argument 45 if (path.isEmpty()) { 49 UnicodeString nullTerminatedPath(path);
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/android/ |
H A D | scrape_gtest_log.py | 39 output_json = os.path.join(arg) 49 path = os.path.dirname(output_json) 50 if path and not os.path.exists(path): 51 os.makedirs(path)
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsSimplifyFailTest.cpp | 41 SkPath path; local 46 case 0: path.lineTo(nonFinitePts[i]); break; 47 case 1: path.quadTo(nonFinitePts[i], nonFinitePts[i]); break; 48 case 2: path.quadTo(nonFinitePts[i], finitePts[f]); break; 49 case 3: path.quadTo(finitePts[f], nonFinitePts[i]); break; 50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; 51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; 52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; 53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; 54 case 8: path 70 SkPath path; local [all...] |
/external/chromium_org/tools/telemetry/telemetry/util/ |
H A D | bootstrap.py | 55 """Returns a dictionary with os.path.normpath called on every key.""" 56 return dict((os.path.normpath(k), v) for (k, v) in 59 def GetDirList(self, path): 60 """Returns string names of all files and subdirs of path on the server.""" 61 props = self.__norm_path_keys(self.client.propfind(path, depth=1)) 62 # remove this path 63 del props[os.path.normpath(path)] 64 return [os.path.basename(p) for p in props.keys()] 66 def IsFile(self, path) [all...] |
/external/chromium_org/v8/tools/ |
H A D | test-server.py | 37 ROOT = os.path.abspath(os.path.dirname(sys.argv[0])) 55 return os.path.exists(PIDFILE) 67 data_dir = os.path.join(ROOT, "data") 68 if not os.path.exists(data_dir): 72 trusted_dir = os.path.join(ROOT, "trusted") 73 if not os.path.exists(trusted_dir): 96 privkeyfile = os.path.expanduser("~/.ssh/v8_dtest") 97 if not os.path.exists(privkeyfile): 102 pubkeyfile = os.path [all...] |
/external/compiler-rt/test/asan/android_commands/ |
H A D | android_common.py | 17 def pull_from_device(path): 19 adb(['pull', path, tmp]) 24 def push_to_device(path): 26 dst_path = os.path.join(ANDROID_TMPDIR, os.path.basename(path)) 28 adb(['push', path, tmp_path])
|
/external/icu/icu4c/source/common/ |
H A D | resbund_cnv.cpp | 25 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 30 constructForLocale(path, locale, error); 33 ResourceBundle::ResourceBundle( const UnicodeString& path, argument 37 constructForLocale(path, Locale::getDefault(), error); 41 ResourceBundle::constructForLocale(const UnicodeString& path, argument 45 if (path.isEmpty()) { 49 UnicodeString nullTerminatedPath(path);
|