Searched refs:op2 (Results 1 – 2 of 2) sorted by relevance
/base/msdp/device_status/utils/common/include/ |
D | util.h | 37 bool AddInt(T op1, T op2, T minVal, T maxVal, T &res) in AddInt() argument 40 if (op2 > maxVal - op1) { in AddInt() 44 if (op2 < minVal - op1) { in AddInt() 48 res = op1 + op2; in AddInt() 52 inline bool AddInt32(int32_t op1, int32_t op2, int32_t &res) in AddInt32() argument 54 …return AddInt(op1, op2, std::numeric_limits<int32_t>::min(), std::numeric_limits<int32_t>::max(), … in AddInt32() 57 inline bool AddInt64(int64_t op1, int64_t op2, int64_t &res) in AddInt64() argument 59 …return AddInt(op1, op2, std::numeric_limits<int64_t>::min(), std::numeric_limits<int64_t>::max(), … in AddInt64() 63 bool MultiplyInt(T op1, T op2, T minVal, T maxVal, T &res) in MultiplyInt() argument 66 if (op2 > 0) { in MultiplyInt() [all …]
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
D | sys_event_service_ohos_test.cpp | 844 {"param":"uid_","op2":"=","value":1201}]}})~";
|