Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 879) sorted by relevance

12345678910>>...36

/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_generate_key_test.cpp82 uint32_t index = 0; variable
86 g_testGenKeyParams[index].keyAliasParams.blobExist,
87 g_testGenKeyParams[index].keyAliasParams.blobSize,
88 g_testGenKeyParams[index].keyAliasParams.blobDataExist,
89 g_testGenKeyParams[index].keyAliasParams.blobDataSize);
94 g_testGenKeyParams[index].paramSetParams.paramSetExist,
95 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg,
96 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS…
97 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp…
98 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges…
[all …]
Dhks_safe_compare_key_test.cpp82 uint32_t index = 0; in SafeTestGenerateKey() local
88 g_testGenKeyParams[index].paramSetParams.paramSetExist, in SafeTestGenerateKey()
89 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in SafeTestGenerateKey()
90 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in SafeTestGenerateKey()
91 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in SafeTestGenerateKey()
92 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in SafeTestGenerateKey()
93 …g_testGenKeyParams[index].paramSetParams.setPadding, g_testGenKeyParams[index].paramSetParams.padd… in SafeTestGenerateKey()
94 …g_testGenKeyParams[index].paramSetParams.setBlockMode, g_testGenKeyParams[index].paramSetParams.mo… in SafeTestGenerateKey()
95 g_testGenKeyParams[index].paramSetParams.setKeyStorageFlag, in SafeTestGenerateKey()
96 g_testGenKeyParams[index].paramSetParams.keyStorageFlag in SafeTestGenerateKey()
[all …]
Dhks_mac_test.cpp131 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
137 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
141 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
142 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
145 ret = HuksGenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
146 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
149 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
[all …]
Dhks_derive_test.cpp147 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
152 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
153 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
154 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
156 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
157 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
158 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
161 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
162 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
163 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive()
[all …]
Dhks_modify_key_test.cpp258 int32_t BaseTestCipherProcess(struct HksBlob *keyAlias, uint32_t index) in BaseTestCipherProcess() argument
263 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipherProcess()
272 keyAlias, &g_testCipherParams[index].encryptParamSetParams, in BaseTestCipherProcess()
276 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipherProcess()
281 keyAlias, &g_testCipherParams[index], cipherData, in BaseTestCipherProcess()
285 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipherProcess()
289 if (ret == g_testCipherParams[index].expectResult) { in BaseTestCipherProcess()
312 uint32_t index = 0; variable
314 int32_t ret = GenerateKeyTwo(&keyAlias, &g_testCipherParams[index].keyAliasParams,
315 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu…
[all …]
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_generate_key_test.c107 uint32_t index = 0; in ExecHksGenerateKeyTest001() local
111 g_testGenKeyParams[index].keyAliasParams.blobExist, in ExecHksGenerateKeyTest001()
112 g_testGenKeyParams[index].keyAliasParams.blobSize, in ExecHksGenerateKeyTest001()
113 g_testGenKeyParams[index].keyAliasParams.blobDataExist, in ExecHksGenerateKeyTest001()
114 g_testGenKeyParams[index].keyAliasParams.blobDataSize); in ExecHksGenerateKeyTest001()
119 g_testGenKeyParams[index].paramSetParams.paramSetExist, in ExecHksGenerateKeyTest001()
120 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in ExecHksGenerateKeyTest001()
121 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in ExecHksGenerateKeyTest001()
122 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in ExecHksGenerateKeyTest001()
123 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in ExecHksGenerateKeyTest001()
[all …]
Dhks_safe_compare_key_test.c112 uint32_t index = 0; in SafeTestGenerateKey() local
118 g_testGenKeyParams[index].paramSetParams.paramSetExist, in SafeTestGenerateKey()
119 … g_testGenKeyParams[index].paramSetParams.setAlg, g_testGenKeyParams[index].paramSetParams.alg, in SafeTestGenerateKey()
120 …g_testGenKeyParams[index].paramSetParams.setKeySize, g_testGenKeyParams[index].paramSetParams.keyS… in SafeTestGenerateKey()
121 …g_testGenKeyParams[index].paramSetParams.setPurpose, g_testGenKeyParams[index].paramSetParams.purp… in SafeTestGenerateKey()
122 …g_testGenKeyParams[index].paramSetParams.setDigest, g_testGenKeyParams[index].paramSetParams.diges… in SafeTestGenerateKey()
123 …g_testGenKeyParams[index].paramSetParams.setPadding, g_testGenKeyParams[index].paramSetParams.padd… in SafeTestGenerateKey()
124 …g_testGenKeyParams[index].paramSetParams.setBlockMode, g_testGenKeyParams[index].paramSetParams.mo… in SafeTestGenerateKey()
125 g_testGenKeyParams[index].paramSetParams.setKeyStorageFlag, in SafeTestGenerateKey()
126 g_testGenKeyParams[index].paramSetParams.keyStorageFlag in SafeTestGenerateKey()
[all …]
Dhks_mac_test.c157 static int32_t BaseTestMac(uint32_t index) in BaseTestMac() argument
163 if (g_testMacParams[index].macType == HKS_TEST_MAC_TYPE_REE) { in BaseTestMac()
165 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
166 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
167 g_testMacParams[index].keyParams.blobDataExist, in BaseTestMac()
168 g_testMacParams[index].keyParams.blobDataSize); in BaseTestMac()
170 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
171 ret = HuksGenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
172 &g_testMacParams[index].genKeyParamSetParams, NULL); in BaseTestMac()
175 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
[all …]
Dhks_hash_test.c111 static void ExecHksHashTestCommon(int index) in ExecHksHashTestCommon() argument
118 g_testHashParams[index].paramSetParams.paramSetExist, in ExecHksHashTestCommon()
119 … g_testHashParams[index].paramSetParams.setDigest, g_testHashParams[index].paramSetParams.digest); in ExecHksHashTestCommon()
123 g_testHashParams[index].srcDataParams.blobExist, in ExecHksHashTestCommon()
124 g_testHashParams[index].srcDataParams.blobSize, in ExecHksHashTestCommon()
125 g_testHashParams[index].srcDataParams.blobDataExist, in ExecHksHashTestCommon()
126 g_testHashParams[index].srcDataParams.blobDataSize); in ExecHksHashTestCommon()
130 g_testHashParams[index].hashParams.blobExist, in ExecHksHashTestCommon()
131 g_testHashParams[index].hashParams.blobSize, in ExecHksHashTestCommon()
132 g_testHashParams[index].hashParams.blobDataExist, in ExecHksHashTestCommon()
[all …]
Dhks_derive_test.c200 static int32_t BaseTestDerive(uint32_t index) in BaseTestDerive() argument
205 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive()
206 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive()
207 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive()
209 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
210 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
211 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive()
214 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
215 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive()
216 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive()
[all …]
/test/ostest/wukong/input_factory/src/
Dappswitch_input.cpp50 uint32_t index = util->FindElement(bundleList, bundlename); in OrderInput() local
51 if (index == INVALIDVALUE) { in OrderInput()
57 …esult = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in OrderInput()
59 PrintResultOfStartAbility(result, index); in OrderInput()
73 uint32_t index = GetAbilityIndex(bundleList); in RandomInput() local
74 if (index == INVALIDVALUE) { in RandomInput()
79 …esult = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in RandomInput()
81 PrintResultOfStartAbility(result, index); in RandomInput()
82 TRACK_LOG_STR("bundle index: %d", index); in RandomInput()
87 ErrCode AppswitchInput::PrintResultOfStartAbility(const ErrCode result, uint32_t index) in PrintResultOfStartAbility() argument
[all …]
/test/ostest/wukong/component_event/src/
Dwukong_tree.cpp34 for (uint32_t index = count; index > 0; index--) { in GetSubName() local
35 if (index > nameSize) { in GetSubName()
38 subName |= name[nameSize - index]; in GetSubName()
39 if (index > 1) { in GetSubName()
/test/testfwk/arkxtest/uitest/core/
Dwindow_operator.cpp38 size_t index; member
75 for (unsigned long index = 0; index < sizeof(OPERATIONS) / sizeof(Operational); index++) { in CheckOperational() local
76 if (OPERATIONS[index].action == action && OPERATIONS[index].windowMode == mode) { in CheckOperational()
77 if (OPERATIONS[index].support) { in CheckOperational()
78 targetIndex = OPERATIONS[index].index; in CheckOperational()
81 … out.exception_ = ApiCallErr(ERR_OPERATION_UNSUPPORTED, OPERATIONS[index].message); in CheckOperational()
125 size_t index = 0; in MoveTo() local
126 if (!CheckOperational(MOVETO, window_.mode_, out, index)) { in MoveTo()
139 size_t index = 0; in Resize() local
140 if (!CheckOperational(RESIZE, window_.mode_, out, index)) { in Resize()
[all …]
/test/xts/acts/security_lite/huks/common/
Dhks_test_cipher.c587 int32_t BaseTestCipher(uint32_t times, uint32_t index, uint32_t performTimes) in BaseTestCipher() argument
592 if ((g_testCipherParams[index].genKeyParamSetParams.setKeyStorageFlag) && in BaseTestCipher()
593 g_testCipherParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP) { in BaseTestCipher()
594 ret = GenerateLocalRandomKey(&keyAlias, &g_testCipherParams[index].localKeyParams); in BaseTestCipher()
596 ret = HuksGenerateKey(&keyAlias, &g_testCipherParams[index].keyAliasParams, in BaseTestCipher()
597 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu… in BaseTestCipher()
603 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipher()
610 keyAlias, &g_testCipherParams[index].encryptParamSetParams, in BaseTestCipher()
614 HKS_TEST_ASSERT(ret == g_testCipherParams[index].expectResult); in BaseTestCipher()
619 keyAlias, &g_testCipherParams[index], cipherData, in BaseTestCipher()
[all …]
/test/testfwk/developer_test/src/core/command/
Ddisplay.py217 for index, element in enumerate(productform_list):
218 print("%d. %s" % (index + 1, element))
284 for index, element in enumerate(productform_list):
285 print(" %d. %s" % (index + 1, element))
295 for index, element in enumerate(testtype_list):
296 print(" %d. %s" % (index + 1, element))
310 for index, element in enumerate(subsystem_name_list):
311 print(" %d. %s" % (index + 1, element))
321 for index, element in enumerate(sub_list):
322 print(" %d. %s" % (index + 1, element.strip()))
[all …]
/test/xts/acts/update_lite/dupdate_hal/src/
Dota_func_test.c93 unsigned int index = 0; variable
94 ret = HotaGetUpdateIndex(&index);
95 printf("index = %d\r\n, get index return = %d\r\n", index, ret);
126 unsigned int index = 0; variable
127 ret = HotaGetUpdateIndex(&index);
128 printf("index = %d, get index return = %d\r\n", index, ret);
149 unsigned int index = 0; variable
150 ret = HotaGetUpdateIndex(&index);
151 printf("index = %d, get index return = %d\r\n", index, ret);
/test/testfwk/arkxtest/uitest/record/
Dmatrix3.h46 inline std::vector<double>& operator[](int32_t index)
48 return matrix3X3_[index];
52 inline const std::vector<double>& operator[](int32_t index) const
54 return matrix3X3_[index];
110 inline std::vector<double>& operator[](int32_t index)
112 return Matrix3n_[index];
116 inline const std::vector<double>& operator[](int32_t index) const
118 return Matrix3n_[index];
172 inline std::vector<double>& operator[](int32_t index)
174 return Matrixn3_[index];
[all …]
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/
DlazyForEach.ets24 public getData(index: number): any {
47 notifyDataAdd(index: number): void {
49 listener.onDataAdded(index)
52 notifyDataChange(index: number): void {
54 listener.onDataChanged(index)
57 notifyDataDelete(index: number): void {
59 listener.onDataDeleted(index)
75 public getData(index: number): any {
76 return this.dataArray[index]
79 public addData(index: number, data: string): void {
[all …]
/test/testfwk/developer_test/aw/python/distributed/common/
Dmanager.py49 index = len(self.phone_device_list) + 1
50 device_name = "PHONE%s" % index
55 index = len(self.ivi_device_list) + 1
56 device_name = "IVI%s" % index
61 index = len(self.tv_device_list) + 1
62 device_name = "TV%s" % index
67 index = len(self.watch_device_list) + 1
68 device_name = "WATCH%s" % index
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/
DWaterFlowDataSource.ets27 public getData(index: number): any {
28 return this.dataArray[index]
39 notifyDataAdd(index: number): void {
41 listener.onDataAdded(index)
46 notifyDataChange(index: number): void {
48 listener.onDataChanged(index)
53 notifyDataDelete(index: number): void {
55 listener.onDataDeleted(index)
99 public AddItem(index: number): void {
100 this.dataArray.splice(index, 0, this.dataArray.length)
[all …]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
Dswiper.ets30 getData(index: number): any {
31 return this.list[index]
77 .index(1)
86 .onChange((index: number) => {
87 console.info(index.toString())
89 .onAnimationStart((index: number) => {
90 console.info("swiper nAnimationStart info index is " + index);
92 .onAnimationEnd((index: number) => {
93 console.info("swiper onAnimationEnd info index is " + index);
/test/xts/acts/update_lite/dupdate_posix/src/
DUpdateTest.cpp100 unsigned int index = 0; variable
101 ret = HotaGetUpdateIndex(&index);
102 printf("index = %d\r\n, get index return = %d\r\n", index, ret);
128 unsigned int index = 0; variable
129 ret = HotaGetUpdateIndex(&index);
130 printf("index = %d, get index return = %d\r\n", index, ret);
148 unsigned int index = 0; variable
151 HotaGetUpdateIndex(&index);
/test/ostest/wukong/report/include/
Dstatistics_event.h43 uint32_t index = eventTypes_.size(); in ElementTypesIndex() local
44 DEBUG_LOG_STR("eventTypes_.size{%d}", index); in ElementTypesIndex()
48 index = (uint32_t)(eventTypesIter - eventTypes_.begin()); in ElementTypesIndex()
49 DEBUG_LOG_STR("find index{%d}", index); in ElementTypesIndex()
51 DEBUG_LOG_STR("find index{%d}", index); in ElementTypesIndex()
52 return index; in ElementTypesIndex()
/test/xts/hats/kernel/freelist/free_performance/
DMalloc_free_performance.cpp214 size_t index = 0; variable
217 ptr[j] = malloc(g_sizes[index]);
219 printf("Malloc size of %zu byte(s) failed: %s\n", g_sizes[index], strerror(errno));
221 ++index;
222 index %= SIZE_ARR_SIZE;
/test/xts/acts/multimedia/image/image_js_standard/imageRaw/src/main/js/test/
Draw.test.js264 index: 0, property
288 index: 0, property
312 index: 0, property
343 index: 0, property
367 index: 0, property
391 index: 0, property
415 index: 0, property
439 index: 0, property
470 index: 0, property
501 index: 0, property
[all …]

12345678910>>...36