Home
last modified time | relevance | path

Searched refs:path (Results 651 - 675 of 12204) sorted by relevance

1...<<21222324252627282930>>...489

/foundation/arkui/ui_lite/test/uitest/test_clip/
H A Dui_test_clip.cpp95 ClipPath path; in OnClick() local
97 path.Circle({70, 50}, g_radius1); in OnClick()
99 ClipImage(imageView1_, path); in OnClick()
103 ClipPath path; in OnClick() local
105 path.MoveTo({80, 80}).Arc({80, 80}, 50, g_startAngle, g_endAngle); in OnClick()
107 ClipImage(imageView2_, path); in OnClick()
160 void UITestClip::ClipImage(UIImageView* imageView, ClipPath& path) in ClipImage() argument
164 clip.PerformScan(path, info); in ClipImage()
195 ClipPath path; in UIKitClipTest001() local
197 path in UIKitClipTest001()
221 ClipPath path; UIKitClipTest002() local
247 ClipPath path; UIKitClipTest003() local
269 ClipPath path; UIKitClipTest004() local
283 ClipPath path; UIKitClipTest005() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp155 bool StoreUtil::InitPath(const std::string &path) in InitPath() argument
158 if (access(path.c_str(), F_OK) == 0) { in InitPath()
159 return RemoveRWXForOthers(path); in InitPath()
161 if (mkdir(path.c_str(), (S_IRWXU | S_IRWXG)) != 0 && errno != EEXIST) { in InitPath()
162 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath()
165 Acl acl(path); in InitPath()
179 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile()
186 std::vector<std::string> StoreUtil::GetSubPath(const std::string &path) in GetSubPath() argument
189 DIR *dirp = opendir(path in GetSubPath()
204 GetFiles(const std::string &path) GetFiles() argument
255 Remove(const std::string &path) Remove() argument
281 RemoveRWXForOthers(const std::string &path) RemoveRWXForOthers() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Ddcookies.c7 * Persistent cookie-path mappings. These are used by
28 #include <linux/path.h>
37 struct path path; member
56 return (unsigned long)dcs->path.dentry; in dcookie_value()
94 static struct dcookie_struct *alloc_dcookie(const struct path *path) in alloc_dcookie() argument
102 d = path->dentry; in alloc_dcookie()
107 dcs->path = *path; in alloc_dcookie()
117 get_dcookie(const struct path *path, unsigned long *cookie) get_dcookie() argument
155 char * path; do_lookup_dcookie() local
[all...]
H A Dopen.c69 long vfs_truncate(const struct path *path, loff_t length) in vfs_truncate() argument
74 inode = path->dentry->d_inode; in vfs_truncate()
82 error = mnt_want_write(path->mnt); in vfs_truncate()
108 error = security_path_truncate(path); in vfs_truncate()
110 error = do_truncate(path->dentry, length, 0, NULL); in vfs_truncate()
115 mnt_drop_write(path->mnt); in vfs_truncate()
124 struct path path; in do_sys_truncate() local
131 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate()
399 struct path path; do_faccessat() local
487 struct path path; SYSCALL_DEFINE1() local
535 struct path path; SYSCALL_DEFINE1() local
566 chmod_common(const struct path *path, umode_t mode) chmod_common() argument
615 struct path path; do_fchmodat() local
642 chown_common(const struct path *path, uid_t user, gid_t group) chown_common() argument
687 struct path path; do_fchownat() local
928 vfs_open(const struct path *path, struct file *file) vfs_open() argument
934 dentry_open(const struct path *path, int flags, const struct cred *cred) dentry_open() argument
957 open_with_fake_path(const struct path *path, int flags, struct inode *inode, const struct cred *cred) open_with_fake_path() argument
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/lib/
H A Dfind-visualstudio.js5 const { win32: path } = require('path')
39 this.configPath = path.resolve(this.configMsvsVersion)
49 path.resolve(process.env.VCINSTALLDIR, '..')
50 this.addLog('running in VS Command Prompt, installation path is:\n' +
74 `\n"${info.path}"` +
119 const ps = path.join(process.env.SystemRoot, 'System32',
121 const csFile = path.join(__dirname, 'Find-VisualStudio.cs')
166 this.log.silly(`processing installation: "${info.path}"`)
167 info.path
[all...]
/third_party/skia/src/gpu/ops/
H A DTessellationPathRenderer.cpp34 const SkPath& path, in make_non_convex_fill_op()
36 SkASSERT(!path.isConvex() || path.isInverseFillType()); in make_non_convex_fill_op()
37 int numVerbs = path.countVerbs(); in make_non_convex_fill_op()
38 if (numVerbs > 0 && !path.isInverseFillType()) { in make_non_convex_fill_op()
39 // Check if the path is large and/or simple enough that we can triangulate the inner fan in make_non_convex_fill_op()
50 path, in make_non_convex_fill_op()
60 path, in make_non_convex_fill_op()
115 SkPath path; in onDrawPath() local
116 args.fShape->asPath(&path); in onDrawPath()
28 make_non_convex_fill_op(GrRecordingContext* rContext, SkArenaAlloc* arena, skgpu::v1::FillPathFlags fillPathFlags, GrAAType aaType, const SkRect& drawBounds, const SkMatrix& viewMatrix, const SkPath& path, GrPaint&& paint) make_non_convex_fill_op() argument
206 SkPath path; onStencilPath() local
[all...]
/third_party/libunwind/libunwind/src/
H A Dos-hpux.c37 char *path, size_t pathlen) in tdep_get_elf_image()
57 if (path) in tdep_get_elf_image()
59 strncpy(path, path2, pathlen); in tdep_get_elf_image()
60 path[pathlen - 1] = '\0'; in tdep_get_elf_image()
61 if (strcmp(path, path2) != 0) in tdep_get_elf_image()
62 Debug(1, "buffer size (%d) not big enough to hold path\n", pathlen); in tdep_get_elf_image()
64 Debug(1, "segbase=%lx, mapoff=%lx, path=%s\n", *segbase, *mapoff, path); in tdep_get_elf_image()
66 return elf_map_image (ei, path); in tdep_get_elf_image()
72 tdep_get_exe_image_path (char *path) in tdep_get_exe_image_path() argument
35 tdep_get_elf_image(struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char *path, size_t pathlen) tdep_get_elf_image() argument
[all...]
/third_party/node/deps/v8/tools/gcmole/
H A Drun-gcmole.py7 import os.path namespace
12 GCMOLE_PATH = os.path.dirname(os.path.abspath(__file__))
13 CLANG_BIN = os.path.join(GCMOLE_PATH, 'gcmole-tools', 'bin')
14 CLANG_PLUGINS = os.path.join(GCMOLE_PATH, 'gcmole-tools')
15 DRIVER = os.path.join(GCMOLE_PATH, 'gcmole.py')
16 BASE_PATH = os.path.dirname(os.path.dirname(GCMOLE_PATH))
20 if not os.path.isfile("out/build/gen/torque-generated/builtin-definitions.h"):
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A D__freading.c19 const char *path = "/data/freading.txt"; variable
30 FILE *fp = fopen(path, "w"); in __freading_0100()
33 FILE *ffp = fopen(path, "r"); in __freading_0100()
37 remove(path); in __freading_0100()
49 FILE *fp = fopen(path, "w"); in __freading_0200()
52 FILE *ffp = fopen(path, "r"); in __freading_0200()
58 remove(path); in __freading_0200()
70 FILE *fp = fopen(path, "w"); in __freading_0300()
75 remove(path); in __freading_0300()
H A Dsetbuf.c32 char path[PATH_MAX] = {0}; in setbuf_0100() local
33 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuf_0100()
34 FILE *f = fopen(path, "w+"); in setbuf_0100()
43 f = fopen(path, "r"); in setbuf_0100()
50 remove(path); in setbuf_0100()
60 char path[PATH_MAX] = {0}; in setbuf_0200() local
61 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setbuf_0200()
62 FILE *f = fopen(path, "w+"); in setbuf_0200()
72 remove(path); in setbuf_0200()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dvirtual_file_store.h26 /// Stores a number of virtual files by path.
29 /// Return the path sanitized into a canonical form.
30 static std::string GetCanonical(const std::string& path);
32 /// Adds the virtual file with content |content| to the virtual file path
33 /// |path|. If there's already a virtual file with the given path, an error is
35 Result Add(const std::string& path, const std::string& content) { in Add() argument
36 if (path.length() == 0) { in Add()
37 return Result("Virtual file path was empty"); in Add()
40 auto canonical = GetCanonical(path); in Add()
52 Get(const std::string& path, std::string* content) const Get() argument
[all...]
/third_party/skia/docs/examples/
H A DPath_ConvertConicToQuads.cpp16 SkPath path; in REG_FIDDLE() local
17 path.moveTo(conic[0]); in REG_FIDDLE()
18 path.conicTo(conic[1], conic[2], weight); in REG_FIDDLE()
19 canvas->drawPath(path, conicPaint); in REG_FIDDLE()
20 path.rewind(); in REG_FIDDLE()
21 path.moveTo(quads[0]); in REG_FIDDLE()
22 path.quadTo(quads[1], quads[2]); in REG_FIDDLE()
23 path.quadTo(quads[3], quads[4]); in REG_FIDDLE()
24 canvas->drawPath(path, quadPaint); in REG_FIDDLE()
H A DCanvas_drawPath.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(20, 20); in REG_FIDDLE()
9 path.quadTo(60, 20, 60, 60); in REG_FIDDLE()
10 path.close(); in REG_FIDDLE()
11 path.moveTo(60, 20); in REG_FIDDLE()
12 path.quadTo(60, 60, 20, 60); in REG_FIDDLE()
21 canvas->drawPath(path, paint); in REG_FIDDLE()
30 path.setFillType(fill); in REG_FIDDLE()
33 canvas->drawPath(path, paint); in REG_FIDDLE()
/third_party/skia/modules/svg/src/
H A DSkSVGPath.cpp23 bool SkSVGAttributeParser::parse<SkPath>(SkPath* path) { in parse() argument
24 return SkParsePath::FromSVGString(fCurPos, path); in parse()
30 SkPath path = fPath; // Note: point and verb data are CoW in onDraw() local
31 path.setFillType(fillType); in onDraw()
32 canvas->drawPath(path, paint); in onDraw()
36 SkPath path = fPath; in onAsPath() local
38 path.setFillType(ctx.presentationContext().fInherited.fClipRule->asFillType()); in onAsPath()
39 this->mapToParent(&path); in onAsPath()
40 return path; in onAsPath()
/third_party/vk-gl-cts/scripts/
H A Dcppcheck.py136 fullDstFile = os.path.realpath(dstFile)
142 for path in INCLUDE_DIRS:
143 command += " -I %s" % path
145 for path in SRC_DIRS:
146 command += " %s" % path
159 srcDir = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")))
/kernel/linux/linux-6.6/fs/btrfs/
H A Drelocation.c212 * walk down backref nodes to find start of next reference path
476 struct btrfs_path *path; in build_backref_tree() local
486 path = btrfs_alloc_path(); in build_backref_tree()
487 if (!path) { in build_backref_tree()
503 ret = btrfs_backref_add_tree_node(trans, cache, path, iter, in build_backref_tree()
532 btrfs_free_path(path); in build_backref_tree()
1019 struct btrfs_path *path; in get_new_location() local
1024 path = btrfs_alloc_path(); in get_new_location()
1025 if (!path) in get_new_location()
1029 ret = btrfs_lookup_file_extent(NULL, root, path, in get_new_location()
1191 memcmp_node_keys(struct extent_buffer *eb, int slot, struct btrfs_path *path, int level) memcmp_node_keys() argument
1211 replace_path(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_root *dest, struct btrfs_root *src, struct btrfs_path *path, struct btrfs_key *next_key, int lowest_level, int max_level) replace_path() argument
1438 walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, int *level) walk_up_reloc_tree() argument
1475 walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, int *level) walk_down_reloc_tree() argument
1591 find_next_key(struct btrfs_path *path, int level, struct btrfs_key *key) find_next_key() argument
1702 struct btrfs_path *path; merge_reloc_root() local
2402 do_relocation(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_backref_node *node, struct btrfs_key *key, struct btrfs_path *path, int lowest) do_relocation() argument
2560 link_to_upper(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_backref_node *node, struct btrfs_path *path) link_to_upper() argument
2571 finish_pending_nodes(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_path *path, int err) finish_pending_nodes() argument
2670 relocate_tree_block(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct btrfs_backref_node *node, struct btrfs_key *key, struct btrfs_path *path) relocate_tree_block() argument
2776 struct btrfs_path *path; relocate_tree_blocks() local
3195 add_tree_block(struct reloc_control *rc, struct btrfs_key *extent_key, struct btrfs_path *path, struct rb_root *blocks) add_tree_block() argument
3300 struct btrfs_path *path; __add_tree_block() local
3448 add_data_references(struct reloc_control *rc, struct btrfs_key *extent_key, struct btrfs_path *path, struct rb_root *blocks) add_data_references() argument
3498 find_next_extent(struct reloc_control *rc, struct btrfs_path *path, struct btrfs_key *extent_key) find_next_extent() argument
3652 struct btrfs_path *path; relocate_block_group() local
3817 struct btrfs_path *path; __insert_orphan_inode() local
3847 struct btrfs_path *path; delete_orphan_inode() local
4025 struct btrfs_path *path; btrfs_relocate_block_group() local
4210 struct btrfs_path *path; btrfs_recover_relocation() local
[all...]
H A Dxattr.c32 struct btrfs_path *path; in btrfs_getxattr() local
37 path = btrfs_alloc_path(); in btrfs_getxattr()
38 if (!path) in btrfs_getxattr()
42 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr()
52 leaf = path->nodes[0]; in btrfs_getxattr()
79 btrfs_free_path(path); in btrfs_getxattr()
89 struct btrfs_path *path; in btrfs_setxattr() local
98 path = btrfs_alloc_path(); in btrfs_setxattr()
99 if (!path) in btrfs_setxattr()
101 path in btrfs_setxattr()
283 struct btrfs_path *path; btrfs_listxattr() local
[all...]
/test/testfwk/developer_test/local_coverage/interface_coverage/
H A Dget_innerkits_json.py30 sys.localcoverage_path = os.path.join(current_path, "..")
31 sys.path.insert(0, sys.localcoverage_path)
42 output_json_path = os.path.join(output_json_path, "kits_modules_info.json")
44 if os.path.exists(output_json_path):
52 def get_parts_list(path):
56 if os.path.exists(path):
57 folder_list = os.listdir(path)
59 print("The folder: %s does not exist" % path)
72 part_info_path = os.path
[all...]
/third_party/ninja/src/
H A Ddisk_interface.h37 virtual Status ReadFile(const std::string& path, std::string* contents,
48 virtual TimeStamp Stat(const std::string& path, std::string* err) const = 0;
51 virtual bool MakeDir(const std::string& path) = 0;
55 virtual bool WriteFile(const std::string& path,
58 /// Remove the file named @a path. It behaves like 'rm -f path' so no errors
63 virtual int RemoveFile(const std::string& path) = 0;
65 /// Create all the parent directories for path; like mkdir -p
66 /// `basename path`.
67 bool MakeDirs(const std::string& path);
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_path.py10 def execute(self, package, path):
11 with resources.as_file(resources.files(package).joinpath(path)):
21 with resources.as_file(target) as path:
22 self.assertTrue(path.name.endswith("utf-8.file"), repr(path))
24 with path.open('r', encoding='utf-8') as file:
37 with resources.as_file(target) as path:
38 assert 'data' in str(path)
46 file=file, path=FileNotFoundError("package exists only in memory")
57 with resources.as_file(target) as path
[all...]
/third_party/vk-gl-cts/scripts/src_util/
H A Dcommon.py69 ext = os.path.splitext(filePath)[1]
96 scriptDir = os.path.dirname(os.path.abspath(__file__))
97 projectDir = os.path.normpath(os.path.join(scriptDir, "../.."))
108 return os.path.normpath(os.path.join(getProjectPath(), projectRelativePath))
114 return [getAbsolutePathPathFromProjectRelativePath(path) for path in relativePaths]
119 return [getAbsolutePathPathFromProjectRelativePath(path) fo
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp53 FilePath::FilePath(const std::string &path) : path_(path) in FilePath() argument
110 // Capture path components. in GetComponents()
228 for (FilePath path = const_cast<FilePath &>(fullPath).DirName(); path.Value() != lastPath.Value(); in CreateDirectory()
229 path = path.DirName()) { in CreateDirectory()
230 subpaths.push_back(path); in CreateDirectory()
231 lastPath = path; in CreateDirectory()
250 bool FilePath::DirectoryExists(const FilePath &path) in DirectoryExists() argument
260 IsDir(const FilePath &path) IsDir() argument
272 PathIsValid(const FilePath &path) PathIsValid() argument
277 PathIsReadable(const FilePath &path) PathIsReadable() argument
282 PathIsWriteable(const FilePath &path) PathIsWriteable() argument
342 AppendRelativePath(const FilePath &child, FilePath *path) AppendRelativePath() argument
385 GetZipAllDirFiles(const std::string &path, std::vector<std::string> &files) GetZipAllDirFiles() argument
450 HasRelativePathBaseOnAPIVersion(const std::string &path) HasRelativePathBaseOnAPIVersion() argument
[all...]
/test/testfwk/developer_test/src/core/command/
H A Drun.py61 target_out_path = os.path.join(
65 target_out_path = os.path.abspath(target_out_path)
102 testcase_path = os.path.abspath(os.path.join(
106 testcase_path = os.path.abspath(os.path.join(
110 testcase_path = os.path.join(
119 xts_testcase_path = os.path.abspath(os.path.join(
129 external_deps_path = os.path
[all...]
/third_party/libdrm/tests/amdgpu/
H A Dras_tests.c504 char path[PATH_SIZE]; in amdgpu_ras_lookup_id() local
513 snprintf(path, PATH_SIZE, "/sys/kernel/debug/dri/%d/name", i); in amdgpu_ras_lookup_id()
514 if (get_file_contents(path, str, sizeof(str)) <= 0) in amdgpu_ras_lookup_id()
611 char path[PATH_SIZE]; in amdgpu_ras_invoke() local
614 snprintf(path, sizeof(path), "%s", get_ras_debugfs_root()); in amdgpu_ras_invoke()
615 strncat(path, "ras_ctrl", sizeof(path) - strlen(path)); in amdgpu_ras_invoke()
617 ret = set_file_contents(path, (cha in amdgpu_ras_invoke()
846 char path[PATH_SIZE]; amdgpu_ras_basic_test() local
[all...]
/third_party/python/Lib/distutils/
H A Dmsvc9compiler.py63 def get_value(cls, path, key):
65 d = cls.read_values(base, path)
128 def set_macro(self, macro, path, key):
129 self.macros["$(%s)" % macro] = Reg.get_value(path, key)
200 np = os.path.normpath(p)
231 if not productdir or not os.path.isdir(productdir):
235 if toolsdir and os.path.isdir(toolsdir):
236 productdir = os.path.join(toolsdir, os.pardir, os.pardir, "VC")
237 productdir = os.path.abspath(productdir)
238 if not os.path
[all...]

Completed in 13 milliseconds

1...<<21222324252627282930>>...489