/external/chromium_org/tools/checkperms/ |
D | checkperms.py | 261 def is_ignored(rel_path): argument 263 rel_path = rel_path.lower() 265 os.path.basename(rel_path) in IGNORED_FILENAMES or 266 rel_path.lower().startswith(IGNORED_PATHS)) 269 def must_be_executable(rel_path): argument 273 return (os.path.splitext(rel_path)[1][1:] in EXECUTABLE_EXTENSIONS or 274 rel_path.lower() in EXECUTABLE_PATHS) 277 def must_not_be_executable(rel_path): argument 281 return (os.path.splitext(rel_path)[1][1:] in NON_EXECUTABLE_EXTENSIONS or 282 rel_path.lower() in NON_EXECUTABLE_PATHS) [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
D | filereader_unittest.py | 64 def _create_file(self, rel_path, text): argument 67 file_path = self.filesystem.join(self._temp_dir, rel_path) 144 rel_path = self.filesystem.join('foo_dir', 'file2.txt') 145 file_path2 = self._create_file(rel_path, 'bar')
|
D | main.py | 70 rel_path = filesystem.relpath(path, checkout_root) 71 if rel_path.startswith(filesystem.pardir): 93 rel_paths.append(rel_path)
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 210 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 216 if (!rel_path) in os_rel2abs_path() 219 if (rel_path[0] == '/') in os_rel2abs_path() 220 return os_strdup(rel_path); in os_rel2abs_path() 242 rel_len = os_strlen(rel_path); in os_rel2abs_path() 248 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|
D | os_internal.c | 135 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 140 if (rel_path[0] == '/') in os_rel2abs_path() 141 return os_strdup(rel_path); in os_rel2abs_path() 160 rel_len = strlen(rel_path); in os_rel2abs_path() 166 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|
D | os_win32.c | 142 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 144 return _strdup(rel_path); in os_rel2abs_path()
|
D | os_none.c | 64 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
|
D | os.h | 118 char * os_rel2abs_path(const char *rel_path);
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
D | cmake.py | 93 def NormjoinPathForceCMakeSource(base_path, rel_path): argument 101 if os.path.isabs(rel_path): 102 return rel_path 103 if any([rel_path.startswith(var) for var in FULL_PATH_VARS]): 104 return rel_path 107 os.path.normpath(os.path.join(base_path, rel_path))) 110 def NormjoinPath(base_path, rel_path): argument 116 if rel_path.startswith('$') and not rel_path.startswith('${configuration}'): 117 return rel_path 118 return os.path.normpath(os.path.join(base_path, rel_path)) [all …]
|
/external/chromium_org/tools/android/checkstyle/ |
D | checkstyle.py | 57 rel_path = os.path.relpath(full_path, local_path) 58 output.append(' %s:%s' % (rel_path, end))
|
/external/chromium_org/native_client_sdk/src/build_tools/tests/ |
D | sdktools_test.py | 100 def _BuildUpdaterArchive(self, rel_path, revision): argument 110 self._BuildUpdater(os.path.join(self.basedir, rel_path), revision) 112 new_sdk_tools_tgz = os.path.join(self.basedir, rel_path, 'sdk_tools.tgz') 118 archive.url = self.server.GetURL('%s/sdk_tools.tgz' % (rel_path,))
|
D | update_nacl_manifest_test.py | 53 def MakeGsUrl(rel_path): argument 54 return update_nacl_manifest.GS_BUCKET_PATH + rel_path
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | filesystem_mock.py | 354 rel_path = path[len(common_root):] 356 if not rel_path: 359 if rel_path[0] == self.sep: 363 rel_path = rel_path.lstrip(self.sep) 369 rel_path = path[len(common_root) + 1:] 371 return dot_dot + rel_path
|
/external/chromium_org/remoting/host/installer/ |
D | build-installer-archive.py | 69 rel_path = os.path.relpath(full_path, directory) 70 zip.write(full_path, os.path.join(zipfile_base, rel_path))
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
D | oshelpers_test.py | 67 def MakeFile(self, rel_path, size): argument 68 with open(os.path.join(self.tempdir, rel_path), 'wb') as f: 70 return rel_path
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | kernel_object.h | 56 Path* rel_path);
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
D | generate_make.py | 258 rel_path = os.path.relpath(pepperdir, os.path.dirname(out_path)) 261 'rel_sdk' : rel_path,
|
/external/chromium_org/remoting/webapp/ |
D | build-webapp.py | 53 rel_path = os.path.relpath(full_path, directory) 54 zip.write(full_path, os.path.join(zipfile_base, rel_path))
|
/external/chromium_org/tools/checkdeps/ |
D | graphdeps.py | 108 rel_path = os.path.relpath(full_path, self.base_directory)
|