Searched refs:TWO_PARAMETERS (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor_module.cpp | 39 constexpr int32_t TWO_PARAMETERS { 2 }; variable 130 AddMouseMonitor(env, info, argv[1], argv[TWO_PARAMETERS]); in AddMonitor() 144 CHKRP(napi_typeof(env, argv[TWO_PARAMETERS], &valueType), TYPEOF); in AddMonitor() 153 JS_INPUT_MONITOR_MGR.AddMonitor(env, typeName, argv[TWO_PARAMETERS], fingers); in AddMonitor() 164 if (argc < TWO_PARAMETERS) { in JsOn() 168 if (argc == TWO_PARAMETERS) { in JsOn() 196 if (argc < TWO_PARAMETERS) { in JsOffApi9() 256 CHKRP(napi_typeof(env, argv[TWO_PARAMETERS], &valueType), TYPEOF); in RemoveMonitor() 267 JS_INPUT_MONITOR_MGR.RemoveMonitor(env, typeName, argv[TWO_PARAMETERS], fingers); in RemoveMonitor()
|
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/ |
H A D | napi_sms.cpp | 368 case TWO_PARAMETERS: { in MatchSendShortMessageParameters() 515 case TWO_PARAMETERS: { in MatchCreateMessageParameter() 578 case TWO_PARAMETERS: in MatchSetDefaultSmsSlotIdParameters() 774 case TWO_PARAMETERS: { in MatchSetSmscAddrParameters() 856 case TWO_PARAMETERS: { in MatchGetSmscAddrParameters() 933 case TWO_PARAMETERS: { in MatchAddSimMessageParameters() 1038 case TWO_PARAMETERS: { in MatchDelSimMessageParameters() 1114 case TWO_PARAMETERS: { in MatchUpdateSimMessageParameters() 1236 case TWO_PARAMETERS: { in MatchGetAllSimMessagesParameters() 1333 case TWO_PARAMETERS: { in MatchSetCBConfigParameters() [all …]
|
H A D | napi_mms.cpp | 651 case TWO_PARAMETERS: in GetMatchDecodeMmsResult() 681 size_t parameterCount = TWO_PARAMETERS; in DecodeMms() 682 napi_value parameters[TWO_PARAMETERS] = { 0 }; in DecodeMms() 700 if (parameterCount == TWO_PARAMETERS) { in DecodeMms() 715 case TWO_PARAMETERS: in MatchEncodeMms() 1427 size_t parameterCount = TWO_PARAMETERS; in EncodeMms() 1428 napi_value parameters[TWO_PARAMETERS] = { 0 }; in EncodeMms() 1450 if (parameterCount == TWO_PARAMETERS) { in EncodeMms()
|
H A D | napi_send_recv_mms.cpp | 203 case TWO_PARAMETERS: { in MatchMmsParameters()
|
/ohos5.0/base/telephony/core_service/frameworks/js/vcard/src/ |
H A D | napi_vcard.cpp | 40 constexpr int32_t TWO_PARAMETERS = 2; variable 98 if (parameterCount == TWO_PARAMETERS) { in MatchImportParameters() 278 if (parameterCount == TWO_PARAMETERS) { in MatchExportParameters() 340 size_t argc = TWO_PARAMETERS; in GetDataSharePredicates() 341 napi_value argv[TWO_PARAMETERS] = { 0 }; in GetDataSharePredicates() 352 napi_value charset = NapiUtil::GetNamedProperty(env, parameters[TWO_PARAMETERS], "charset"); in HandleOptionParameters() 365 napi_value cardType = NapiUtil::GetNamedProperty(env, parameters[TWO_PARAMETERS], "cardType"); in HandleOptionParameters()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedcommonevent_fuzzer/ |
H A D | resschedcommonevent_fuzzer.cpp | 42 static const int32_t TWO_PARAMETERS = 2; variable 173 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in ResSchedCommonReceiveEventFuzzTest() 210 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in ResSchedPkgCommonEventFuzzTest() 244 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in ResSchedPkgOtherCommonEventFuzzTest()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedobserver_fuzzer/ |
H A D | resschedobserver_fuzzer.cpp | 62 static const int32_t TWO_PARAMETERS = 2; variable 253 if (size <= TWO_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in HisysEventCameraEventFuzzTest() 304 if (size <= TWO_PARAMETERS * DATA_LENGTH) { in ProcessHiSysEventFuzzTest() 349 if (size <= TWO_PARAMETERS * (sizeof(int32_t) + DATA_LENGTH)) { in HisysEventOnEventFuzzTest() 500 if (size <= TWO_PARAMETERS * sizeof(pid_t) + DATA_LENGTH) { in AvSessionStateListenerFuzzTest() 609 if (size <= TWO_PARAMETERS * sizeof(int32_t) + DATA_LENGTH) { in OnCallStateUpdatedFuzzTest()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/ |
H A D | ressched_fuzzer.cpp | 54 static const int32_t TWO_PARAMETERS = 2; variable 210 if (size <= sizeof(uint32_t) + sizeof(int64_t) + TWO_PARAMETERS * sizeof(std::string)) { in ResSchedClientFuzzTest() 321 if (size <= TWO_PARAMETERS * sizeof(std::string)) { in OOBEDatashareUtilsFuzzTest()
|
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/include/ |
H A D | napi_sms.h | 49 constexpr int32_t TWO_PARAMETERS = 2; variable
|