/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_list.c | 235 *pathType = userDataUnit->pathType; in ParsePackedDFileUserData() 236 if (*pathType == 0) { in ParsePackedDFileUserData() 264 …if (ParsePackedDFileUserData(userData, userDataLength, &fileList->pathType, &fileList->userData, f… in FileListAddUserData() 445 static uint8_t *PreparePackedDFileUserData(uint16_t pathType, const char *userData, uint16_t *packe… in PreparePackedDFileUserData() argument 455 packeUserDataLen = (uint16_t)(sizeof(pathType) + userDataLen); in PreparePackedDFileUserData() 462 userDataUnit->pathType = pathType; in PreparePackedDFileUserData() 472 int32_t FileListAddExtraInfo(FileList *fileList, uint16_t pathType, uint8_t noticeFileNameType, cha… in FileListAddExtraInfo() argument 480 if (pathType == 0 && userData == NULL) { in FileListAddExtraInfo() 490 fileList->pathType = pathType; in FileListAddExtraInfo() 492 if (pathType > 0) { in FileListAddExtraInfo() [all …]
|
H A D | nstackx_dfile.c | 301 uint16_t pathType[NSTACKX_MAX_STORAGE_PATH_NUM]; member 341 const uint16_t *pathType, uint16_t pathNum) in CreateStoragePathListCtx() argument 369 ctx->pathType[i] = pathType[i]; in CreateStoragePathListCtx() 394 if (HasRepeatedNumber(pathType, pathNum)) { in CheckSetStoragePathListPara() 401 …_t NSTACKX_DFileSetStoragePathList(int32_t sessionId, const char *path[], const uint16_t *pathType, in NSTACKX_DFileSetStoragePathList() argument 407 Coverity_Tainted_Set((void *)pathType); in NSTACKX_DFileSetStoragePathList() 412 if (CheckSetStoragePathListPara(sessionId, path, pathType, pathNum) != NSTACKX_EOK) { in NSTACKX_DFileSetStoragePathList() 422 ctx = CreateStoragePathListCtx(node->session, path, pathType, pathNum); in NSTACKX_DFileSetStoragePathList() 603 ctx->fileListInfo->pathType = NSTACKX_RESERVED_PATH_TYPE; in SendFilesInner() 684 if (filesInfo->pathType == NSTACKX_RESERVED_PATH_TYPE) { in CheckSendFilesWithRemotePathAndType() [all …]
|
H A D | nstackx_file_manager.c | 1295 int32_t FileManagerSetWritePathList(FileManager *fileManager, char *path[], uint16_t *pathType, uin… in FileManagerSetWritePathList() argument 1297 …if (CheckReceiverManager(fileManager) != NSTACKX_EOK || path == NULL || pathType == NULL || pathNu… in FileManagerSetWritePathList() 1310 fileManager->pathList[i].pathType = pathType[i]; in FileManagerSetWritePathList() 1311 DFILE_LOGI(TAG, "the %uth path, type %u", i, fileManager->pathList[i].pathType); in FileManagerSetWritePathList() 1550 char *GetStoragePathByType(FileManager *fileManager, uint16_t pathType) in GetStoragePathByType() argument 1552 if (pathType == 0) { in GetStoragePathByType() 1556 if (fileManager->pathList[i].pathType == pathType) { in GetStoragePathByType() 1577 storagePath = GetStoragePathByType(fileManager, fileListInfo->pathType); in FileManagerRecvFileTask() 1579 DFILE_LOGE(TAG, "can't get storage path for pathType %u", fileListInfo->pathType); in FileManagerRecvFileTask()
|
H A D | nstackx_dfile_transfer.c | 56 int32_t DFileTransAddExtraInfo(DFileTrans *trans, uint16_t pathType, uint8_t noticeFileNameType, ch… in DFileTransAddExtraInfo() argument 58 DFILE_LOGI(TAG, "transId %hu, pathType %hu", trans->transId, pathType); in DFileTransAddExtraInfo() 59 return FileListAddExtraInfo(trans->fileList, pathType, noticeFileNameType, userData); in DFileTransAddExtraInfo() 769 fileListInfo.pathType = FileListGetPathType(fileList); in StartFileManagerReceiverTask() 1149 uint16_t pathType = FileListGetPathType(dFileTrans->fileList); in RenameFileIfExisting() local 1156 renamePara.rootPathType = pathType; in RenameFileIfExisting()
|
H A D | nstackx_dfile_frame.c | 186 if (fileList->pathType > 0) { in EncodeFileHeaderFrameSp()
|
H A D | nstackx_dfile_session.c | 1909 ret = DFileTransAddExtraInfo(trans, fileListInfo->pathType, fileListInfo->noticeFileNameType, in DFileStartTransInner()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_file_list.h | 56 uint16_t pathType; member 85 uint16_t pathType; member 144 return (fileList)->pathType; in FileListGetPathType() 201 int32_t FileListAddExtraInfo(FileList *fileList, uint16_t pathType, uint8_t noticeFileNameType, cha…
|
H A D | nstackx_file_manager.h | 91 uint16_t pathType; member 216 uint16_t pathType; member 362 int32_t FileManagerSetWritePathList(FileManager *fileManager, char *path[], uint16_t *pathType, uin… 467 char *GetStoragePathByType(FileManager *fileManager, uint16_t pathType);
|
H A D | nstackx_dfile_frame.h | 103 uint16_t pathType; member
|
H A D | nstackx_dfile_transfer.h | 282 int32_t DFileTransAddExtraInfo(DFileTrans *trans, uint16_t pathType, uint8_t noticeFileNameType, ch…
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage_utils.c | 474 static int32_t CheckUserPathExist(enum HksPathType pathType, const char *userIdPath) in CheckUserPathExist() argument 478 pathType == CE_PATH ? HKS_CE_ROOT_PATH : HKS_ECE_ROOT_PATH, userIdPath); in CheckUserPathExist() 480 HKS_LOG_E("get user path failed, path type is %" LOG_PUBLIC "d.", pathType); in CheckUserPathExist() 494 switch (material->pathType) { in ConstructPath() 534 HKS_LOG_E("get path failed, path type is %" LOG_PUBLIC "d.", material->pathType); in ConstructPath() 545 bool isUserPath = material->pathType == CE_PATH || material->pathType == ECE_PATH; in GetPathInfo()
|
H A D | hks_storage_manager.c | 192 outMaterial->pathType = LITE_HAP_PATH; in GetPathType() 198 outMaterial->pathType = RKC_IN_STANDARD_PATH; in GetPathType() 204 outMaterial->pathType = DE_PATH; in GetPathType() 208 outMaterial->pathType = CE_PATH; in GetPathType() 211 outMaterial->pathType = ECE_PATH; in GetPathType() 215 outMaterial->pathType = TMP_PATH; in GetPathType()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/interface/ |
H A D | nstackx_dfile.h | 169 uint16_t pathType; member 378 …_t NSTACKX_DFileSetStoragePathList(int32_t sessionId, const char *path[], const uint16_t *pathType,
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/include/ |
H A D | hks_storage_utils.h | 70 enum HksPathType pathType; member
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/ |
H A D | hks_file_transfer.c | 41 outMaterial->pathType = info->needDe ? DE_PATH : CE_PATH; in GetStoreMaterial()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 2519 …static void SelectComponentProperty(AnimationPath pathType, AnimationTrackComponent& trackComponen… in SelectComponentProperty() 2521 switch (pathType) { in SelectComponentProperty()
|