/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | test.c | 807 * paths like this (you either use lane 0 where lane 1 is in tb_test_path_not_bonded_lane1() 1236 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1237 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1238 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1239 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie() 1240 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie() 1241 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie() 1251 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1252 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1253 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[ in tb_test_tunnel_pcie() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/tools/ |
H A D | utils.py | 25 paths = [] 37 paths.append(os.path.join(root, path)) 38 return paths 45 paths = [] 53 paths.append(root_path) 54 return paths
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuDataTest.java | 56 Set<RbPath> paths = icuData.getPaths(); in testGetPaths() 57 assertThat(paths).isEmpty(); in testGetPaths() 62 assertThat(paths).containsExactly(fooBar); in testGetPaths() 63 assertThat(paths).hasSize(1); in testGetPaths() 68 assertThat(paths).containsExactly(fooBar, fooBaz).inOrder(); in testGetPaths() 69 assertThat(paths).hasSize(2); in testGetPaths() 72 assertThrows(UnsupportedOperationException.class, () -> paths.add(RbPath.of("nope"))); in testGetPaths() 73 assertThrows(UnsupportedOperationException.class, () -> paths.remove(fooBar)); in testGetPaths() 74 assertThrows(UnsupportedOperationException.class, paths::clear); in testGetPaths()
|
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/key/ |
H A D | certificate.js | 55 // Construct all possible paths from the leaf 56 let paths = this.buildPaths(leafCert); 57 // Filter for paths which contain a trusted certificate 58 paths = paths.filter((path) => path.some((cert) => this.trustedCerts.includes(cert))); 59 if (paths.length === 0) { 65 // Find the shortest of possible paths 67 const path = paths.reduce((prev, curr) => prev.length < curr.length ? prev : curr); 73 // Recursively build all possible paths from the leaf to the root 75 const paths [all...] |
/third_party/rust/crates/which-rs/src/ |
H A D | lib.rs | 64 /// Does not resolve relative paths. 84 /// Find all binaries with `binary_name` using `cwd` to resolve relative paths. 148 /// Find `binary_name` in the path list `paths`, using `cwd` to resolve relative paths. 149 pub fn which_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<path::PathBuf> in which_in() 155 which_in_all(binary_name, paths, cwd) in which_in() 159 /// Find all binaries matching a regular expression in a list of paths. 166 /// * `paths` - A string containing the paths to search 177 /// let paths [all...] |
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | FieldMaskUtil.java | 69 // Ignore empty paths. in toString() 91 * Parses from a string to a FieldMask and validates all field paths. 101 * Constructs a FieldMask for a list of field paths in a certain type. 106 public static FieldMask fromStringList(Class<? extends Message> type, Iterable<String> paths) { in fromStringList() argument 107 return fromStringList(Internal.getDefaultInstance(type).getDescriptorForType(), paths); in fromStringList() 111 * Constructs a FieldMask for a list of field paths in a certain type. 115 public static FieldMask fromStringList(Descriptor descriptor, Iterable<String> paths) { in fromStringList() argument 116 return fromStringList(Optional.of(descriptor), paths); in fromStringList() 120 * Constructs a FieldMask for a list of field paths in a certain type. Does not validate the given 121 * paths 123 fromStringList(Iterable<String> paths) fromStringList() argument 127 fromStringList(Optional<Descriptor> descriptor, Iterable<String> paths) fromStringList() argument [all...] |
/third_party/vulkan-loader/tests/framework/shim/ |
H A D | shim_common.cpp | 196 void parse_and_add_env_var_override(std::vector<std::string>& paths, std::string env_var_contents) { argument 198 paths.insert(paths.end(), parsed_paths.begin(), parsed_paths.end()); 202 std::vector<std::string> paths; local 210 paths.push_back((home / ".config").str()); 211 paths.push_back((home / ".local/share").str()); 218 parse_and_add_env_var_override(paths, get_env_var("XDG_CONFIG_HOME", report_errors)); 220 parse_and_add_env_var_override(paths, get_env_var("VK_LAYER_PATH", false)); // don't report failure 222 parse_and_add_env_var_override(paths, FALLBACK_DATA_DIRS); 223 parse_and_add_env_var_override(paths, FALLBACK_CONFIG_DIR [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_goto_ifs.c | 49 struct path paths[2]; member 140 if (_mesa_set_search(fork->paths[i].reachable, target)) { in set_path_vars() 147 fork = fork->paths[i].fork; in set_path_vars() 156 * If the blocks are in different fork paths, the condition will be used. 167 if (_mesa_set_search(fork->paths[i].reachable, then_block)) { in set_path_vars_cond() 168 if (_mesa_set_search(fork->paths[i].reachable, else_block)) { in set_path_vars_cond() 175 fork = fork->paths[i].fork; in set_path_vars_cond() 191 set_path_vars(b, fork->paths[i].fork, then_block); in set_path_vars_cond() 192 set_path_vars(b, fork->paths[!i].fork, else_block); in set_path_vars_cond() 277 struct set *reachable = _mesa_set_clone(fork->paths[ in fork_reachable() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | tunnel.c | 143 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 144 if (!tunnel->paths) { in tb_tunnel_alloc() 279 * Discover both paths even if they are not complete. We will in tb_tunnel_discover_pci() 290 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci() 291 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci() 298 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci() 299 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci() 360 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci() 368 tunnel->paths[TB_PCI_PATH_U in tb_tunnel_alloc_pci() 817 struct tb_path **paths; tb_dp_activate() local 1393 struct tb_path **paths; tb_tunnel_alloc_dp() local [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_namespace_pkgs.py | 59 Subclasses should define self.root and self.paths (under that root) 66 os.path.join(self.root, path) for path in self.paths 72 paths = ['portion1'] variable in SingleNamespacePackage 91 paths = ['portion1'] variable in DynamicPathNamespacePackage 110 paths = ['both_portions'] variable in CombinedNamespacePackages 120 paths = ['portion1', 'portion2'] variable in SeparatedNamespacePackages 130 paths = ['portion1'] variable in SeparatedNamespacePackagesCreatedWhileRunning 164 paths = ['portion1', 'both_portions'] variable in SeparatedOverlappingNamespacePackages 187 paths = ['top_level_portion1.zip'] variable in SingleZipNamespacePackage 199 paths variable in SeparatedZipNamespacePackages 211 paths = ['nested_portion1.zip/nested_portion1'] global() variable in SingleNestedZipNamespacePackage 223 paths = ['nested_portion1.zip/nested_portion1', 'portion2'] global() variable in SeparatedNestedZipNamespacePackages 236 paths = ['not_a_namespace_pkg', 'portion1', 'portion2', 'both_portions'] global() variable in LegacySupport 247 paths = ['project1', 'project2'] global() variable in DynamicPathCalculation 292 paths = ['missing_directory.zip'] global() variable in ZipWithMissingDirectory 317 paths = ['module_and_namespace_package'] global() variable in ModuleAndNamespacePackageInSameDir 327 paths = ['portion1'] global() variable in ReloadTests 357 paths = ['portion1'] global() variable in LoaderTests [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuData.java | 19 * Mutable ICU data, represented as a mapping from resource bundle paths to a sequence of values. 26 private final NavigableSet<RbPath> paths = new TreeSet<>(); field in IcuData 74 paths.add(rbPath); in add() 80 paths.add(rbPath); in add() 87 paths.add(rbPath); in replace() 108 return paths.contains(rbPath) ? rbPathToValues.get(rbPath) : null; in get() 111 /** Returns an unmodifiable view of the set of paths in this instance. */ 113 return Collections.unmodifiableSet(paths); in getPaths() 121 paths.forEach(p -> { in toString()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveName.cpp | 33 const UStringVector &paths,
in CreateArchiveName() 40 if (paths.Size() == 1)
in CreateArchiveName() 42 const UString &name = paths[0];
in CreateArchiveName() 51 if (paths.Size() > 1)
in CreateArchiveName() 53 if (!fi && paths.Size() != 0)
in CreateArchiveName() 55 const UString &path = paths.Front();
in CreateArchiveName() 56 if (paths.Size() == 1)
in CreateArchiveName() 112 FOR_VECTOR (i, paths)
in CreateArchiveName() 114 const UString &a = paths[i];
in CreateArchiveName() 32 CreateArchiveName( const UStringVector &paths, bool isHash, const NFind::CFileInfo *fi, UString &baseName) CreateArchiveName() argument
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | FieldMaskTree.cs | 94 /// a field path to the tree, redundant sub-paths will be removed. That is, 133 // Turn the matching node into a leaf node (i.e., remove sub-paths). in AddFieldPath() 139 /// Merges all field paths in a FieldMask into this tree. 159 var paths = new List<string>(); in ToFieldMask() 160 GetFieldPaths(root, "", paths); in ToFieldMask() 161 mask.Paths.AddRange(paths); in ToFieldMask() 168 /// Gathers all field paths in a sub-tree. 170 private void GetFieldPaths(Node node, string path, List<string> paths) in GetFieldPaths() argument 174 paths.Add(path); in GetFieldPaths() 181 GetFieldPaths(entry.Value, childPath, paths); in GetFieldPaths() [all...] |
/third_party/node/test/parallel/ |
H A D | test-module-nodemodulepaths.js | 123 const paths = _module._nodeModulePaths(c.file); 125 c.expect, paths, 126 `case ${c.file} failed, actual paths is ${JSON.stringify(paths)}`);
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | FieldMaskPartial.cs | 49 /// Converts a field mask specified by paths to a string. 56 /// <param name="paths">Paths in the field mask</param> 59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() argument 61 var firstInvalid = paths.FirstOrDefault(p => !IsPathValid(p)); in ToJson() 66 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson() 69 JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson() 78 writer.Write("{ \"@warning\": \"Invalid FieldMask\", \"paths\": "); in ToJson() 79 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson() 115 /// Parses from a string to a FieldMask and validates all field paths. 117 /// <typeparam name="T">The type to validate the field paths agains [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | interconnect.h | 42 struct icc_bulk_data *paths); 43 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 44 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 45 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 46 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
H A D | SupplementalMapper.java | 35 * @param paths a matcher to select the CLDR paths to be transformed. 44 Predicate<CldrPath> paths) { in process() 47 new SupplementalMapper(src, transformer, paths).addIcuData(icuData); in process() 51 private final Predicate<CldrPath> paths; field in SupplementalMapper 58 this.paths = checkNotNull(pathFilter); in SupplementalMapper() 71 if (paths.test(value.getPath())) { in visit() 40 process( CldrDataSupplier src, PathValueTransformer transformer, String icuName, Predicate<CldrPath> paths) process() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | g722enc.c | 55 av_freep(&c->paths[i]); in g722_encode_close() 108 c->paths[i] = av_calloc(max_paths, sizeof(**c->paths)); in g722_encode_init() 111 if (!c->paths[i] || !c->node_buf[i] || !c->nodep_buf[i]) in g722_encode_init() 248 c->paths[index][node->path].value = VALUE;\ in g722_encode_trellis() 249 c->paths[index][node->path].prev = cur_node->path;\ in g722_encode_trellis() 297 p[0] = &c->paths[0][nodes[0][0]->path]; in g722_encode_trellis() 298 p[1] = &c->paths[1][nodes[1][0]->path]; in g722_encode_trellis() 301 p[0] = &c->paths[0][p[0]->prev]; in g722_encode_trellis() 302 p[1] = &c->paths[ in g722_encode_trellis() [all...] |
/third_party/alsa-utils/axfer/test/ |
H A D | mapper-test.c | 33 char **paths; member 240 const char *path = trial->paths[i]; in test_mapper() 446 char **paths = NULL; in main() local 458 paths = calloc(samples_per_frame, sizeof(*paths)); in main() 459 if (paths == NULL) { in main() 464 paths[i] = malloc(8); in main() 465 if (paths[i] == NULL) { in main() 469 snprintf(paths[i], 8, "hoge%d", i); in main() 509 trial->paths in main() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/scripts/ |
H A D | test_compact_ids.py | 76 paths = sys.argv[1:] 77 if not paths: 84 for path in paths: 90 print('Tested ' + str(len(paths)) + ' files')
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/scripts/ |
H A D | test_compact_ids.py | 76 paths = sys.argv[1:] 77 if not paths: 84 for path in paths: 90 print('Tested ' + str(len(paths)) + ' files')
|
/third_party/spirv-tools/test/scripts/ |
H A D | test_compact_ids.py | 76 paths = sys.argv[1:] 77 if not paths: 84 for path in paths: 90 print('Tested ' + str(len(paths)) + ' files')
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 19 char paths[MAX_FILES][MAX_PATH_LEN]; member 27 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 136 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 139 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic() 140 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic() 143 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 30 char paths[MAX_FILES][MAX_PATH_LEN]; member 38 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 156 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic() 157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic() 160 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
|
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 76 // Collect the paths to search for a `clang` executable in. in find() 78 let mut paths = vec![]; in find() variables 81 paths.push(path.into()); in find() 86 paths.push(line.into()); in find() 93 paths.push(line.into()); in find() 99 paths.extend(env::split_paths(&path)); in find() 108 for path in &paths { in find() 120 for path in paths { in find() 221 /// Parses the search paths from the output of a `clang` executable if possible. 228 let paths in parse_search_paths() [all...] |