Home
last modified time | relevance | path

Searched refs:funcs (Results 1 - 25 of 30) sorted by relevance

12

/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dmake_capi_header.py27 def make_capi_static_funcs(funcs, indent, defined_names, translate_map):
29 old_list = make_file_base.get_func_name_list(funcs)
32 for func in funcs:
47 def make_capi_class_funcs(funcs, indent, defined_names, translate_map):
49 old_list = make_file_base.get_func_name_list(funcs)
52 for func in funcs:
147 funcs = cls.get_virtual_funcs()
148 result += make_capi_class_funcs(funcs, ' ', defined_names, translate_map)
154 funcs = cls.get_static_funcs()
155 if len(funcs) >
[all...]
H A Dmake_cpptoc_impl.py245 def make_cpptoc_function_body(cls, funcs, prefix, defined_names):
247 old_list = make_file_base.get_func_name_list(funcs)
250 for func in funcs:
262 funcs = make_file_base.get_class_func_list(cls, header);
264 old_list = make_file_base.get_func_name_list(funcs)
268 for func in funcs:
282 def make_cpptoc_static_function_impl(cls, funcs, defined_names):
284 old_list = make_file_base.get_func_name_list(funcs)
287 for func in funcs:
368 funcs
[all...]
H A Dmake_ctocpp_header.py31 funcs = cls.get_virtual_funcs()
32 for func in funcs:
H A Dmake_ctocpp_impl.py152 def ctocpp_make_static_param(cls, funcs, prefix):
154 old_list = make_file_base.get_func_name_list(funcs)
157 for func in funcs:
330 def ctocpp_make_function_body(cls, funcs, dir_name):
332 old_list = make_file_base.get_func_name_list(funcs)
335 for func in funcs:
H A Dfile_parser.py526 self.funcs = []
594 self.funcs.append(
662 if len(self.funcs) > 0:
664 for cls in self.funcs:
687 return self.funcs
691 for func in self.funcs:
781 funcs = self.get_funcs()
782 for func in funcs:
789 funcs = cls.get_virtual_funcs()
790 for func in funcs
2104 funcs = header.get_funcs() global() variable in obj_analysis
[all...]
H A Dmake_file_base.py158 def get_func_name_list(funcs):
160 for func in funcs:
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
H A Dkey_agreement_client.c28 void init_client(struct key_agreement_client *handle, struct client_virtual_func_group *funcs) in init_client() argument
31 check_ptr_return(funcs); in init_client()
33 handle->package_funcs = *funcs; in init_client()
48 struct client_virtual_func_group *funcs = &client->package_funcs; in send_start_request() local
49 int32_t ret = funcs->build_start_request_data(handle, send_data); in send_start_request()
74 struct client_virtual_func_group *funcs = &client->package_funcs; in send_end_request() local
75 int32_t ret = funcs->parse_start_response_data(handle, receive_data); in send_end_request()
81 ret = funcs->build_end_request_data(handle, send_data); in send_end_request()
106 struct client_virtual_func_group *funcs = &client->package_funcs; in receive_end_response() local
107 if (funcs in receive_end_response()
[all...]
/base/update/updater/services/ui/control/
H A Dcallback_manager.cpp63 static std::unordered_map<std::string, Callback> funcs; in GetFuncs() local
64 return funcs; in GetFuncs()
74 auto &funcs = GetFuncs(); in Register() local
75 auto itFunc = funcs.find(cbCfg.func); in Register()
76 if (itFunc == funcs.end()) { in Register()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp82 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
83 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
99 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
100 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
117 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
118 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
135 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
136 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
145 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
160 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
182 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_ECM; HWTEST_F() local
213 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
229 int32_t funcs = UsbSrvSupport::FUNCTION_ECM | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
275 int32_t funcs = UsbSrvSupport::FUNCTION_MTP | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
291 int32_t funcs = UsbSrvSupport::FUNCTION_PTP | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
307 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_MTP | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
323 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_PTP | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
468 std::string funcs = "qwerts"; HWTEST_F() local
484 std::string funcs = "zxcbvx"; HWTEST_F() local
[all...]
H A Dusb_dfx_test.cpp183 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
184 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
186 int32_t isok = UsbSrvClient.SetCurrentFunctions(funcs); in HWTEST_F()
209 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
210 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
211 UsbSrvClient.SetCurrentFunctions(funcs); in HWTEST_F()
259 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
260 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
/base/security/device_security_level/oem_property/common/
H A Ddslm_credential.c34 bool InitDslmCredentialFunctions(const ProcessDslmCredFunctions *funcs) in InitDslmCredentialFunctions() argument
36 if (funcs == NULL) { in InitDslmCredentialFunctions()
40 (void)memcpy_s(cb, sizeof(ProcessDslmCredFunctions), funcs, sizeof(ProcessDslmCredFunctions)); in InitDslmCredentialFunctions()
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp132 int32_t funcs = static_cast<int32_t>(UsbSrvSupport::FUNCTION_NONE); in HWTEST_F() local
134 auto ret = usbSrv_->GetCurrentFunctions(funcs); in HWTEST_F()
141 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
155 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
169 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
175 int32_t funcs = UsbSrvSupport::FUNCTION_ACM | UsbSrvSupport::FUNCTION_ECM; in HWTEST_F() local
177 int32_t isok = usbSrv_->SetCurrentFunctions(funcs); in HWTEST_F()
184 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
198 * @tc.desc: Test functions to SetCurrentFunctions(int32_t funcs)
204 int32_t funcs in HWTEST_F() local
219 int32_t funcs = UsbSrvSupport::FUNCTION_ECM | UsbSrvSupport::FUNCTION_HDC; HWTEST_F() local
318 std::string funcs = "qwerts"; HWTEST_F() local
332 std::string funcs = "zxcbvx"; HWTEST_F() local
[all...]
/base/usb/usb_manager/services/native/include/
H A Dusb_device_manager.h36 static bool AreSettableFunctions(int32_t funcs);
39 static uint32_t ConvertFromString(std::string_view funcs);
H A Dusb_service.h75 int32_t GetCurrentFunctions(int32_t &funcs) override;
76 int32_t SetCurrentFunctions(int32_t funcs) override;
77 int32_t UsbFunctionsFromString(std::string_view funcs) override;
78 std::string UsbFunctionsToString(int32_t funcs) override;
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h55 int32_t GetCurrentFunctions(int32_t &funcs);
56 int32_t SetCurrentFunctions(int32_t funcs);
57 int32_t UsbFunctionsFromString(std::string_view funcs);
58 std::string UsbFunctionsToString(int32_t funcs);
H A Diusb_srv.h36 virtual int32_t GetCurrentFunctions(int32_t &funcs) = 0;
37 virtual int32_t SetCurrentFunctions(int32_t funcs) = 0;
38 virtual int32_t UsbFunctionsFromString(std::string_view funcs) = 0;
39 virtual std::string UsbFunctionsToString(int32_t funcs) = 0;
/base/security/device_auth/frameworks/deviceauth_lite/inc/key_agreement/
H A Dkey_agreement_client.h35 void init_client(struct key_agreement_client *handle, struct client_virtual_func_group *funcs);
/base/telephony/core_service/services/network_search/include/
H A Dnetwork_utils.h261 * @param funcs map of function pointer
266 T GetFunctionOfEvent(const std::map<RadioEvent, T> &funcs, RadioEvent radioEvent);
312 T EventSender::GetFunctionOfEvent(const std::map<RadioEvent, T> &funcs, RadioEvent radioEvent) in GetFunctionOfEvent() argument
314 auto itFunc = funcs.find(radioEvent); in GetFunctionOfEvent()
315 if (itFunc != funcs.end()) { in GetFunctionOfEvent()
/base/telephony/ril_adapter/services/hril/include/
H A Dhril_base.h108 F GetFunc(std::map<uint32_t, F> &funcs, uint32_t code);
149 F HRilBase::GetFunc(std::map<uint32_t, F> &funcs, uint32_t code) in GetFunc() argument
151 auto itFunc = funcs.find(code); in GetFunc()
152 if (itFunc != funcs.end()) { in GetFunc()
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h42 int32_t GetCurrentFunctions(int32_t &funcs) override;
43 int32_t SetCurrentFunctions(int32_t funcs) override;
44 int32_t UsbFunctionsFromString(std::string_view funcs) override;
45 std::string UsbFunctionsToString(int32_t funcs) override;
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp178 int32_t UsbSrvClient::GetCurrentFunctions(int32_t &funcs) in GetCurrentFunctions() argument
181 int32_t ret = proxy_->GetCurrentFunctions(funcs); in GetCurrentFunctions()
187 USB_HILOGI(MODULE_USB_INNERKIT, "GetCurrentFunctions funcs = %{public}d!", funcs); in GetCurrentFunctions()
191 int32_t UsbSrvClient::SetCurrentFunctions(int32_t funcs) in SetCurrentFunctions() argument
193 USB_HILOGI(MODULE_USB_INNERKIT, "SetCurrentFunctions funcs = %{public}d!", funcs); in SetCurrentFunctions()
195 int32_t ret = proxy_->SetCurrentFunctions(funcs); in SetCurrentFunctions()
204 int32_t UsbSrvClient::UsbFunctionsFromString(std::string_view funcs) in UsbFunctionsFromString() argument
207 int32_t result = proxy_->UsbFunctionsFromString(funcs); in UsbFunctionsFromString()
212 UsbFunctionsToString(int32_t funcs) UsbFunctionsToString() argument
[all...]
/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp84 bool UsbDeviceManager::AreSettableFunctions(int32_t funcs) in AreSettableFunctions() argument
86 return static_cast<uint32_t>(funcs) == UsbSrvSupport::FUNCTION_NONE || in AreSettableFunctions()
87 ((~functionSettable_ & static_cast<uint32_t>(funcs)) == 0); in AreSettableFunctions()
/base/usb/usb_manager/test/tool/
H A Dusb_function_test.cpp118 int32_t funcs = 0; in GetCurrentFunctionInfo() local
120 int32_t ret = g_usbClient.GetCurrentFunctions(funcs); in GetCurrentFunctionInfo()
125 strFun = g_usbClient.UsbFunctionsToString(funcs); in GetCurrentFunctionInfo()
/base/usb/usb_manager/test/native/mock/include/
H A Dusb_impl_mock.h93 MOCK_METHOD1(GetCurrentFunctions, int32_t(int32_t &funcs));
94 MOCK_METHOD1(SetCurrentFunctions, int32_t(int32_t funcs));
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_stub.cpp295 int32_t funcs; in DoSetCurrentFunctions() local
296 READ_PARCEL_WITH_RET(data, Int32, funcs, UEC_SERVICE_READ_PARCEL_ERROR); in DoSetCurrentFunctions()
297 int32_t ret = SetCurrentFunctions(funcs); in DoSetCurrentFunctions()
306 std::string funcs; in DoUsbFunctionsFromString() local
307 READ_PARCEL_WITH_RET(data, String, funcs, UEC_SERVICE_READ_PARCEL_ERROR); in DoUsbFunctionsFromString()
308 WRITE_PARCEL_WITH_RET(reply, Int32, UsbFunctionsFromString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsFromString()
314 int32_t funcs; in DoUsbFunctionsToString() local
315 READ_PARCEL_WITH_RET(data, Int32, funcs, UEC_SERVICE_READ_PARCEL_ERROR); in DoUsbFunctionsToString()
316 WRITE_PARCEL_WITH_RET(reply, String, UsbFunctionsToString(funcs), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoUsbFunctionsToString()

Completed in 16 milliseconds

12