Home
last modified time | relevance | path

Searched refs:paths (Results 1 - 25 of 748) sorted by relevance

12345678910>>...30

/kernel/linux/linux-6.6/drivers/interconnect/
H A Dbulk.c8 * of_icc_bulk_get() - get interconnect paths
11 * @paths: the table with the paths we want to get
16 struct icc_bulk_data *paths) in of_icc_bulk_get()
21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get()
22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get()
23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get()
26 paths[i].name, ret); in of_icc_bulk_get()
27 paths[ in of_icc_bulk_get()
15 of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) of_icc_bulk_get() argument
46 icc_bulk_put(int num_paths, struct icc_bulk_data *paths) icc_bulk_put() argument
62 icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) icc_bulk_set_bw() argument
86 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument
112 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument
120 struct icc_bulk_data *paths; global() member
139 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) devm_of_icc_bulk_get() argument
[all...]
/kernel/linux/linux-5.10/drivers/interconnect/
H A Dbulk.c8 * of_icc_bulk_get() - get interconnect paths
11 * @paths: the table with the paths we want to get
16 struct icc_bulk_data *paths) in of_icc_bulk_get()
21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get()
22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get()
23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get()
26 paths[i].name, ret); in of_icc_bulk_get()
27 paths[ in of_icc_bulk_get()
15 of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) of_icc_bulk_get() argument
46 icc_bulk_put(int num_paths, struct icc_bulk_data *paths) icc_bulk_put() argument
62 icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) icc_bulk_set_bw() argument
86 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument
112 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dfield_mask_utility.cc109 util::Status DecodeCompactFieldMaskPaths(StringPiece paths, in DecodeCompactFieldMaskPaths() argument
112 int length = paths.length(); in DecodeCompactFieldMaskPaths()
127 if (paths[i] == '\\') { in DecodeCompactFieldMaskPaths()
131 if (paths[i] != '\"') { in DecodeCompactFieldMaskPaths()
135 if (i >= length - 1 || paths[i + 1] != ']') { in DecodeCompactFieldMaskPaths()
139 "Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
147 if (i < length - 1 && paths[i + 1] != '.' && paths[i + 1] != ',' && in DecodeCompactFieldMaskPaths()
148 paths[i + 1] != ')' && paths[ in DecodeCompactFieldMaskPaths()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DFieldMaskTreeTest.cs47 RepeatedField<string> paths = tree.ToFieldMask().Paths; in AddFieldPath()
48 Assert.AreEqual(0, paths.Count); in AddFieldPath()
51 paths = tree.ToFieldMask().Paths; in AddFieldPath()
52 Assert.AreEqual(1, paths.Count); in AddFieldPath()
53 Assert.Contains("", paths); in AddFieldPath()
57 paths = tree.ToFieldMask().Paths; in AddFieldPath()
58 Assert.AreEqual(2, paths.Count); in AddFieldPath()
59 Assert.Contains("foo", paths); in AddFieldPath()
63 paths = tree.ToFieldMask().Paths; in AddFieldPath()
64 Assert.AreEqual(2, paths in AddFieldPath()
[all...]
/third_party/alsa-utils/axfer/
H A Dxfer-options.c52 static int allocate_paths(struct xfer_context *xfer, char *const *paths, in allocate_paths() argument
63 xfer->paths = calloc(count, sizeof(xfer->paths[0])); in allocate_paths()
64 if (xfer->paths == NULL) in allocate_paths()
69 xfer->paths[0] = strdup("-"); in allocate_paths()
70 if (xfer->paths[0] == NULL) in allocate_paths()
74 xfer->paths[i] = strndup(paths[i], PATH_MAX); in allocate_paths()
75 if (xfer->paths[i] == NULL) in allocate_paths()
180 !strcmp(xfer->paths[ in validate_options()
[all...]
/third_party/skia/gm/
H A Dpathmaskcache.cpp77 SkTArray<SkPath> paths; variable
78 paths.push_back();
79 paths.back().moveTo(0.f, 0.f);
80 paths.back().lineTo(98.f, 100.f);
81 paths.back().lineTo(100.f, 100.f);
82 paths.back().conicTo(150.f, 50.f, 100.f, 0.f, 0.6f);
83 paths.back().conicTo(148.f, 50.f, 100.f, 100.f, 0.6f);
84 paths.back().conicTo(50.f, 30.f, 0.f, 100.f, 0.9f);
86 paths.push_back();
87 paths
[all...]
/third_party/node/benchmark/path/
H A Drelative-posix.js6 paths: [
18 function main({ n, paths }) {
20 const delimIdx = paths.indexOf('|');
22 to = paths.slice(delimIdx + 1);
23 paths = paths.slice(0, delimIdx);
29 posix.relative(`${paths}${i}`, `${to}${i}`);
31 posix.relative(paths, to);
H A Drelative-win32.js6 paths: [
16 function main({ n, paths }) {
18 const delimIdx = paths.indexOf('|');
20 to = paths.slice(delimIdx + 1);
21 paths = paths.slice(0, delimIdx);
27 win32.relative(`${paths}${i}`, `${to}${i}`);
29 win32.relative(paths, to);
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_writer.cc181 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries() argument
182 // Pointers to directory paths in |paths|. in AddMixedEntries()
188 // First pass. We don't know which paths are files and which ones are in AddMixedEntries()
190 // path. Try to open all of the paths as files. We'll get invalid file in AddMixedEntries()
193 while (!paths.empty()) { in AddMixedEntries()
194 // Work with chunks of 50 paths at most. in AddMixedEntries()
195 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries()
196 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries()
197 paths in AddMixedEntries()
229 AddFileEntries(Paths paths) AddFileEntries() argument
268 AddDirectoryEntries(Paths paths) AddDirectoryEntries() argument
294 Filter(std::vector<base::FilePath>* const paths) Filter() argument
[all...]
/third_party/node/deps/zlib/google/
H A Dzip_writer.cc181 bool ZipWriter::AddMixedEntries(Paths paths) { in AddMixedEntries() argument
182 // Pointers to directory paths in |paths|. in AddMixedEntries()
188 // First pass. We don't know which paths are files and which ones are in AddMixedEntries()
190 // path. Try to open all of the paths as files. We'll get invalid file in AddMixedEntries()
193 while (!paths.empty()) { in AddMixedEntries()
194 // Work with chunks of 50 paths at most. in AddMixedEntries()
195 const size_t n = std::min<size_t>(paths.size(), 50); in AddMixedEntries()
196 const Paths relative_paths = paths.subspan(0, n); in AddMixedEntries()
197 paths in AddMixedEntries()
229 AddFileEntries(Paths paths) AddFileEntries() argument
268 AddDirectoryEntries(Paths paths) AddDirectoryEntries() argument
294 Filter(std::vector<base::FilePath>* const paths) Filter() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dinterconnect.h45 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths);
54 struct icc_bulk_data *paths);
55 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths);
56 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths);
57 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths);
58 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
107 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument
113 struct icc_bulk_data *paths) in devm_of_icc_bulk_get()
118 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
122 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
112 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) devm_of_icc_bulk_get() argument
127 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument
132 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument
[all...]
/third_party/skia/third_party/externals/spirv-cross/
H A Dtest_shaders.py185 def cross_compile_msl(shader, spirv, opt, iterations, paths):
191 spirv_cmd = [paths.spirv_as, '--target-env', spirv_env, '-o', spirv_path, shader]
198 subprocess.check_call([paths.glslang, '--amb' ,'--target-env', 'vulkan1.1', '-V', '-o', spirv_path, shader])
202 subprocess.check_call([paths.spirv_opt, '--skip-validation', '-O', '--graphics-robust-access', '-o', spirv_path, spirv_path])
204 subprocess.check_call([paths.spirv_opt, '--skip-validation', '-O', '-o', spirv_path, spirv_path])
206 spirv_cross_path = paths.spirv_cross
349 subprocess.check_call([paths.spirv_val, '--scalar-block-layout', '--target-env', spirv_env, spirv_path])
384 def validate_shader_hlsl(shader, force_no_external_validation, paths):
391 hlsl_args = [paths.glslang, '--amb', '-e', 'main', '-D', '--target-env', 'vulkan1.1', '-V', shader]
431 def cross_compile_hlsl(shader, spirv, opt, force_no_external_validation, iterations, paths)
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dclean_fonts_repo.py39 paths = GetFontList(args.source, ['.ttf', '.ttc', '.otf', 'OFL.txt'], True)
40 map (os.remove, paths)
42 map(lambda path: os.removedirs(os.path.dirname(path)), paths)
46 paths = GetLevelList(args.source, 4, True)
47 print paths
48 map(os.remove, paths)
50 map(lambda path: os.removedirs(os.path.dirname(path)), paths)
H A Dutils.py25 paths = []
37 paths.append(os.path.join(root, path))
38 return paths
45 paths = []
53 paths.append(root_path)
54 return paths
/third_party/skia/src/core/
H A DHMSymbol.cpp19 void HMSymbol::PathOutlineDecompose(const SkPath& path, std::vector<SkPath>& paths) in PathOutlineDecompose() argument
29 paths.push_back(path_stemp); in PathOutlineDecompose()
51 paths.push_back(path_stemp); in PathOutlineDecompose()
60 paths.push_back(path_stemp); in PathOutlineDecompose()
65 const std::vector<SkPath>& paths, std::vector<SkPath>& multPaths) in MultilayerPath()
69 for (size_t i = 0; i < paths.size(); i++) { in MultilayerPath()
70 path.addPath(paths[i]); in MultilayerPath()
78 if (multMap[i][j] < paths.size()) { in MultilayerPath()
79 path.addPath(paths[multMap[i][j]]); in MultilayerPath()
64 MultilayerPath(const std::vector<std::vector<size_t>>& multMap, const std::vector<SkPath>& paths, std::vector<SkPath>& multPaths) MultilayerPath() argument
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
H A Drole.js75 * - ``paths`` is set: delegates targets matching any path pattern in ``paths``
79 * ``paths`` and ``pathHashPrefixes`` are mutually exclusive: both cannot be
85 const { name, terminating, paths, pathHashPrefixes } = opts;
88 if (opts.paths && opts.pathHashPrefixes) {
89 throw new error_1.ValueError('paths and pathHashPrefixes are mutually exclusive');
91 this.paths = paths;
101 util_1.default.isDeepStrictEqual(this.paths, other.paths)
[all...]
/third_party/rust/crates/which-rs/src/
H A Dfinder.rs58 paths: Option<U>, in find()
76 let p = paths.ok_or(Error::CannotFindBinaryPath)?; in find()
77 let paths: Vec<_> = env::split_paths(&p).collect(); in find()
79 Either::Right(Self::path_search_candidates(path, paths).into_iter()) in find()
92 paths: Option<T>, in find_re()
98 let p = paths.ok_or(Error::CannotFindBinaryPath)?; in find_re()
100 // change the API to borrow on `paths`. in find_re()
102 let paths: Vec<_> = env::split_paths(&p).collect(); in find_re()
104 let matching_re = paths in find_re()
133 paths in path_search_candidates()
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dtunnel.c72 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
73 if (!tunnel->paths) { in tb_tunnel_alloc()
157 * Discover both paths even if they are not complete. We will in tb_tunnel_discover_pci()
168 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci()
169 tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP]); in tb_tunnel_discover_pci()
175 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci()
176 tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN]); in tb_tunnel_discover_pci()
239 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci()
248 tunnel->paths[TB_PCI_PATH_U in tb_tunnel_alloc_pci()
512 struct tb_path **paths; tb_dp_activate() local
743 struct tb_path **paths; tb_tunnel_alloc_dp() local
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtest.c934 * paths like this (you either use lane 0 where lane 1 is in tb_test_path_not_bonded_lane1()
1363 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1366 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie()
1367 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie()
1368 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie()
1378 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1379 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1380 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[ in tb_test_tunnel_pcie()
[all...]
/third_party/python/Tools/scripts/
H A Dwin_add2path.py37 paths = [envpath]
40 paths.append(path)
42 envpath = os.pathsep.join(paths)
44 return paths, envpath
47 paths, envpath = modify()
48 if len(paths) > 1:
50 print('\n'.join(paths[1:]))
/third_party/node/lib/internal/modules/cjs/
H A Dloader.js398 // Given a module name, and a list of paths to test, returns the first
605 * @param {Array<string>} paths Folders to search as file paths
609 Module._findPath = function(request, paths, isMain) {
612 paths = [''];
613 } else if (!paths || paths.length === 0) {
617 const cacheKey = request + '\x00' + ArrayPrototypeJoin(paths, '\x00');
656 for (let i = 0; i < paths.length; i++) {
658 const curPath = paths[
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
H A Dscripts.c28 char **paths; member
53 if (asprintf(&c->paths[c->index], in add_script_option()
73 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config()
88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local
96 .paths = paths, in list_scripts()
122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts()
125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts()
145 strcpy(script_name, paths[choice]); in list_scripts()
152 zfree(&paths[ in list_scripts()
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/browsers/
H A Dscripts.c28 char **paths; member
53 if (asprintf(&c->paths[c->index], in add_script_option()
73 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config()
88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local
96 .paths = paths, in list_scripts()
122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts()
125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts()
145 strcpy(script_name, paths[choice]); in list_scripts()
152 zfree(&paths[ in list_scripts()
[all...]
/third_party/node/test/parallel/
H A Dtest-module-relative-lookup.js13 let paths = _module._resolveLookupPaths(moduleName);
15 assertFunction(paths[0], '.');
17 paths = _module._resolveLookupPaths(moduleName, null);
18 assertFunction(paths && paths[0], '.');
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dshadowutils.cpp45 std::vector<OH_Drawing_Path*>& paths; member
82 void make_path_rect(std::vector<OH_Drawing_Path*>& paths, std::vector<DrawRect>& pathsBounds) in make_path_rect() argument
90 paths.push_back(path1); in make_path_rect()
97 paths.push_back(path2); in make_path_rect()
104 paths.push_back(path3); in make_path_rect()
110 paths.push_back(path4); in make_path_rect()
116 paths.push_back(path5); in make_path_rect()
123 paths.push_back(path6); in make_path_rect()
128 void make_path_star(std::vector<OH_Drawing_Path*>& paths, std::vector<DrawRect>& pathsBounds) in make_path_star() argument
145 paths in make_path_star()
158 destory_path(std::vector<OH_Drawing_Path*>& paths, std::vector<OH_Drawing_Path*>& concavePaths, std::vector<OH_Drawing_Matrix*>& matrices) destory_path() argument
351 std::vector<OH_Drawing_Path*> paths; draw_paths() local
[all...]

Completed in 11 milliseconds

12345678910>>...30