/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
H A D | hks_test_file_operator.c | 36 *fullFileName = tmpFileName; in GetFullFileName() 42 char *fullFileName = NULL; in HksIsFileExist() local 52 ret = IsFileExist(fullFileName); in HksIsFileExist() 53 HKS_FREE(fullFileName); in HksIsFileExist() 59 char *fullFileName = NULL; in HksFileRead() local 70 HKS_FREE(fullFileName); in HksFileRead() 76 char *fullFileName = NULL; in HksFileWrite() local 87 HKS_FREE(fullFileName); in HksFileWrite() 93 char *fullFileName = NULL; in HksFileSize() local 103 uint32_t size = FileSize(fullFileName); in HksFileSize() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/common/ |
H A D | hks_test_file_operator.c | 46 *fullFileName = tmpFileName; in GetFullFileName() 58 char *fullFileName = NULL; in HksTestIsFileExist() local 64 ret = IsFileExist(fullFileName); in HksTestIsFileExist() 65 HksTestFree(fullFileName); in HksTestIsFileExist() 144 char *fullFileName = NULL; in HksTestFileRemove() local 160 char *fullFileName = NULL; in HksTestFileRead() local 167 HksTestFree(fullFileName); in HksTestFileRead() 177 char *fullFileName = NULL; in HksTestFileWrite() local 184 HksTestFree(fullFileName); in HksTestFileWrite() 194 char *fullFileName = NULL; in HksTestFileSize() local [all …]
|
/ohos5.0/base/security/huks/utils/file_operator/ |
H A D | hks_file_operator.c | 75 *fullFileName = tmpFileName; in GetFullFileName() 250 char *fullFileName = NULL; in HksFileRemove() 254 HKS_FREE(fullFileName); in HksFileRemove() 259 HKS_FREE(fullFileName); in HksFileRemove() 267 char *fullFileName = NULL; in HksIsFileExist() 271 HKS_FREE(fullFileName); in HksIsFileExist() 276 HKS_FREE(fullFileName); in HksIsFileExist() 494 char *fullFileName = NULL; in HksFileRead() local 503 HKS_FREE(fullFileName); in HksFileRead() 522 HKS_FREE(fullFileName); in HksFileWrite() [all …]
|
H A D | hks_file_operator_lite.c | 90 *fullFileName = tmpFileName; in GetFullFileName() 386 char *fullFileName = NULL; in HksFileRead() local 391 HKS_FREE(fullFileName); in HksFileRead() 401 char *fullFileName = NULL; in HksFileWrite() local 406 HKS_FREE(fullFileName); in HksFileWrite() 414 char *fullFileName = NULL; in HksFileSize() 419 HKS_FREE(fullFileName); in HksFileSize() 427 char *fullFileName = NULL; in HksIsFileExist() 432 HKS_FREE(fullFileName); in HksIsFileExist() 440 char *fullFileName = NULL; in HksFileRemove() [all …]
|
H A D | hks_file_operator.h | 100 int32_t HksGetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFil…
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_file_operator.c | 71 *fullFileName = tmpFileName; in GetFullFileName() 212 char *fullFileName = NULL; in CmFileRemove() local 219 CM_FREE_PTR(fullFileName); in CmFileRemove() 300 char *fullFileName = NULL; in CmFileRead() local 307 CM_FREE_PTR(fullFileName); in CmFileRead() 317 char *fullFileName = NULL; in CmFileWrite() local 324 CM_FREE_PTR(fullFileName); in CmFileWrite() 334 char *fullFileName = NULL; in CmUserBackupFileWrite() local 341 CM_FREE_PTR(fullFileName); in CmUserBackupFileWrite() 352 char *fullFileName = NULL; in CmFileSize() local [all …]
|
H A D | cert_manager.c | 552 char fullFileName[CM_MAX_FILE_NAME_LEN] = {0}; in CmCheckCertCount() local 553 …if (snprintf_s(fullFileName, CM_MAX_FILE_NAME_LEN, CM_MAX_FILE_NAME_LEN - 1, "%s/%s", pathBuf, fil… in CmCheckCertCount() 559 if (access(fullFileName, F_OK) == 0) { in CmCheckCertCount()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_loader.cpp | 161 const string_view fullFileName, const IDirectory::Entry& entry, const bool forceReload) in HandleShaderFile() argument 165 const auto result = loader.Load(fileManager_, fullFileName); in HandleShaderFile() 179 ref.shaderNames.emplace_back(fullFileName); in HandleShaderFile() 188 refVert.shaderNames.emplace_back(fullFileName); in HandleShaderFile() 191 refFrag.shaderNames.emplace_back(fullFileName); in HandleShaderFile() 196 … PLUGIN_LOG_E("unable to load shader json %s : %s", fullFileName.data(), result.error.c_str()); in HandleShaderFile() 201 void ShaderLoader::HandleShaderStateFile(const string_view fullFileName, const IDirectory::Entry& e… in HandleShaderStateFile() argument 205 const auto result = loader.Load(fileManager_, fullFileName); in HandleShaderStateFile() 214 void ShaderLoader::HandlePipelineLayoutFile(const string_view fullFileName, const IDirectory::Entry… in HandlePipelineLayoutFile() argument 218 const auto result = loader.Load(fileManager_, fullFileName); in HandlePipelineLayoutFile() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_file_operator_func.c | 19 int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFileNa… in GetFileName() argument 22 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName() 27 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName() 32 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName() 36 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs_impl.c | 380 char* fullFileName = (char *)malloc(FILE_NAME_MAX_LEN + 1); in GetFileListImpl() local 381 if (fullFileName == NULL) { in GetFileListImpl() 389 if (memset_s(fullFileName, FILE_NAME_MAX_LEN + 1, 0x0, FILE_NAME_MAX_LEN + 1) != EOK) { in GetFileListImpl() 392 if (sprintf_s(fullFileName, FILE_NAME_MAX_LEN + 1, "%s/%s", dirName, dir->d_name) < 0) { in GetFileListImpl() 395 if (stat(fullFileName, &fileStat) != 0) { in GetFileListImpl() 398 if (strcpy_s(fileList[fileIndex].fileName, FILE_NAME_MAX_LEN + 1, fullFileName) != EOK) { in GetFileListImpl() 409 free(fullFileName); in GetFileListImpl()
|
/ohos5.0/base/hiviewdfx/hiview/interfaces/js/napi/test/unittest/common/ |
H A D | interface_js_napi_test.cpp | 46 const std::string fullFileName = variable 48 std::string hideSnFileName = StringUtil::HideSnInfo(fullFileName);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_list.c | 133 fileListEntry->fullFileName = fileListInfo->files[i]; in FileListSetSendFileList() 137 …ret = GetFileName(fileListEntry->fullFileName, fileListEntry->fileName, sizeof(fileListEntry->file… in FileListSetSendFileList() 142 ret = GetTargetFileSize(fileListEntry->fullFileName, &fileListEntry->fileSize); in FileListSetSendFileList() 300 files[i] = fileList->list[i].fullFileName; in FileListGetNames() 339 files[count] = fileList->list[i].fullFileName; in FileListGetFilesByFlag() 420 free(fileListEntry->fullFileName); in FileListDestroy() 421 fileListEntry->fullFileName = NULL; in FileListDestroy()
|
H A D | nstackx_dfile_frame.c | 64 path = fileList->list[i].fullFileName; in GetTarTotalBlockLength()
|
H A D | nstackx_dfile_transfer.c | 444 sendFileListInfo.fileList[i] = fileList->list[i].fullFileName; in StartFileManagerSenderTask()
|
/ohos5.0/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_common_utils.cpp | 339 int DumpCommonUtils::FindDigitIndex(const std::string& fullFileName) in FindDigitIndex() argument 341 for (size_t i = 0; i < fullFileName.size(); i++) { in FindDigitIndex() 342 if (std::isdigit(fullFileName[i])) { in FindDigitIndex() 346 return static_cast<int>(fullFileName.size()); in FindDigitIndex()
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/ |
H A D | hks_test_file_operator_c.h | 34 int32_t GetFileName(const char *path, const char *fileName, char *fullFileName, uint32_t fullFileNa…
|
/ohos5.0/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
H A D | dump_common_utils.h | 58 static int FindDigitIndex(const std::string& fullFileName);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_file_list.h | 43 char *fullFileName; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.cpp | 254 auto fullFileName = folderName + fileName; in LoadResourceConfiguration() local 255 if (std::find(files.begin(), files.end(), fullFileName) != files.end()) { in LoadResourceConfiguration() 257 std::string(RESOURCES_FOLDER).append(fullFileName)); in LoadResourceConfiguration()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate_impl.cpp | 2036 auto fullFileName = folderName + fileName; in LoadResourceConfiguration() local 2037 if (std::find(files.begin(), files.end(), fullFileName) != files.end()) { in LoadResourceConfiguration() 2039 std::string(RESOURCES_FOLDER).append(fullFileName)); in LoadResourceConfiguration()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.cpp | 336 auto fullFileName = folderName + fileName; in LoadResourceConfiguration() local 337 if (std::find(files.begin(), files.end(), fullFileName) != files.end()) { in LoadResourceConfiguration() 339 std::string(RESOURCES_FOLDER).append(fullFileName)); in LoadResourceConfiguration()
|