/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/permission/ |
H A D | trans_dynamic_permission_test.cpp | 126 int testNum = 99; variable 132 for (int i = 0; i < testNum; i++) { 140 for (int i = 0; i < testNum; i++) { 157 for (int i = 0; i < testNum; i++) { 175 int testNum = 100; variable 177 for (int i = 0; i < testNum; i++) { 192 for (int i = 0; i < testNum; i++) { 214 int testNum = 100; variable 217 for (int i = 0; i < testNum; i++) {
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | executor_pool_test.cpp | 175 std::atomic<int> testNum = 1; variable 176 auto delayTask = [&testNum] { in __anon319724040702() 177 testNum++; in __anon319724040702() 179 auto task = [&testNum] { in __anon319724040802() 180 testNum += 2; in __anon319724040802() 183 ASSERT_EQ(testNum, 1); 186 ASSERT_EQ(testNum, 3); 188 ASSERT_EQ(testNum, 4);
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | performance-optimization-practical-guidance.md | 476 @Prop testNum: Book; // @Prop装饰状态变量会深拷贝 479 Text(`PropChild testNum ${this.testNum.c}`) 486 @State testNum: Book[] = [new Book(1)]; 490 Text(`Parent testNum ${this.testNum[0].c}`) 492 this.testNum[0].c += 1; 495 PropChild({ testNum: this.testNum[0] }) 516 Text(`PropChild testNum ${this.testNum.c}`) 523 @State testNum: Book[] = [new Book(1)]; 527 Text(`Parent testNum ${this.testNum[0].c}`) 529 this.testNum[0].c += 1; [all …]
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-state-management-best-practices.md | 24 The @Prop testNum: ClassA; // @Prop makes a deep copy. 27 Text(`PropChild testNum ${this.testNum.c}`) 34 @State testNum: ClassA[] = [new ClassA(1)]; 38 Text(`Parent testNum ${this.testNum[0].c}`) 40 this.testNum[0].c += 1; 44 PropChild({ testNum: this.testNum[0] }) 69 Text(`PropChild testNum ${this.testNum.c}`) 76 @State testNum: ClassA[] = [new ClassA(1)]; 80 Text(`Parent testNum ${this.testNum[0].c}`) 82 this.testNum[0].c += 1; [all …]
|
H A D | arkts-link.md | 669 @Link testNum: number; 672 Text(`LinkChild testNum ${this.testNum}`) 683 Text(`Parent testNum ${this.testNum.c}`) 685 this.testNum.c += 1; 688 LinkChild({ testNum: this.testNum.c }) 710 @Link testNum: ClassA; 713 Text(`LinkChild testNum ${this.testNum?.c}`) 715 this.testNum.c += 1; 727 Text(`Parent testNum ${this.testNum.c}`) 729 this.testNum.c += 1; [all …]
|
H A D | arkts-observed-and-objectlink.md | 997 @ObjectLink testNum: Info; 1000 Text(`ObjectLinkChild testNum ${this.testNum.info}`) 1003 this.testNum = new Info(47); 1015 Text(`Parent testNum ${this.testNum[0].info}`) 1020 ObjectLinkChild({ testNum: this.testNum[0] }) 1029 this.testNum = new Info(47); 1048 @ObjectLink testNum: Info; 1051 Text(`ObjectLinkChild testNum ${this.testNum.info}`) 1054 this.testNum.info = 47; 1066 Text(`Parent testNum ${this.testNum[0].info}`) [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-link.md | 670 @Link testNum: number; 673 Text(`LinkChild testNum ${this.testNum}`) 684 Text(`Parent testNum ${this.info.age}`) 689 LinkChild({ testNum: this.info.age }) 695 …testNum: number从父组件的LinkChild({testNum:this.info.age})初始化。\@Link的数据源必须是装饰器装饰的状态变量,简而言之,\@Link装饰的数据… 711 @Link testNum: Info; 714 Text(`LinkChild testNum ${this.testNum?.age}`) 716 this.testNum.age += 1; 728 Text(`Parent testNum ${this.info.age}`) 733 LinkChild({ testNum: this.info })
|
H A D | arkts-observed-and-objectlink.md | 996 @ObjectLink testNum: Info; 999 Text(`ObjectLinkChild testNum ${this.testNum.info}`) 1002 this.testNum = new Info(47); 1014 Text(`Parent testNum ${this.testNum[0].info}`) 1019 ObjectLinkChild({ testNum: this.testNum[0] }) 1028 this.testNum = new Info(47); 1047 @ObjectLink testNum: Info; 1050 Text(`ObjectLinkChild testNum ${this.testNum.info}`) 1053 this.testNum.info = 47; 1065 Text(`Parent testNum ${this.testNum[0].info}`) [all …]
|
H A D | arkts-state-management-best-practices.md | 27 Text(`PropChild testNum ${this.testClass.num}`) 38 Text(`Parent testNum ${this.testClass[0].num}`) 69 Text(`PropChild testNum ${this.testClass.num}`) 80 Text(`Parent testNum ${this.testClass[0].num}`)
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_notification_chain_test.cpp | 165 int testNum = 2048; variable 166 g_notificationChain->NotifyEvent(COMMIT_EVENT, &testNum); 167 EXPECT_TRUE(g_onEventTestNum == testNum);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdilayerinfo_test.cpp | 452 float testNum = 1.0f; variable 453 std::vector<float> cornerRadiusInfo = {testNum, testNum, testNum, testNum, 454 testNum, testNum, testNum, testNum};
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | utils_test.cpp | 57 int testNum = 10; member in OHOS::Test::BlockIntegerTest 101 blockInteger = testNum; 102 ASSERT_EQ(blockInteger, testNum);
|
/ohos5.0/base/theme/screenlock_mgr/test/unittest/ |
H A D | screenlock_client_test.cpp | 142 int testNum = 0; variable 143 int32_t result = ScreenLockAppManager::GetInstance()->SendScreenLockEvent("test", testNum);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/create_delete_directory_test/src/ |
H A D | create_delete_directory_test.cpp | 91 static int32_t TrashDir(string &&testNum) in TrashDir() argument 96 valuesBucket.Put(MEDIA_DATA_DB_NAME, testNum + ".jpg"); in TrashDir() 97 string relativePath = "Pictures/" + testNum + "/"; in TrashDir()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_interactive_implict_animator_test.cpp | 388 int testNum = 0; variable 390 testNum = 1; in __anon9497677b1702() 400 EXPECT_TRUE(testNum == 1);
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | vcard_test.cpp | 1273 int testNum = 20; variable 1280 for (int i = 0; i < testNum; i++) { 1304 int testNum = 5; variable 1307 for (int i = 0; i < testNum; i++) { 1320 int testNum = 10; variable 1321 WriteBigTestData(inputString, testNum);
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-cst85f01-combo-demo.md | 499 int testNum = MEMP_NUM_NETCONN; 500 dbg("testNum %d\r\n", testNum);
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-cst85f01-combo-demo.md | 497 int testNum = MEMP_NUM_NETCONN; 498 dbg("testNum %d\r\n", testNum);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/ |
H A D | js-apis-webview.md | 1644 testNumber(testNum:number): number { 1645 console.log('Web Component number' + testNum); 1646 return testNum; 6726 testNumber(testNum: number): number { 6727 …console.log('Web Component number' + testNum + " url " + this.mycontroller.getLastJavascriptProxyC… 6728 return testNum;
|
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/ |
H A D | js-apis-webview.md | 1644 testNumber(testNum:number): number { 1645 console.log('Web Component number' + testNum); 1646 return testNum; 6732 testNumber(testNum: number): number { 6733 …console.log('Web Component number' + testNum + " url " + this.mycontroller.getLastJavascriptProxyC… 6734 return testNum;
|