Home
last modified time | relevance | path

Searched refs:path (Results 876 - 900 of 11884) sorted by relevance

1...<<31323334353637383940>>...476

/third_party/skia/third_party/externals/tint/tools/
H A Drun_tests.py34 A single test case to be executed. Stores the path to the test file
171 base_path = os.path.abspath(
172 os.path.join(os.path.dirname(__file__), '..'))
177 default=os.path.join(base_path, 'out', 'Debug'),
178 help='path to build directory')
180 default=os.path.join(os.path.dirname(__file__), '..',
184 help='path to directory containing test files')
187 default=os.path
[all...]
/kernel/linux/linux-6.6/security/landlock/
H A Dfs.c24 #include <linux/path.h>
164 * @path: Should have been checked by get_path_from_fd().
167 const struct path *const path, in landlock_append_fs_rule()
174 if (!d_is_dir(path->dentry) && in landlock_append_fs_rule()
184 object = get_inode_object(d_backing_inode(path->dentry)); in landlock_append_fs_rule()
447 * is_access_to_paths_allowed - Check accesses for requests with a common path
450 * @path: File hierarchy to walk through.
453 * requested path for most actions, or the source in case of a refer action
458 * this matrix can be unset according to the @path wal
166 landlock_append_fs_rule(struct landlock_ruleset *const ruleset, const struct path *const path, access_mask_t access_rights) landlock_append_fs_rule() argument
485 is_access_to_paths_allowed( const struct landlock_ruleset *const domain, const struct path *const path, const access_mask_t access_request_parent1, layer_mask_t (*const layer_masks_parent1)[LANDLOCK_NUM_ACCESS_FS], const struct dentry *const dentry_child1, const access_mask_t access_request_parent2, layer_mask_t (*const layer_masks_parent2)[LANDLOCK_NUM_ACCESS_FS], const struct dentry *const dentry_child2) is_access_to_paths_allowed() argument
638 check_access_path(const struct landlock_ruleset *const domain, const struct path *const path, access_mask_t access_request) check_access_path() argument
651 current_check_access_path(const struct path *const path, const access_mask_t access_request) current_check_access_path() argument
1049 hook_sb_mount(const char *const dev_name, const struct path *const path, const char *const type, const unsigned long flags, void *const data) hook_sb_mount() argument
1158 hook_path_truncate(const struct path *const path) hook_path_truncate() argument
[all...]
/third_party/gn/src/base/files/
H A Dfile_path.cc47 StringViewType::size_type FindDriveLetter(StringViewType path) { in FindDriveLetter() argument
51 if (path.length() >= 2 && path[1] == L':' && in FindDriveLetter()
52 ((path[0] >= L'A' && path[0] <= L'Z') || in FindDriveLetter()
53 (path[0] >= L'a' && path[0] <= L'z'))) { in FindDriveLetter()
79 bool IsPathAbsolute(StringViewType path) { in IsPathAbsolute() argument
81 StringType::size_type letter = FindDriveLetter(path); in IsPathAbsolute()
84 return path in IsPathAbsolute()
108 FinalExtensionSeparatorPosition(const StringType& path) FinalExtensionSeparatorPosition() argument
120 ExtensionSeparatorPosition(const StringType& path) ExtensionSeparatorPosition() argument
158 IsEmptyOrSpecialCase(const StringType& path) IsEmptyOrSpecialCase() argument
175 FilePath(StringViewType path) FilePath() argument
[all...]
/third_party/node/tools/inspector_protocol/
H A Dcode_generator.py6 import os.path namespace
28 # Paths have to be normalized because Jinja uses the exact template path to
30 # to be concurrency-safe. Use absolute path because __file__ is absolute if
35 module_path, module_filename = os.path.split(os.path.realpath(__file__))
41 items = [(k, os.path.join(output_base, v) if k == "path" else v) for (k, v) in object_dict.items()]
42 items = [(k, os.path.join(output_base, v) if k == "output" else v) for (k, v) in items]
50 def init_defaults(config_tuple, path, defaults):
55 values[i] = init_defaults(values[i], path
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c76 struct ipoib_path path; member
557 struct ipoib_path *path; in __path_find() local
561 path = rb_entry(n, struct ipoib_path, rb_node); in __path_find()
563 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
571 return path; in __path_find()
577 static int __path_add(struct net_device *dev, struct ipoib_path *path) in __path_add() argument
589 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
599 rb_link_node(&path->rb_node, pn, n); in __path_add()
600 rb_insert_color(&path->rb_node, &priv->path_tree); in __path_add()
602 list_add_tail(&path in __path_add()
607 path_free(struct net_device *dev, struct ipoib_path *path) path_free() argument
650 struct ipoib_path *path; ipoib_path_iter_next() local
675 ipoib_path_iter_read(struct ipoib_path_iter *iter, struct ipoib_path *path) ipoib_path_iter_read() argument
686 struct ipoib_path *path, *tp; ipoib_mark_paths_invalid() local
712 struct ipoib_path *path, *tp; ipoib_flush_paths() local
743 struct ipoib_path *path = path_ptr; path_rec_completion() local
857 init_path_rec(struct ipoib_dev_priv *priv, struct ipoib_path *path, void *gid) init_path_rec() argument
877 struct ipoib_path *path; path_rec_create() local
895 path_rec_start(struct net_device *dev, struct ipoib_path *path) path_rec_start() argument
930 struct ipoib_path *path; neigh_refresh_path() local
949 struct ipoib_path *path; neigh_add_path() local
1042 struct ipoib_path *path; unicast_arp_send() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c76 struct ipoib_path path; member
561 struct ipoib_path *path; in __path_find() local
565 path = rb_entry(n, struct ipoib_path, rb_node); in __path_find()
567 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
575 return path; in __path_find()
581 static int __path_add(struct net_device *dev, struct ipoib_path *path) in __path_add() argument
593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
603 rb_link_node(&path->rb_node, pn, n); in __path_add()
604 rb_insert_color(&path->rb_node, &priv->path_tree); in __path_add()
606 list_add_tail(&path in __path_add()
611 path_free(struct net_device *dev, struct ipoib_path *path) path_free() argument
654 struct ipoib_path *path; ipoib_path_iter_next() local
679 ipoib_path_iter_read(struct ipoib_path_iter *iter, struct ipoib_path *path) ipoib_path_iter_read() argument
690 struct ipoib_path *path, *tp; ipoib_mark_paths_invalid() local
716 struct ipoib_path *path, *tp; ipoib_flush_paths() local
747 struct ipoib_path *path = path_ptr; path_rec_completion() local
861 init_path_rec(struct ipoib_dev_priv *priv, struct ipoib_path *path, void *gid) init_path_rec() argument
881 struct ipoib_path *path; path_rec_create() local
899 path_rec_start(struct net_device *dev, struct ipoib_path *path) path_rec_start() argument
934 struct ipoib_path *path; neigh_refresh_path() local
953 struct ipoib_path *path; neigh_add_path() local
1046 struct ipoib_path *path; unicast_arp_send() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/
H A Dfile_n_exporter.cpp99 bool CheckUri(napi_env env, string &path) in CheckUri() argument
104 string pathOrigin = path; in CheckUri()
107 if (path == "") { in CheckUri()
127 path = abilityContext->GetFilesDir(); in CheckUri()
129 path = abilityContext->GetCacheDir(); in CheckUri()
134 path = path + "/" + uriSplit[i]; in CheckUri()
139 int GetRealPath(string &path) in GetRealPath() argument
142 if (realpath(path.c_str(), absPath.get()) == nullptr) { in GetRealPath()
145 path in GetRealPath()
149 UriToAbsolute(string path) UriToAbsolute() argument
180 GetFileNames(string path, vector<string> &filenames, bool rec, bool isList) GetFileNames() argument
203 Mkdirs(string path) Mkdirs() argument
220 Rmdirs(const string &path) Rmdirs() argument
244 ConvertUri(string path, string originPath, string originUri) ConvertUri() argument
260 string path = asyncCallbackInfo->url; MkdirExec() local
293 string path = asyncCallbackInfo->url; RmdirExec() local
329 string path = asyncCallbackInfo->url; GetExec() local
393 string path = asyncCallbackInfo->url; ListExec() local
523 string path = asyncCallbackInfo->url; CopyExec() local
632 string path = asyncCallbackInfo->url; MoveExec() local
687 string path = asyncCallbackInfo->url; DeleteExec() local
720 string path = asyncCallbackInfo->url; AccessExec() local
753 string path = asyncCallbackInfo->url; WriteTextExec() local
793 string path = asyncCallbackInfo->url; WriteArrayBufferExec() local
838 string path = asyncCallbackInfo->url; ReadTextExec() local
886 string path = asyncCallbackInfo->url; ReadArrayBufferExec() local
963 string path = (uri == nullptr) ? "" : uri.get(); Mkdir() local
1000 string path = (uri == nullptr) ? "" : uri.get(); Rmdir() local
1036 string path = (uri == nullptr) ? "" : uri.get(); Get() local
1072 string path = (uri == nullptr) ? "" : uri.get(); List() local
1180 string path = (uri == nullptr) ? "" : uri.get(); Delete() local
1214 string path = (uri == nullptr) ? "" : uri.get(); Access() local
1252 string path = (uri == nullptr) ? "" : uri.get(); WriteText() local
1314 string path = (uri == nullptr) ? "" : uri.get(); WriteArrayBuffer() local
1355 string path = (uri == nullptr) ? "" : uri.get(); ReadText() local
1402 string path = (uri == nullptr) ? "" : uri.get(); ReadArrayBuffer() local
[all...]
/base/startup/init/interfaces/innerkits/file/
H A Dinit_file.c34 char path[PATH_MAX] = { 0 }; in GetControlFile() local
35 BEGET_ERROR_CHECK(snprintf_s(path, sizeof(path), sizeof(path) - 1, OHOS_FILE_ENV_PREFIX "%s", pathName) >= 0, in GetControlFile()
37 BEGET_ERROR_CHECK(StringReplaceChr(path, '/', '_') == 0, in GetControlFile()
39 BEGET_LOGI("Environment path is %s ", path); in GetControlFile()
40 const char *val = getenv(path); in GetControlFile()
/third_party/curl/docs/examples/
H A Dparseurl.c40 char *path; in main() local
47 uc = curl_url_set(h, CURLUPART_URL, "http://example.com/path/index.html", 0); in main()
58 /* extract the path from the parsed URL */ in main()
59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
61 printf("Path: %s\n", path); in main()
62 curl_free(path); in main()
70 /* extract the new, updated path */ in main()
71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main()
73 printf("Path: %s\n", path); in main()
74 curl_free(path); in main()
[all...]
/third_party/icu/icu4c/source/common/
H A Dresbund_cnv.cpp27 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
32 constructForLocale(path, locale, error); in ResourceBundle()
35 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
39 constructForLocale(path, Locale::getDefault(), error); in ResourceBundle()
43 ResourceBundle::constructForLocale(const UnicodeString& path, in constructForLocale() argument
47 if (path.isEmpty()) { in constructForLocale()
51 UnicodeString nullTerminatedPath(path); in constructForLocale()
/third_party/libunwind/libunwind/src/
H A Dos-solaris.c35 char *path, size_t pathlen) in tdep_get_elf_image()
56 if (path) in tdep_get_elf_image()
58 strncpy(path, mi.path, pathlen); in tdep_get_elf_image()
60 rc = elf_map_image (ei, mi.path); in tdep_get_elf_image()
68 tdep_get_exe_image_path (char *path) in tdep_get_exe_image_path() argument
70 strcpy(path, getexecname()); in tdep_get_exe_image_path()
33 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
/third_party/ltp/include/
H A Dtst_device.h26 * @path: Path to umount
28 int tst_umount(const char *path);
32 * @path: Mount path to verify
34 int tst_is_mounted(const char *path);
35 int tst_is_mounted_at_tmpdir(const char *path);
49 * free loopdev). If path is non-NULL, it will be filled with free loopdev path.
52 int tst_find_free_loopdev(char *path, size_t path_len);
107 void tst_purge_dir(const char *path);
[all...]
/third_party/node/tools/
H A Drun-valgrind.py31 from os import path namespace
35 NODE_ROOT = path.dirname(path.dirname(path.abspath(__file__)))
41 '--suppressions=' + path.join(NODE_ROOT, 'tools', 'valgrind.supp'),
49 executable = path.join(NODE_ROOT, sys.argv[1])
50 if not path.exists(executable):
/third_party/node/deps/icu-small/source/common/
H A Dresbund_cnv.cpp27 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
32 constructForLocale(path, locale, error); in ResourceBundle()
35 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
39 constructForLocale(path, Locale::getDefault(), error); in ResourceBundle()
43 ResourceBundle::constructForLocale(const UnicodeString& path, in constructForLocale() argument
47 if (path.isEmpty()) { in constructForLocale()
51 UnicodeString nullTerminatedPath(path); in constructForLocale()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfputc.c26 char path[PATH_MAX] = {0}; in fputc_0100() local
27 FILE_ABSOLUTE_PATH(STR_FPUTC_TXT, path); in fputc_0100()
28 FILE *fptr = fopen(path, "w"); in fputc_0100()
41 char path[PATH_MAX] = {0}; in fputc_0200() local
42 FILE_ABSOLUTE_PATH(STR_FPUTC_TXT, path); in fputc_0200()
43 FILE *fptr = fopen(path, "r"); in fputc_0200()
47 remove(path); in fputc_0200()
H A Dfwide.c19 const char *path = "/data/test.txt"; variable
28 FILE *fp = fopen(path, "w+"); in fwide_0100()
35 remove(path); in fwide_0100()
45 FILE *fp = fopen(path, "w+"); in fwide_0200()
52 remove(path); in fwide_0200()
62 FILE *fp = fopen(path, "w+"); in fwide_0300()
69 remove(path); in fwide_0300()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dunlink.c29 char path[PATH_MAX] = {0}; in unlink_0100() local
30 FILE_ABSOLUTE_PATH("test_unlink.txt", path); in unlink_0100()
31 int fd = open(path, O_CREAT, TEST_MODE); in unlink_0100()
38 int result = unlink(path); in unlink_0100()
51 char path[PATH_MAX] = {0}; in unlink_0200() local
52 FILE_ABSOLUTE_PATH("unexist_test_unlink.txt", path); in unlink_0200()
53 int result = unlink(path); in unlink_0200()
H A Dunlinkat.c28 char path[PATH_MAX] = {0}; in unlinkat_0100() local
29 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in unlinkat_0100()
30 int fd = open(path, O_CREAT, 0664); in unlinkat_0100()
32 int result = unlinkat(fd, path, 0); in unlinkat_0100()
48 char path[PATH_MAX] = {0}; in unlinkat_0200() local
49 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in unlinkat_0200()
50 int result = unlinkat(AT_FDCWD, path, AT_REMOVEDIR); in unlinkat_0200()
/third_party/skia/third_party/externals/icu/source/common/
H A Dresbund_cnv.cpp27 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
32 constructForLocale(path, locale, error); in ResourceBundle()
35 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument
39 constructForLocale(path, Locale::getDefault(), error); in ResourceBundle()
43 ResourceBundle::constructForLocale(const UnicodeString& path, in constructForLocale() argument
47 if (path.isEmpty()) { in constructForLocale()
51 UnicodeString nullTerminatedPath(path); in constructForLocale()
/third_party/skia/docs/examples/
H A DPath_interpolate.cpp10 SkPath path, path2; in REG_FIDDLE() local
11 path.moveTo(20, 20); in REG_FIDDLE()
12 path.lineTo(40, 40); in REG_FIDDLE()
13 path.lineTo(20, 40); in REG_FIDDLE()
14 path.lineTo(40, 20); in REG_FIDDLE()
15 path.close(); in REG_FIDDLE()
19 path.interpolate(path2, i, &interp); in REG_FIDDLE()
H A DPath_moveTo.cpp8 SkPath path; in REG_FIDDLE() local
9 path.addRect(rect); in REG_FIDDLE()
10 path.moveTo(rect.fLeft, rect.fTop); in REG_FIDDLE()
11 path.lineTo(rect.fRight, rect.fBottom); in REG_FIDDLE()
12 path.moveTo(rect.fLeft, rect.fBottom); in REG_FIDDLE()
13 path.lineTo(rect.fRight, rect.fTop); in REG_FIDDLE()
16 canvas->drawPath(path, paint); in REG_FIDDLE()
H A Dskpaint_corner_path_effects.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(C + R, C); in REG_FIDDLE()
11 path.lineTo(C + R * cos(a), C + R * sin(a)); in REG_FIDDLE()
13 path.close(); in REG_FIDDLE()
14 return path; in REG_FIDDLE()
22 SkPath path(star()); in REG_FIDDLE()
23 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPaint_057.cpp7 SkPath path; in REG_FIDDLE() local
8 path.moveTo(10, 50); in REG_FIDDLE()
9 path.quadTo(35, 110, 60, 210); in REG_FIDDLE()
10 path.quadTo(105, 110, 130, 10); in REG_FIDDLE()
15 canvas->drawPath(path, paint); in REG_FIDDLE()
18 canvas->drawPath(path, paint); in REG_FIDDLE()
21 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DCanvas_clipPath_2.cpp9 SkPath path; in REG_FIDDLE() local
10 path.addRect({20, 15, 100, 95}); in REG_FIDDLE()
11 path.addRect({50, 65, 130, 135}); in REG_FIDDLE()
12 path.setFillType(SkPathFillType::kWinding); in REG_FIDDLE()
14 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
18 path.setFillType(SkPathFillType::kEvenOdd); in REG_FIDDLE()
19 canvas->clipPath(path, SkClipOp::kIntersect); in REG_FIDDLE()
/kernel/linux/linux-6.6/fs/smb/client/
H A Ddfs_cache.c40 const char *path; member
68 * dfs_cache_canonical_path - get a canonical DFS path
70 * @path: DFS path
74 * Return canonical path if success, otherwise error.
76 char *dfs_cache_canonical_path(const char *path, const struct nls_table *cp, int remap) in dfs_cache_canonical_path() argument
82 if (!path || strlen(path) < 3 || (*path != '\\' && *path ! in dfs_cache_canonical_path()
535 __lookup_cache_entry(const char *path, unsigned int hash, int len) __lookup_cache_entry() argument
557 lookup_cache_entry(const char *path) lookup_cache_entry() argument
646 get_dfs_referral(const unsigned int xid, struct cifs_ses *ses, const char *path, struct dfs_info3_param **refs, int *numrefs) get_dfs_referral() argument
683 cache_refresh_path(const unsigned int xid, struct cifs_ses *ses, const char *path, bool force_refresh) cache_refresh_path() argument
756 setup_referral(const char *path, struct cache_entry *ce, struct dfs_info3_param *ref, const char *target) setup_referral() argument
856 dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, const struct nls_table *cp, int remap, const char *path, struct dfs_info3_param *ref, struct dfs_cache_tgt_list *tgt_list) dfs_cache_find() argument
904 dfs_cache_noreq_find(const char *path, struct dfs_info3_param *ref, struct dfs_cache_tgt_list *tgt_list) dfs_cache_noreq_find() argument
946 dfs_cache_noreq_update_tgthint(const char *path, const struct dfs_cache_tgt_iterator *it) dfs_cache_noreq_update_tgthint() argument
990 dfs_cache_get_tgt_referral(const char *path, const struct dfs_cache_tgt_iterator *it, struct dfs_info3_param *ref) dfs_cache_get_tgt_referral() argument
1052 dfs_cache_get_tgt_share(char *path, const struct dfs_cache_tgt_iterator *it, char **share, char **prefix) dfs_cache_get_tgt_share() argument
1135 mark_for_reconnect_if_needed(struct TCP_Server_Info *server, const char *path, struct dfs_cache_tgt_list *old_tl, struct dfs_cache_tgt_list *new_tl) mark_for_reconnect_if_needed() argument
1176 __refresh_tcon(const char *path, struct cifs_ses *ses, bool force_refresh) __refresh_tcon() argument
[all...]

Completed in 15 milliseconds

1...<<31323334353637383940>>...476