/third_party/openssl/demos/mac/ |
H A D | gmac.c | 14 #include <openssl/params.h> 64 OSSL_PARAM params[4], *p = params; in main() local 106 if (!EVP_MAC_init(mctx, key, sizeof(key), params)) { in main()
|
/third_party/openssl/demos/kdf/ |
H A D | scrypt.c | 15 #include <openssl/params.h> 66 OSSL_PARAM params[6], *p = params; in main() local 104 if (EVP_KDF_derive(kctx, out, sizeof(out), params) != 1) { in main()
|
H A D | pbkdf2.c | 15 #include <openssl/params.h> 64 OSSL_PARAM params[5], *p = params; in main() local 101 if (EVP_KDF_derive(kctx, out, sizeof(out), params) != 1) { in main()
|
H A D | hkdf.c | 15 #include <openssl/params.h> 50 OSSL_PARAM params[5], *p = params; in main() local 88 if (EVP_KDF_derive(kctx, out, sizeof(out), params) != 1) { in main()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_variable_qualifier_test.cc | 36 auto params = GetParam(); in TEST_P() local 37 auto p = parser(std::string("<") + params.input + ">"); in TEST_P() 43 EXPECT_EQ(sc->storage_class, params.storage_class); in TEST_P() 44 EXPECT_EQ(sc->access, params.access); in TEST_P()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | external_texture_transform.cc | 84 ast::ExpressionList params; in Run() local 88 params = {externalTextureParam, coordsParam, levelParam}; in Run() 94 params = {externalTextureParam, samplerParam, coordsParam, in Run() 98 auto* newCall = ctx.dst->create<ast::CallExpression>(exp, params); in Run()
|
H A D | remove_phonies.cc | 124 ast::VariableList params; in Run() 127 params.push_back( in Run() 128 ctx.dst->Param("p" + std::to_string(params.size()), ast_ty)); in Run() 130 ctx.dst->Func(name, params, ctx.dst->ty.void_(), {}); in Run()
|
/third_party/skia/tools/sk_app/ |
H A D | DawnWindowContext.cpp | 26 DawnWindowContext::DawnWindowContext(const DisplayParams& params, in DawnWindowContext() argument 28 : WindowContext(params) in DawnWindowContext() 105 void DawnWindowContext::setDisplayParams(const DisplayParams& params) { in setDisplayParams() argument 106 fDisplayParams = params; in setDisplayParams()
|
/third_party/skia/tools/sk_app/android/ |
H A D | GLWindowContext_android.cpp | 44 const DisplayParams& params) in GLWindowContext_android() 45 : INHERITED(params) in GLWindowContext_android() 148 const DisplayParams& params) { in MakeGLForAndroid() 149 std::unique_ptr<WindowContext> ctx(new GLWindowContext_android(window, params)); in MakeGLForAndroid() 43 GLWindowContext_android(ANativeWindow* window, const DisplayParams& params) GLWindowContext_android() argument 147 MakeGLForAndroid(ANativeWindow* window, const DisplayParams& params) MakeGLForAndroid() argument
|
/third_party/skia/tools/sk_app/win/ |
H A D | GLWindowContext_win.cpp | 52 GLWindowContext_win::GLWindowContext_win(HWND wnd, const DisplayParams& params) 53 : INHERITED(params) 149 std::unique_ptr<WindowContext> MakeGLForWin(HWND wnd, const DisplayParams& params) { 150 std::unique_ptr<WindowContext> ctx(new GLWindowContext_win(wnd, params));
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboCompletenessTests.hpp | 126 ParamTest (Context& ctx, const Params& params) in ParamTest() argument 127 : TestBase (ctx, Params::getName(params), Params::getDescription(params)) in ParamTest() 128 , m_params (params) {} in ParamTest()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuStringTemplate.cpp | 64 string StringTemplate::specialize (const map<string, string>& params) const in specialize() 116 if (params.find(paramName) != params.end()) in specialize() 118 const string& val = (*params.find(paramName)).second; in specialize()
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | gen-qualification_order.py | 128 params = { 134 return fillTemplate(declarationTemplate, params) 161 params = { 168 return fillTemplate(parameterTemplate, params)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_openbsd.c | 72 wpa_driver_openbsd_set_key(void *priv, struct wpa_driver_set_key_params *params) argument 76 enum key_flag key_flag = params->key_flag; 77 const u8 *key = params->key; 78 size_t key_len = params->key_len;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_l2.c | 691 /* Copy input params to ramrod according to FW struct */ in qed_sp_vport_update() 2098 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_rxq_coalesce() 2132 timer_res = GET_FIELD(le32_to_cpu(sb_entry.params), in qed_get_txq_coalesce() 2302 struct qed_start_vport_params *params) in qed_start_vport() 2310 start.tpa_mode = params->gro_enable ? QED_TPA_MODE_GRO : in qed_start_vport() 2312 start.remove_inner_vlan = params->remove_inner_vlan; in qed_start_vport() 2314 start.drop_ttl0 = params->drop_ttl0; in qed_start_vport() 2317 start.handle_ptp_pkts = params->handle_ptp_pkts; in qed_start_vport() 2318 start.vport_id = params->vport_id; in qed_start_vport() 2320 start.mtu = params in qed_start_vport() 2301 qed_start_vport(struct qed_dev *cdev, struct qed_start_vport_params *params) qed_start_vport() argument 2426 qed_update_vport(struct qed_dev *cdev, struct qed_update_vport_params *params) qed_update_vport() argument 2694 qed_configure_filter_ucast(struct qed_dev *cdev, struct qed_filter_ucast_params *params) qed_configure_filter_ucast() argument 2739 qed_configure_filter_mcast(struct qed_dev *cdev, struct qed_filter_mcast_params *params) qed_configure_filter_mcast() argument 2765 qed_configure_filter(struct qed_dev *cdev, struct qed_filter_params *params) qed_configure_filter() argument 2813 qed_ntuple_arfs_filter_config(struct qed_dev *cdev, void *cookie, struct qed_ntuple_filter_params *params) qed_ntuple_arfs_filter_config() argument [all...] |
/third_party/backends/backend/ |
H A D | pie.c | 305 SANE_Parameters params;
member 2430 scanner->params.pixels_per_line = get_param_scan_width (buffer);
in pie_get_params() 2431 scanner->params.lines = get_param_scan_lines (buffer);
in pie_get_params() 2436 scanner->params.format = SANE_FRAME_RGB;
in pie_get_params() 2437 scanner->params.depth = 8;
in pie_get_params() 2438 scanner->params.bytes_per_line = 3 * get_param_scan_bytes (buffer);
in pie_get_params() 2442 scanner->params.format = SANE_FRAME_GRAY;
in pie_get_params() 2443 scanner->params.depth = 8;
in pie_get_params() 2444 scanner->params.bytes_per_line = get_param_scan_bytes (buffer);
in pie_get_params() 2449 scanner->params in pie_get_params() 3438 sane_get_parameters(SANE_Handle handle, SANE_Parameters * params) sane_get_parameters() argument [all...] |
H A D | cardscan.c | 948 sane_get_parameters (SANE_Handle handle, SANE_Parameters * params) in sane_get_parameters() argument 954 params->pixels_per_line = PIXELS_PER_LINE; in sane_get_parameters() 955 params->lines = -1; in sane_get_parameters() 956 params->last_frame = 1; in sane_get_parameters() 959 params->format = SANE_FRAME_RGB; in sane_get_parameters() 960 params->depth = 8; in sane_get_parameters() 961 params->bytes_per_line = params->pixels_per_line * 3; in sane_get_parameters() 964 params->format = SANE_FRAME_GRAY; in sane_get_parameters() 965 params in sane_get_parameters() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dbus_usb.c | 85 void *params, int plen, void *arg, int len, bool set); 87 void *params, int plen, void *arg, int len, bool set); 89 const char *name, void *params, int plen, void *arg, int len, int val_size); 435 void *params, int plen, void *arg, int len, bool set) in dbus_usb_iovar_op() 439 err = dbus_iovar_process((usb_info_t*)bus, name, params, plen, arg, len, set); in dbus_usb_iovar_op() 446 void *params, int plen, void *arg, int len, bool set) in dbus_iovar_process() 462 ASSERT(!set || (!params && !plen)); in dbus_iovar_process() 476 /* set up 'params' pointer in case this is a set command so that in dbus_iovar_process() 479 if (params == NULL) { in dbus_iovar_process() 480 params in dbus_iovar_process() 434 dbus_usb_iovar_op(void *bus, const char *name, void *params, int plen, void *arg, int len, bool set) dbus_usb_iovar_op() argument 445 dbus_iovar_process(usb_info_t* usbinfo, const char *name, void *params, int plen, void *arg, int len, bool set) dbus_iovar_process() argument 501 dbus_usb_doiovar(usb_info_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, void *params, int plen, void *arg, int len, int val_size) dbus_usb_doiovar() argument [all...] |
/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag_ndef.cpp | 85 std::vector<std::shared_ptr<NdefRecord>> params; in ParseNdefRecords() local 96 params.push_back(ndefRecord); in ParseNdefRecords() 98 return params; in ParseNdefRecords() 116 // NdefMessage_Constructor is for GetNdefMessage and Read NdefMessage NAPI with no params in RegisterNdefMessageJSClass() 359 napi_value params[ARGV_NUM_1] = {0}; in ReadNdef() local 363 napi_get_cb_info(env, info, ¶msCount, params, &thisVar, &data); in ReadNdef() 368 !CheckReadNdefParameters(env, params, paramsCount)) { in ReadNdef() 376 napi_create_reference(env, params[ARGV_INDEX_0], DEFAULT_REF_COUNT, &context->callbackRef); in ReadNdef() 435 napi_value params[ARGV_NUM_2] = {0}; in WriteNdef() local 439 napi_get_cb_info(env, info, ¶msCount, params, in WriteNdef() 544 napi_value params[ARGV_NUM_1] = {0}; SetReadOnly() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_util.c | 353 struct ieee80211_ampdu_params *params) in mt76x02_ampdu_action() 355 enum ieee80211_ampdu_mlme_action action = params->action; in mt76x02_ampdu_action() 356 struct ieee80211_sta *sta = params->sta; in mt76x02_ampdu_action() 359 struct ieee80211_txq *txq = sta->txq[params->tid]; in mt76x02_ampdu_action() 360 u16 tid = params->tid; in mt76x02_ampdu_action() 361 u16 ssn = params->ssn; in mt76x02_ampdu_action() 374 ssn, params->buf_size); in mt76x02_ampdu_action() 488 u16 queue, const struct ieee80211_tx_queue_params *params) in mt76x02_conf_tx() 496 if (params->cw_min) in mt76x02_conf_tx() 497 cw_min = fls(params in mt76x02_conf_tx() 352 mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) mt76x02_ampdu_action() argument 487 mt76x02_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) mt76x02_conf_tx() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 36 #include "en/params.h" 59 struct mlx5e_params *params) in mlx5i_build_nic_params() 61 /* Override RQ params as IPoIB supports only LINKED LIST RQ for now */ in mlx5i_build_nic_params() 62 MLX5E_SET_PFLAG(params, MLX5E_PFLAG_RX_STRIDING_RQ, false); in mlx5i_build_nic_params() 63 mlx5e_set_rq_type(mdev, params); in mlx5i_build_nic_params() 64 mlx5e_init_rq_type_params(mdev, params); in mlx5i_build_nic_params() 67 params->log_rq_mtu_frames = is_kdump_kernel() ? in mlx5i_build_nic_params() 71 params->packet_merge.type = MLX5E_PACKET_MERGE_NONE; in mlx5i_build_nic_params() 72 params->hard_mtu = MLX5_IB_GRH_BYTES + MLX5_IPOIB_HARD_LEN; in mlx5i_build_nic_params() 75 params in mlx5i_build_nic_params() 58 mlx5i_build_nic_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params) mlx5i_build_nic_params() argument 824 mlx5_rdma_rn_get_params(struct mlx5_core_dev *mdev, struct ib_device *device, struct rdma_netdev_alloc_params *params) mlx5_rdma_rn_get_params() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_util.c | 354 struct ieee80211_ampdu_params *params) in mt76x02_ampdu_action() 356 enum ieee80211_ampdu_mlme_action action = params->action; in mt76x02_ampdu_action() 357 struct ieee80211_sta *sta = params->sta; in mt76x02_ampdu_action() 360 struct ieee80211_txq *txq = sta->txq[params->tid]; in mt76x02_ampdu_action() 361 u16 tid = params->tid; in mt76x02_ampdu_action() 362 u16 ssn = params->ssn; in mt76x02_ampdu_action() 375 ssn, params->buf_size); in mt76x02_ampdu_action() 490 const struct ieee80211_tx_queue_params *params) in mt76x02_conf_tx() 498 if (params->cw_min) in mt76x02_conf_tx() 499 cw_min = fls(params in mt76x02_conf_tx() 353 mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_ampdu_params *params) mt76x02_ampdu_action() argument 488 mt76x02_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 queue, const struct ieee80211_tx_queue_params *params) mt76x02_conf_tx() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 645 OSSL_PARAM params[2]; in rsa_item_sign() local 677 params[0] = OSSL_PARAM_construct_octet_string( in rsa_item_sign() 679 params[1] = OSSL_PARAM_construct_end(); in rsa_item_sign() 681 if (EVP_PKEY_CTX_get_params(pkctx, params) <= 0) in rsa_item_sign() 683 if ((aid_len = params[0].return_size) == 0) in rsa_item_sign() 779 OSSL_PARAM *params = NULL; in rsa_int_export_to() local 816 if ((params = OSSL_PARAM_BLD_to_param(tmpl)) == NULL) in rsa_int_export_to() 820 rv = importer(to_keydata, selection, params); in rsa_int_export_to() 823 OSSL_PARAM_free(params); in rsa_int_export_to() 828 static int rsa_int_import_from(const OSSL_PARAM params[], voi argument 916 rsa_pkey_import_from(const OSSL_PARAM params[], void *vpctx) rsa_pkey_import_from() argument 921 rsa_pss_pkey_import_from(const OSSL_PARAM params[], void *vpctx) rsa_pss_pkey_import_from() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineNoPositionTests.cpp | 105 NoPositionCase (tcu::TestContext& testCtx, const std::string& name, const TestParams& params); 123 NoPositionInstance (Context& context, const TestParams& params); 132 NoPositionCase::NoPositionCase (tcu::TestContext& testCtx, const std::string& name, const TestParams& params) in NoPositionCase() argument 134 , m_params (params) in NoPositionCase() 136 DE_ASSERT(params.numViews >= 1u); in NoPositionCase() 390 NoPositionInstance::NoPositionInstance (Context& context, const TestParams& params) in NoPositionInstance() argument 392 , m_params (params) in NoPositionInstance() 829 TestParams params{}; in createNoPositionTests() 830 params.pipelineConstructionType = pipelineConstructionType; in createNoPositionTests() 831 params in createNoPositionTests() [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 642 OSSL_PARAM params[2]; in rsa_item_sign() local 644 params[0] = OSSL_PARAM_construct_octet_string( in rsa_item_sign() 646 params[1] = OSSL_PARAM_construct_end(); in rsa_item_sign() 648 if (EVP_PKEY_CTX_get_params(pkctx, params) <= 0) in rsa_item_sign() 650 if ((aid_len = params[0].return_size) == 0) in rsa_item_sign() 744 OSSL_PARAM *params = NULL; in rsa_int_export_to() local 781 if ((params = OSSL_PARAM_BLD_to_param(tmpl)) == NULL) in rsa_int_export_to() 785 rv = importer(to_keydata, selection, params); in rsa_int_export_to() 788 OSSL_PARAM_free(params); in rsa_int_export_to() 793 static int rsa_int_import_from(const OSSL_PARAM params[], voi argument 881 rsa_pkey_import_from(const OSSL_PARAM params[], void *vpctx) rsa_pkey_import_from() argument 886 rsa_pss_pkey_import_from(const OSSL_PARAM params[], void *vpctx) rsa_pss_pkey_import_from() argument [all...] |