Home
last modified time | relevance | path

Searched refs:path (Results 5726 - 5750 of 12204) sorted by relevance

1...<<221222223224225226227228229230>>...489

/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_report_entity_test.cpp56 string path = tm.GetRootDirCurTest(); in GetTestFile() local
57 string filePath = path + "temp.txt"; in GetTestFile()
428 std::string path; in HWTEST_F() local
429 cloudRp.CheckAndUpdateIfReportLineEncoded(path); in HWTEST_F()
430 path = filePath; in HWTEST_F()
431 cloudRp.CheckAndUpdateIfReportLineEncoded(path); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/acpi/
H A Ddevice_sysfs.c23 struct acpi_buffer path = {ACPI_ALLOCATE_BUFFER, NULL}; in acpi_object_path() local
26 result = acpi_get_name(handle, ACPI_FULL_PATHNAME, &path); in acpi_object_path()
30 result = sprintf(buf, "%s\n", (char *)path.pointer); in acpi_object_path()
31 kfree(path.pointer); in acpi_object_path()
50 DATA_NODE_ATTR(path); variable
431 static DEVICE_ATTR_RO(path);
514 * Devices gotten from FADT don't have a "path" attribute in acpi_device_setup_files()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dsys_parisc.c281 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument
284 return ksys_truncate(path, (long)high << 32 | low); in parisc_truncate64()
295 asmlinkage long sys_truncate64(const char __user * path, unsigned long length) in sys_truncate64() argument
297 return ksys_truncate(path, length); in sys_truncate64()
309 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument
312 return ksys_truncate(path, (loff_t)high << 32 | low); in parisc_truncate64()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dlegacy_serial.c368 const char *path; in find_legacy_serial_ports() local
374 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in find_legacy_serial_ports()
375 if (path == NULL) in find_legacy_serial_ports()
376 path = of_get_property(of_chosen, "stdout-path", NULL); in find_legacy_serial_ports()
377 if (path != NULL) { in find_legacy_serial_ports()
378 stdout = of_find_node_by_path(path); in find_legacy_serial_ports()
382 DBG(" no linux,stdout-path !\n"); in find_legacy_serial_ports()
600 /* ... So use the full path instea in check_legacy_serial_console()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dlegacy_serial.c396 const char *path; in find_legacy_serial_ports() local
402 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in find_legacy_serial_ports()
403 if (path == NULL) in find_legacy_serial_ports()
404 path = of_get_property(of_chosen, "stdout-path", NULL); in find_legacy_serial_ports()
405 if (path != NULL) { in find_legacy_serial_ports()
406 stdout = of_find_node_by_path(path); in find_legacy_serial_ports()
410 DBG(" no linux,stdout-path !\n"); in find_legacy_serial_ports()
634 /* ... So use the full path instea in check_legacy_serial_console()
[all...]
/kernel/linux/linux-5.10/security/
H A Dlsm_audit.c236 audit_log_d_path(ab, " path=", &a->u.path); in dump_common_audit_data()
238 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data()
250 audit_log_d_path(ab, " path=", &a->u.file->f_path); in dump_common_audit_data()
264 audit_log_d_path(ab, " path=", &a->u.op->path); in dump_common_audit_data()
266 inode = a->u.op->path.dentry->d_inode; in dump_common_audit_data()
364 if (u->path.dentry) { in dump_common_audit_data()
365 audit_log_d_path(ab, " path=", &u->path); in dump_common_audit_data()
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dfeature.c138 static long read_procfs(const char *path) in read_procfs() argument
145 fd = fopen(path, "r"); in read_procfs()
404 char path[PATH_MAX]; in probe_kernel_image_config() local
411 snprintf(path, sizeof(path), "/boot/config-%s", utsn.release); in probe_kernel_image_config()
414 file = gzopen(path, "r"); in probe_kernel_image_config()
/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2proto.h81 struct cifs_sb_info *cifs_sb, const char *path,
113 struct cifs_sb_info *cifs_sb, const unsigned char *path,
117 const unsigned char *path, char *pbuf,
146 __le16 *path, __u8 *oplock,
154 __le16 *path);
297 /* query path info from the server using SMB311 POSIX extensions*/
299 struct cifs_sb_info *sb, const char *path, struct smb311_posix_qinfo *qinf,
/kernel/linux/linux-5.10/fs/cachefiles/
H A Dinterface.c14 char *key; /* key path */
504 struct path path; in cachefiles_invalidate_object() local
522 path.dentry = object->backer; in cachefiles_invalidate_object()
523 path.mnt = cache->mnt; in cachefiles_invalidate_object()
526 ret = vfs_truncate(&path, 0); in cachefiles_invalidate_object()
528 ret = vfs_truncate(&path, ni_size); in cachefiles_invalidate_object()
/kernel/linux/linux-6.6/drivers/acpi/
H A Ddevice_sysfs.c23 struct acpi_buffer path = {ACPI_ALLOCATE_BUFFER, NULL}; in acpi_object_path() local
26 result = acpi_get_name(handle, ACPI_FULL_PATHNAME, &path); in acpi_object_path()
30 result = sprintf(buf, "%s\n", (char *)path.pointer); in acpi_object_path()
31 kfree(path.pointer); in acpi_object_path()
50 DATA_NODE_ATTR(path); variable
438 static DEVICE_ATTR_RO(path);
525 * Devices gotten from FADT don't have a "path" attribute in acpi_device_setup_files()
/kernel/linux/linux-6.6/security/
H A Dlsm_audit.c224 audit_log_d_path(ab, " path=", &a->u.path); in dump_common_audit_data()
226 inode = d_backing_inode(a->u.path.dentry); in dump_common_audit_data()
237 audit_log_d_path(ab, " path=", &a->u.file->f_path); in dump_common_audit_data()
250 audit_log_d_path(ab, " path=", &a->u.op->path); in dump_common_audit_data()
252 inode = a->u.op->path.dentry->d_inode; in dump_common_audit_data()
348 if (u->path.dentry) { in dump_common_audit_data()
349 audit_log_d_path(ab, " path=", &u->path); in dump_common_audit_data()
[all...]
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf.h110 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext);
111 LIBBPF_API struct btf *btf__parse_split(const char *path, struct btf *base_btf);
112 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext);
113 LIBBPF_API struct btf *btf__parse_elf_split(const char *path, struct btf *base_btf);
114 LIBBPF_API struct btf *btf__parse_raw(const char *path);
115 LIBBPF_API struct btf *btf__parse_raw_split(const char *path, struct btf *base_btf);
/test/xts/hats/powermgr/battery/hdi_battery/common/
H A Dhdi_battery_test.cpp57 static int32_t ReadFile(const char *path, char *buf, size_t size);
78 std::string CreateFile(std::string path, std::string content) in CreateFile() argument
80 std::ofstream stream(path.c_str()); in CreateFile()
87 return path; in CreateFile()
137 std::string path; in HWTEST_F() local
138 EXPECT_TRUE(HDF_SUCCESS == g_batteryInterface->ChangePath(path)); in HWTEST_F()
/third_party/glfw/src/
H A Dinit.c191 char* path; in _glfwParseUriList() local
208 path = _glfw_calloc(strlen(line) + 1, 1); in _glfwParseUriList()
210 paths[*count - 1] = path; in _glfwParseUriList()
217 *path = (char) strtol(digits, NULL, 16); in _glfwParseUriList()
221 *path = *line; in _glfwParseUriList()
223 path++; in _glfwParseUriList()
/third_party/glslang/StandAlone/
H A Dspirv-remap.cpp55 // Poor man's basename: given a complete path, return file portion.
62 // OS dependent path separator (avoiding boost::filesystem dependency)
258 auto path = outputDirOrFiles[ii]; in parseCmdLine() local
259 while (!path.empty() && path.back() == path_sep_char()) in parseCmdLine()
260 path.pop_back(); in parseCmdLine()
373 static bool IsDirectory(const std::string& path) in IsDirectory() argument
376 if (stat(path.c_str(), &info) != 0) { in IsDirectory()
/third_party/alsa-utils/axfer/
H A Dsubcmd-transfer.c194 const char *path = ctx->xfer.paths[i]; in capture_pre_process() local
198 if (!strcmp(path, "-")) { in capture_pre_process()
201 fd = open(path, O_RDWR | O_CREAT | O_TRUNC, 0644); in capture_pre_process()
245 const char *path = ctx->xfer.paths[i]; in playback_pre_process() local
252 if (!strcmp(path, "-")) { in playback_pre_process()
255 fd = open(path, O_RDONLY); in playback_pre_process()
/third_party/googletest/googletest/test/
H A Dgoogletest-json-output-unittest.py795 output_file = os.path.join(gtest_test_utils.GetTempDir(),
811 self.assert_(os.path.isfile(output_file))
820 json_path = os.path.join(gtest_test_utils.GetTempDir(),
822 if os.path.isfile(json_path):
841 self.assert_(not os.path.isfile(json_path))
863 json_path = os.path.join(gtest_test_utils.GetTempDir(),
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuDataDumper.java92 checkState(allPaths.get(k).equals(values), "inconsistent data for path: ", k); in walkDirectory()
107 private final Path path; field in IcuDataDumper.IcuDataParser
126 // Current path while parsing (NOT including the root element).
128 // Current sequence of values for the path (as defined in the current path stack).
132 // Map of indices used to auto-generate names for anonymous path segments.
136 IcuDataParser(Path path) { in IcuDataParser() argument
137 this.path = checkNotNull(path); in IcuDataParser()
141 List<String> lines = Files.readAllLines(path); in parse()
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
H A DConvertIcuDataTask.java81 public void setOutputDir(String path) { in setOutputDir() argument
83 config.setOutputDir(Paths.get(path)); in setOutputDir()
87 public void setCldrDir(String path) { in setCldrDir() argument
89 this.cldrPath = checkNotNull(Paths.get(path)); in setCldrDir()
125 public void setSpecialsDir(String path) { in setSpecialsDir() argument
127 config.setSpecialsDir(Paths.get(path)); in setSpecialsDir()
237 checkBuild(!source.isEmpty(), "Source path not be empty"); in init()
238 checkBuild(!target.isEmpty(), "Target path not be empty"); in init()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/regex/
H A DRegexTransformerTest.java26 * for testing (and we still need "real" CLDR paths since the path parsing verifies attributes
125 // Implicit splitting is based on the first unquoted placeholder in the output path ($2 in in testImplicitArgumentSplitting()
126 // this case) and not the first captured group of the input path. in testImplicitArgumentSplitting()
139 // results (it will trigger on the first un-quoted argument in the output path). This in testImplicitArgumentSplitting()
261 // The path we expect to be resolved by the dynamic variable function. in testDynamicVars()
326 // This shows that the capturing of arguments done on the resource bundle path for the in testFallbacks_multipleArgs()
359 .contains("fallback values may only contain arguments from the resource bundle path"); in testFallbacks_missingArgs()
424 // bundle path elements) are acceptable in hidden labels, since those will be stripped out in testHiddenLabelsAndMetazones()
441 // <territory> path prefix, which is the same for many child elements (which is all in testBaseXpath()
444 // So for a single path prefi in testBaseXpath()
516 transformSingleResult( PathValueTransformer transformer, String path, String value) transformSingleResult() argument
525 assertSingleResult(List<Result> results, RbPath path, String... values) assertSingleResult() argument
532 assertSingleResult(List<Result> results, String path, String... values) assertSingleResult() argument
[all...]
/third_party/libsnd/include/
H A Dsndfile.hh84 SndfileHandle (const char *path, int mode = SFM_READ,
86 SndfileHandle (std::string const & path, int mode = SFM_READ,
174 SndfileHandle::SndfileHandle (const char *path, int mode, int fmt, int chans, int srate) in SndfileHandle() argument
189 p->sf = sf_open (path, mode, &p->sfinfo) ; in SndfileHandle()
196 SndfileHandle::SndfileHandle (std::string const & path, int mode, int fmt, int chans, int srate) in SndfileHandle() argument
211 p->sf = sf_open (path.c_str (), mode, &p->sfinfo) ; in SndfileHandle()
/third_party/libbpf/src/
H A Dbtf.h110 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext);
111 LIBBPF_API struct btf *btf__parse_split(const char *path, struct btf *base_btf);
112 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext);
113 LIBBPF_API struct btf *btf__parse_elf_split(const char *path, struct btf *base_btf);
114 LIBBPF_API struct btf *btf__parse_raw(const char *path);
115 LIBBPF_API struct btf *btf__parse_raw_split(const char *path, struct btf *base_btf);
/third_party/ltp/metadata/
H A Dmetaparse.c225 char *path; in open_file() local
227 if (asprintf(&path, "%s/%s", dir, fname) < 0) in open_file()
230 f = fopen(path, "r"); in open_file()
232 free(path); in open_file()
810 const char *strip_name(char *path) in strip_name() argument
812 char *name = basename(path); in strip_name()
825 printf("-I add include path\n"); in print_help()
/third_party/node/test/parallel/
H A Dtest-os.js26 const path = require('path');
201 assert.ok(home.includes(path.sep));
210 assert.ok(os.homedir().includes(path.sep));
215 assert.ok(os.homedir().includes(path.sep));
236 assert(pwd.shell.includes(path.sep));
244 assert.ok(pwd.homedir.includes(path.sep));
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsls.c61 * @depth: the level of this dir relative to opts.path
71 * path_component - to store path component strings
84 * the tree is opts.path, but it is not part of the list because
91 * 1. opts.path is /
103 /* The global depth relative to opts.path.
104 * ie: opts.path has depth 0, a sub-dir of opts.path has depth 1
120 const char *path; member
168 " -p, --path PATH Directory whose contents to list\n" in usage()
202 { "path", required_argumen in parse_options()
[all...]

Completed in 25 milliseconds

1...<<221222223224225226227228229230>>...489