Home
last modified time | relevance | path

Searched full:subpath (Results 1 – 25 of 152) sorted by relevance

1234567

/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py33 def __init__(self, subpath, name, dependencies, parent): argument
34 if not subpath.startswith('/'):
35 raise ValueError("invalid subpath: %r" % subpath)
36 self.subpath = subpath
98 def parse(subpath, items): argument
100 return GroupComponentInfo(subpath, **kwargs)
102 def __init__(self, subpath, name, parent): argument
103 ComponentInfo.__init__(self, subpath, name, [], parent)
126 def parse(subpath, items): argument
128 return LibraryComponentInfo(subpath, **kwargs)
[all …]
Dmain.py68 def recurse(subpath): argument
70 llvmbuild_path = os.path.join(llvmbuild_source_root + subpath,
77 subpath)
83 for item in recurse(os.path.join(subpath, subdir)):
122 ci.name, ci.subpath, existing.subpath))
212 info_basedir[ci.subpath] = info_basedir.get(ci.subpath, []) + [ci]
218 if ci.subpath == '/':
221 # Otherwise, append this subpath to the parent list.
222 parent_path = os.path.dirname(ci.subpath)
225 parent_list.add(os.path.basename(ci.subpath))
[all …]
/external/libchrome/build/android/gyp/util/
Dmd5_check.py102 def _GetOldTag(self, path, subpath=None): argument
103 return self.old_metadata and self.old_metadata.GetTag(path, subpath)
144 for subpath in self.new_metadata.IterSubpaths(path):
145 if self._GetOldTag(path, subpath) is None:
146 yield subpath
158 for subpath in self.old_metadata.IterSubpaths(path):
159 if self.new_metadata.GetTag(path, subpath) is None:
160 yield subpath
172 for subpath in self.new_metadata.IterSubpaths(path):
173 old_tag = self._GetOldTag(path, subpath)
[all …]
Dmd5_check_test.py16 for subpath, data in entries:
17 zip_file.writestr(subpath, data)
125 CheckCallAndRecord(True, 'added subpath should trigger call',
126 expected_changes='*Modified: %s*Subpath added: %s' % (
130 CheckCallAndRecord(True, 'changed subpath should trigger call',
131 expected_changes='*Modified: %s*Subpath modified: %s' % (
137 CheckCallAndRecord(True, 'removed subpath should trigger call',
138 expected_changes='*Modified: %s*Subpath removed: %s' % (
/external/angle/build/android/gyp/util/
Dmd5_check.py100 files from |input_paths| to make subpath information available for.
170 def _GetOldTag(self, path, subpath=None): argument
171 return self.old_metadata and self.old_metadata.GetTag(path, subpath)
213 for subpath in self.new_metadata.IterSubpaths(path):
214 if self._GetOldTag(path, subpath) is None:
215 yield subpath
227 for subpath in self.old_metadata.IterSubpaths(path):
228 if self.new_metadata.GetTag(path, subpath) is None:
229 yield subpath
241 for subpath in self.new_metadata.IterSubpaths(path):
[all …]
Dmd5_check_test.py20 for subpath, data in entries:
21 zip_file.writestr(subpath, data)
156 'added subpath should trigger call',
157 expected_changes='*Modified: %s*Subpath added: %s' % (input_file2.name,
164 'changed subpath should trigger call',
165 expected_changes='*Modified: %s*Subpath modified: %s' %
171 CheckCallAndRecord(True, 'removed subpath should trigger call',
172 expected_changes='*Modified: %s*Subpath removed: %s' % (
/external/cronet/build/android/gyp/util/
Dmd5_check.py100 files from |input_paths| to make subpath information available for.
170 def _GetOldTag(self, path, subpath=None): argument
171 return self.old_metadata and self.old_metadata.GetTag(path, subpath)
213 for subpath in self.new_metadata.IterSubpaths(path):
214 if self._GetOldTag(path, subpath) is None:
215 yield subpath
227 for subpath in self.old_metadata.IterSubpaths(path):
228 if self.new_metadata.GetTag(path, subpath) is None:
229 yield subpath
241 for subpath in self.new_metadata.IterSubpaths(path):
[all …]
Dmd5_check_test.py20 for subpath, data in entries:
21 zip_file.writestr(subpath, data)
156 'added subpath should trigger call',
157 expected_changes='*Modified: %s*Subpath added: %s' % (input_file2.name,
164 'changed subpath should trigger call',
165 expected_changes='*Modified: %s*Subpath modified: %s' %
171 CheckCallAndRecord(True, 'removed subpath should trigger call',
172 expected_changes='*Modified: %s*Subpath removed: %s' % (
/external/openthread/tests/scripts/thread-cert/pktverify/
Dlayer_fields_container.py47 subpath = self._path + '.' + name
48 v = get_layer_field(self._packet, subpath)
52 def has(self, subpath): argument
56 :param subpath: The sub path to the layer field or container.
58 subpath = self._path + '.' + subpath
59 return check_layer_field_exists(self._packet, subpath) is not None
/external/bazel-skylib/rules/
Dselect_file.bzl22 if ctx.attr.subpath and len(ctx.attr.subpath) == 0:
23 fail("Subpath can not be empty.")
26 canonical = ctx.attr.subpath.replace("\\", "/")
48 "subpath": attr.string(
/external/bazel-skylib/docs/
Dselect_file_doc.md12 …e-name">name</a>, <a href="#select_file-srcs">srcs</a>, <a href="#select_file-subpath">subpath</a>)
24 | <a id="select_file-subpath"></a>subpath | Relative path to the file | String | required | |
/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/
DTestResourceUtil.java17 … * @param subPath The sub-path under androidTest/resources where the desired resource is located.
20 public static InputStream openResource(Class testClass, String subPath) { in openResource() argument
21 return testClass.getResourceAsStream("/" + subPath); in openResource()
/external/squashfs-tools/squashfs-tools/
Daction.c762 if(action_data->subpath) in eval_expr_top()
763 expr_log(action_data->subpath); in eval_expr_top()
888 action_data.subpath = strdup(subpathname(dir_ent)); in eval_actions()
908 free(action_data.subpath); in eval_actions()
922 action_data.subpath = strdup(subpathname(dir_ent)); in eval_frag_actions()
932 free(action_data.subpath); in eval_frag_actions()
938 free(action_data.subpath); in eval_frag_actions()
975 int eval_exclude_actions(char *name, char *pathname, char *subpath, in eval_exclude_actions() argument
983 action_data.subpath = subpath; in eval_exclude_actions()
1525 action_data.subpath = strdup(subpathname(dir_ent)); in eval_empty_actions()
[all …]
Dandroid.c37 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { in alloc_mounted_path() argument
38 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); in alloc_mounted_path()
44 strcat(*mounted_path, subpath); in alloc_mounted_path()
/external/openthread/tools/harness-simulation/posix/
Dconfig.yml8 subpath: build/ot11/simulation
18 subpath: build/ot12/simulation
33 subpath: build/ot13/simulation
/external/angle/build/android/
Dmethod_count.py37 for subpath in z.namelist():
38 if not re.match(r'.*classes\d*\.dex$', subpath):
40 dexfile = dex_parser.DexFile(bytearray(z.read(subpath)))
41 self._CollectFromDexfile('{}!{}'.format(label, subpath), dexfile)
Dresource_sizes.py478 subpath = 'splits/{}-hi.apk'.format(split_name)
479 if subpath in z.namelist():
480 hindi_apk_info = z.getinfo(subpath)
688 for subpath in namelist:
690 name_parts = subpath.split('/')
696 yield subpath, split_name
699 def _ExtractToTempFile(zip_obj, subpath, temp_file): argument
702 temp_file.write(zip_obj.read(subpath))
752 for subpath, split_name in _IterSplits(z.namelist()):
754 _ExtractToTempFile(z, subpath, f)
/external/cronet/build/android/
Dmethod_count.py37 for subpath in z.namelist():
38 if not re.match(r'.*classes\d*\.dex$', subpath):
40 dexfile = dex_parser.DexFile(bytearray(z.read(subpath)))
41 self._CollectFromDexfile('{}!{}'.format(label, subpath), dexfile)
Dresource_sizes.py478 subpath = 'splits/{}-hi.apk'.format(split_name)
479 if subpath in z.namelist():
480 hindi_apk_info = z.getinfo(subpath)
688 for subpath in namelist:
690 name_parts = subpath.split('/')
696 yield subpath, split_name
699 def _ExtractToTempFile(zip_obj, subpath, temp_file): argument
702 temp_file.write(zip_obj.read(subpath))
752 for subpath, split_name in _IterSplits(z.namelist()):
754 _ExtractToTempFile(z, subpath, f)
/external/angle/build/android/gyp/
Ddex.py248 for subpath in z.namelist():
249 if _IsClassFile(subpath):
250 subpath = subpath[:-5] + 'dex'
251 dex_files.append(os.path.join(incremental_dir, subpath))
302 for subpath in changes.IterChangedSubpaths(jar):
303 dependency = '{}:{}'.format(jar, subpath)
307 for subpath in changes.IterChangedSubpaths(jar):
308 required_classes.update(dependents_from_dependency[subpath])
/external/cronet/build/android/gyp/
Ddex.py248 for subpath in z.namelist():
249 if _IsClassFile(subpath):
250 subpath = subpath[:-5] + 'dex'
251 dex_files.append(os.path.join(incremental_dir, subpath))
302 for subpath in changes.IterChangedSubpaths(jar):
303 dependency = '{}:{}'.format(jar, subpath)
307 for subpath in changes.IterChangedSubpaths(jar):
308 required_classes.update(dependents_from_dependency[subpath])
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathTester.java126 assertEquals(path, path.subpath(0, path.getNameCount())); in testSubpaths()
134 Path startSubpath = path.subpath(1, path.getNameCount()); in testSubpaths()
143 Path endSubpath = path.subpath(0, path.getNameCount() - 1); in testSubpaths()
174 other = other.subpath(0, other.getNameCount()); in testEndsWith()
176 other = other.subpath(1, other.getNameCount()); in testEndsWith()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DFormatterIntegrationTest.java76 Path subPath = testDataPath.relativize(resourceNamePath); in data() local
77 assertEquals("bad testdata file names", 1, subPath.getNameCount()); in data()
78 String baseName = getNameWithoutExtension(subPath.getFileName().toString()); in data()
79 String extension = getFileExtension(subPath.getFileName().toString()); in data()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDownloadManager.java226 String dirType, String subPath) throws Exception { in setDestinationInExternalPublicDir() argument
244 setDestinationFromBase(file, subPath); in setDestinationInExternalPublicDir()
250 protected void setDestinationFromBase(File base, String subPath) { in setDestinationFromBase() argument
251 if (subPath == null) { in setDestinationFromBase()
252 throw new NullPointerException("subPath cannot be null"); in setDestinationFromBase()
255 realObject, "mDestinationUri", Uri.withAppendedPath(Uri.fromFile(base), subPath)); in setDestinationFromBase()
/external/bazel-skylib/tests/select_file/
DBUILD22 subpath = "select_me.txt",
28 subpath = "subdir/inner.txt",

1234567