Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/base/startup/init/services/init/standard/
H A Dsystem_call_wrap.c38 int __real_mkdir(const char *pathname, mode_t mode);
39 int __wrap_mkdir(const char *pathname, mode_t mode) in __wrap_mkdir() argument
42 return __real_mkdir(pathname, mode); in __wrap_mkdir()
46 int ret = __real_mkdir(pathname, mode); in __wrap_mkdir()
51 int __real_rmdir(const char *pathname);
52 int __wrap_rmdir(const char *pathname) in __wrap_rmdir() argument
55 return __real_rmdir(pathname); in __wrap_rmdir()
59 int ret = __real_rmdir(pathname); in __wrap_rmdir()
95 int __wrap_chown(const char *pathname, uid_t owner, gid_t group) in __wrap_chown() argument
98 return __real_chown(pathname, owner, group); in __wrap_chown()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/library_func_mock/
H A Dlibrary_func_mock.cpp35 int access(const char *pathname, int mode) in access() argument
40 return LibraryFunc::libraryFunc_->access(pathname, mode); in access()
43 int mkdir(const char *pathname, mode_t mode) in mkdir() argument
48 return LibraryFunc::libraryFunc_->mkdir(pathname, mode); in mkdir()
H A Dlibrary_func_mock.h34 virtual int access(const char *pathname, int mode) = 0;
35 virtual int mkdir(const char *pathname, mode_t mode) = 0;
44 MOCK_METHOD2(access, int(const char *pathname, int mode));
45 MOCK_METHOD2(mkdir, int(const char *pathname, mode_t mode));
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-file-cat.md21 | pathname | Specifies the file path. | An existing file |
26 Run the **cat** [*pathname*] command to display the content of a text file.
H A Dkernel-small-debug-shell-file-chown.md21 | pathname | Specifies the file path. | An existing file |
H A Dkernel-small-debug-shell-file-chgrp.md21 | pathname | Specifies the file path. | An existing file |
H A Dkernel-small-bundles-fs-support.md318 mkdir(pathname, mode)
322 open(pathname, O_NONBLOCK | O_CREAT | O_RDWR, mode)
326 dir = opendir(pathname)
332 unlink(pathname)
336 rmdir(pathname)
H A Dkernel-mini-appx-lib.md238 | \#include <unistd.h> | int unlink(const char \*pathname); | Deletes a file.|
248 | \#include <sys/stat.h> | int mkdir(const char \*pathname, mode_t mode); | Creates a directo…
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-bundles-fs-support.md312 mkdir(pathname, mode)
316 open(pathname, O_NONBLOCK | O_CREAT | O_RDWR, mode)
320 dir = opendir(pathname)
326 unlink(pathname)
330 rmdir(pathname)
H A Dkernel-small-debug-shell-file-cat.md20 | pathname | 文件路径。 | 已存在的文件。 |
H A Dkernel-small-debug-shell-file-chgrp.md21 | pathname | 文件路径。 | 已存在的文件。 |
H A Dkernel-small-debug-shell-file-chown.md21 | pathname | 文件路径。 | 已存在的文件。 |
H A Dkernel-mini-appx-lib.md238 | \#include <unistd.h> | int unlink(const char \*pathname); | 删除文件 |
248 | \#include <sys/stat.h> | int mkdir(const char \*pathname, mode_t&n…
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/src/
H A Djs_url.ts62 pathname: string;
607 …this.pathname_ = customEncodeURI(nativeUrl.pathname, {'%7C': '|', '%5B': '[', '%5D': ']', '%25': '…
660 …urlHelper.pathname_ = customEncodeURI(nativeUrl.pathname, {'%7C': '|', '%5B': '[', '%5D': ']', '%2…
816 …this.pathname_ = customEncodeURI(this.c_info.pathname, {'%7C': '|', '%5B': '[', '%5D': ']', '%25':…
825 get pathname(): string {
828 set pathname(path) {
830 this.c_info.pathname = path_;
831 this.pathname_ = this.c_info.pathname;
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
H A Dthread_sampler_test.cpp84 std::string pathname; in GetMMapSizeAndName() local
85 iss >> addrs >> permissions >> offset >> devices >> inode >> pathname; in GetMMapSizeAndName()
86 if (pathname.find(checkName) != std::string::npos) { in GetMMapSizeAndName()
90 mmapName = pathname; in GetMMapSizeAndName()
/ohos5.0/base/startup/init/test/unittest/param/
H A Dparam_stub.cpp683 int ExecvStub(const char *pathname, char *const argv[]) in ExecvStub() argument
685 printf("ExecvStub %s \n", pathname); in ExecvStub()
689 int LchownStub(const char *pathname, uid_t owner, gid_t group) in LchownStub() argument
699 int ExecveStub(const char *pathname, char *const argv[], char *const envp[]) in ExecveStub() argument
701 printf("ExecveStub %s \n", pathname); in ExecveStub()
/ohos5.0/base/security/permission_lite/services/pms/include/hals/
H A Dhal_pms.h33 int HalAccess(const char *pathname);
/ohos5.0/base/startup/appspawn/test/mock/
H A Dapp_system_stub.c61 void *DlopenStub(const char *pathname, int mode) in DlopenStub() argument
63 UNUSED(pathname); in DlopenStub()
H A Dapp_spawn_stub.h81 typedef int (*ExecvFunc)(const char *pathname, char *const argv[]);
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_ring_buffer.cpp42 bpfAttr.pathname = BpfMapPathNameToU64(path); in GetRingbufFd()
H A Dbpf_loader.cpp158 attr.pathname = PtrToU64(pathName.c_str()); in SysBpfObjGet()
170 attr.pathname = PtrToU64(pathName.c_str()); in SysBpfObjPin()
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/
H A Dhap_restorecon.cpp273 for (auto pathname : hapFileInfo.pathNameOrig) { in HapFileRestorecon() local
274 int res = HapFileRestorecon(pathname.c_str(), hapFileInfo); in HapFileRestorecon()
277 …selinux_log(SELINUX_ERROR, "HapFileRestorecon fail for path: %s, errorNo: %d", pathname.c_str(), r… in HapFileRestorecon()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbpf_mapper.h163 bpfAttr.pathname = BpfMapPathNameToU64(pathName); in BpfObjGet()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/
H A Djs-apis-url.md498 | pathname | string | 是 | 是 | 获取和设置URL的路径部分。**原子化服务API**:从API version 11 开始,该接口支持在原子化服务中使用。 |
516 console.log("pathname " + that.pathname) // pathname /directory/file
/ohos5.0/docs/en/application-dev/reference/apis-arkts/
H A Djs-apis-url.md498 | pathname | string | Yes| Yes| Path in a URL. **Atomic service API**: This API can be used in atom…
516 console.log("pathname " + that.pathname) // pathname /directory/file

12