Home
last modified time | relevance | path

Searched refs:returnCode (Results 1 – 15 of 15) sorted by relevance

/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
Drdb_store_predicates_test.cpp70 napi_value returnCode; in RdbFilePath() local
71 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
72 return returnCode; in RdbFilePath()
128 napi_value returnCode; in PredicatesSetUpTestCase() local
129 napi_create_double(env, errCode, &returnCode); in PredicatesSetUpTestCase()
130 return returnCode; in PredicatesSetUpTestCase()
140 napi_value returnCode; in PredicatesTearDownTestCase() local
141 napi_create_double(env, errCode, &returnCode); in PredicatesTearDownTestCase()
142 return returnCode; in PredicatesTearDownTestCase()
178 napi_value returnCode; in SUB_DDM_RDB_Predicates_0100() local
[all …]
Drdb_store_cursor_test.cpp71 napi_value returnCode; in RdbFilePath() local
72 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
73 return returnCode; in RdbFilePath()
172 napi_value returnCode; in CursorSetUpTestCase() local
173 napi_create_double(env, errCode, &returnCode); in CursorSetUpTestCase()
174 return returnCode; in CursorSetUpTestCase()
183 napi_value returnCode; in CursorTearDownTestCase() local
184 napi_create_double(env, errCode, &returnCode); in CursorTearDownTestCase()
185 return returnCode; in CursorTearDownTestCase()
225 napi_value returnCode; in SUB_DDM_RDB_CURSOR_0100() local
[all …]
Drdb_store_test.cpp74 napi_value returnCode; in RdbFilePath() local
75 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
76 return returnCode; in RdbFilePath()
94 napi_value returnCode; in RdbstoreSetUpTestCase() local
95 napi_create_double(env, errCode, &returnCode); in RdbstoreSetUpTestCase()
96 return returnCode; in RdbstoreSetUpTestCase()
106 napi_value returnCode; in RdbstoreTearDownTestCase() local
107 napi_create_double(env, errCode, &returnCode); in RdbstoreTearDownTestCase()
108 return returnCode; in RdbstoreTearDownTestCase()
215 napi_value returnCode; in SUB_DDM_RDB_0100() local
[all …]
Drdb_store_backup_test.cpp70 napi_value returnCode; in RdbFilePath() local
71 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
72 return returnCode; in RdbFilePath()
90 napi_value returnCode; in RdbstoreSetUpTestCase() local
91 napi_create_double(env, errCode, &returnCode); in RdbstoreSetUpTestCase()
92 return returnCode; in RdbstoreSetUpTestCase()
102 napi_value returnCode; in RdbstoreTearDownTestCase() local
103 napi_create_double(env, errCode, &returnCode); in RdbstoreTearDownTestCase()
104 return returnCode; in RdbstoreTearDownTestCase()
137 napi_value returnCode; in SUB_DDM_RDB_BackupRestoreTest_0100() local
[all …]
Drdb_store_level_test.cpp157 napi_value returnCode; in RdbFilePath() local
158 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
159 return returnCode; in RdbFilePath()
206 napi_value returnCode; in SUB_DDM_RDB_LEVEL_0100() local
207 napi_create_double(env, errCode, &returnCode); in SUB_DDM_RDB_LEVEL_0100()
208 return returnCode; in SUB_DDM_RDB_LEVEL_0100()
255 napi_value returnCode; in SUB_DDM_RDB_LEVEL_0200() local
256 napi_create_double(env, errCode, &returnCode); in SUB_DDM_RDB_LEVEL_0200()
257 return returnCode; in SUB_DDM_RDB_LEVEL_0200()
304 napi_value returnCode; in SUB_DDM_RDB_LEVEL_0300() local
[all …]
Drdb_store_encrypt_test.cpp108 napi_value returnCode; in RdbFilePath() local
109 napi_create_double(env, errCode, &returnCode); in RdbFilePath()
110 return returnCode; in RdbFilePath()
139 napi_value returnCode; in SUB_DDM_RDB_ENCRYPT_0100() local
140 napi_create_double(env, errCode, &returnCode); in SUB_DDM_RDB_ENCRYPT_0100()
141 return returnCode; in SUB_DDM_RDB_ENCRYPT_0100()
168 napi_value returnCode; in SUB_DDM_RDB_ENCRYPT_0200() local
169 napi_create_double(env, errCode, &returnCode); in SUB_DDM_RDB_ENCRYPT_0200()
170 return returnCode; in SUB_DDM_RDB_ENCRYPT_0200()
/test/xts/acts/ai/nncore/e2etest/src/
DEndToEndTest.cpp82 OH_NN_ReturnCode returnCode = OH_NNCompilation_SetDevice(compilation, deviceId); in ConstructCompilation() local
83 if (returnCode != OH_NN_SUCCESS) { in ConstructCompilation()
89 returnCode = OH_NNCompilation_SetCache(compilation, CACHE_DIR.c_str(), 1); in ConstructCompilation()
90 if (returnCode != OH_NN_SUCCESS) { in ConstructCompilation()
96 returnCode = OH_NNCompilation_SetPerformanceMode(compilation, OH_NN_PERFORMANCE_EXTREME); in ConstructCompilation()
97 if (returnCode != OH_NN_SUCCESS) { in ConstructCompilation()
102 returnCode = OH_NNCompilation_SetPriority(compilation, OH_NN_PRIORITY_HIGH); in ConstructCompilation()
103 if (returnCode != OH_NN_SUCCESS) { in ConstructCompilation()
108 returnCode = OH_NNCompilation_EnableFloat16(compilation, false); in ConstructCompilation()
109 if (returnCode != OH_NN_SUCCESS) { in ConstructCompilation()
[all …]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DSendShareRequestTest.cpp160 int32 returnCode; in FEATURE_OnMessage02() local
167 returnCode = 0; in FEATURE_OnMessage02()
175 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02()
180 returnCode = 0; in FEATURE_OnMessage02()
185 returnCode = 0; in FEATURE_OnMessage02()
189 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
195 int32 returnCode; in FEATURE_OnMessage03() local
202 returnCode = 0; in FEATURE_OnMessage03()
210 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03()
215 returnCode = 0; in FEATURE_OnMessage03()
[all …]
DSendResponseTest.cpp148 int32 returnCode; in FEATURE_OnMessage02() local
154 returnCode = 0; in FEATURE_OnMessage02()
163 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02()
176 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage02()
180 returnCode = 0; in FEATURE_OnMessage02()
182 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
188 int32 returnCode = 0; in FEATURE_OnMessage03() local
194 returnCode = 0; in FEATURE_OnMessage03()
203 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03()
216 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage03()
[all …]
DSendRequestTest.cpp171 int32 returnCode; in FEATURE_OnMessage() local
196 returnCode = 0; in FEATURE_OnMessage()
205 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage()
210 returnCode = 0; in FEATURE_OnMessage()
214 returnCode = 0; in FEATURE_OnMessage()
216 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dsendsharerequest_func_test.c158 int32 returnCode = 0; in FEATURE_OnMessage02() local
182 returnCode = 0; in FEATURE_OnMessage02()
190 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02()
195 returnCode = 0; in FEATURE_OnMessage02()
199 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
205 int32 returnCode = 0; in FEATURE_OnMessage03() local
229 returnCode = 0; in FEATURE_OnMessage03()
237 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03()
242 returnCode = 0; in FEATURE_OnMessage03()
246 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage03()
Dsendresponse_func_test.c148 int32 returnCode = 0; in FEATURE_OnMessage02() local
154 returnCode = 0; in FEATURE_OnMessage02()
162 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02()
174 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage02()
178 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
184 int32 returnCode = 0; in FEATURE_OnMessage03() local
190 returnCode = 0; in FEATURE_OnMessage03()
198 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03()
210 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage03()
222 returnCode++; in FEATURE_OnMessage03()
[all …]
Dsendrequest_func_test.c150 int32 returnCode = 0;; in FEATURE_OnMessage() local
174 returnCode = 0; in FEATURE_OnMessage()
182 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage()
187 returnCode = 0; in FEATURE_OnMessage()
191 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage()
197 int32 returnCode = 0; in FEATURE_OnMessage02() local
221 returnCode = 0; in FEATURE_OnMessage02()
229 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02()
234 returnCode = 0; in FEATURE_OnMessage02()
238 demoFeature->featureStatus = ((returnCode == 0) ? TRUE : FALSE); in FEATURE_OnMessage02()
[all …]
/test/xts/acts/ai/nncore/common/
Dnncore_utils.cpp658 OH_NN_ReturnCode returnCode {OH_NN_FAILED}; in DestroyTensorDesc() local
660 returnCode = OH_NNTensorDesc_Destroy(&inputTensorDescs[i]); in DestroyTensorDesc()
661 if (returnCode != OH_NN_SUCCESS) { in DestroyTensorDesc()
663 return returnCode; in DestroyTensorDesc()
667 returnCode = OH_NNTensorDesc_Destroy(&outputTensorDescs[i]); in DestroyTensorDesc()
668 if (returnCode != OH_NN_SUCCESS) { in DestroyTensorDesc()
670 return returnCode; in DestroyTensorDesc()
681 OH_NN_ReturnCode returnCode {OH_NN_FAILED}; in DestroyTensor() local
683 returnCode = OH_NNTensor_Destroy(&inputTensors[i]); in DestroyTensor()
684 if (returnCode != OH_NN_SUCCESS) { in DestroyTensor()
[all …]
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiExecutorTest.cpp23 void RunDone(void *pointer, OH_NN_ReturnCode returnCode, void* pointerArray[], int32_t intNum) in RunDone() argument