Home
last modified time | relevance | path

Searched refs:rel_path (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/tools/checkperms/
Dcheckperms.py261 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/
Dfilereader_unittest.py64 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')
Dmain.py70 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/
Dos_unix.c210 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()
Dos_internal.c135 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()
Dos_win32.c142 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
144 return _strdup(rel_path); in os_rel2abs_path()
Dos_none.c64 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
Dos.h118 char * os_rel2abs_path(const char *rel_path);
/external/chromium_org/tools/gyp/pylib/gyp/generator/
Dcmake.py93 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/
Dcheckstyle.py57 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/
Dsdktools_test.py100 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,))
Dupdate_nacl_manifest_test.py53 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/
Dfilesystem_mock.py354 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/
Dbuild-installer-archive.py69 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/
Doshelpers_test.py67 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/
Dkernel_object.h56 Path* rel_path);
/external/chromium_org/native_client_sdk/src/build_tools/
Dgenerate_make.py258 rel_path = os.path.relpath(pepperdir, os.path.dirname(out_path))
261 'rel_sdk' : rel_path,
/external/chromium_org/remoting/webapp/
Dbuild-webapp.py53 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/
Dgraphdeps.py108 rel_path = os.path.relpath(full_path, self.base_directory)