/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_object.cpp | 55 int32_t opType; member 68 int32_t opType; member 231 if (opType == OPERATION_TYPE_GET) { in ConstructTypeParams() 269 if ((opType == INPUT_PARAMS_MAP[i].opType) && (typeValue == INPUT_PARAMS_MAP[i].type)) { in CheckInputParams() 294 ConstructTypeParams(opType, typeValue, params); in GetInParamSet() 324 if ((typeValue == RESULT_MAP[i].type) && (opType == RESULT_MAP[i].opType)) { in GetResultType() 396 if (opType == OPERATION_TYPE_GET) { in DoOperation() 398 } else if (opType == OPERATION_TYPE_CHECK) { in DoOperation() 402 CF_LOG_E("do operation[%d] failed", opType); in DoOperation() 408 int32_t opType, int32_t typeValue) in CommonOperation() argument [all …]
|
H A D | napi_cert_extension.cpp | 210 static napi_value NapiCommonOperation(napi_env env, napi_callback_info info, int32_t opType, int32_… in NapiCommonOperation() argument 227 return CommonOperation(env, info, extsObj, opType, typeValue); in NapiCommonOperation()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_album_operation_test/src/ |
H A D | medialibrary_album_operation_test.cpp | 174 int HandleAnalysisPhotoAlbumTest(const OperationType &opType) in HandleAnalysisPhotoAlbumTest() argument 391 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 402 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 414 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 426 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 438 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 451 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 464 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 479 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable 494 OperationType opType = OperationType::PORTRAIT_MERGE_ALBUM; variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_cloud_kv_executor_utils.h | 41 static int FillCloudLog(const FillGidParam ¶m, OpType opType, const CloudSyncData &data, 89 static int OperateCloudData(sqlite3 *db, bool isMemory, int index, OpType opType, 92 static std::string GetOperateDataSql(OpType opType); 94 static std::string GetOperateLogSql(OpType opType); 100 static int BindStmt(sqlite3_stmt *logStmt, sqlite3_stmt *dataStmt, int index, OpType opType, 127 …static int OnlyUpdateSyncData(sqlite3 *db, bool isMemory, int index, OpType opType, DownloadData &… 129 …static int BindUpdateSyncDataStmt(sqlite3_stmt *dataStmt, int index, OpType opType, DownloadData &… 141 static int FillCloudVersionRecord(sqlite3 *db, OpType opType, const CloudSyncData &data);
|
H A D | sqlite_cloud_kv_executor_utils.cpp | 368 downloadData.opType.size()); in PutCloudData() 390 for (OpType op : downloadData.opType) { in ExecutePutCloudData() 463 switch (opType) { in GetOperateDataSql() 482 switch (opType) { in GetOperateLogSql() 557 switch (opType) { in BindStmt() 786 switch (opType) { in FillCloudLog() 898 …if (opType != OpType::SET_CLOUD_FORCE_PUSH_FLAG_ZERO && opType != OpType::SET_CLOUD_FORCE_PUSH_FLA… in OnlyUpdateSyncData() 899 opType != OpType::UPDATE_TIMESTAMP) { in OnlyUpdateSyncData() 932 switch (opType) { in BindUpdateSyncDataStmt() 1080 if (opType != OpType::INSERT && opType != OpType::UPDATE) { in FillCloudVersionRecord() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_utils.cpp | 352 switch (opType) { in UpdateLocalCache() 359 if (opType == OpType::DELETE) { in UpdateLocalCache() 385 OpType opType = CalOpType(param, dataIndex); in SaveChangedData() local 388 if (opType == OpType::INSERT) { in SaveChangedData() 390 opType = OpType::UPDATE; in SaveChangedData() 404 switch (opType) { in SaveChangedData() 582 OpType opType = param.downloadData.opType[dataIndex]; in CalOpType() local 583 if (opType != OpType::INSERT && opType != OpType::UPDATE) { in CalOpType() 584 return opType; in CalOpType() 594 return opType; in CalOpType() [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.cpp | 97 OH_NN_ReturnCode NNRtTest::AddOperation(OH_NN_OperationType opType, in AddOperation() argument 106 OH_NN_ReturnCode status = OH_NNModel_AddOperation(m_model, opType, ¶ms, &inputs, &outputs); in AddOperation() 109 .opType = opType, in AddOperation()
|
H A D | nnrt_test.h | 45 OH_NN_OperationType opType; member 54 virtual OH_NN_ReturnCode AddOperation(OH_NN_OperationType opType,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_executor_extend.cpp | 256 for (OpType op : downloadData.opType) { in ExecutePutCloudData() 613 if (downloadData.data.size() != downloadData.opType.size()) { in PutCloudSyncData() 615 downloadData.opType.size()); in PutCloudSyncData() 995 static inline bool IsAllowWithPrimaryKey(OpType opType) in IsAllowWithPrimaryKey() argument 997 …return (opType == OpType::DELETE || opType == OpType::UPDATE_TIMESTAMP || opType == OpType::CLEAR_… in IsAllowWithPrimaryKey() 998 opType == OpType::ONLY_UPDATE_GID || opType == OpType::LOCKED_NOT_HANDLE); in IsAllowWithPrimaryKey() 1002 OpType opType) in UpdateLogRecord() argument 1120 const TableSchema &tableSchema, OpType opType) in OnlyUpdateLogTable() argument 1122 return UpdateLogRecord(vBucket, tableSchema, opType); in OnlyUpdateLogTable() 1353 OpType opType = downloadData.opType[index++]; in MarkFlagAsConsistent() local [all …]
|
H A D | sqlite_single_ver_relational_storage_executor.h | 142 …int FillCloudAssetForUpload(OpType opType, const TableSchema &tableSchema, const CloudSyncBatch &d… 143 int FillCloudVersionForUpload(const OpType opType, const CloudSyncData &data); 177 …int FillHandleWithOpType(const OpType opType, const CloudSyncData &data, bool fillAsset, bool igno… 310 …int InitFillUploadAssetStatement(OpType opType, const TableSchema &tableSchema, const CloudSyncBat… 348 … GetUpdateLogRecordStatement(const TableSchema &tableSchema, const VBucket &vBucket, OpType opType, 353 int UpdateLogRecord(const VBucket &vBucket, const TableSchema &tableSchema, OpType opType); 366 int OnlyUpdateLogTable(const VBucket &vBucket, const TableSchema &tableSchema, OpType opType); 422 int64_t dataKey, OpType opType);
|
H A D | sqlite_single_ver_relational_storage_extend_executor.cpp | 212 errCode = InitFillUploadAssetStatement(opType, tableSchema, data, i, stmt); in FillCloudAssetForUpload() 244 switch (opType) { in FillCloudVersionForUpload() 250 LOGE("Fill version with unknown type %d", static_cast<int>(opType)); in FillCloudVersionForUpload() 298 AssetOperationUtils::CloudSyncAction action = opType == OpType::SET_UPLOADING ? in InitFillUploadAssetStatement() 1337 switch (opType) { in FillHandleWithOpType() 1340 errCode = FillCloudVersionForUpload(opType, data); in FillHandleWithOpType() 1344 errCode = FillCloudAssetForUpload(opType, tableSchema, data.insData); in FillHandleWithOpType() 1349 errCode = FillCloudAssetForUpload(opType, tableSchema, data.updData); in FillHandleWithOpType() 1359 errCode = FillCloudAssetForUpload(opType, tableSchema, data.insData); in FillHandleWithOpType() 1483 if (opType != OpType::ONLY_UPDATE_GID && opType != OpType::NOT_HANDLE && in OnlyUpdateAssetId() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_album_operations.h | 62 …static int32_t HandlePhotoAlbum(const OperationType &opType, const NativeRdb::ValuesBucket &values, 64 …static int32_t HandleAnalysisPhotoAlbum(const OperationType &opType, const NativeRdb::ValuesBucket…
|
H A D | medialibrary_analysis_album_operations.h | 54 …EXPORT static int32_t HandleGroupPhotoAlbum(const OperationType &opType, const NativeRdb::ValuesBu…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 214 OH_NN_OperationType opType {OH_NN_OPS_ADD}; in SetInnerBuild() local 215 …EXPECT_EQ(OH_NN_SUCCESS, innerModel.AddOperation(opType, m_paramIndices, m_inputIndices, m_outputI… in SetInnerBuild() 312 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 335 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 349 …OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, nullptr, &m_inputIndices, &m_outputI… 362 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 389 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 403 …OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, nu… 416 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 581 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_storage_utils.cpp | 399 AssetStatus CloudStorageUtils::FlagToStatus(AssetOpType opType) in FlagToStatus() argument 401 switch (opType) { in FlagToStatus() 598 opType = iterCol->second.at(dbItem.name); in FillAssetFromVBucketFinish() 600 int errCode = fillAsset(cacheItem, dbItem, opType); in FillAssetFromVBucketFinish() 809 if (opType != OpType::UPDATE) { in GetTableRefUpdateSql() 817 if (opType == OpType::UPDATE) { in GetTableRefUpdateSql() 828 if (opType == OpType::UPDATE) { in GetTableRefUpdateSql() 830 } else if (opType == OpType::INSERT) { in GetTableRefUpdateSql() 832 } else if (opType == OpType::DELETE) { in GetTableRefUpdateSql() 982 opType = iterOp->second; in MergeAssetWithFillFunc() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_command.cpp | 234 const string opType = MediaFileUri::GetPathSecondDentry(uri_); in ParseOprnTypeFromUri() local 235 if (OPRN_TYPE_MAP.find(opType) != OPRN_TYPE_MAP.end()) { in ParseOprnTypeFromUri() 236 oprnType_ = OPRN_TYPE_MAP.at(opType); in ParseOprnTypeFromUri()
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
H A D | napi_object.h | 30 int32_t opType, int32_t typeValue);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | storage_proxy.h | 104 int FillCloudLogAndAsset(OpType opType, const CloudSyncData &data); 118 void FillCloudGidIfSuccess(const OpType opType, const CloudSyncData &data);
|
H A D | icloud_sync_storage_interface.h | 49 std::vector<OpType> opType; member 150 …virtual int FillCloudLogAndAsset(OpType opType, const CloudSyncData &data, bool fillAsset, bool ig…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | storage_proxy.cpp | 437 int StorageProxy::FillCloudLogAndAsset(OpType opType, const CloudSyncData &data) in FillCloudLogAndAsset() argument 447 return store_->FillCloudLogAndAsset(opType, data, true, false); in FillCloudLogAndAsset() 524 void StorageProxy::FillCloudGidIfSuccess(const OpType opType, const CloudSyncData &data) in FillCloudGidIfSuccess() argument 531 int errCode = store_->FillCloudLogAndAsset(opType, data, true, true); in FillCloudGidIfSuccess()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_asset_rdbstore.cpp | 65 const std::string opType = MediaFileUri::GetPathSecondDentry(uri); in GetOprnTypeFromUri() local 66 if (OPRN_TYPE_MAP.find(opType) != OPRN_TYPE_MAP.end()) { in GetOprnTypeFromUri() 67 return OPRN_TYPE_MAP.at(opType); in GetOprnTypeFromUri()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1392 int RelationalSyncAbleStorage::FillCloudLogAndAsset(const OpType opType, const CloudSyncData &data,… in FillCloudLogAndAsset() argument 1409 errCode = FillCloudLogAndAssetInner(writeHandle, opType, data, fillAsset, ignoreEmptyGid); in FillCloudLogAndAsset() 1411 LOGE("Failed to fill version or cloud asset, opType:%d ret:%d.", opType, errCode); in FillCloudLogAndAsset() 1831 downloadData.opType.push_back(OpType::INSERT); in UpsertDataInTransaction() 1837 downloadData.opType.push_back(OpType::UPDATE); in UpsertDataInTransaction() 1862 OpType opType, const CloudSyncData &data, bool fillAsset, bool ignoreEmptyGid) in FillCloudLogAndAssetInner() argument 1870 errCode = handle->FillHandleWithOpType(opType, data, fillAsset, ignoreEmptyGid, tableSchema); in FillCloudLogAndAssetInner() 1874 if (opType == OpType::INSERT) { in FillCloudLogAndAssetInner() 1876 } else if (opType == OpType::UPDATE) { in FillCloudLogAndAssetInner() 1878 } else if (opType == OpType::DELETE) { in FillCloudLogAndAssetInner() [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 215 OH_NN_OperationType opType {OH_NN_OPS_ADD}; in SetInnerBuild() local 216 …EXPECT_EQ(OH_NN_SUCCESS, innerModel.AddOperation(opType, m_paramIndices, m_inputIndices, m_outputI… in SetInnerBuild() 365 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 388 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 402 …OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, nullptr, &m_inputIndices, &m_outputI… 415 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 442 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 456 …OH_NN_ReturnCode ret = OH_NNModel_AddOperation(model, opType, &m_paramIndices, &m_inputIndices, nu… 469 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable 634 OH_NN_OperationType opType {OH_NN_OPS_ADD}; variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_save_cloud_data_test.cpp | 823 … downloadData.opType = { OpType::UPDATE, OpType::DELETE, OpType::ONLY_UPDATE_GID, OpType::INSERT, in ConstructDownloadData() 848 for (size_t i = 0; i < downloadData.opType.size(); i++) { in SaveCloudDataTest() 849 if (downloadData.opType[i] == OpType::INSERT) { in SaveCloudDataTest() 1041 … downloadData.opType = { OpType::UPDATE, OpType::UPDATE_TIMESTAMP, OpType::INSERT, OpType::INSERT, in ConstructMultiDownloadData() 1159 downloadData.opType = { OpType::DELETE }; 1195 downloadData.opType = { OpType::ONLY_UPDATE_GID, OpType::CLEAR_GID }; 1259 downloadData.opType = { OpType::DELETE }; in DeleteWithPkTest()
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | inner_model.h | 43 OH_NN_ReturnCode AddOperation(OH_NN_OperationType opType,
|