Home
last modified time | relevance | path

Searched refs:age (Results 1 - 25 of 49) sorted by relevance

12

/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/test/unittest/src/
H A DObjectStoreJsunit.test.js107 var g_object = distributedObject.createDistributedObject({ name: "Amy", age: 18, isVis: false });
124 g_object.age = 19;
127 expect(g_object.age == 19).assertEqual(true);
145 var g_object = distributedObject.createDistributedObject({ name: "Amy", age: 18, isVis: false });
151 g_object.age = 19;
154 expect(g_object.age == 19).assertEqual(true);
172 var g_object = distributedObject.createDistributedObject({ name: "Amy", age: 18, isVis: false });
180 g_object.age = 19;
183 expect(g_object.age == 19).assertEqual(true);
185 g_object.age
[all...]
H A DObjectStoreJsunitV9.test.js91 g_object = distributedObject.create(123, {name: "Amy", age: 18, isVis: false});
104 g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
128 var g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
157 var g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
183 var g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
207 var g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
243 var g_object = distributedObject.create(context, {name: "Amy", age: 18, isVis: false});
264 g_object.age = 19;
267 expect(g_object.age == 19).assertEqual(true);
289 var g_object = distributedObject.create(context, {name: "Amy", age
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/unittest/
H A Dmeta_data_manager_test.cpp59 int32_t age; member in __anon7950::final
65 ret = SetValue(node[GET_NAME(age)], age) && ret; in Marshal()
73 ret = GetValue(node, GET_NAME(age), age) && ret; in Unmarshal()
90 student.age = 21; in HWTEST_F()
112 EXPECT_TRUE(student.age == student1.age); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsdirtyregionmanager_fuzzer/
H A Drsdirtyregionmanager_fuzzer.cpp70 int age = GetData<int>(); in DoSomethingInterestingWithMyAPI() local
75 DirtyRegionDebugType dirtyDebugType = (DirtyRegionDebugType)age; in DoSomethingInterestingWithMyAPI()
76 DebugRegionType var = (DebugRegionType)age; in DoSomethingInterestingWithMyAPI()
104 rsDirtyRegionManager.SetBufferAge(age); in DoSomethingInterestingWithMyAPI()
119 rsDirtyRegionManager.MergeHistory(age, myRect); in DoSomethingInterestingWithMyAPI()
121 rsDirtyRegionManager.GetHistory(age); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstorePredicatesComplexFiledJsunit.test.js21 "name TEXT, " + "age INTEGER, " + "salary REAL, " + "adddate DATE)";
53 const valueBucket1 = { id: 1, name: "ZhangSan", age: 20, salary: 100.51, adddate: '2022-09-01' }
55 const valueBucket2 = { id: 2, name: "LiSi", age: 21, salary: 120.61, adddate: '2022-09-01' }
57 const valueBucket3 = { id: 3, name: "WangWu", age: 22, salary: 130.71, adddate: '2022-09-02' }
59 const valueBucket4 = { id: 4, name: "SunLiu", age: 23, salary: 160.81, adddate: '2022-09-02' }
61 const valueBucket5 = { id: 5, name: "MaQi", age: 24, salary: 170.91, adddate: '2022-09-02' }
H A DRdbstorePredicatesJoinJsunit.test.js22 + "age INTEGER , balance REAL NOT NULL)";
29 + "(userId, firstName, lastName, age, balance) VALUES "
75 {userId:1, firstName:"Zhang", lastName:"San", age:29, balance:100.51},
76 {userId:2, firstName:"Li", lastName:"Si", age:30, balance:200.51},
77 {userId:3, firstName:"wang", lastName:"wu", age:30, balance:300.51},
78 {userId:4, firstName:"sun", lastName:"liu", age:30, balance:400.51},
79 {userId:5, firstName:"ma", lastName:"qi", age:32, balance:500.51},
87 objects.push(user.age);
H A DRdbstoreInsertJsunit.test.js22 "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
69 "age": 18,
78 "age": 18,
87 "age": 20,
102 const age = resultSet.getLong(resultSet.getColumnIndex("age"))
105 console.log(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType);
108 expect(18).assertEqual(age)
135 "age"
[all...]
H A DRdbstoreInsertSyncJsUnit.test.js22 "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
69 "age": 18,
78 "age": 18,
87 "age": 20,
102 const age = resultSet.getLong(resultSet.getColumnIndex("age"))
105 console.log(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType);
108 expect(18).assertEqual(age)
135 "age"
[all...]
H A DRdbstoreUpdateSyncJsunit.test.js23 "name TEXT UNIQUE, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
65 "age": 18,
79 "age": 20,
95 const age = await resultSet.getLong(resultSet.getColumnIndex("age"))
101 await expect(20).assertEqual(age);
135 "age": 18,
182 "age": 18,
220 "age": 18,
237 predicates.equalTo("age", 1
[all...]
H A DRdbstoreUpdateJsunit.test.js23 "name TEXT UNIQUE, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
65 "age": 18,
79 "age": 20,
95 const age = await resultSet.getLong(resultSet.getColumnIndex("age"))
101 await expect(20).assertEqual(age);
135 "age": 18,
182 "age": 18,
220 "age": 18,
237 predicates.equalTo("age", 1
[all...]
/foundation/distributeddatamgr/relational_store/test/js/rdb/unittest/src/
H A DRdbstorePredicatesComplexFiledJsunit.test.js20 "name TEXT, " + "age INTEGER, " + "salary REAL, " + "adddate DATE)";
50 const valueBucket1 = { id: 1, name: "ZhangSan", age: 20, salary: 100.51, adddate: '2022-09-01' }
52 const valueBucket2 = { id: 2, name: "LiSi", age: 21, salary: 120.61, adddate: '2022-09-01' }
54 const valueBucket3 = { id: 3, name: "WangWu", age: 22, salary: 130.71, adddate: '2022-09-02' }
56 const valueBucket4 = { id: 4, name: "SunLiu", age: 23, salary: 160.81, adddate: '2022-09-02' }
58 const valueBucket5 = { id: 5, name: "MaQi", age: 24, salary: 170.91, adddate: '2022-09-02' }
H A DRdbstorePredicatesJoinJsunit.test.js21 + "age INTEGER , balance REAL NOT NULL)";
28 + "(userId, firstName, lastName, age, balance) VALUES "
71 {userId:1, firstName:"Zhang", lastName:"San", age:29, balance:100.51},
72 {userId:2, firstName:"Li", lastName:"Si", age:30, balance:200.51},
73 {userId:3, firstName:"wang", lastName:"wu", age:30, balance:300.51},
74 {userId:4, firstName:"sun", lastName:"liu", age:30, balance:400.51},
75 {userId:5, firstName:"ma", lastName:"qi", age:32, balance:500.51},
83 objects.push(user.age);
H A DRdbstoreInsertJsunit.test.js21 "name TEXT NOT NULL, " + "age INTEGER, " + "salary REAL, " + "blobType BLOB)";
64 "age": 18,
73 "age": 18,
82 "age": 20,
97 const age = resultSet.getLong(resultSet.getColumnIndex("age"))
100 console.log(TAG + "id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", blobType=" + blobType);
103 expect(18).assertEqual(age)
129 "age"
[all...]
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dslientaccess_test.cpp43 std::string TBL_STU_AGE = "age";
297 int age = 25; in HWTEST_F() local
298 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
346 int age = 25; in HWTEST_F() local
347 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
413 int age = 25; in HWTEST_F() local
414 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
442 int age = 25; in HWTEST_F() local
443 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
467 int age in HWTEST_F() local
494 int age = 25; HWTEST_F() local
515 int age = 25; HWTEST_F() local
531 int age = 25; HWTEST_F() local
563 int age = 25; HWTEST_F() local
631 int age = 25; HWTEST_F() local
[all...]
H A Derrorcode_test.cpp35 std::string TBL_STU_AGE = "age";
131 int age = 25; in HWTEST_F() local
132 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
174 int age = 30; in HWTEST_F() local
175 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
H A Djoin_test.cpp37 std::string TBL_STU_AGE = "age";
131 values.Put("age", 29); in InsertUserDates()
140 values.Put("age", 30); in InsertUserDates()
148 values.Put("age", 30); in InsertUserDates()
156 values.Put("age", 31); in InsertUserDates()
164 values.Put("age", 32); in InsertUserDates()
235 int age; in HWTEST_F() local
236 EXPECT_EQ(E_OK, resultSet->GetInt(3, age)); in HWTEST_F()
237 EXPECT_EQ(29, age); in HWTEST_F()
285 int age; in HWTEST_F() local
335 int age; HWTEST_F() local
[all...]
H A Dslientswitch_test.cpp36 std::string TBL_STU_AGE = "age";
171 int age = 25; in HWTEST_F() local
172 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
190 int age = 25; in HWTEST_F() local
191 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
209 int age = 25; in HWTEST_F() local
210 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
228 int age = 25; in HWTEST_F() local
229 valuesBucket.Put(TBL_STU_AGE, age); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcache_cursor_test.cpp64 record["age"] = AGE; in SetUpTestCase()
82 std::vector<std::string> expectedNames = { "age", "identifier", "name", "phoneNumber" }; in HWTEST_F()
132 std::vector<std::string> expectedNames = { "age", "identifier", "name", "phoneNumber" }; in HWTEST_F()
175 int64_t age = *std::get_if<int64_t>(&data["age"]); in HWTEST_F() local
176 EXPECT_EQ(age, 25); in HWTEST_F()
190 age = *std::get_if<int64_t>(&value); in HWTEST_F()
191 EXPECT_EQ(age, 25); in HWTEST_F()
225 int64_t age = *std::get_if<int64_t>(&data["age"]); in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_dirty_region_manager.cpp320 bool RSDirtyRegionManager::SetBufferAge(const int age) in SetBufferAge() argument
322 if (age < 0) { in SetBufferAge()
323 bufferAge_ = 0; // reset invalid age in SetBufferAge()
326 bufferAge_ = static_cast<unsigned int>(age); in SetBufferAge()
380 RectI RSDirtyRegionManager::MergeHistory(unsigned int age, RectI rect) const in MergeHistory() argument
382 if (age == 0 || age > historySize_) { in MergeHistory()
386 // therefore, this loop merges rect with age frames' dirtyRect in MergeHistory()
388 for (unsigned int i = historySize_; i > historySize_ - age; --i) { in MergeHistory()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_dirty_region_manager.h119 bool SetBufferAge(const int age);
166 void MergeDirtyHistoryInVirtual(unsigned int age) in MergeDirtyHistoryInVirtual() argument
168 mergedDirtyInVirtualScreen_ = MergeHistory(age, currentFrameDirtyRegion_); in MergeDirtyHistoryInVirtual()
182 RectI MergeHistory(unsigned int age, RectI rect) const;
/foundation/communication/dsoftbus/tests/core/common/json_utils/fuzztest/jsonutils_fuzzer/
H A Djsonutils_fuzzer.cpp48 int32_t age = *(reinterpret_cast<const int32_t *>(data)); in DoJsonUtilsFuzz() local
49 AddNumberToJsonObject(object, "age", age); in DoJsonUtilsFuzz()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_predicates_join_test.cpp56 "age INTEGER , balance REAL NOT NULL)";
118 values.PutInt("age", 29); in InsertUserDates()
126 values.PutInt("age", 30); in InsertUserDates()
134 values.PutInt("age", 30); in InsertUserDates()
142 values.PutInt("age", 31); in InsertUserDates()
150 values.PutInt("age", 32); in InsertUserDates()
227 int age; in HWTEST_F() local
228 EXPECT_EQ(E_OK, allDataTypes->GetInt(3, age)); in HWTEST_F()
229 EXPECT_EQ(29, age); in HWTEST_F()
283 int age; in HWTEST_F() local
340 int age; HWTEST_F() local
[all...]
H A Dcommon.h29 int age; member
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_strategy.cpp69 /* The following data is used for the age calculation: in CacheResponseAgeMillis()
89 A response's age can be calculated in two entirely independent ways: in CacheResponseAgeMillis()
112 int64_t age = std::max<int64_t>(0, cacheResponse_.GetAgeSeconds()); in CacheResponseAgeMillis() local
119 static_cast<long long>(age), static_cast<long long>(dateTime), static_cast<long long>(nowTime), in CacheResponseAgeMillis()
124 int64_t correctedAgeValue = age + responseDelay; in CacheResponseAgeMillis()
142 // If the max-age response directive (Section 5.2.2.8) is present, use its value in ComputeFreshnessLifetimeSecondsInternal()
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/
H A Dhttp_cache_strategy.cpp72 /* The following data is used for the age calculation: in CacheResponseAgeMillis()
92 A response's age can be calculated in two entirely independent ways: in CacheResponseAgeMillis()
114 int64_t age = std::max<int64_t>(0, cacheResponse_.GetAgeSeconds()); in CacheResponseAgeMillis() local
121 static_cast<long long>(age), static_cast<long long>(dateTime), static_cast<long long>(nowTime), in CacheResponseAgeMillis()
126 int64_t correctedAgeValue = age + responseDelay; in CacheResponseAgeMillis()
144 // If the max-age response directive (Section 5.2.2.8) is present, use its value in ComputeFreshnessLifetimeSecondsInternal()

Completed in 12 milliseconds

12