Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/msdp/device_status/utils/common/include/
H A Dutil.h87 bool AddInt(T op1, T op2, T minValue, T maxValue, T &res) in AddInt() argument
90 if (op2 > maxValue - op1) { in AddInt()
94 if (op2 < minValue - op1) { in AddInt()
98 res = op1 + op2; in AddInt()
116 if (op2 > 0) { in MultiplyInt()
117 if (op1 > maxVal / op2) { in MultiplyInt()
121 if (op2 < minVal / op1) { in MultiplyInt()
126 if (op2 > 0) { in MultiplyInt()
127 if (op1 < minVal / op2) { in MultiplyInt()
131 if (op1 != 0 && op2 < maxVal / op1) { in MultiplyInt()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/intention_event/utils/include/
H A Dutil.h29 bool AddInt(T op1, T op2, T minVal, T maxVal, T& res) in AddInt() argument
32 if (op2 > maxVal - op1) { in AddInt()
36 if (op2 < minVal - op1) { in AddInt()
40 res = op1 + op2; in AddInt()
44 inline bool AddInt32(int32_t op1, int32_t op2, int32_t& res) in AddInt32() argument
46 return AddInt(op1, op2, INT32_MIN, INT32_MAX, res); in AddInt32()
49 inline bool AddInt64(int64_t op1, int64_t op2, int64_t& res) in AddInt64() argument
51 return AddInt(op1, op2, INT64_MIN, INT64_MAX, res); in AddInt64()
/ohos5.0/foundation/multimodalinput/input/util/common/include/
H A Dutil.h82 bool AddInt(T op1, T op2, T minVal, T maxVal, T &res) in AddInt() argument
85 if (op2 > maxVal - op1) { in AddInt()
89 if (op2 < minVal - op1) { in AddInt()
93 res = op1 + op2; in AddInt()
97 inline bool AddInt32(int32_t op1, int32_t op2, int32_t &res) in AddInt32() argument
99 return AddInt(op1, op2, INT32_MIN, INT32_MAX, res); in AddInt32()
102 inline bool AddInt64(int64_t op1, int64_t op2, int64_t &res) in AddInt64() argument
104 return AddInt(op1, op2, INT64_MIN, INT64_MAX, res); in AddInt64()
/ohos5.0/drivers/peripheral/display/composer/hdi_service/src/
H A Ddisplay_dump_service.cpp67 const char *op2 = HdfSbufReadString(data); in GetDumpEvent() local
68 if (op2 == nullptr) { in GetDumpEvent()
71 if (strcmp(op2, "vdi") == 0) { in GetDumpEvent()
74 if (strcmp(op2, "display") == 0) { in GetDumpEvent()
H A Ddisplay_dump_vdi.cpp119 const char *op2 = HdfSbufReadString(data); in GetDumpVdiEvent() local
120 if (op2 == nullptr) { in GetDumpVdiEvent()
123 if (strcmp(op2, "user") == 0) { in GetDumpVdiEvent()
126 if (strcmp(op2, "buffer") == 0) { in GetDumpVdiEvent()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/etsDmsDemo/dmsDemo/entry/src/main/ets/ServiceAbility/
H A Dservice.ts31 let op2 = data.readInt();
32 console.log("op1 = " + op1 + ", op2 = " + op2);
33 reply.writeInt(op1 + op2);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/continuationManagerTestSuite/eTSContinuationManager/entry/src/main/ets/ServiceExtAbility/
H A DServiceExtAbility.ts28 let op2 = data.readInt();
29 console.log("op1 = " + op1 + ", op2 = " + op2);
30 reply.writeInt(op1 + op2);
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/common/
H A Dlog.h110 #define HST_HILOG_WITH_LEVEL_JUDGE(op1, op2, con, fmt, args...) … argument
113op2(LOG_TYPE, "(" PUBLIC_LOG_S "(), " PUBLIC_LOG_D32 "): " fmt, __FUNCTION__, __LINE__, ##args); \
137 #define HST_HILOG_T_WITH_LEVEL_JUDGE(op1, op2, con, fmt, args...) \ argument
140 op2(LOG_TYPE, "[" PUBLIC_LOG_S "]:" fmt, HST_LOG_TAG, ##args); \
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
H A Dsys_event_service_ohos_test.cpp351 {"param":"uid_", "op2":"=", "value":1201}]}})~";
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_state_desc.h792 FragmentShadingRateCombinerOp op2 { CORE_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP };
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp2544 (VkFragmentShadingRateCombinerOpKHR)renderCmd.combinerOps.op2, in RenderCommand()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/1080_3M/
H A Dvideo_10802.ts2598 Ÿ�QM������t�� �Cϩ�$�j��sla�ǎ����j��"kD�K�cw߅㟺��u��E �uu��%Ĵ��-s_#��O�E0��(�w��ys��op2�'…