Home
last modified time | relevance | path

Searched refs:path (Results 901 - 925 of 8453) sorted by relevance

1...<<31323334353637383940>>...339

/kernel/linux/linux-6.6/fs/btrfs/
H A Dsend.c46 * A fs_path is a helper to dynamically build path names with unknown size.
48 * It allows fast adding of path elements on the right side (normal path) and
49 * fast adding to the left side (reversed path). A reversed path can also be
64 * Average path length does not exceed 200 bytes, we'll have
500 * the fast path happen most of the time. in fs_path_ensure_buf()
631 struct btrfs_path *path; in alloc_path_for_send() local
633 path = btrfs_alloc_path(); in alloc_path_for_send()
634 if (!path) in alloc_path_for_send()
839 send_link(struct send_ctx *sctx, struct fs_path *path, struct fs_path *lnk) send_link() argument
864 send_unlink(struct send_ctx *sctx, struct fs_path *path) send_unlink() argument
887 send_rmdir(struct send_ctx *sctx, struct fs_path *path) send_rmdir() argument
925 struct btrfs_path *path; get_inode_info() local
990 iterate_inode_ref(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *found_key, int resolve, iterate_inode_ref_t iterate, void *ctx) iterate_inode_ref() argument
1108 iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path, iterate_dir_item_t iterate, void *ctx) iterate_dir_item() argument
1235 get_inode_path(struct btrfs_root *root, u64 ino, struct fs_path *path) get_inode_path() argument
1569 find_extent_clone(struct send_ctx *sctx, struct btrfs_path *path, u64 ino, u64 data_offset, u64 ino_size, struct clone_root **found) find_extent_clone() argument
1740 struct btrfs_path *path; read_symlink() local
1812 struct btrfs_path *path; gen_unique_name() local
1988 struct btrfs_path *path; lookup_dir_item_inode() local
2022 struct btrfs_path *path; get_first_ref() local
2506 struct btrfs_path *path; send_subvol_begin() local
2720 struct btrfs_path *path = NULL; send_utimes() local
2944 struct btrfs_path *path = NULL; did_create_dir() local
3048 set_ref_path(struct recorded_ref *ref, struct fs_path *path) set_ref_path() argument
3090 orphanize_inode(struct send_ctx *sctx, u64 ino, u64 gen, struct fs_path *path) orphanize_inode() argument
3194 struct btrfs_path *path; can_rmdir() local
3760 struct btrfs_path *path; wait_for_dest_dir_move() local
3887 struct btrfs_path *path = NULL; is_ancestor() local
4656 struct fs_path *path = NULL; record_ref_in_tree() local
4810 struct btrfs_path *path; process_all_refs() local
4864 send_set_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len, const char *data, int data_len) send_set_xattr() argument
4886 send_remove_xattr(struct send_ctx *sctx, struct fs_path *path, const char *name, int name_len) send_remove_xattr() argument
5014 find_xattr(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *key, const char *name, int name_len, char **data, int *data_len) find_xattr() argument
5114 struct btrfs_path *path; process_all_new_xattrs() local
5146 send_verity(struct send_ctx *sctx, struct fs_path *path, struct fsverity_descriptor *desc) send_verity() argument
5521 send_encoded_inline_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) send_encoded_inline_extent() argument
5587 send_encoded_extent(struct send_ctx *sctx, struct btrfs_path *path, u64 offset, u64 len) send_encoded_extent() argument
5692 send_extent_data(struct send_ctx *sctx, struct btrfs_path *path, const u64 offset, const u64 len) send_extent_data() argument
5818 struct btrfs_path *path; send_capabilities() local
5870 struct btrfs_path *path; clone_range() local
6135 send_write_or_clone(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key, struct clone_root *clone_root) send_write_or_clone() argument
6173 struct btrfs_path *path = NULL; is_extent_unchanged() local
6359 struct btrfs_path *path; get_last_extent() local
6391 struct btrfs_path *path; range_is_hole_in_parent() local
6453 maybe_send_hole(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) maybe_send_hole() argument
6496 process_extent(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) process_extent() argument
6561 struct btrfs_path *path; process_all_extents() local
7156 compare_refs(struct send_ctx *sctx, struct btrfs_path *path, struct btrfs_key *key) compare_refs() argument
7301 search_key_again(const struct send_ctx *sctx, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *key) search_key_again() argument
7340 struct btrfs_path *path; full_send_tree() local
7408 replace_node_with_clone(struct btrfs_path *path, int level) replace_node_with_clone() argument
7422 tree_move_down(struct btrfs_path *path, int *level, u64 reada_min_gen) tree_move_down() argument
7463 tree_move_next_or_upnext(struct btrfs_path *path, int *level, int root_level) tree_move_next_or_upnext() argument
7495 tree_advance(struct btrfs_path *path, int *level, int root_level, int allow_down, struct btrfs_key *key, u64 reada_min_gen) tree_advance() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/
H A Dutils.c144 char path[PATH_MAX] = "/sys/"; in read_sysfs_file() local
147 strncat(path, fpath, PATH_MAX - strlen(path) - 1); in read_sysfs_file()
149 if ((fd = open(path, O_RDONLY)) < 0) in read_sysfs_file()
165 char path[PATH_MAX]; in read_debugfs_file() local
168 strcpy(path, "/sys/kernel/debug/"); in read_debugfs_file()
169 strncat(path, debugfs_file, PATH_MAX - strlen(path) - 1); in read_debugfs_file()
171 if ((fd = open(path, O_RDONLY)) < 0) in read_debugfs_file()
187 char path[PATH_MA in write_debugfs_file() local
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Dfdtput.c28 int auto_path; /* automatically create all path components */
141 * Create paths as needed for all components of a path
143 * Any components of the path that do not exist are created. Errors are
152 const char *path = in_path; in create_paths() local
157 while (*path == '/') in create_paths()
158 path++; in create_paths()
160 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths()
162 sep = strchr(path, '/'); in create_paths()
164 sep = path in create_paths()
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dfdtput.c28 int auto_path; /* automatically create all path components */
141 * Create paths as needed for all components of a path
143 * Any components of the path that do not exist are created. Errors are
152 const char *path = in_path; in create_paths() local
157 while (*path == '/') in create_paths()
158 path++; in create_paths()
160 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths()
162 sep = strchr(path, '/'); in create_paths()
164 sep = path in create_paths()
[all...]
/third_party/jerryscript/tools/runners/
H A Drun-test-suite.py63 tests.extend([os.path.join(root, test_file) for test_file in files if test_file.endswith('.js')])
66 dirname = os.path.dirname(test_list)
69 tests.append(os.path.normpath(os.path.join(dirname, test.rstrip())))
126 summary_list = [os.path.relpath(args.engine)]
130 summary_list.append(os.path.relpath(args.test_dir))
132 summary_list.append(os.path.relpath(args.test_list))
149 test_path = os.path.relpath(test)
150 is_expected_to_fail = os.path.join(os.path
[all...]
/third_party/musl/src/stat/
H A Dfstatat.c35 static int fstatat_statx(int fd, const char *restrict path, struct stat *restrict st, int flag) in fstatat_statx() argument
40 int ret = __syscall(SYS_statx, fd, path, flag, 0x7ff, &stx); in fstatat_statx()
76 static int fstatat_kstat(int fd, const char *restrict path, struct stat *restrict st, int flag) in fstatat_kstat() argument
81 if (flag==AT_EMPTY_PATH && fd>=0 && !*path) { in fstatat_kstat()
84 ret = __syscall(SYS_fstatat, fd, path, &kst, flag); in fstatat_kstat()
97 else if ((fd == AT_FDCWD || *path=='/') && flag==AT_SYMLINK_NOFOLLOW) in fstatat_kstat()
98 ret = __syscall(SYS_lstat, path, &kst); in fstatat_kstat()
101 else if ((fd == AT_FDCWD || *path=='/') && !flag) in fstatat_kstat()
102 ret = __syscall(SYS_stat, path, &kst); in fstatat_kstat()
104 else ret = __syscall(SYS_fstatat, fd, path, in fstatat_kstat()
139 __fstatat(int fd, const char *restrict path, struct stat *restrict st, int flag) __fstatat() argument
[all...]
/third_party/ninja/src/
H A Ddyndep_parser.cc115 return lexer_.Error("expected path", err); in ParseEdge()
117 string path = out0.Evaluate(&env_); in ParseEdge()
118 if (path.empty()) in ParseEdge()
119 return lexer_.Error("empty path", err); in ParseEdge()
121 CanonicalizePath(&path, &slash_bits); in ParseEdge()
122 Node* node = state_->LookupNode(path); in ParseEdge()
124 return lexer_.Error("no build statement exists for '" + path + "'", err); in ParseEdge()
129 return lexer_.Error("multiple statements for '" + path + "'", err); in ParseEdge()
204 string path = i->Evaluate(&env_); in ParseEdge() local
205 if (path in ParseEdge()
215 string path = i->Evaluate(&env_); ParseEdge() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duresbund.cpp308 getPoolEntry(const char *path, UErrorCode *status);
314 static UResourceDataEntry *init_entry(const char *localeID, const char *path, UErrorCode *status) { in init_entry() argument
338 find.fPath = (char *)path; in init_entry()
363 if(path != NULL) { in init_entry()
364 r->fPath = (char *)uprv_strdup(path); in init_entry()
409 r->fAlias = init_entry(aliasName, path, status); in init_entry()
451 getPoolEntry(const char *path, UErrorCode *status) { in getPoolEntry() argument
452 UResourceDataEntry *poolBundle = init_entry(kPoolBundleName, path, status); in getPoolEntry()
464 findFirstExisting(const char* path, char* name, in findFirstExisting() argument
472 r = init_entry(name, path, statu in findFirstExisting()
636 entryOpen(const char* path, const char* localeID, UResOpenType openType, UErrorCode* status) entryOpen() argument
788 entryOpenDirect(const char* path, const char* localeID, UErrorCode* status) entryOpenDirect() argument
982 char *chAlias = NULL, *path = NULL, *locale = NULL, *keyPath = NULL; init_resb_result() local
1723 ures_findResource(const char* path, UResourceBundle *fillIn, UErrorCode *status) ures_findResource() argument
1778 ures_findSubResource(const UResourceBundle *resB, char* path, UResourceBundle *fillIn, UErrorCode *status) ures_findSubResource() argument
1836 icu::CharString path; getTableItemByKeyPath() local
1885 CharString path; ures_getByKeyWithFallback() local
2025 ures_getValueWithFallback(const UResourceBundle *bundle, const char *path, UResourceBundle *tempFillIn, ResourceDataValue &value, UErrorCode &errorCode) ures_getValueWithFallback() argument
2048 ures_getAllItemsWithFallback(const UResourceBundle *bundle, const char *path, icu::ResourceSink &sink, UErrorCode &errorCode) ures_getAllItemsWithFallback() argument
2289 ures_openWithType(UResourceBundle *r, const char* path, const char* localeID, UResOpenType openType, UErrorCode* status) ures_openWithType() argument
2346 ures_open(const char* path, const char* localeID, UErrorCode* status) ures_open() argument
2351 ures_openNoDefault(const char* path, const char* localeID, UErrorCode* status) ures_openNoDefault() argument
2360 ures_openDirect(const char* path, const char* localeID, UErrorCode* status) ures_openDirect() argument
2372 ures_openFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) ures_openFillIn() argument
2385 ures_openDirectFillIn(UResourceBundle *r, const char* path, const char* localeID, UErrorCode* status) ures_openDirectFillIn() argument
2562 ures_openAvailableLocales(const char *path, UErrorCode *status) ures_openAvailableLocales() argument
2617 ures_getFunctionalEquivalent(char *result, int32_t resultCapacity, const char *path, const char *resName, const char *keyword, const char *locid, UBool *isAvailable, UBool omitDefault, UErrorCode *status) ures_getFunctionalEquivalent() argument
2922 ures_getKeywordValues(const char *path, const char *keyword, UErrorCode *status) ures_getKeywordValues() argument
[all...]
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Ddrivers.c305 * get_node_path fills in @path with the firmware path to the device.
311 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path() argument
314 memset(&path->bc, -1, 6); in get_node_path()
318 path->mod = PCI_FUNC(devfn); in get_node_path()
319 path->bc[i--] = PCI_SLOT(devfn); in get_node_path()
326 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path()
328 path->bc[i--] = to_parisc_device(dev)->hw_path; in get_node_path()
334 static char *print_hwpath(struct hardware_path *path, char *output) in print_hwpath() argument
338 if (path in print_hwpath()
357 struct hardware_path path; print_pa_hwpath() local
375 get_pci_node_path(struct pci_dev *pdev, struct hardware_path *path) get_pci_node_path() argument
392 struct hardware_path path; print_pci_hwpath() local
403 struct hardware_path path; setup_bus_id() local
778 device_to_hwpath(struct device *dev, struct hardware_path *path) device_to_hwpath() argument
848 struct hardware_path path; walk_native_bus() local
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Ddrivers.c304 * get_node_path fills in @path with the firmware path to the device.
310 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path() argument
313 memset(&path->bc, -1, 6); in get_node_path()
317 path->mod = PCI_FUNC(devfn); in get_node_path()
318 path->bc[i--] = PCI_SLOT(devfn); in get_node_path()
325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path()
327 path->bc[i--] = to_parisc_device(dev)->hw_path; in get_node_path()
333 static char *print_hwpath(struct hardware_path *path, char *output) in print_hwpath() argument
337 if (path in print_hwpath()
356 struct hardware_path path; print_pa_hwpath() local
374 get_pci_node_path(struct pci_dev *pdev, struct hardware_path *path) get_pci_node_path() argument
391 struct hardware_path path; print_pci_hwpath() local
402 struct hardware_path path; setup_bus_id() local
778 device_to_hwpath(struct device *dev, struct hardware_path *path) device_to_hwpath() argument
848 struct hardware_path path; walk_native_bus() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/hvc/
H A Dhvc_iucv.c70 struct iucv_path *path; /* IUCV path pointer */ member
81 u8 info_path[16]; /* IUCV path info (dev attr) */
215 * IUCV path.
216 * If the IUCV path has been severed, then -EPIPE is returned to cause a
230 /* if the IUCV path has been severed, return -EPIPE to inform the in hvc_iucv_write()
250 rc = __iucv_message_receive(priv->path, &rb->msg, 0, in hvc_iucv_write()
309 * If an IUCV communication path has been established, pending IUCV messages
353 * If an existing IUCV communicaton path has been severed, -EPIPE is returned
384 * If an IUCV communication path ha
592 struct iucv_path *path; hvc_iucv_hangup() local
673 struct iucv_path *path; hvc_iucv_dtr_rts() local
786 hvc_iucv_path_pending(struct iucv_path *path, u8 *ipvmid, u8 *ipuser) hvc_iucv_path_pending() argument
885 hvc_iucv_path_severed(struct iucv_path *path, u8 *ipuser) hvc_iucv_path_severed() argument
903 hvc_iucv_msg_pending(struct iucv_path *path, struct iucv_message *msg) hvc_iucv_msg_pending() argument
951 hvc_iucv_msg_complete(struct iucv_path *path, struct iucv_message *msg) hvc_iucv_msg_complete() argument
[all...]
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A Dhvc_iucv.c69 struct iucv_path *path; /* IUCV path pointer */ member
80 u8 info_path[16]; /* IUCV path info (dev attr) */
214 * IUCV path.
215 * If the IUCV path has been severed, then -EPIPE is returned to cause a
229 /* if the IUCV path has been severed, return -EPIPE to inform the in hvc_iucv_write()
249 rc = __iucv_message_receive(priv->path, &rb->msg, 0, in hvc_iucv_write()
308 * If an IUCV communication path has been established, pending IUCV messages
352 * If an existing IUCV communicaton path has been severed, -EPIPE is returned
383 * If an IUCV communication path ha
589 struct iucv_path *path; hvc_iucv_hangup() local
670 struct iucv_path *path; hvc_iucv_dtr_rts() local
783 hvc_iucv_path_pending(struct iucv_path *path, u8 *ipvmid, u8 *ipuser) hvc_iucv_path_pending() argument
882 hvc_iucv_path_severed(struct iucv_path *path, u8 *ipuser) hvc_iucv_path_severed() argument
900 hvc_iucv_msg_pending(struct iucv_path *path, struct iucv_message *msg) hvc_iucv_msg_pending() argument
948 hvc_iucv_msg_complete(struct iucv_path *path, struct iucv_message *msg) hvc_iucv_msg_complete() argument
[all...]
/third_party/rust/crates/syn/src/
H A Dpath.rs5 /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
18 let mut path = Path { in from() variables
22 path.segments.push_value(segment.into()); in from()
23 path in from()
28 /// Determines whether this is a path of length 1 equal to the given
33 /// - the path has no leading colon,
34 /// - the number of path segments is 1,
35 /// - the first path segment has no angle bracketed or parenthesized
36 /// path arguments, and
37 /// - the ident of the first path segmen
577 let mut path = Path { global() variables
[all...]
/third_party/node/src/
H A Dnode_file.cc87 // Remove everything leading up to and including the final path separator. in Basename()
737 // missing in the error messages. The path, dest, syscall, fd, .etc
749 req->path, in Reject()
822 // Reverse the logic applied by path.toNamespacedPath() to create a
823 // namespace-prefixed path.
824 void FromNamespacedPath(std::string* path) { in FromNamespacedPath() argument
826 if (path->compare(0, 8, "\\\\?\\UNC\\", 8) == 0) { in FromNamespacedPath()
827 *path = path->substr(8); in FromNamespacedPath()
828 path in FromNamespacedPath()
845 Local<Value> path; AfterMkdirp() local
1524 MKDirpSync(uv_loop_t* loop, uv_fs_t* req, const std::string& path, int mode, uv_fs_cb cb) MKDirpSync() argument
1592 MKDirpAsync(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) MKDirpAsync() argument
1687 CallMKDirpSync(Environment* env, const FunctionCallbackInfo<Value>& args, FSReqWrapSync* req_wrap, const char* path, int mode) CallMKDirpSync() argument
1739 MaybeLocal<Value> path = StringBytes::Encode(env->isolate(), MKDir() local
2597 const char* path = req_wrap_sync.req.path; Mkdtemp() local
[all...]
/third_party/node/deps/v8/tools/unittests/
H A Drun_tests_test.py32 TOOLS_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
33 TEST_DATA_ROOT = os.path.join(TOOLS_ROOT, 'unittests', 'testdata')
34 RUN_TESTS_PY = os.path.join(TOOLS_ROOT, 'run-tests.py')
47 path = None
49 path = tempfile.mkdtemp('v8_test_')
50 yield path
52 if path:
53 shutil.rmtree(path)
[all...]
/third_party/python/Lib/
H A Dmodulefinder.py30 def AddPackagePath(packagename, path):
31 packagePathMap.setdefault(packagename, []).append(path)
45 def _find_module(name, path=None):
54 spec = importlib.machinery.PathFinder.find_spec(name, path)
70 return None, os.path.dirname(file_path), ("", "", _PKG_DIRECTORY)
85 suffix = os.path.splitext(file_path)[-1]
92 def __init__(self, name, file=None, path=None):
95 self.__path__ = path
116 def __init__(self, path=None, debug=0, excludes=None, replace_paths=None):
117 if path i
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_api.py7 import os.path namespace
158 # Searching on a path should work.
160 path = 'path to some place'
166 self.assertEqual((name, path),
167 self.init.find_loader(name, path))
180 def find_spec(name, path=None, target=None):
181 return machinery['Source'].ModuleSpec(name, (name, path))
193 def find_module(name, path=None):
194 return name, path
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/
H A Dcommon.c95 char *path, *tmp = NULL; in lookup_path() local
106 path = strtok_r(env, ":", &tmp); in lookup_path()
107 while (path) { in lookup_path()
108 scnprintf(buf, sizeof(buf), "%s/%s", path, name); in lookup_path()
113 path = strtok_r(NULL, ":", &tmp); in lookup_path()
133 const char *name, const char **path) in perf_env__lookup_binutils_path()
141 * We don't need to try to find objdump path for native system. in perf_env__lookup_binutils_path()
142 * Just use default binutils path (e.g.: "objdump"). in perf_env__lookup_binutils_path()
197 *path = buf; in perf_env__lookup_binutils_path()
201 *path in perf_env__lookup_binutils_path()
132 perf_env__lookup_binutils_path(struct perf_env *env, const char *name, const char **path) perf_env__lookup_binutils_path() argument
205 perf_env__lookup_objdump(struct perf_env *env, const char **path) perf_env__lookup_objdump() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dkmod-path.c10 static int test(const char *path, bool alloc_name, bool kmod, in test() argument
18 !__kmod_path__parse(&m, path, alloc_name)); in test()
21 path, alloc_name, m.kmod, m.comp, m.name); in test()
35 static int test_is_kernel_module(const char *path, int cpumode, bool expect) in test_is_kernel_module() argument
38 (!!is_kernel_module(path, cpumode)) == (!!expect)); in test_is_kernel_module()
40 path, cpumode, expect ? "true" : "false"); in test_is_kernel_module()
44 #define T(path, an, k, c, n) \
45 TEST_ASSERT_VAL("failed", !test(path, an, k, c, n))
47 #define M(path, c, e) \
48 TEST_ASSERT_VAL("failed", !test_is_kernel_module(path,
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/
H A Dcommon.c107 char *path, *tmp = NULL; in lookup_path() local
118 path = strtok_r(env, ":", &tmp); in lookup_path()
119 while (path) { in lookup_path()
120 scnprintf(buf, sizeof(buf), "%s/%s", path, name); in lookup_path()
125 path = strtok_r(NULL, ":", &tmp); in lookup_path()
145 const char *name, char **path) in perf_env__lookup_binutils_path()
153 * We don't need to try to find objdump path for native system. in perf_env__lookup_binutils_path()
154 * Just use default binutils path (e.g.: "objdump"). in perf_env__lookup_binutils_path()
213 *path = buf; in perf_env__lookup_binutils_path()
217 *path in perf_env__lookup_binutils_path()
144 perf_env__lookup_binutils_path(struct perf_env *env, const char *name, char **path) perf_env__lookup_binutils_path() argument
221 perf_env__lookup_objdump(struct perf_env *env, char **path) perf_env__lookup_objdump() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dkmod-path.c10 static int test(const char *path, bool alloc_name, bool kmod, in test() argument
18 !__kmod_path__parse(&m, path, alloc_name)); in test()
21 path, alloc_name, m.kmod, m.comp, m.name); in test()
35 static int test_is_kernel_module(const char *path, int cpumode, bool expect) in test_is_kernel_module() argument
38 (!!is_kernel_module(path, cpumode)) == (!!expect)); in test_is_kernel_module()
40 path, cpumode, expect ? "true" : "false"); in test_is_kernel_module()
44 #define T(path, an, k, c, n) \
45 TEST_ASSERT_VAL("failed", !test(path, an, k, c, n))
47 #define M(path, c, e) \
48 TEST_ASSERT_VAL("failed", !test_is_kernel_module(path,
[all...]
/third_party/eudev/src/shared/
H A Dsmack-util.c28 #include "path-util.h"
48 int mac_smack_apply(const char *path, const char *label) { in mac_smack_apply() argument
51 assert(path); in mac_smack_apply()
58 r = lsetxattr(path, "security.SMACK64", label, strlen(label), 0); in mac_smack_apply()
60 r = lremovexattr(path, "security.SMACK64"); in mac_smack_apply()
150 int mac_smack_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { in mac_smack_fix() argument
157 assert(path); in mac_smack_fix()
166 if (!path_startswith(path, "/dev")) in mac_smack_fix()
169 r = lstat(path, &st); in mac_smack_fix()
188 r = lsetxattr(path, "securit in mac_smack_fix()
[all...]
/third_party/curl/lib/
H A Dsystem_win32.c199 * filename [in] - The filename or full path of the DLL to load. If only the
222 /* Detect if there's already a path in the filename and load the library if in Curl_load_library()
240 /* Attempt to get the Windows system path */ in Curl_load_library()
243 /* Allocate space for the full DLL path (Room for the null terminator in Curl_load_library()
246 TCHAR *path = malloc(sizeof(TCHAR) * (systemdirlen + 1 + filenamelen)); in Curl_load_library() local
247 if(path && GetSystemDirectory(path, systemdirlen)) { in Curl_load_library()
248 /* Calculate the full DLL path */ in Curl_load_library()
249 _tcscpy(path + _tcslen(path), TEX in Curl_load_library()
[all...]
/third_party/node/tools/icu/
H A Dshrink-icu-src.py16 help='path to target ICU directory. Will be deleted.')
22 help='path to source ICU directory.')
28 help='path to icutmp dir.')
32 if os.path.isdir(options.icudst):
36 if not os.path.isdir(options.icusrc):
84 uvernum_h = os.path.join(icu_full_path, 'source/common/unicode/uvernum.h')
85 if not os.path.isfile(uvernum_h):
103 dst_datafile = os.path.join(options.icudst, "source","data","in", "icudt%s%s.dat" % (icu_ver_major, icu_endianness))
105 src_datafile = os.path.join(options.icusrc, "source/data/in/icudt%sl.dat" % (icu_ver_major))
108 if not os.path
[all...]
/third_party/libfuse/example/
H A Dnull.c36 static int null_getattr(const char *path, struct stat *stbuf, in null_getattr() argument
41 if(strcmp(path, "/") != 0) in null_getattr()
55 static int null_truncate(const char *path, off_t size, in null_truncate() argument
61 if(strcmp(path, "/") != 0) in null_truncate()
67 static int null_open(const char *path, struct fuse_file_info *fi) in null_open() argument
71 if(strcmp(path, "/") != 0) in null_open()
77 static int null_read(const char *path, char *buf, size_t size, in null_read() argument
84 if(strcmp(path, "/") != 0) in null_read()
94 static int null_write(const char *path, const char *buf, size_t size, in null_write() argument
101 if(strcmp(path, "/") ! in null_write()
[all...]

Completed in 23 milliseconds

1...<<31323334353637383940>>...339