Home
last modified time | relevance | path

Searched refs:pathType (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_file_list.c235 *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 Dnstackx_dfile.c301 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 Dnstackx_file_manager.c1295 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 Dnstackx_dfile_transfer.c56 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 Dnstackx_dfile_frame.c186 if (fileList->pathType > 0) { in EncodeFileHeaderFrameSp()
H A Dnstackx_dfile_session.c1909 ret = DFileTransAddExtraInfo(trans, fileListInfo->pathType, fileListInfo->noticeFileNameType, in DFileStartTransInner()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_file_list.h56 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 Dnstackx_file_manager.h91 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 Dnstackx_dfile_frame.h103 uint16_t pathType; member
H A Dnstackx_dfile_transfer.h282 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 Dhks_storage_utils.c474 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 Dhks_storage_manager.c192 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 Dnstackx_dfile.h169 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 Dhks_storage_utils.h70 enum HksPathType pathType; member
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/
H A Dhks_file_transfer.c41 outMaterial->pathType = info->needDe ? DE_PATH : CE_PATH; in GetStoreMaterial()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_importer.cpp2519 …static void SelectComponentProperty(AnimationPath pathType, AnimationTrackComponent& trackComponen… in SelectComponentProperty()
2521 switch (pathType) { in SelectComponentProperty()