/foundation/resourceschedule/ffrt/src/sync/ |
H A D | perf_counter.cpp | 195 it->second.vals[k] += (record->countersEnd.vals[k] - record->countersBegin.vals[k]); in perf_counter_output() 201 new_.vals[k] = (record->countersEnd.vals[k] - record->countersBegin.vals[k]); in perf_counter_output() 227 stat->pid, iter->first.c_str(), 0, 1, stat->nCounters, pmu_event[0], iter->second.vals[0], pmu_event[1], in perf_counter_output() 228 iter->second.vals[1], pmu_event[2], iter->second.vals[2], pmu_event[3], iter->second.vals[ in perf_counter_output() [all...] |
H A D | perf_counter.h | 30 unsigned long vals[MAX_COUNTERS]; member
|
/foundation/graphic/graphic_2d/utils/color_manager/export/ |
H A D | color_space.h | 153 return {{{skToXYZ.vals[0][0], skToXYZ.vals[0][1], skToXYZ.vals[0][2]},
in SkToXYZToMatrix3() 154 {skToXYZ.vals[1][0], skToXYZ.vals[1][1], skToXYZ.vals[1][2]},
in SkToXYZToMatrix3() 155 {skToXYZ.vals[2][0], skToXYZ.vals[2][1], skToXYZ.vals[2][2]}}};
in SkToXYZToMatrix3()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_effect_test.cpp | 29 scalar vals[] = { 10.0, 20.0 }; in TestDrawDashPathEffect() local 31 pen.SetPathEffect(PathEffect::CreateDashPathEffect(vals, 2, 25)); in TestDrawDashPathEffect()
|
H A D | pen_test.cpp | 266 scalar vals[] = { 10.0, 20.0 }; in TestPenPathEffect() local 268 pen.SetPathEffect(PathEffect::CreateDashPathEffect(vals, 2, 25)); in TestPenPathEffect()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | velocity_tracker.cpp | 45 std::optional<bool> GetMononicity(const std::vector<double>& vals, uint32_t valSize) in GetMononicity() argument 48 for (uint32_t i = vals.size() - valSize + 1; i < vals.size(); ++i) { in GetMononicity() 49 double delta = vals[i] - vals[i - 1]; in GetMononicity()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_rdb_predicates.cpp | 231 std::vector<std::string> vals;
in In() local 232 vals.reserve(values.size());
in In() 238 vals.emplace_back(std::move(*val));
in In() 240 predicates_.AddOperation(DistributedRdb::IN, field, vals);
in In() 314 std::vector<std::string> vals;
in NotIn() local 315 vals.reserve(values.size());
in NotIn() 321 vals.emplace_back(std::move(*val));
in NotIn() 323 predicates_.AddOperation(DistributedRdb::NOT_IN, field, vals);
in NotIn()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_color_space.cpp | 87 skMatrix3x3.vals[i][j] = matrix.vals[i][j]; in InitWithCustomRGB()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | dashing.cpp | 189 float vals[sizeof(gIntervals) / sizeof(int)]; in OnTestFunction() local 192 vals[i] = *intervals++; in OnTestFunction() 194 float phase = vals[0] / 2; in OnTestFunction() 195 OH_Drawing_PathEffect *dasheffect = OH_Drawing_CreateDashPathEffect(vals, count, phase); in OnTestFunction()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 395 std::vector<T> vals; in FromString() local 402 vals.emplace_back(StringUtils::StringToFloat(val)); in FromString() 408 if (vals.size() != valueSize) { in FromString() 414 T x = vals[index++]; in FromString() 415 T y = vals[index++]; in FromString() 416 T width = vals[index++]; in FromString() 417 T height = vals[index++]; in FromString()
|
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | input_parse.cpp | 75 void GetJsonData(cJSON *json, const std::string& key, std::vector<int32_t>& vals) in GetJsonData() argument 94 vals.push_back(val->valueint); in GetJsonData()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/colorspace_fuzzer/ |
H A D | color_space_fuzzer.cpp | 81 matrix.vals[i][j] = GetObject<float>(); in ColorSpaceFuzzTest002()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/ |
H A D | color_space.h | 48 float vals[MATRIX3_SIZE][MATRIX3_SIZE]; member
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_tg.cpp | 365 std::vector<int32_t> vals; in NotifyPlayerAppSettingChanged() local 367 vals.push_back(value); in NotifyPlayerAppSettingChanged() 370 proxy->NotifyPlayerAppSettingChanged(attrs, vals); in NotifyPlayerAppSettingChanged()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_avrcp_tg_server.cpp | 390 std::deque<uint8_t> vals; in NotifyPlayerAppSettingChanged() local 398 vals.push_back(value); in NotifyPlayerAppSettingChanged() 401 pimpl->service_->NotifyPlayerAppSettingChanged(attrs, vals); in NotifyPlayerAppSettingChanged()
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_provider.cpp | 792 auto sum = xyzGamut.vals[i][0] + xyzGamut.vals[i][1] + xyzGamut.vals[i][2]; 793 rgb[i].SetX(xyzGamut.vals[i][0] / sum); 794 rgb[i].SetY(xyzGamut.vals[i][1] / sum);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.cpp | 1308 std::deque<uint8_t> vals; in GetPlayerAppSettingCurrentValue() local 1310 profile_->SendGetCurrentPlayerApplicationSettingValueRsp(rawAddr, attrs, vals, label, result); in GetPlayerAppSettingCurrentValue() 1312 profile_->SendPlayerApplicationSettingChangedRsp(true, attrs, vals, label, result); in GetPlayerAppSettingCurrentValue() 1911 std::vector<std::string> vals; in GetPlayStatus() local 1912 profile_->SendGetItemAttributesRsp(rawAddr, attrs, vals, label, AVRC_ES_CODE_INTERNAL_ERROR); in GetPlayStatus() 2488 std::deque<uint8_t> vals; in GetPlayStatus() local 2489 profile_->SendPlayerApplicationSettingChangedRsp(true, attrs, vals, label, RET_BAD_STATUS); in GetPlayStatus()
|
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_parcel_unittest.cpp | 368 int32_t vals[] = {1, 2, 3, 4, 5, 1}; in HWTEST_F() local 369 for (auto i : vals) { in HWTEST_F() 374 EXPECT_EQ(dataSize, sizeof(vals)); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | sync_manager.cpp | 697 key, [&storeId, &results](auto &key, std::map<SyncId, CloudSyncInfo> &vals) { 698 GetLastResults(storeId, vals, results); 699 return !vals.empty();
|
/foundation/graphic/graphic_2d/utils/color_manager/test/unittest/ |
H A D | color_manager_test.cpp | 68 ASSERT_TRUE(FloatEqual(m0.vals[i][j], m1.vals[i][j])); in CheckSkColorSpaceEqual()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_rs.cpp | 187 scalar vals[] = {10.0, 20.0}; in TestDrawPathEffect() local 189 pen.SetPathEffect(PathEffect::CreateDashPathEffect(vals, 2, 25)); in TestDrawPathEffect()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_js_utils.cpp | 559 const auto &[fields, vals] = values.GetFieldsAndValues(); in HasDuplicateAssets() 560 for (const auto &valueObject : *vals) { in HasDuplicateAssets()
|
/foundation/ability/form_fwk/frameworks/js/napi/form_host/ |
H A D | js_form_host.cpp | 1379 std::vector<int32_t> vals; in GetIntVecValue() local 1380 UnwrapArrayInt32FromJS(env, jsValue, vals); in GetIntVecValue() 1381 for (size_t i = 0; i < vals.size(); ++i) { in GetIntVecValue() 1382 if (vals[i] < 0) { in GetIntVecValue() 1386 results.emplace_back(vals[i]); in GetIntVecValue()
|
/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 388 skToXYZ.vals[i][j] = toXYZ[i][j];
in ToSkiaXYZ()
|