/kernel/linux/common_modules/tzdriver/core/ |
H A D | agent.c | 25 #include <linux/path.h> 101 char *get_proc_dpath(char *path, int path_len) in get_proc_dpath() argument 106 if (!path || path_len != MAX_PATH_SIZE) { in get_proc_dpath() 111 if (memset_s(path, path_len, '\0', MAX_PATH_SIZE) != 0) { in get_proc_dpath() 118 tloge("set path in get proc dpath failed\n"); in get_proc_dpath() 122 if (liblinux_pal_vfs_readlink(cmdstring, path, MAX_PATH_SIZE) == 0) { in get_proc_dpath() 127 return path; in get_proc_dpath() 130 char *get_proc_dpath(char *path, int path_len) in get_proc_dpath() argument 133 struct path base_path = { in get_proc_dpath() 140 if (!path || path_le in get_proc_dpath() 180 char *path = NULL; get_ca_path_and_uid() local [all...] |
/third_party/gn/src/gn/ |
H A D | visual_studio_writer.cc | 183 // directory path, excluding the last slash. Note that the input pointer must 185 std::string_view FindParentDir(const std::string* path) { in FindParentDir() argument 186 DCHECK(path && !path->empty()); in FindParentDir() 187 for (int i = static_cast<int>(path->size()) - 2; i >= 0; --i) { in FindParentDir() 188 if (IsSlash((*path)[i])) in FindParentDir() 189 return std::string_view(path->data(), i); in FindParentDir() 259 : name(_name), path(_path), guid(_guid), parent_folder(nullptr) {} in SolutionEntry() 273 // important when searching for the common path prefix. in SolutionProject() 393 return a->path < in RunAndWriteFiles() [all...] |
/third_party/libuv/src/win/ |
H A D | util.c | 118 /* Get the path as UTF-16. */ in uv_exepath() 230 /* Windows stores the drive-local path in an "hidden" environment variable, in uv_chdir() 245 /* Doesn't look like a drive letter could be there - probably an UNC path. in uv_chdir() 972 wchar_t *path; in uv_os_tmpdir() local 985 path = uv__malloc(len * sizeof(wchar_t)); in uv_os_tmpdir() 986 if (path == NULL) { in uv_os_tmpdir() 989 len = GetTempPathW(len, path); in uv_os_tmpdir() 992 uv__free(path); in uv_os_tmpdir() 998 if (path[len - 1] == L'\\' && in uv_os_tmpdir() 999 !(len == 3 && path[ in uv_os_tmpdir() 1083 wchar_t *path; uv__getpwuid_r() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | reparse.c | 214 * along the target path, with target defined as a full absolute path 216 * Returns the path translated to a Linux path 217 * or NULL if the path is not valid 220 static char *search_absolute(ntfs_volume *vol, ntfschar *path, in search_absolute() argument 234 * Examine and translate the path, until we reach either in search_absolute() 240 * examined later when the translated path is dereferenced, in search_absolute() 241 * however the final part of the path will not be adjusted in search_absolute() 247 && (path[star in search_absolute() 290 search_relative(ntfs_inode *ni, ntfschar *path, int count) search_relative() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | page_router_manager.cpp | 70 info.path = info.url + ".js"; in LoadOhmUrl() 98 info.path = manifestParser_->GetRouter()->GetPagePath(url); in RunPage() 99 if (info.path.empty()) { in RunPage() 103 info.path = manifestParser_->GetRouter()->GetEntry(); in RunPage() 169 info.path = manifestParser_->GetRouter()->GetPagePath(url); in RunCard() 171 info.path = manifestParser_->GetRouter()->GetEntry(); in RunCard() 365 TAG_LOGI(AceLogTag::ACE_ROUTER, "Router back path:%{public}s", target.url.c_str()); in BackWithTarget() 691 void PageRouterManager::GetState(int32_t& index, std::string& name, std::string& path) in GetState() argument 712 GetPageNameAndPath(url, name, path); in GetState() 715 void PageRouterManager::GetStateByIndex(int32_t index, std::string& name, std::string& path, st argument 797 GetPageNameAndPath(const std::string& url, std::string& name, std::string& path) GetPageNameAndPath() argument [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/ |
H A D | medialibrary_backup_test.cpp | 382 const char *path = "/data/test/backup/1.txt"; in HWTEST_F() local 383 stat(path, &bufBefore); in HWTEST_F() 389 utime(path, &buf); in HWTEST_F() 391 stat(path, &bufAfter); in HWTEST_F() 502 string path; in HWTEST_F() local 503 string res = BackupFileUtils::GetFileNameFromPath(path); in HWTEST_F() 511 string path = "test"; in HWTEST_F() local 512 string res = BackupFileUtils::GetFileNameFromPath(path); in HWTEST_F() 520 string path = "test/ee/ee"; in HWTEST_F() local 521 string res = BackupFileUtils::GetFileNameFromPath(path); in HWTEST_F() 557 string path = "/test.cpp"; HWTEST_F() local 568 string path = "/test.cpp"; HWTEST_F() local 626 string path = "test_path"; HWTEST_F() local 638 string path = "test_path"; HWTEST_F() local 650 string path = "test_path"; HWTEST_F() local 1313 string path = "image/"; HWTEST_F() local 1334 string path = "video/"; HWTEST_F() local 1355 string path = "audio/"; HWTEST_F() local 1376 string path = "test_path"; HWTEST_F() local 1594 std::string path = "/../"; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | lpt.c | 1943 * @path: where to put the nnode 1951 struct lpt_scan_node *path, in scan_get_nnode() 1962 path->in_tree = 1; in scan_get_nnode() 1963 path->ptr.nnode = nnode; in scan_get_nnode() 1966 nnode = &path->nnode; in scan_get_nnode() 1967 path->in_tree = 0; in scan_get_nnode() 1968 path->ptr.nnode = nnode; in scan_get_nnode() 2002 * @path: where to put the pnode 2010 struct lpt_scan_node *path, in scan_get_pnode() 2021 path in scan_get_pnode() 1950 scan_get_nnode(struct ubifs_info *c, struct lpt_scan_node *path, struct ubifs_nnode *parent, int iip) scan_get_nnode() argument 2009 scan_get_pnode(struct ubifs_info *c, struct lpt_scan_node *path, struct ubifs_nnode *parent, int iip) scan_get_pnode() argument 2084 struct lpt_scan_node *path; ubifs_lpt_scan_nolock() local [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | lpt.c | 1943 * @path: where to put the nnode 1951 struct lpt_scan_node *path, in scan_get_nnode() 1962 path->in_tree = 1; in scan_get_nnode() 1963 path->ptr.nnode = nnode; in scan_get_nnode() 1966 nnode = &path->nnode; in scan_get_nnode() 1967 path->in_tree = 0; in scan_get_nnode() 1968 path->ptr.nnode = nnode; in scan_get_nnode() 2002 * @path: where to put the pnode 2010 struct lpt_scan_node *path, in scan_get_pnode() 2021 path in scan_get_pnode() 1950 scan_get_nnode(struct ubifs_info *c, struct lpt_scan_node *path, struct ubifs_nnode *parent, int iip) scan_get_nnode() argument 2009 scan_get_pnode(struct ubifs_info *c, struct lpt_scan_node *path, struct ubifs_nnode *parent, int iip) scan_get_pnode() argument 2084 struct lpt_scan_node *path; ubifs_lpt_scan_nolock() local [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | unistdndk.cpp | 588 char path[length];
in Read() local 589 napi_get_value_string_utf8(env, args[0], path, length, &stresult);
in Read() 590 int fd = open(path, O_CREAT, TEST_MODE);
in Read() 665 char path[] = "errorPath";
in Rmdir() local 666 ret = access(path, F_OK);
in Rmdir() 668 rmdir(path);
in Rmdir() 670 ret = rmdir(path);
in Rmdir() 672 char path[] = "/data/storage/el2/base/files/rmdirPath";
in Rmdir() local 673 ret = access(path, F_OK);
in Rmdir() 675 remove(path);
in Rmdir() 752 char path[] = "/data/storage/el2/base/files/testTruncated.txt"; Truncate() local 767 char path[] = "/data/storage/el2/base/files/moTruncated.txt"; Truncate64() local 790 char path[] = "unexist_test_unlink.txt"; Unlink() local 793 char path[] = "/data/storage/el2/base/files/test_unlink.txt"; Unlink() local 814 char path[] = "unexist_test_unlinkat.txt"; Unlinkat() local 817 char path[] = "/data/storage/el2/base/files/test_unlinkat.txt"; Unlinkat() local 1255 char *path = static_cast<char *>(malloc(sizeof(char) * lenV)); LockF() local 1276 char *path = static_cast<char *>(malloc(sizeof(char) * lenV)); LockF64() local 1877 char path[length]; Dup() local 1896 char path[length]; Dup2() local [all...] |
/applications/standard/app_samples/code/BasicFeature/Media/ImageEffect/entry/src/main/cpp/utils/ |
H A D | pixelmap_helper.cpp | 42 CHECK_AND_RETURN_RET_LOG(fd != -1, nullptr, "Open path fail! pathName=%{public}s", pathName.c_str()); in Decode() 86 bool PixelMapHelper::Encode(OH_PixelmapNative *pixelmap, std::string &path) in Encode() argument 100 int fd = open(path.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in Encode() 101 CHECK_AND_RETURN_RET_LOG(fd != -1, false, "Open path fail! path=%{public}s", path.c_str()); in Encode()
|
/applications/standard/systemui/ |
H A D | gradlew | 130 APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 153 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_file.c | 26 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen() argument 30 if (file == NULL || path == NULL) { in OsalFileOpen() 37 fp = filp_open(path, flags, rights); in OsalFileOpen()
|
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_file.c | 40 int32_t OsalFileOpen(OsalFile *file, const char *path, int flags, uint32_t rights) in OsalFileOpen() argument 45 if (file == NULL || path == NULL) { in OsalFileOpen() 52 if (realpath(path, pathName) == NULL) { in OsalFileOpen()
|
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
H A D | hdi_interface_test.cpp | 53 std::string CreateFile(std::string path, std::string content) in CreateFile() argument 55 std::ofstream stream(path.c_str()); in CreateFile() 62 return path; in CreateFile()
|
/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | thermal_hdf_config.h | 59 int32_t ThermalHDIConfigInit(const std::string& path); 60 int32_t ParseThermalHdiXMLConfig(const std::string& path); 90 int32_t GetIsolateCpuNodePath(bool isSim, const std::string &type, std::string &path);
|
/foundation/ability/ability_runtime/services/dataobsmgr/include/ |
H A D | dataobs_mgr_inner_ext.h | 69 void GetObs(const std::vector<std::string> &path, uint32_t index, Uri &uri, ObsMap &obsMap); 70 bool AddObserver(const std::vector<std::string> &path, uint32_t index, const Entry &entry); 71 bool RemoveObserver(const std::vector<std::string> &path, uint32_t index,
|
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/ |
H A D | engine_event_callback.cpp | 70 void EngineEventCallback::ReadFile(const std::string &path) in ReadFile() argument 72 INTELL_VOICE_LOG_INFO("path: %{public}s", path.c_str()); in ReadFile() 74 infile.open(path, ios::in | ios::binary); in ReadFile()
|
/foundation/arkui/ace_engine/frameworks/core/components/side_bar/ |
H A D | side_bar_container_component.h | 91 void SetShowIcon(const std::string& path);
95 void SetHiddenIcon(const std::string& path);
99 void SetSwitchIcon(const std::string& path);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_paint_method.cpp | 66 RSPath path; in PaintDivider() local 68 path.AddRect(info.startMargin, info.topMargin, info.width - info.endMargin, in PaintDivider() 74 canvas.DrawPath(path); in PaintDivider()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_node.cpp | 104 auto path = AceType::MakeRefPtr<Path>(); in CreateBoxComponent() local 105 path->SetValue(pathCommands); in CreateBoxComponent() 106 clipPath->SetBasicShape(path); in CreateBoxComponent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_paint_method.cpp | 90 RSPath path; in PaintDivider() local 92 path.AddRect(info.startMargin, info.topMargin, info.width - info.endMargin, info.topMargin + info.strokeWidth); in PaintDivider() 97 canvas.DrawPath(path); in PaintDivider()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | shape_abstract.cpp | 142 auto path = AceType::MakeRefPtr<Path>(); in NativePath() local 143 path->SetValue(pathCmd); in NativePath() 144 SetBasicShape(path); in NativePath()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | rs_dir_asset_provider.h | 117 void GetAssetList(const std::string& path, std::vector<std::string>& assetList) override 120 std::string dirPath = basePath_ + "\\" + path; 132 std::string dirPath = basePath_ + "/" + path;
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_parser.h | 34 BundleInfo *ParseHapProfile(const char *path); 35 uint8_t ParseHapProfile(const std::string &path, Permissions &permissions, BundleRes &bundleRes, 37 static int8_t ParseBundleParam(const char *path, char **bundleName, int32_t &versionCode);
|
/foundation/graphic/graphic_3d/lume/metaobject/src/engine/ |
H A D | engine_value_manager.h | 43 bool ConstructValue(CORE_NS::IPropertyHandle* handle, BASE_NS::string_view path, EngineValueOptions) override; 60 bool ConstructValueImpl(CORE_NS::IPropertyHandle* handle, BASE_NS::string pathTaken, BASE_NS::string_view path, 63 EnginePropertyParams params, BASE_NS::string pathTaken, BASE_NS::string_view path, EngineValueOptions options);
|