/aosp_15_r20/external/llvm/utils/llvm-build/llvmbuild/ |
H A D | componentinfo.py | 33 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 …]
|
H A D | main.py | 68 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 …]
|
/aosp_15_r20/external/libchrome/build/android/gyp/util/ |
H A D | md5_check.py | 102 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 …]
|
H A D | md5_check_test.py | 16 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' % (
|
/aosp_15_r20/external/cronet/build/android/gyp/util/ |
H A D | md5_check.py | 100 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 …]
|
H A D | md5_check_test.py | 20 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' % (
|
/aosp_15_r20/external/angle/build/android/gyp/util/ |
H A D | md5_check.py | 100 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 …]
|
H A D | md5_check_test.py | 20 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' % (
|
/aosp_15_r20/libcore/ojluni/src/test/java/nio/file/Path/ |
H A D | PathOps.java | 105 PathOps subpath(int startIndex, int endIndex, String expected) { in subpath() method in PathOps 107 check(path.subpath(startIndex, endIndex), expected); in subpath() 344 // subpath in doUnixTests() 346 .subpath(0, 1, "foo"); in doUnixTests() 348 .subpath(0, 1, "foo"); in doUnixTests() 350 .subpath(0, 1, "foo") in doUnixTests() 351 .subpath(1, 2, "bar") in doUnixTests() 352 .subpath(0, 2, "foo/bar"); in doUnixTests() 354 .subpath(0, 1, "foo") in doUnixTests() 355 .subpath(1, 2, "bar") in doUnixTests() [all …]
|
/aosp_15_r20/external/squashfs-tools/squashfs-tools/ |
H A D | action.c | 762 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 …]
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/os/user_setting/ |
H A D | media_user_setting_configure.cpp | 40 std::string subPath = ""; in Configure() local 44 subPath = m_keyPathInfo->Path; in Configure() 48 m_statedConfigPath = subPath + m_configPath; in Configure() 49 m_statedReportPath = subPath + m_reportPath; in Configure() 87 std::string subPath = ""; in Register() local 92 subPath = m_keyPathInfo->Path; in Register() 94 subPath += customPath; in Register() 100 subPath = m_statedConfigPath; in Register() 104 subPath = m_configPath; in Register() 117 subPath, in Register() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/ |
D | copylock.go | 268 subpath := lockPath(tpkg, term.Type(), seen) 269 if len(subpath) > 0 { 283 subpath[len(subpath)-1] = "~" + subpath[len(subpath)-1] 285 return append(subpath, typ.String()) 302 subpath := lockPath(tpkg, ttyp.At(i).Type(), seen) 303 if subpath != nil { 304 return append(subpath, typ.String()) 334 subpath := lockPath(tpkg, ftyp, seen) 335 if subpath != nil { 336 return append(subpath, typ.String())
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationUtil.java | 254 * @param subPath where to look for configuration. Can be null. 257 public static Set<String> getConfigNamesFromDirs(String subPath, List<File> dirs) { in getConfigNamesFromDirs() argument 258 Set<File> res = getConfigNamesFileFromDirs(subPath, dirs); in getConfigNamesFromDirs() 270 * @param subPath The location where to look for configuration. Can be null. 274 public static Set<File> getConfigNamesFileFromDirs(String subPath, List<File> dirs) { in getConfigNamesFileFromDirs() argument 278 return getConfigNamesFileFromDirs(subPath, dirs, patterns); in getConfigNamesFileFromDirs() 284 * @param subPath The location where to look for configuration. Can be null. 290 String subPath, List<File> dirs, List<String> configNamePatterns) { in getConfigNamesFileFromDirs() argument 291 return getConfigNamesFileFromDirs(subPath, dirs, configNamePatterns, false); in getConfigNamesFileFromDirs() 297 * @param subPath The location where to look for configuration. Can be null. [all …]
|
/aosp_15_r20/external/openthread/tests/scripts/thread-cert/pktverify/ |
H A D | layer_fields_container.py | 47 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
|
/aosp_15_r20/device/google/cuttlefish/host/commands/openwrt_control_server/ |
D | main.cpp | 83 auto reply = RequestLuciRpc(request->subpath(), request->method(), in LuciRpc() 92 reply = RequestLuciRpc(request->subpath(), request->method(), in LuciRpc() 130 Result<std::string> LuciRpcAddress(const std::string& subpath) { in LuciRpcAddress() argument 133 "/openwrt/cgi-bin/luci/rpc/" + subpath; in LuciRpcAddress() 136 Result<std::string> LuciRpcAddress(const std::string& subpath, in LuciRpcAddress() argument 138 auto addr_without_auth = CF_EXPECT(LuciRpcAddress(subpath)); in LuciRpcAddress() 178 Result<Json::Value> RequestLuciRpc(const std::string& subpath, in RequestLuciRpc() argument 181 auto url = CF_EXPECT(LuciRpcAddress(subpath, auth_key_)); in RequestLuciRpc()
|
/aosp_15_r20/external/angle/build/android/gyp/ |
H A D | dex.py | 297 for subpath in z.namelist(): 298 if _IsClassFile(subpath): 299 subpath = subpath[:-5] + 'dex' 300 dex_files.append(os.path.join(incremental_dir, subpath)) 301 elif subpath.startswith('META-INF/services/'): 353 for subpath in changes.IterChangedSubpaths(jar): 354 dependency = '{}:{}'.format(jar, subpath) 358 for subpath in changes.IterChangedSubpaths(jar): 359 required_classes.update(dependents_from_dependency[subpath])
|
/aosp_15_r20/external/cronet/build/android/gyp/ |
H A D | dex.py | 248 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])
|
/aosp_15_r20/build/soong/ui/build/sandbox/darwin/ |
H A D | global.sb | 14 (subpath (param "OUT_DIR")) 15 (subpath (param "DIST_DIR"))) 19 (subpath (string-append (param "HOME") "/.oracle_jre_usage"))) 23 (subpath "/private/var/folders")) 27 (subpath "/dev/tty"))
|
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/cloud/ |
H A D | gcs_file_system_test.cc | 1732 "{\"prefixes\": [\"path/subpath/\"]}")}); in TEST() 1747 EXPECT_EQ(std::vector<string>({"subpath/"}), children); in TEST() 1760 "\"prefixes\": [\"path/subpath/\"]}")}); in TEST() 1775 EXPECT_EQ(std::vector<string>({"file1.txt", "file3.txt", "subpath/"}), in TEST() 1789 "\"prefixes\": [\"path/subpath/\"]}")}); in TEST() 1804 EXPECT_EQ(std::vector<string>({"file3.txt", "subpath/"}), children); in TEST() 1817 "\"prefixes\": [\"path/subpath/\"]}")}); in TEST() 1832 EXPECT_EQ(std::vector<string>({"file1.txt", "file3.txt", "subpath/"}), in TEST() 1897 "\"prefixes\": [\"path/subpath/\"]}"), in TEST() 1923 EXPECT_EQ(std::vector<string>({"file1.txt", "file3.txt", "subpath/", in TEST() [all …]
|
/aosp_15_r20/external/bazel-skylib/rules/ |
H A D | select_file.bzl | 22 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(
|
/aosp_15_r20/external/executorch/third-party/ |
H A D | link_torch.sh | 41 for SUBPATH in $FILES; do 42 if [[ -f "$LIB/$SUBPATH" ]] || [[ -d "$LIB/$SUBPATH" ]]; 44 ln -s "$LIB/$SUBPATH" "$OUT" 50 echo "Warning: $LIB/$SUBPATH doesn't exist, skipping..."
|
/aosp_15_r20/system/core/run-as/ |
H A D | run-as.cpp | 109 char subpath[PATH_MAX]; in check_data_path() local 118 if (nn >= (int)(sizeof subpath)) { in check_data_path() 122 /* reject any '..' subpath */ in check_data_path() 130 /* copy to 'subpath', then check ownership */ in check_data_path() 131 memcpy(subpath, data_path, nn); in check_data_path() 132 subpath[nn] = '\0'; in check_data_path() 134 check_directory(subpath, AID_SYSTEM); in check_data_path()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pkg_resources/ |
D | __init__.py | 1727 # Convert a virtual filename (full path to file) into a zipfile subpath 1735 "%s is not a subpath of %s" % (fspath, self.zip_pre) 1739 # Convert a zipfile subpath into an egg-relative path part list. 1745 "%s is not a subpath of %s" % (fspath, self.egg_root) 2009 subpath = os.path.join(path_item, subitem) 2010 dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath) 2014 subpath = os.path.join(path_item, subitem) 2015 submeta = EggMetadata(zipimport.zipimporter(subpath)) 2016 submeta.egg_info = subpath 2211 return a subpath if the module __path__ does not already contain an [all …]
|
/aosp_15_r20/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1714 # Convert a virtual filename (full path to file) into a zipfile subpath 1722 "%s is not a subpath of %s" % (fspath, self.zip_pre) 1726 # Convert a zipfile subpath into an egg-relative path part list. 1732 "%s is not a subpath of %s" % (fspath, self.egg_root) 1996 subpath = os.path.join(path_item, subitem) 1997 dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath) 2001 subpath = os.path.join(path_item, subitem) 2002 submeta = EggMetadata(zipimport.zipimporter(subpath)) 2003 submeta.egg_info = subpath 2198 return a subpath if the module __path__ does not already contain an [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pkg_resources/ |
D | __init__.py | 1727 # Convert a virtual filename (full path to file) into a zipfile subpath 1735 "%s is not a subpath of %s" % (fspath, self.zip_pre) 1739 # Convert a zipfile subpath into an egg-relative path part list. 1745 "%s is not a subpath of %s" % (fspath, self.egg_root) 2009 subpath = os.path.join(path_item, subitem) 2010 dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath) 2014 subpath = os.path.join(path_item, subitem) 2015 submeta = EggMetadata(zipimport.zipimporter(subpath)) 2016 submeta.egg_info = subpath 2211 return a subpath if the module __path__ does not already contain an [all …]
|