Searched refs:fullPath (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs_impl.c | 77 char* fullPath = (char *)malloc(FILE_NAME_MAX_LEN + 1);
in RmdirRecursive() local 78 if (fullPath == NULL) {
in RmdirRecursive() 86 if (memset_s(fullPath, FILE_NAME_MAX_LEN + 1, 0x0, FILE_NAME_MAX_LEN + 1) != EOK) {
in RmdirRecursive() 89 if (sprintf_s(fullPath, FILE_NAME_MAX_LEN + 1, "%s/%s", fileName, dir->d_name) < 0) {
in RmdirRecursive() 92 if (stat(fullPath, &info) != 0) {
in RmdirRecursive() 96 ret = RmdirRecursive(fullPath);
in RmdirRecursive() 98 ret = unlink(fullPath);
in RmdirRecursive() 108 free(fullPath);
in RmdirRecursive() 117 char* fullPath = (char *)malloc(pathLen);
in MakeParent() local 118 if (fullPath in MakeParent() [all...] |
H A D | nativeapi_fs.cpp | 52 int GetFullPath(const char* uri, char* fullPath, int len)
in GetFullPath() argument 54 if (!IsValidPath(uri) || (fullPath == nullptr)) {
in GetFullPath() 61 if (memset_s(fullPath, len, 0x0, len) != EOK) {
in GetFullPath() 64 if (sprintf_s(fullPath, len, "%s%s", dataPath, uri + PREFIX_LEN) < 0) {
in GetFullPath()
|
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/ |
H A D | nativeapi_kv_impl.c | 176 char* fullPath = (char *)malloc(FILE_NAME_MAX_LEN + 1);
in ClearKVStore() local 177 if (fullPath == NULL) {
in ClearKVStore() 185 if (memset_s(fullPath, FILE_NAME_MAX_LEN + 1, 0x0, FILE_NAME_MAX_LEN + 1) != EOK) {
in ClearKVStore() 188 if (sprintf_s(fullPath, FILE_NAME_MAX_LEN + 1, "%s/%s", g_kvFolder, dir->d_name) < 0) {
in ClearKVStore() 191 if (unlink(fullPath) != 0) {
in ClearKVStore() 198 free(fullPath);
in ClearKVStore()
|
Completed in 3 milliseconds