Home
last modified time | relevance | path

Searched refs:prog (Results 1 - 25 of 27) sorted by relevance

12

/base/startup/init/services/modules/seccomp/
H A Dseccomp_policy.c78 struct sock_fprog prog = { in InstallSeccompPolicy() local
91 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, flag, &prog) != 0) { in InstallSeccompPolicy()
136 const char *filterLibRealPath, struct sock_fprog *prog) in GetSeccompPolicy()
138 if (filterName == NULL || filterLibRealPath == NULL || handler == NULL || prog == NULL) { in GetSeccompPolicy()
187 prog->filter = filter; in GetSeccompPolicy()
189 prog->len = (unsigned short)(*filterSize); in GetSeccompPolicy()
225 struct sock_fprog prog; in SetSeccompPolicyWithName() local
243 int retCode = GetSeccompPolicy(filterNamePtr, (int **)&handler, filterLibRealPath, &prog); in SetSeccompPolicyWithName()
245 ret = InstallSeccompPolicy(prog.filter, prog in SetSeccompPolicyWithName()
135 GetSeccompPolicy(const char *filterName, int **handler, const char *filterLibRealPath, struct sock_fprog *prog) GetSeccompPolicy() argument
[all...]
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscan_progress_helper.h26 static napi_value MakeJsObject(napi_env env, const ScanProgress &prog);
/base/security/security_guard/interfaces/inner_api/common/include/
H A Dsecurity_event_info.h36 std::string prog; member
H A Dsecurity_event_config.h84 if (!parcel.WriteString(config_.prog)) {
139 if (!parcel.ReadString(config_.prog)) { in ReadFromParcel()
/base/security/security_guard/test/unittest/mock/config_manager/
H A Dsecurity_event_info.h36 std::string prog; member
H A Dconfig_define.h48 std::string prog; member in EventTypeEnum
/base/print/print_fwk/frameworks/ohscan/include/
H A Dohscan.h290 * @param prog The {@link Scan_PictureScanProgress} of scanning pictures, must be a non-null value.
305 int32_t OH_Scan_GetPictureScanProgress(const char* scannerId, Scan_PictureScanProgress* prog);
/base/security/security_guard/test/unittest/model_manager/include/
H A Dconfig_define.h48 std::string prog; member in EventTypeEnum
/base/security/security_guard/test/unittest/data_collect/include/
H A Dconfig_define.h48 std::string prog; member in EventTypeEnum
/base/security/security_guard/services/data_collect/sa/
H A Dacquire_data_subscribe_manager.cpp87 if (config.prog == "security_guard") { in SubscribeSc()
120 if (config.prog == "security_guard") { in UnSubscribeSc()
/base/print/print_fwk/frameworks/ohscan/src/
H A Dohscan.cpp502 int32_t OH_Scan_GetPictureScanProgress(const char* scannerId, Scan_PictureScanProgress* prog) in OH_Scan_GetPictureScanProgress() argument
504 if (prog == nullptr) { in OH_Scan_GetPictureScanProgress()
515 prog->progress = scanProg.GetScanProgress(); in OH_Scan_GetPictureScanProgress()
516 prog->fd = scanProg.GetScanPictureFd(); in OH_Scan_GetPictureScanProgress()
517 prog->isFinal = scanProg.GetIsFinal(); in OH_Scan_GetPictureScanProgress()
/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/include/
H A Discan_service.h52 virtual int32_t GetScanProgress(const std::string scannerId, ScanProgress &prog) = 0;
H A Dscan_manager_client.h58 int32_t GetScanProgress(const std::string scannerId, ScanProgress &prog);
H A Dscan_service_proxy.h48 int32_t GetScanProgress(const std::string scannerId, ScanProgress &prog) override;
/base/print/print_fwk/interfaces/kits/napi/scan_napi/include/
H A Dnapi_inner_scan.h93 ScanProgress prog; member
/base/security/security_guard/test/unittest/config_manager/include/
H A Dconfig_define.h77 std::string prog;
/base/security/security_guard/services/config_manager/include/
H A Dconfig_define.h94 std::string prog;
/base/print/print_fwk/services/scan_service/src/
H A Dscan_service_stub.cpp324 ScanProgress prog; in OnGetScanProgress() local
325 int32_t ret = GetScanProgress(scannerId, prog); in OnGetScanProgress()
328 prog.Marshalling(reply); in OnGetScanProgress()
H A Dscan_service_ability.cpp1349 int32_t ScanServiceAbility::GetScanProgress(const std::string scannerId, ScanProgress &prog) in GetScanProgress() argument
1379 prog = frontProg; in GetScanProgress()
1380 prog.Dump(); in GetScanProgress()
1395 prog = scanTaskMap[frontPicId]; in GetScanProgress()
1396 prog.Dump(); in GetScanProgress()
1575 ScanProgress prog; in StartScan() local
1576 scanTaskMap[nextPicId] = prog; in StartScan()
/base/security/security_guard/services/config_manager/src/
H A Dmodel_cfg_marshalling.cpp173 { EVENT_CFG_PROG_KEY, eventCfg.prog} in to_json()
197 JsonCfg::Unmarshal(eventCfg.prog, jsonObj, EVENT_CFG_PROG_KEY); in from_json()
/base/print/print_fwk/test/fuzztest/scanmanagerclient_fuzzer/
H A Dscanmanagerclient_fuzzer.cpp205 ScanProgress prog; in TestGetScanProgress() local
206 scanManagerPtr->GetScanProgress(scannerId, prog); in TestGetScanProgress()
/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/src/
H A Dscan_service_proxy.cpp424 int32_t ScanServiceProxy::GetScanProgress(const std::string scannerId, ScanProgress &prog) in GetScanProgress() argument
442 prog = *scanProgress; in GetScanProgress()
H A Dscan_manager_client.cpp513 int32_t ScanManagerClient::GetScanProgress(const std::string scannerId, ScanProgress &prog) in GetScanProgress() argument
529 int32_t ret = scanServiceProxy_->GetScanProgress(scannerId, prog); in GetScanProgress()
/base/print/print_fwk/services/scan_service/include/
H A Dscan_service_ability.h71 int32_t GetScanProgress(const std::string scannerId, ScanProgress &prog) override;
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dsecurity_guard_data_collect_sa_test.cpp802 config.prog = "security_guard"; in HWTEST_F()
821 config.prog = ""; in HWTEST_F()
841 config.prog = ""; in HWTEST_F()
858 config.prog = ""; in HWTEST_F()

Completed in 29 milliseconds

12