| /foundation/filemanagement/storage_service/services/storage_daemon/quota/ |
| H A D | quota_manager.cpp | 248 int32_t QuotaManager::SetQuotaPrjId(const std::string &path, int32_t prjId, bool inherit)
in SetQuotaPrjId() argument 251 char *realPath = realpath(path.c_str(), nullptr);
in SetQuotaPrjId() 259 LOGE("Failed to open %{public}s, errno: %{public}d", path.c_str(), errno);
in SetQuotaPrjId() 264 LOGE("Failed to open %{public}s, errno: %{public}d", path.c_str(), errno);
in SetQuotaPrjId() 268 LOGE("Failed to get extended attributes of %{public}s, errno: %{public}d", path.c_str(), errno);
in SetQuotaPrjId() 278 LOGE("Failed to set project id for %{public}s, errno: %{public}d", path.c_str(), errno);
in SetQuotaPrjId() 285 LOGE("Failed to get flags for %{public}s, errno:%{public}d", path.c_str(), errno);
in SetQuotaPrjId() 291 LOGE("Failed to set flags for %{public}s, errno:%{public}d", path.c_str(), errno);
in SetQuotaPrjId() 307 // 保存includeExclude的path
in ReadIncludesExcludesPath() 356 LOGE("Invalid phyiscal path");
in AddPathMapForPathWildCard() 382 std::string path = pathBeforeWildCard + entry->d_name; GetPathWildCard() local 400 std::string path = subDir + FILE_SEPARATOR_CHAR + entry->d_name; GetPathWildCard() local 517 ExcludeFilter(std::map<std::string, bool> &excludesMap, const std::string &path) ExcludeFilter() argument 549 CheckIfDirForIncludes(const std::string &path, BundleStatsParas ¶s, std::map<std::string, std::string> &pathMap, std::ofstream &statFile, std::map<std::string, bool> &excludesMap) CheckIfDirForIncludes() argument 590 PhysicalToSandboxPath(const std::string &dir, const std::string &sandboxDir, const std::string &path) PhysicalToSandboxPath() argument 629 CheckOverLongPath(const std::string &path) CheckOverLongPath() argument 640 InsertStatFile(const std::string &path, struct FileStat fileStat, std::ofstream &statFile, std::map<std::string, bool> &excludesMap, BundleStatsParas ¶s) InsertStatFile() argument 689 std::string path = filePath + entry->d_name; GetIncludesFileStats() local [all...] |
| /base/hiviewdfx/hiview/base/utility/include/ |
| H A D | file_util.h | 72 int32_t CreateFile(const std::string &path, mode_t mode = DEFAULT_FILE_MODE);
78 std::string IncludeTrailingPathDelimiter(const std::string& path);
79 std::string ExcludeTrailingPathDelimiter(const std::string& path);
80 void GetDirFiles(const std::string& path, std::vector<std::string>& files, bool isRecursive = true);
81 void GetDirDirs(const std::string& path, std::vector<std::string>& dirs);
82 bool ForceCreateDirectory(const std::string& path);
83 bool ForceCreateDirectory(const std::string& path, mode_t mode);
84 void RemoveFolderBeginWith(const std::string &path, const std::string &folderName);
85 bool ForceRemoveDirectory(const std::string& path, bool isNeedDeleteGivenDirSelf = true);
87 uint64_t GetFolderSize(const std::string& path);
[all...] |
| /base/security/selinux_adapter/test/unittest/common/ |
| H A D | test_common.cpp | 24 bool CreateDirectory(const std::string &path) in CreateDirectory() argument 29 index = path.find('/', index + 1); in CreateDirectory() 31 subPath = path; in CreateDirectory() 33 subPath = path.substr(0, index); in CreateDirectory() 43 return access(path.c_str(), F_OK) == 0; in CreateDirectory() 46 bool RemoveDirectory(const std::string &path) in RemoveDirectory() argument 54 if (access(path.c_str(), F_OK) != 0) { in RemoveDirectory() 57 int statRet = stat(path.c_str(), &dirStat); in RemoveDirectory() 63 remove(path.c_str()); in RemoveDirectory() 65 dirp = opendir(path in RemoveDirectory() 81 GetDirectory(const std::string &path) GetDirectory() argument 91 CreateFile(const std::string &path) CreateFile() argument [all...] |
| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
| H A D | matrix_test.cpp | 37 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in OnTestPerformance() local 38 OH_Drawing_PathAddRect(path, 0, 0, 100, 100, OH_Drawing_PathDirection::PATH_DIRECTION_CW); // 100 矩形宽高 in OnTestPerformance() 45 OH_Drawing_PathTransform(path, matrix); in OnTestPerformance() 46 OH_Drawing_CanvasDrawPath(canvas, path); in OnTestPerformance() 48 OH_Drawing_PathDestroy(path); in OnTestPerformance() 53 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in OnTestPerformance() local 57 OH_Drawing_PathAddRect(path, 0, 0, 100, 100, OH_Drawing_PathDirection::PATH_DIRECTION_CW); // 100 宽高 in OnTestPerformance() 64 OH_Drawing_PathTransform(path, total); in OnTestPerformance() 65 OH_Drawing_CanvasDrawPath(canvas, path); in OnTestPerformance() 69 OH_Drawing_PathDestroy(path); in OnTestPerformance() 74 OH_Drawing_Path* path = OH_Drawing_PathCreate(); OnTestPerformance() local 93 OH_Drawing_Path* path = OH_Drawing_PathCreate(); OnTestPerformance() local [all...] |
| /foundation/multimodalinput/input/tools/event_inject/test/ |
| H A D | processing_pen_device_test.cpp | 33 static void CheckJsonData(const std::string path) in CheckJsonData() argument 42 std::string jsonBuf = ReadJsonFile(path); in CheckJsonData() 44 ASSERT_TRUE(false) << "Read file failed" << path; in CheckJsonData() 66 const std::string path = "/data/json/Test_TransformPenJsonDataToInputData.json"; in HWTEST_F() local 75 std::string jsonBuf = ReadJsonFile(path); in HWTEST_F() 77 ASSERT_TRUE(false) << "Read file failed" << path; in HWTEST_F() 98 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataNotfindEvents.json"; in HWTEST_F() local 99 CheckJsonData(path); in HWTEST_F() 110 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataEventsIsEmpty.json"; in HWTEST_F() local 111 CheckJsonData(path); in HWTEST_F() 122 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataApprochEventError.json"; HWTEST_F() local 134 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataSlideEventError.json"; HWTEST_F() local 146 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataLeaveEventError.json"; HWTEST_F() local 158 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataApprochEventEventTypeError.json"; HWTEST_F() local 170 const std::string path = "/data/json/Test_TransformPenJsonDataToInputDataLeaveEventEventTypeError.json"; HWTEST_F() local [all...] |
| /foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
| H A D | cloud_download_uri_manager.cpp | 28 int32_t CloudDownloadUriManager::AddPathToUri(const std::string& path, const std::string& uri) in AddPathToUri() argument 30 LOGI("download_file : add path [ %{public}s ] -> uri [ %{public}s ]", in AddPathToUri() 31 GetAnonyString(path).c_str(), GetAnonyString(uri).c_str()); in AddPathToUri() 33 if (pathUriMap_.find(path) == pathUriMap_.end()) { in AddPathToUri() 34 pathUriMap_[path] = uri; in AddPathToUri() 35 LOGI("download_file : add path [ %{public}s ] success, pathUriMap_ size is %{public}zu", in AddPathToUri() 36 GetAnonyString(path).c_str(), pathUriMap_.size()); in AddPathToUri() 54 void CloudDownloadUriManager::RemoveUri(const std::string& path) in RemoveUri() argument 57 if (pathUriMap_.find(path) != pathUriMap_.end()) { in RemoveUri() 58 LOGI("download_file : remove path [ in RemoveUri() 105 GetUri(const std::string& path) GetUri() argument [all...] |
| /foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
| H A D | cloud_download_uri_manager_test.cpp | 80 const std::string path = "file://data/file"; in HWTEST_F() local 83 mUriMgr.AddPathToUri(path, uri); in HWTEST_F() 84 EXPECT_EQ(mUriMgr.pathUriMap_[path], uri); in HWTEST_F() 95 const std::string path = "file://data/file"; in HWTEST_F() local 98 mUriMgr.pathUriMap_[path] = uri; in HWTEST_F() 99 auto ret = mUriMgr.AddPathToUri(path, uri); in HWTEST_F() 111 const std::string path = "file://data/file"; in HWTEST_F() local 114 mUriMgr.AddPathToUri(path, uri); in HWTEST_F() 115 EXPECT_EQ(mUriMgr.pathUriMap_[path], uri); in HWTEST_F() 116 mUriMgr.RemoveUri(path); in HWTEST_F() 129 const std::string path = "file://data/file"; HWTEST_F() local 144 const std::string path = ""; HWTEST_F() local 159 const std::string path = "file://data/file"; HWTEST_F() local [all...] |
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
| H A D | ftw1ndk.cpp | 52 char path[PATH_MAX * PARAM_2];
in Ftw() local 53 memset(path, 'a', sizeof(path));
in Ftw() 54 path[PATH_MAX * PARAM_2 - PARAM_1] = PARAM_0;
in Ftw() 55 ret = ftw(path, ftw_fn, TEST_FD_LIMIT);
in Ftw() 79 char path[PATH_MAX * PARAM_2];
in Ftw64() local 80 memset(path, 'a', sizeof(path));
in Ftw64() 81 path[PATH_MAX * PARAM_2 - PARAM_1] = PARAM_0;
in Ftw64() 82 ret = ftw64(path, ftw64_f in Ftw64() 109 char path[PATH_MAX * PARAM_2]; Nftw() local 139 char path[PATH_MAX * PARAM_2]; Nftw64() local [all...] |
| /test/xts/acts/graphic/graphicnapidrawingtest/ |
| H A D | NativeDrawingPathLargeValueTest.cpp | 23 #include "draw/path.h" 54 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in HWTEST_F() local 55 EXPECT_EQ(path == nullptr, false); in HWTEST_F() 56 OH_Drawing_PathDestroy(path); in HWTEST_F() 178 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathCopy)->GetBounds().GetWidth(), 2160.0)); in HWTEST_F() 179 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(pathCopy)->GetBounds().GetHeight(), 4096.0)); in HWTEST_F() 193 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in HWTEST_F() local 195 OH_Drawing_PathAddRect(path, 50, 50, 2160, 4096, OH_Drawing_PathDirection::PATH_DIRECTION_CW); in HWTEST_F() 196 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path) in HWTEST_F() 210 OH_Drawing_Path* path = OH_Drawing_PathCreate(); HWTEST_F() local [all...] |
| /third_party/musl/src/misc/ |
| H A D | nftw.c | 25 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) in do_nftw() argument 27 size_t l = strlen(path), j = l && path[l-1]=='/' ? l-1 : l; in do_nftw() 40 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw() 41 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw() 47 if (access(path, R_OK) < 0) { in do_nftw() 77 for (k=j; k && path[k]=='/'; k--); in do_nftw() 78 for (; k && path[k-1]!='/'; k--); in do_nftw() 84 dfd = open(path, O_RDONL in do_nftw() [all...] |
| /third_party/ltp/testcases/kernel/syscalls/openat/ |
| H A D | openat03.c | 85 char path[PATH_MAX], tmp[PATH_MAX]; in test01() local 108 snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); in test01() 109 SAFE_READLINK(cleanup, path, tmp, PATH_MAX); in test01() 112 SAFE_LINKAT(cleanup, AT_FDCWD, path, AT_FDCWD, "tmpfile", in test01() 142 char path[PATH_MAX]; in test02() local 146 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 147 SAFE_MKDIR(cleanup, path, 0700); in test02() 148 SAFE_CHDIR(cleanup, path); in test02() 156 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 157 SAFE_RMDIR(cleanup, path); in test02() 190 char path[PATH_MAX]; test03() local [all...] |
| /third_party/ltp/testcases/kernel/syscalls/open/ |
| H A D | open14.c | 74 char path[PATH_MAX], tmp[PATH_MAX]; in test01() local 97 snprintf(path, PATH_MAX, "/proc/self/fd/%d", fd); in test01() 98 SAFE_READLINK(cleanup, path, tmp, PATH_MAX); in test01() 101 SAFE_LINKAT(cleanup, AT_FDCWD, path, AT_FDCWD, "tmpfile", in test01() 131 char path[PATH_MAX]; in test02() local 135 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 136 SAFE_MKDIR(cleanup, path, 0700); in test02() 137 SAFE_CHDIR(cleanup, path); in test02() 145 snprintf(path, PATH_MAX, "tst02_%d", i); in test02() 146 SAFE_RMDIR(cleanup, path); in test02() 179 char path[PATH_MAX]; test03() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/check_build_files/ |
| H A D | main.go | 25 "path/filepath" 55 filepath.Walk(wd, func(path string, info os.FileInfo, err error) error { 60 rel, err := filepath.Rel(wd, path) 74 content, err := ioutil.ReadFile(path) 80 switch filepath.Ext(path) { 82 errs = append(errs, checkBlueprint(path, string(content))...) 84 errs = append(errs, checkGn(path, string(content))...) 86 errs = append(errs, checkBazel(path, string(content))...) 109 func checkBlueprint(path, content string) []error { 116 if err := checkSource(path, sourc [all...] |
| /third_party/skia/src/pathops/ |
| H A D | SkOpBuilder.cpp | 15 static bool one_contour(const SkPath& path) { in one_contour() argument 17 int verbCount = path.countVerbs(); in one_contour() 19 (void) path.getVerbs(verbs, verbCount); in one_contour() 28 void SkOpBuilder::ReversePath(SkPath* path) { in ReversePath() argument 31 SkAssertResult(path->getLastPt(&lastPt)); in ReversePath() 33 temp.reversePathTo(*path); in ReversePath() 35 *path = temp; in ReversePath() 38 bool SkOpBuilder::FixWinding(SkPath* path) { in FixWinding() argument 39 SkPathFillType fillType = path->getFillType(); in FixWinding() 45 if (one_contour(*path)) { in FixWinding() 111 add(const SkPath& path, SkPathOp op) add() argument [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_generics.rs | 48 meta: Meta::Path { in test_split_for_impl() 72 bounded_ty: Type::Path { in test_split_for_impl() 73 path: Path { in test_split_for_impl() 83 path: Path { in test_split_for_impl() 147 path: Path { in test_ty_param_bound() 161 path: Path { in test_ty_param_bound() [all...] |
| /third_party/icu/icu4j/main/tests/collate/ |
| H A D | .classpath | 3 <classpathentry excluding="**/.svn/" kind="src" path="src"/> 4 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-collate"/> 5 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core"/> 6 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-test-framework"/> 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> 8 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-currdata"/> 9 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-langdata"/> 10 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-regiondata"/> 11 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core-tests"/> 12 <classpathentry kind="lib" path [all...] |
| /third_party/icu/icu4j/main/tests/localespi/ |
| H A D | .classpath | 3 <classpathentry excluding="**/.svn/" kind="src" path="src"/> 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> 9 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core"/> 10 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-localespi"/> 11 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-test-framework"/> 12 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-collate"/> 13 <classpathentry kind="lib" path="/external-libraries/hamcrest-core-1.3.jar"/> 14 <classpathentry kind="lib" path="/external-libraries/junit-4.12.jar" sourcepath="/external-libraries/junit-4.12-sources.jar"> 19 <classpathentry kind="lib" path="/external-libraries/JUnitParams-1.0.5.jar" sourcepath="/external-libraries/JUnitParams-1.0.5-sources.jar"> 24 <classpathentry combineaccessrules="false" kind="src" path [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-snapshot-api.js | 10 const path = require('path'); 20 const blobPath = path.join(tmpdir.path, 'snapshot.blob'); 21 const entry = fixtures.path('snapshot', 'v8-startup-snapshot-api.js'); 29 fs.writeFileSync(path.join(tmpdir.path, book), content, 'utf8'); 31 fs.copyFileSync(entry, path.join(tmpdir.path, 'entry.js')); 38 cwd: tmpdir.path [all...] |
| /third_party/node/deps/npm/node_modules/which/node_modules/isexe/dist/cjs/ |
| H A D | win32.js | 13 * Determine whether a path is executable based on the file extension 16 const isexe = async (path, options = {}) => { 19 return checkStat(await (0, promises_1.stat)(path), path, options); 30 * Synchronously determine whether a path is executable based on the file 33 const sync = (path, options = {}) => { 36 return checkStat((0, fs_1.statSync)(path), path, options); 46 const checkPathExt = (path, options) => { 54 const ext = path [all...] |
| /third_party/rust/crates/libc/libc-test/ |
| H A D | Cargo.toml | 14 path = ".." 31 path = "test/main.rs" 36 path = "test/linux_fcntl.rs" 41 path = "test/linux_if_arp.rs" 46 path = "test/linux_ipv6.rs" 51 path = "test/linux_elf.rs" 56 path = "test/linux_strerror_r.rs" 61 path = "test/linux_termios.rs" 66 path = "test/cmsg.rs" 71 path [all...] |
| /third_party/skia/gm/ |
| H A D | hugepath.cpp | 24 SkPath path; in DEF_SIMPLE_GM() local 28 path.reset(); in DEF_SIMPLE_GM() 29 path.moveTo(-1000,12345678901234567890.f); in DEF_SIMPLE_GM() 30 path.lineTo(10.5f,200); in DEF_SIMPLE_GM() 31 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 33 path.reset(); in DEF_SIMPLE_GM() 34 path.moveTo(30.5f,400); in DEF_SIMPLE_GM() 35 path.lineTo(1000,-9.8765432109876543210e+19f); in DEF_SIMPLE_GM() 36 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 51 SkPath path; in DEF_SIMPLE_GM() [all...] |
| /base/security/selinux_adapter/scripts/ |
| H A D | build_contexts.py | 33 '--dst-dir', help='the output dest path', required=True) 34 parser.add_argument('--tool-path', 35 help='the sefcontext_compile bin path', required=True) 39 help='prj root path', required=True) 57 :param search_dir: path to search 68 file_list_path = os.path.join(root, each_file) 160 :param contexts_file: path of contexts file 165 check_cmd = [os.path.join(args.tool_path, "sefcontext_compile"), 170 if os.path.exists(contexts_file + ".bin"): 214 :param contexts_file: path o [all...] |
| /base/security/huks/utils/file_operator/ |
| H A D | hks_file_operator_lite.c | 51 static int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFileNameLen)
in GetFileName() argument 53 if (path != NULL) {
in GetFileName() 54 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) {
in GetFileName() 58 if (path[strlen(path) - 1] != '/') {
in GetFileName() 76 static int32_t GetFullFileName(const char *path, const char *fileName, char **fullFileName)
in GetFullFileName() argument 83 int32_t ret = GetFileName(path, fileName, tmpFileName, nameLen);
in GetFullFileName() 200 int32_t HksIsDirExist(const char *path)
in HksIsDirExist() argument 202 HKS_IF_NULL_RETURN(path, HKS_ERROR_NULL_POINTE in HksIsDirExist() 206 HksMakeDir(const char *path) HksMakeDir() argument 225 HksOpenDir(const char *path) HksOpenDir() argument 380 HksFileRead(const char *path, const char *fileName, uint32_t offset, struct HksBlob *blob, uint32_t *size) HksFileRead() argument 395 HksFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) HksFileWrite() argument 410 HksFileSize(const char *path, const char *fileName) HksFileSize() argument 423 HksIsFileExist(const char *path, const char *fileName) HksIsFileExist() argument 436 HksFileRemove(const char *path, const char *fileName) HksFileRemove() argument 449 HksGetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFileNameLen) HksGetFileName() argument [all...] |
| /foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/hm_symbol/ |
| H A D | hm_symbol_node_build_test.cpp | 145 RSPath path; in HWTEST_F() local 146 path.AddCircle(100, 100, 40); // 100 x, 100, 40 radius in HWTEST_F() 147 path.AddCircle(100, 100, 30, Drawing::PathDirection::CCW_DIRECTION); // 100 x, 100, 30 radius in HWTEST_F() 149 symbol.path_ = path; in HWTEST_F() 170 RSPath path; in HWTEST_F() local 171 path.AddCircle(100, 100, 50); // 100 x, 100, 50 radius in HWTEST_F() 172 path.AddCircle(100, 100, 30, Drawing::PathDirection::CCW_DIRECTION); // 100 x, 100, 30 radius in HWTEST_F() 174 symbol.path_ = path; in HWTEST_F() 195 RSPath path; in HWTEST_F() local 196 path in HWTEST_F() 220 RSPath path; HWTEST_F() local 245 RSPath path; HWTEST_F() local 269 RSPath path; HWTEST_F() local 308 RSPath path; HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/preferences/frameworks/native/src/ |
| H A D | preferences_helper.cpp | 39 static bool IsFileExist(const std::string &path) in IsFileExist() argument 42 return (stat(path.c_str(), &buffer) == 0); in IsFileExist() 71 std::string PreferencesHelper::GetRealPath(const std::string &path, int &errorCode) in GetRealPath() argument 73 if (path.empty()) { in GetRealPath() 74 LOG_ERROR("The path can not be empty."); in GetRealPath() 78 if (path.length() > PATH_MAX) { in GetRealPath() 79 LOG_ERROR("The path exceeds max length."); in GetRealPath() 83 std::string::size_type pos = path.find_last_of('/'); in GetRealPath() 85 LOG_ERROR("path can not be relative path in GetRealPath() 189 DeletePreferences(const std::string &path) DeletePreferences() argument 243 RemovePreferencesFromCache(const std::string &path) RemovePreferencesFromCache() argument [all...] |