Home
last modified time | relevance | path

Searched refs:op2 (Results 1 - 2 of 2) sorted by relevance

/base/msdp/device_status/utils/common/include/
H A Dutil.h85 bool AddInt(T op1, T op2, T minValue, T maxValue, T &res) in AddInt() argument
88 if (op2 > maxValue - op1) { in AddInt()
92 if (op2 < minValue - op1) { in AddInt()
96 res = op1 + op2; in AddInt()
100 inline bool AddInt32(int32_t op1, int32_t op2, int32_t &res) in AddInt32() argument
102 return AddInt(op1, op2, std::numeric_limits<int32_t>::min(), std::numeric_limits<int32_t>::max(), res); in AddInt32()
105 inline bool AddInt64(int64_t op1, int64_t op2, int64_t &res) in AddInt64() argument
107 return AddInt(op1, op2, std::numeric_limits<int64_t>::min(), std::numeric_limits<int64_t>::max(), res); in AddInt64()
111 bool MultiplyInt(T op1, T op2, T minVal, T maxVal, T &res) in MultiplyInt() argument
114 if (op2 > in MultiplyInt()
138 MultiplyInt32(int32_t op1, int32_t op2, int32_t& res) MultiplyInt32() argument
143 MultiplyInt64(int64_t op1, int64_t op2, int64_t& res) MultiplyInt64() argument
[all...]
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
H A Dsys_event_service_ohos_test.cpp351 {"param":"uid_", "op2":"=", "value":1201}]}})~"; in HWTEST_F()

Completed in 2 milliseconds