Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 193) sorted by relevance

12345678

/test/testfwk/arkxtest/jsunit/src/module/mock/
DVerificationMode.js23 times(count) { argument
24 expect(count).assertEqual(this.doTimes);
36 atLeast(count) { argument
37 if (count > this.doTimes) {
38 throw Error('failed ' + count + ' greater than the actual execution times of method');
42 atMost(count) { argument
43 if (count < this.doTimes) {
44 throw Error('failed ' + count + ' less than the actual execution times of method');
/test/xts/hats/hdf/codec/hdi_omx/
Dcodec_hdi_manger_test.cpp50 auto count = manager_->GetComponentNum(); variable
51 EXPECT_TRUE(count >= 0);
61 auto count = manager_->GetComponentNum(); variable
62 ASSERT_TRUE(count > 0);
63 …CompCapability *capList = (CodecCompCapability *)OsalMemAlloc(sizeof(CodecCompCapability) * count);
65 auto err = manager_->GetComponentCapabilityList(capList, count);
97 auto count = manager_->GetComponentNum(); variable
98 ASSERT_TRUE(count > 0);
99 …CompCapability *capList = (CodecCompCapability *)OsalMemAlloc(sizeof(CodecCompCapability) * count);
101 auto err = manager_->GetComponentCapabilityList(capList, count);
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
Dresource_manager_performance_test.cpp127 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
162 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
197 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
221 int count = 2; variable
222 for (int i = 0; i < count; ++i) {
230 for (int i = 0; i < count; ++i) {
234 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
237 average = total / (1000.0 * count);
257 int count = 2; variable
260 for (int i = 0; i < count; ++i) {
[all …]
/test/xts/acts/ability/ability_runtime/apitest/entry/src/main/ets/MainAbility/
DMainAbility.ts42 let count = 0;
47 console.log(`ActsApiTest onWindwoStage count is : ${count}`)
48 count++;
49 if (count == 2) {
50 console.log(`ActsApiTest onWindwoStage count is : ${count}`)
/test/ostest/wukong/component_event/include/
Dpage_tree.h35 void SetValidComponentCount(uint32_t count) in SetValidComponentCount() argument
37 validComponentCount_ = count; in SetValidComponentCount()
39 void SetAllComponentCount(uint32_t count) in SetAllComponentCount() argument
41 allComponentCount_ = count; in SetAllComponentCount()
Dability_tree.h56 void AddAllComponentCount(uint32_t count) in AddAllComponentCount() argument
58 allComponentCount_ += count; in AddAllComponentCount()
59 DEBUG_LOG_STR("Add count allComponentCount_ (%u), count (%u)", allComponentCount_, count); in AddAllComponentCount()
/test/xts/acts/sensors_lite/sensor_posix/src/
Dsensor_agent_interfaces_test.cpp61 int32_t count = 0; variable
62 int32_t ret = GetAllSensors(&sensorInfo, &count);
63 HILOG_INFO(HILOG_MODULE_APP, "GetAllSensorsInterfaceTest001 sensor lists count: %d", count);
64 for (int i = 0; i < count; i++) {
96 int32_t count = 0; variable
98 int32_t ret = GetAllSensors(sensorInfo, &count);
139 int32_t count = 0; variable
140 int32_t ret = GetAllSensors(&sensorInfo, &count);
188 int32_t count = 0; variable
189 int32_t ret = GetAllSensors(&sensorInfo, &count);
[all …]
/test/xts/acts/distributeddatamgr/relationalStoretest/RdbJstest/hap/src/main/js/test/
DRdbstorePredicatesComplexFiledJsunit.test.js74 let count = await resultSet.getLong(resultSet.getColumnIndex("num Count"))
76 expect(2).assertEqual(count);
79 count = await resultSet.getLong(resultSet.getColumnIndex("num Count"))
81 expect(3).assertEqual(count);
100 let count = await resultSet.getLong(resultSet.getColumnIndex("numCount"))
102 expect(3).assertEqual(count);
105 count = await resultSet.getLong(resultSet.getColumnIndex("numCount"))
107 expect(2).assertEqual(count);
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/src/main/js/test/
DRelationalStorePredicatesComplexFiledJsunit.test.js77 let count = await resultSet.getLong(resultSet.getColumnIndex("num Count"))
79 expect(2).assertEqual(count);
82 count = await resultSet.getLong(resultSet.getColumnIndex("num Count"))
84 expect(3).assertEqual(count);
103 let count = await resultSet.getLong(resultSet.getColumnIndex("numCount"))
105 expect(3).assertEqual(count);
108 count = await resultSet.getLong(resultSet.getColumnIndex("numCount"))
110 expect(2).assertEqual(count);
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/
DGetQueryAbilityByWant.test.ets462 for (let count = 0; count < 3; count++) {
463 if (res[count].name == BUNDLE_NAME2 + '.uriHostEmpty') {
464 expect(res[count].description).assertEqual('uriHostEmpty');
465 } else if (res[count].name == BUNDLE_NAME2 + '.uriScheme') {
466 expect(res[count].description).assertEqual('uriScheme');
468 expect(res[count].description).assertEqual('uriSchemeHost');
492 for (let count = 0; count < 4; count++) {
493 if (res[count].name == BUNDLE_NAME2 + '.uriHostEmpty') {
494 expect(res[count].description).assertEqual('uriHostEmpty');
495 } else if (res[count].name == BUNDLE_NAME2 + '.uriScheme') {
[all …]
/test/xts/acts/inputmethod/InputMethodEngine/entry/src/main/ets/InputMethodEngine/
DKeyboardController.ts809 let count = 0;
811 count += 1;
813 console.info(TAG + '====>inputMethodEngine.off("keyboardHide") count: ' + count);
820 console.info(TAG + '====>KeyboardDelegate.hideKeyboard count: ' + count);
821 if(count === 1){
828 if(count === 1){
843 let count = 0;
845 count += 1;
847 console.info(TAG + '====>inputMethodEngine.off("keyboardShow") count: ' + count);
851 if(count === 1){
[all …]
/test/xts/hats/hdf/camera/v4l2/src/
Dcamera_ability_test.cpp71 uint32_t count = entry.count; in GetAfAvailable() local
72 std::cout << "==========[test log] count =" << count << std::endl; in GetAfAvailable()
74 for (int i = 0; i < count; i++) { in GetAfAvailable()
94 uint32_t count = entry.count; in GetZoomRatioRange() local
95 std::cout << "==========[test log] count =" << count << std::endl; in GetZoomRatioRange()
97 for (int i = 0; i < count; i++) { in GetZoomRatioRange()
/test/xts/acts/ai/neural_network_runtime/interface/src/
DDeviceTest.cpp33 uint32_t count{0}; variable
35 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(nullptr, &count);
48 uint32_t count{0}; variable
50 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&pAllDeviceIds, &count);
75 uint32_t count{0}; variable
77 OH_NN_ReturnCode ret = OH_NNDevice_GetAllDevicesID(&allDeviceIds, &count);
81 EXPECT_EQ(expectCount, count);
/test/xts/acts/sensors/miscdevice_standard/src/main/js/test/
DVibrator_newSupplement.test.js128 count: 1, property
155 count: 3, property
187 count: 3, property
278 count: 1, property
299 count: 3, property
327 count: 3, property
354 count: 3, property
427 count: 1, property
479 count: 3, property
531 count: 1, property
[all …]
/test/xts/tools/lite/checksum/src/
Dmain.c34 int count = 2; in main() local
38 if (argc != count) { in main()
/test/xts/acts/inputmethod/InputMethodEngine/entry/src/main/ets/InputMethodAbility/
DKeyboardDelegate.ts933 let count = 0;
936 console.info(TAG + '====>inputMethodAbility.on("inputStart") count: ' + count);
937 count += 1;
941 console.info(TAG + '====>inputMethodAbility.on("keyboardShow") count: ' + count);
942 count += 1;
946 console.info(TAG + '====>inputMethodAbility.on("setSubtype") count: ' + count);
947 count += 1;
951 if(count === 3){
966 let count = 0;
968 count += 1;
[all …]
/test/ostest/wukong/component_event/src/
Dnormal_scene.cpp37 uint32_t count = 0; in SetInputComponentList() local
52 count++; in SetInputComponentList()
53 … TRACK_LOG_STR("inputed count: %d, componentList size: %d", count, componentList.size()); in SetInputComponentList()
59 if (count >= componentList.size()) { in SetInputComponentList()
Dwukong_tree.cpp28 uint64_t WuKongTree::GetSubName(std::string name, uint32_t count) in GetSubName() argument
34 for (uint32_t index = count; index > 0; index--) { in GetSubName()
/test/testfwk/arkxtest/jsunit/
Dindex.d.ts96 times(count: Number): void
99 atLeast(count: Number): void
100 atMost(count: Number): void
/test/xts/acts/ai/mindspore/src/
Dohos_common.cpp103 int count = dim_info1->size(); in readTestDataFile() local
104 for (int i = 0; i < count; i++) { in readTestDataFile()
123 bool allclose(float *a, float *b, uint64_t count, float rtol = 1e-05, in allclose() argument
144 for (; i < count; ++i) { in allclose()
165 if (i == count - 1) { in allclose()
173 c = c + count; in allclose()
174 printf("\n avg : %f\n", sum / count); in allclose()
212 bool allclose_int8(uint8_t *a, uint8_t *b, uint64_t count, float rtol = 1e-05, in allclose_int8() argument
233 for (; i < count; ++i) { in allclose_int8()
254 if (i == count - 1) { in allclose_int8()
[all …]
/test/xts/acts/account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/Common/
Dutils.js169 var count = 0
172 if (count != size) {
174 count++
176 if (count != size) {
178 count++
180 if (count != size) {
182 count++
184 if (count != size) {
186 count++
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbmsatomicserviceetstest/bmsatomicserviceone/entry/src/main/ets/test/
DGetBundleInfoForSelf.test.ets267 for (let count = 0; count < 11; count++) {
268 …console.info(count + "AbilityPro::" + JSON.stringify(data.hapModulesInfo[0].abilitiesInfo[count]));
485 let count = 0;
504 count = count + 1;
522 count = count + 2;
527 count = count + 3;
532 count = count + 4;
537 count = count + 5;
542 count = count + 6;
547 count = count + 7;
[all …]
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/
DGetBundleInfoForSelf.test.ets268 for (let count = 0; count < 11; count++) {
269 …console.info(count + "AbilityPro::" + JSON.stringify(data.hapModulesInfo[0].abilitiesInfo[count]));
486 let count = 0;
505 count = count + 1;
523 count = count + 2;
528 count = count + 3;
533 count = count + 4;
538 count = count + 5;
543 count = count + 6;
548 count = count + 7;
[all …]
/test/xts/acts/commonlibrary/ets_utils/atomics_lib_standard/entry/src/main/ets/test/
DAtomics.test.js180 var count = 0;
185 count += 1;
188 count += 1;
200 while(count != 2) {
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
Degl_core.cpp142 int count = 3; in DrawTriangle() local
143 glDrawArrays(GL_TRIANGLES, 0, count); in DrawTriangle()
176 int count = 3; in ChangeShape() local
177 glDrawArrays(GL_TRIANGLES, 0, count); in ChangeShape()
208 int count = 3; in ChangeColor() local
209 glDrawArrays(GL_TRIANGLES, 0, count); in ChangeColor()

12345678