/third_party/backends/backend/pixma/ |
H A D | pixma_mp730.c | 154 uint8_t *data; in query_status() local 157 data = pixma_newcmd (&mp->cb, cmd_status, 0, 12); in query_status() 161 memcpy (mp->current_status, data, 12); in query_status() 163 data[1], data[8], data[7])); in query_status() 172 uint8_t *data = pixma_newcmd (&mp->cb, cmd_activate, 10, 0); in activate() local 173 data[0] = 1; in activate() 174 data[3] = x; in activate() 189 uint8_t *data in select_source() local 212 uint8_t *data; send_scan_param() local 249 read_image_block(pixma_t * s, uint8_t * header, uint8_t * data) read_image_block() argument 295 uint8_t *data; send_time() local 391 uint8_t *data; read_error_info() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_lower_packed_varyings.c | 173 * used to allocate temporary intermediate data structures. If any varying 219 if (var->data.explicit_location || var->data.must_be_shader_input) in needs_lowering() 223 if (nir_is_arrayed_io(var, state->shader->info.stage) || var->data.per_view) { in needs_lowering() 231 if (state->disable_xfb_packing && var->data.is_xfb && in needs_lowering() 241 if (state->disable_varying_packing && !var->data.is_xfb_only && in needs_lowering() 273 packed_var->data.mode = state->mode; in create_or_update_packed_varying() 276 unpacked_var->data.interpolation == INTERP_MODE_FLAT || in create_or_update_packed_varying() 292 packed_var->data.centroid = unpacked_var->data in create_or_update_packed_varying() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | udata.cpp | 47 * Notes on the organization of the ICU data implementation 54 * the search paths for locating data, caching opened data, etc. 57 * (memory mapping, file reading, whatever) data into memory. 59 * - ucmndata.c deals with the tables of contents of ICU data items within 60 * an ICU common format data file. The implementation includes 65 * descriptor objects for blocks of memory holding ICU data of 87 * static (Global) data 92 * Pointers to the common ICU data. 94 * We store multiple pointers to ICU data package 889 udata_setCommonData(const void *data, UErrorCode *pErrorCode) udata_setCommonData() argument 918 udata_setAppData(const char *path, const void *data, UErrorCode *err) udata_setAppData() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/pem/ |
H A D | pem_lib.c | 242 unsigned char *data = NULL; in pem_bytes_read_bio_flags() local 249 pem_free(data, flags, len); in pem_bytes_read_bio_flags() 250 if (!PEM_read_bio_ex(bp, &nm, &header, &data, &len, flags)) { in pem_bytes_read_bio_flags() 258 if (!PEM_do_header(&cipher, data, &len, cb, u)) in pem_bytes_read_bio_flags() 261 *pdata = data; in pem_bytes_read_bio_flags() 274 pem_free(data, flags, len); in pem_bytes_read_bio_flags() 319 unsigned char *p, *data = NULL; in PEM_ASN1_write_bio() local 347 data = OPENSSL_malloc((unsigned int)dsize + 20); in PEM_ASN1_write_bio() 348 if (data == NULL) { in PEM_ASN1_write_bio() 352 p = data; in PEM_ASN1_write_bio() 414 PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, pem_password_cb *callback, void *u) PEM_do_header() argument 591 PEM_write(FILE *fp, const char *name, const char *header, const unsigned char *data, long len) PEM_write() argument 608 PEM_write_bio(BIO *bp, const char *name, const char *header, const unsigned char *data, long len) PEM_write_bio() argument 671 PEM_read(FILE *fp, char **name, char **header, unsigned char **data, long *len) PEM_read() argument 808 get_header_and_data(BIO *bp, BIO **header, BIO **data, char *name, unsigned int flags) get_header_and_data() argument 918 PEM_read_bio_ex(BIO *bp, char **name_out, char **header, unsigned char **data, long *len_out, unsigned int flags) PEM_read_bio_ex() argument 1003 PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data, long *len) PEM_read_bio() argument [all...] |
/third_party/openssl/crypto/pem/ |
H A D | pem_lib.c | 242 unsigned char *data = NULL; in pem_bytes_read_bio_flags() local 249 pem_free(data, flags, len); in pem_bytes_read_bio_flags() 250 if (!PEM_read_bio_ex(bp, &nm, &header, &data, &len, flags)) { in pem_bytes_read_bio_flags() 258 if (!PEM_do_header(&cipher, data, &len, cb, u)) in pem_bytes_read_bio_flags() 261 *pdata = data; in pem_bytes_read_bio_flags() 274 pem_free(data, flags, len); in pem_bytes_read_bio_flags() 319 unsigned char *p, *data = NULL; in PEM_ASN1_write_bio() local 347 data = OPENSSL_malloc((unsigned int)dsize + 20); in PEM_ASN1_write_bio() 348 if (data == NULL) { in PEM_ASN1_write_bio() 352 p = data; in PEM_ASN1_write_bio() 414 PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, pem_password_cb *callback, void *u) PEM_do_header() argument 591 PEM_write(FILE *fp, const char *name, const char *header, const unsigned char *data, long len) PEM_write() argument 608 PEM_write_bio(BIO *bp, const char *name, const char *header, const unsigned char *data, long len) PEM_write_bio() argument 671 PEM_read(FILE *fp, char **name, char **header, unsigned char **data, long *len) PEM_read() argument 808 get_header_and_data(BIO *bp, BIO **header, BIO **data, char *name, unsigned int flags) get_header_and_data() argument 918 PEM_read_bio_ex(BIO *bp, char **name_out, char **header, unsigned char **data, long *len_out, unsigned int flags) PEM_read_bio_ex() argument 1003 PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data, long *len) PEM_read_bio() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemFillUpdateCopyBufferTests.cpp | 100 ValidationData<T> data, in FillUpdateCopyBufferTestCase() 106 , m_validator (data, format) in FillUpdateCopyBufferTestCase() 213 deUint32 data[BUFFER_SIZE]; in iterate() local 215 data[ndx] = m_fillValue; in iterate() 216 vk.cmdUpdateBuffer(targetCmdBuffer, **dstBuffer, 0u, bufferSize, (const deUint32 *) &data); in iterate() 296 // Log out test data in iterate() 314 const ValidationDataVec4 data; in createFillUpdateCopyBufferFloatTests() member 359 DE_ASSERT(testData[ndx].data.positions[0].x() < MAX_POSITION); in createFillUpdateCopyBufferFloatTests() 360 DE_ASSERT(testData[ndx].data.positions[1].x() < MAX_POSITION); in createFillUpdateCopyBufferFloatTests() 361 DE_ASSERT(testData[ndx].data in createFillUpdateCopyBufferFloatTests() 97 FillUpdateCopyBufferTestCase(tcu::TestContext& testCtx, const std::string& name, deUint32 fillValue, ValidationData<T> data, CmdType cmdType, CmdBufferType cmdBufferType, vk::VkFormat format) FillUpdateCopyBufferTestCase() argument 387 ValidationDataVec4 data = createFillUpdateCopyBufferFloatTests() local 425 const ValidationDataIVec4 data; createFillUpdateCopyBufferIntegerTests() member 498 ValidationDataIVec4 data = createFillUpdateCopyBufferIntegerTests() local 533 const ValidationDataUVec4 data; createFillUpdateCopyBufferUnsignedTests() member 602 ValidationDataUVec4 data = createFillUpdateCopyBufferUnsignedTests() local [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | durchschlag.cc | 65 const uint8_t* data, const std::vector<Range>& ranges, size_t limit) { in createDictionary() 70 output.insert(output.end(), &data[r.start], &data[r.end]); in createDictionary() 86 MetaSlot* slots = map->data(); in buildCandidatesList() 172 TextIdx* data = candidates->data(); in rebuildCandidatesList() local 174 data[i] = 0; in rebuildCandidatesList() 178 MetaSlot* slots = map->data(); in rebuildCandidatesList() 261 const uint8_t* data = sample_data; in durchschlag_prepare() local 289 TextIdx v = data[ in durchschlag_prepare() 64 createDictionary( const uint8_t* data, const std::vector<Range>& ranges, size_t limit) createDictionary() argument 389 durchschlag_index(const std::vector<uint8_t>& data) durchschlag_index() argument 459 const uint8_t* data = sample_data; durchschlagGenerateExclusive() local 565 const uint8_t* data = sample_data; durchschlagGenerateCollaborative() local 656 uint8_t* data = sample_data; durchschlag_distill() local 698 uint8_t* data = sample_data; durchschlag_purify() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemFillUpdateCopyBufferTests.cpp | 100 ValidationData<T> data, in FillUpdateCopyBufferTestCase() 106 , m_validator (data, format) in FillUpdateCopyBufferTestCase() 213 deUint32 data[BUFFER_SIZE]; in iterate() local 215 data[ndx] = m_fillValue; in iterate() 216 vk.cmdUpdateBuffer(targetCmdBuffer, **dstBuffer, 0u, bufferSize, (const deUint32 *) &data); in iterate() 296 // Log out test data in iterate() 314 const ValidationDataVec4 data; in createFillUpdateCopyBufferFloatTests() member 359 DE_ASSERT(testData[ndx].data.positions[0].x() < MAX_POSITION); in createFillUpdateCopyBufferFloatTests() 360 DE_ASSERT(testData[ndx].data.positions[1].x() < MAX_POSITION); in createFillUpdateCopyBufferFloatTests() 361 DE_ASSERT(testData[ndx].data in createFillUpdateCopyBufferFloatTests() 97 FillUpdateCopyBufferTestCase(tcu::TestContext& testCtx, const std::string& name, deUint32 fillValue, ValidationData<T> data, CmdType cmdType, CmdBufferType cmdBufferType, vk::VkFormat format) FillUpdateCopyBufferTestCase() argument 387 ValidationDataVec4 data = createFillUpdateCopyBufferFloatTests() local 425 const ValidationDataIVec4 data; createFillUpdateCopyBufferIntegerTests() member 498 ValidationDataIVec4 data = createFillUpdateCopyBufferIntegerTests() local 533 const ValidationDataUVec4 data; createFillUpdateCopyBufferUnsignedTests() member 602 ValidationDataUVec4 data = createFillUpdateCopyBufferUnsignedTests() local [all...] |
/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_dsa_sign_test.cpp | 231 .data = IS_BIG_ENDIAN ? g_dsa2048PrivBigE : g_dsa2048PrivLittleE, .len = DSA2048_PRI_SIZE }; 233 .data = IS_BIG_ENDIAN ? g_dsa2048PubBigE : g_dsa2048PubLittleE, .len = DSA2048_PUB_SIZE }; 234 static HcfBigInteger p_BN = { .data = IS_BIG_ENDIAN ? g_dsa2048PBigE : g_dsa2048PLittleE, .len = DSA2048_P_SIZE }; 235 static HcfBigInteger q_BN = { .data = IS_BIG_ENDIAN ? g_dsa2048QBigE : g_dsa2048QLittleE, .len = DSA2048_Q_SIZE }; 236 static HcfBigInteger g_BN = { .data = IS_BIG_ENDIAN ? g_dsa2048GBigE : g_dsa2048GLittleE, .len = DSA2048_G_SIZE }; 533 .data = const_cast<uint8_t *>(reinterpret_cast<const uint8_t *>(g_signSrcMsg)), in HWTEST_F() 537 HcfBlob signData = { .data = nullptr, .len = 0 }; in HWTEST_F() 540 EXPECT_NE(signData.data, nullptr); in HWTEST_F() 555 HcfFree(signData.data); in HWTEST_F() 569 .data in HWTEST_F() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | main.c | 1131 static void mt7915_sta_rc_work(void *data, struct ieee80211_sta *sta) in mt7915_sta_rc_work() argument 1135 u32 *changed = data; in mt7915_sta_rc_work() 1234 /* This only applies to data frames while pushing traffic, in mt7915_sta_set_txpwr() 1387 u32 sset, u8 *data) in mt7915_get_et_strings() 1392 memcpy(data, mt7915_gstrings_stats, sizeof(mt7915_gstrings_stats)); in mt7915_get_et_strings() 1393 data += sizeof(mt7915_gstrings_stats); in mt7915_get_et_strings() 1394 page_pool_ethtool_stats_get_strings(data); in mt7915_get_et_strings() 1421 struct ethtool_stats *stats, u64 *data) in mt7915_get_et_stats() 1428 .data = data, in mt7915_get_et_stats() 1385 mt7915_get_et_strings(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 sset, u8 *data) mt7915_get_et_strings() argument 1419 mt7915_get_et_stats(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ethtool_stats *stats, u64 *data) mt7915_get_et_stats() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger.c | 344 /* data available on socket, or listen socket received a connect */ 367 /* only queue to workqueue if there is data we want to write, in ceph_sock_write_space() 369 * more data. clear SOCK_NOSPACE so that ceph_sock_write_space() in ceph_sock_write_space() 720 * For a bio data item, a piece is whatever remains of the next 727 struct ceph_msg_data *data = cursor->data; in ceph_msg_data_bio_cursor_init() local 730 cursor->resid = min_t(size_t, length, data->bio_length); in ceph_msg_data_bio_cursor_init() 731 *it = data->bio_pos; in ceph_msg_data_bio_cursor_init() 762 return false; /* no more data */ in ceph_msg_data_bio_advance() 783 struct ceph_msg_data *data in ceph_msg_data_bvecs_cursor_init() local 834 struct ceph_msg_data *data = cursor->data; ceph_msg_data_pages_cursor_init() local 855 struct ceph_msg_data *data = cursor->data; ceph_msg_data_pages_next() local 899 struct ceph_msg_data *data = cursor->data; ceph_msg_data_pagelist_cursor_init() local 923 struct ceph_msg_data *data = cursor->data; ceph_msg_data_pagelist_next() local 943 struct ceph_msg_data *data = cursor->data; ceph_msg_data_pagelist_advance() local 975 struct ceph_msg_data *data = cursor->data; ceph_msg_data_iter_cursor_init() local 1873 ceph_msg_data_destroy(struct ceph_msg_data *data) ceph_msg_data_destroy() argument 1886 struct ceph_msg_data *data; ceph_msg_data_add_pages() local 1905 struct ceph_msg_data *data; ceph_msg_data_add_pagelist() local 1923 struct ceph_msg_data *data; ceph_msg_data_add_bio() local 1938 struct ceph_msg_data *data; ceph_msg_data_add_bvecs() local 1951 struct ceph_msg_data *data; ceph_msg_data_add_iter() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wps_hostapd.c | 55 struct wps_for_each_data *data = ctx; in wps_for_each() local 64 if (hapd != data->calling_hapd && in wps_for_each() 66 data->calling_hapd->conf->wps_independent)) in wps_for_each() 69 ret = data->func(hapd, data->ctx); in wps_for_each() 83 struct wps_for_each_data data; in hostapd_wps_for_each() local 84 data.func = func; in hostapd_wps_for_each() 85 data.ctx = ctx; in hostapd_wps_for_each() 86 data.calling_hapd = hapd; in hostapd_wps_for_each() 89 return wps_for_each(iface, &data); in hostapd_wps_for_each() 221 struct wps_stop_reg_data *data = ctx; wps_stop_registrar() local 235 struct wps_stop_reg_data data; hostapd_wps_reg_success_cb() local 740 struct wps_event_pwd_auth_fail *data = ctx; wps_pwd_auth_fail() local 790 hostapd_pwd_auth_fail(struct hostapd_data *hapd, struct wps_event_pwd_auth_fail *data) hostapd_pwd_auth_fail() argument 887 hostapd_wps_event_cb(void *ctx, enum wps_event event, union wps_event_data *data) hostapd_wps_event_cb() argument 1526 struct wps_add_pin_data *data = ctx; wps_add_pin() local 1544 struct wps_add_pin_data data; hostapd_wps_add_pin() local 1573 struct wps_button_pushed_ctx *data = ctx; wps_button_pushed() local 1606 struct wps_cancel_ctx *data = ctx; wps_cancel() local 1857 struct wps_ap_pin_data *data = ctx; wps_ap_pin_set() local 1875 struct wps_ap_pin_data data; hostapd_wps_ap_pin_random() local 1895 struct wps_ap_pin_data data; hostapd_wps_ap_pin_set() local 1987 struct wps_nfc_password_token_data *data = ctx; wps_add_nfc_password_token() local 2004 struct wps_nfc_password_token_data data; hostapd_wps_add_nfc_password_token() local 2035 hostapd_wps_nfc_tag_read(struct hostapd_data *hapd, const struct wpabuf *data) hostapd_wps_nfc_tag_read() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | wps_hostapd.c | 55 struct wps_for_each_data *data = ctx; in wps_for_each() local 64 if (hapd != data->calling_hapd && in wps_for_each() 66 data->calling_hapd->conf->wps_independent)) in wps_for_each() 69 ret = data->func(hapd, data->ctx); in wps_for_each() 83 struct wps_for_each_data data; in hostapd_wps_for_each() local 84 data.func = func; in hostapd_wps_for_each() 85 data.ctx = ctx; in hostapd_wps_for_each() 86 data.calling_hapd = hapd; in hostapd_wps_for_each() 89 return wps_for_each(iface, &data); in hostapd_wps_for_each() 219 struct wps_stop_reg_data *data = ctx; wps_stop_registrar() local 233 struct wps_stop_reg_data data; hostapd_wps_reg_success_cb() local 686 struct wps_event_pwd_auth_fail *data = ctx; wps_pwd_auth_fail() local 736 hostapd_pwd_auth_fail(struct hostapd_data *hapd, struct wps_event_pwd_auth_fail *data) hostapd_pwd_auth_fail() argument 833 hostapd_wps_event_cb(void *ctx, enum wps_event event, union wps_event_data *data) hostapd_wps_event_cb() argument 1342 struct wps_add_pin_data *data = ctx; wps_add_pin() local 1360 struct wps_add_pin_data data; hostapd_wps_add_pin() local 1389 struct wps_button_pushed_ctx *data = ctx; wps_button_pushed() local 1422 struct wps_cancel_ctx *data = ctx; wps_cancel() local 1672 struct wps_ap_pin_data *data = ctx; wps_ap_pin_set() local 1690 struct wps_ap_pin_data data; hostapd_wps_ap_pin_random() local 1710 struct wps_ap_pin_data data; hostapd_wps_ap_pin_set() local 1793 struct wps_nfc_password_token_data *data = ctx; wps_add_nfc_password_token() local 1810 struct wps_nfc_password_token_data data; hostapd_wps_add_nfc_password_token() local 1841 hostapd_wps_nfc_tag_read(struct hostapd_data *hapd, const struct wpabuf *data) hostapd_wps_nfc_tag_read() argument [all...] |
/base/msdp/device_status/intention/cooperate/server/src/ |
H A D | cooperate_server.cpp | 45 int32_t CooperateServer::Enable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Enable() argument 53 if (!param.Unmarshalling(data)) { in Enable() 67 int32_t CooperateServer::Disable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Disable() argument 75 if (!param.Unmarshalling(data)) { in Disable() 93 int32_t CooperateServer::Start(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Start() argument 101 if (!param.Unmarshalling(data)) { in Start() 111 int32_t CooperateServer::Stop(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Stop() argument 119 if (!param.Unmarshalling(data)) { in Stop() 129 int32_t CooperateServer::AddWatch(CallingContext &context, uint32_t id, MessageParcel &data, MessageParcel &reply) in AddWatch() argument 148 if (!param.Unmarshalling(data)) { in AddWatch() 161 RemoveWatch(CallingContext &context, uint32_t id, MessageParcel &data, MessageParcel &reply) RemoveWatch() argument 193 SetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessageParcel &reply) SetParam() argument 216 GetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessageParcel &reply) GetParam() argument 271 Control(CallingContext &context, uint32_t id, MessageParcel &data, MessageParcel &reply) Control() argument [all...] |
/base/msdp/device_status/intention/services/intention_service/src/ |
H A D | intention_service.cpp | 51 int32_t IntentionService::Enable(Intention intention, MessageParcel &data, MessageParcel &reply) in Enable() argument 64 return plugin->Enable(context, data, reply); in Enable() 72 int32_t IntentionService::Disable(Intention intention, MessageParcel &data, MessageParcel &reply) in Disable() argument 85 return plugin->Disable(context, data, reply); in Disable() 93 int32_t IntentionService::Start(Intention intention, MessageParcel &data, MessageParcel &reply) in Start() argument 106 return plugin->Start(context, data, reply); in Start() 114 int32_t IntentionService::Stop(Intention intention, MessageParcel &data, MessageParcel &reply) in Stop() argument 127 return plugin->Stop(context, data, reply); in Stop() 135 int32_t IntentionService::AddWatch(Intention intention, uint32_t id, MessageParcel &data, MessageParcel &reply) in AddWatch() argument 150 return plugin->AddWatch(context, id, data, repl in AddWatch() 159 RemoveWatch(Intention intention, uint32_t id, MessageParcel &data, MessageParcel &reply) RemoveWatch() argument 180 SetParam(Intention intention, uint32_t id, MessageParcel &data, MessageParcel &reply) SetParam() argument 201 GetParam(Intention intention, uint32_t id, MessageParcel &data, MessageParcel &reply) GetParam() argument 222 Control(Intention intention, uint32_t id, MessageParcel &data, MessageParcel &reply) Control() argument [all...] |
/base/msdp/device_status/intention/ipc/tunnel/src/ |
H A D | tunnel_client.cpp | 45 int32_t TunnelClient::Enable(Intention intention, ParamBase &data, ParamBase &reply) in Enable() argument 53 if (!data.Marshalling(dataParcel)) { in Enable() 77 int32_t TunnelClient::Disable(Intention intention, ParamBase &data, ParamBase &reply) in Disable() argument 85 if (!data.Marshalling(dataParcel)) { in Disable() 109 int32_t TunnelClient::Start(Intention intention, ParamBase &data, ParamBase &reply) in Start() argument 117 if (!data.Marshalling(dataParcel)) { in Start() 141 int32_t TunnelClient::Stop(Intention intention, ParamBase &data, ParamBase &reply) in Stop() argument 149 if (!data.Marshalling(dataParcel)) { in Stop() 173 int32_t TunnelClient::AddWatch(Intention intention, uint32_t id, ParamBase &data, ParamBase &reply) in AddWatch() argument 181 if (!data in AddWatch() 205 RemoveWatch(Intention intention, uint32_t id, ParamBase &data, ParamBase &reply) RemoveWatch() argument 237 SetParam(Intention intention, uint32_t id, ParamBase &data, ParamBase &reply) SetParam() argument 269 GetParam(Intention intention, uint32_t id, ParamBase &data, ParamBase &reply) GetParam() argument 301 Control(Intention intention, uint32_t id, ParamBase &data, ParamBase &reply) Control() argument [all...] |
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
H A D | dcm_attest_utils.c | 73 uint8_t *buf = out->data + ASN_1_MAX_HEADER_LEN;
in DcmInsertClaim() 75 (void)memcpy_s(buf, out->size - ASN_1_MAX_HEADER_LEN - ENCODED_SEC_LEVEL_SIZE, oid->data, oid->size);
in DcmInsertClaim() 78 uint32_t offset = buf - out->data;
in DcmInsertClaim() 84 struct HksAsn1Blob seq = { ASN_1_TAG_TYPE_SEQ, seqSize, out->data + ASN_1_MAX_HEADER_LEN };
in DcmInsertClaim() 123 uint8_t *p = key->data;
in GetEcPublicKey() 140 buf.data += ASN_1_MAX_HEADER_LEN;
in ConstructKeySeq() 152 uint32_t seqSize = buf.data - out->data - ASN_1_MAX_HEADER_LEN;
in ConstructKeySeq() 153 struct HksAsn1Blob seq = { ASN_1_TAG_TYPE_SEQ, seqSize, out->data + ASN_1_MAX_HEADER_LEN };
in ConstructKeySeq() 170 tmp.data in GetRsaPublicKey() [all...] |
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_dh_helper.c | 71 if (memcpy_s(key->data, key->size, rawMaterial, rawMaterialLen) != 0) { in DhSaveKeyMaterial() 108 const struct KeyMaterialDh *keyMaterial = (struct KeyMaterialDh *)(key->data); in InitDhStruct() 125 BIGNUM *pubKey = BN_bin2bn(key->data + offset, keyMaterial->pubKeySize, NULL); in InitDhStruct() 127 BIGNUM *privKey = BN_bin2bn(key->data + offset, keyMaterial->priKeySize, NULL); in InitDhStruct() 157 struct KeyMaterialDh *pubKeyMaterial = (struct KeyMaterialDh *)pubKey->data; in DhAgreeKey() 158 BIGNUM *pub = BN_bin2bn(pubKey->data + sizeof(struct KeyMaterialDh), pubKeyMaterial->pubKeySize, NULL); in DhAgreeKey() 181 if (memcpy_s(sharedKey->data, sharedKey->size, computeKey, HKS_KEY_BYTES(keyLen)) != 0) { in DhAgreeKey() 198 struct KeyMaterialDh *keyMaterial = (struct KeyMaterialDh *)input->data; in DhGetDhPubKey() 206 if (memcpy_s(output->data, output->size, input->data, sizeo in DhGetDhPubKey() 223 uint8_t *data = x509Key->data; DhX509ToHksBlob() local [all...] |
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/ |
H A D | vibrator_driver.c | 123 static int32_t StartOnce(struct HdfSBuf *data, struct HdfSBuf *reply) in StartOnce() argument 131 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(data, HDF_FAILURE); in StartOnce() 134 if (!HdfSbufReadUint32(data, &duration)) { in StartOnce() 162 static int32_t StartEffect(struct HdfSBuf *data, struct HdfSBuf *reply) in StartEffect() argument 170 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(data, HDF_FAILURE); in StartEffect() 173 effect = HdfSbufReadString(data); in StartEffect() 199 static int32_t Stop(struct HdfSBuf *data, struct HdfSBuf *reply) in Stop() argument 206 CHECK_VIBRATOR_NULL_PTR_RETURN_VALUE(data, HDF_FAILURE); in Stop() 209 if (!HdfSbufReadInt32(data, &mode)) { in Stop() 237 static int32_t GetVibratorInfo(struct HdfSBuf *data, struc argument 254 EnableModulationParameter(struct HdfSBuf *data, struct HdfSBuf *reply) EnableModulationParameter() argument 319 DispatchVibrator(struct HdfDeviceIoClient *client, int32_t cmd, struct HdfSBuf *data, struct HdfSBuf *reply) DispatchVibrator() argument [all...] |
/drivers/peripheral/nfc/test/unittest/nfc_impl_test/ |
H A D | nfc_impl_test.cpp | 79 std::vector<uint8_t> data; in HWTEST_F() local 82 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 93 std::vector<uint8_t> data = {0x01, 0x02, 0x03}; in HWTEST_F() local 96 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 120 std::vector<uint8_t> data; in HWTEST_F() local 123 int ret = nfcImpl->Write(data, status); in HWTEST_F() 134 std::vector<uint8_t> data = {0x001, 0x002, 0x003}; in HWTEST_F() local 137 int ret = nfcImpl->Write(data, status); in HWTEST_F() 188 std::vector<uint8_t> data; in HWTEST_F() local 191 int ret = nfcImpl->Ioctl(cmd, data, statu in HWTEST_F() 203 std::vector<uint8_t> data = {0x01, 0x02, 0x03}; HWTEST_F() local 218 std::vector<uint8_t> data; HWTEST_F() local 234 std::vector<uint8_t> data = {0X001}; HWTEST_F() local 250 std::vector<uint8_t> data = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, HWTEST_F() local [all...] |
/drivers/peripheral/nfc/test/unittest/nfc_impl_mock_test/ |
H A D | nfc_impl_mock_test.cpp | 78 std::vector<uint8_t> data; in HWTEST_F() local 81 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 92 std::vector<uint8_t> data = {0x01, 0x02, 0x03}; in HWTEST_F() local 95 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 119 std::vector<uint8_t> data; in HWTEST_F() local 122 int ret = nfcImpl->Write(data, status); in HWTEST_F() 133 std::vector<uint8_t> data = {0x001, 0x002, 0x003}; in HWTEST_F() local 136 int ret = nfcImpl->Write(data, status); in HWTEST_F() 187 std::vector<uint8_t> data; in HWTEST_F() local 190 int ret = nfcImpl->Ioctl(cmd, data, statu in HWTEST_F() 202 std::vector<uint8_t> data = {0x01, 0x02, 0x03}; HWTEST_F() local 217 std::vector<uint8_t> data; HWTEST_F() local 233 std::vector<uint8_t> data = {0X001}; HWTEST_F() local 249 std::vector<uint8_t> data = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-hlwd.c | 109 static void hlwd_gpio_irq_ack(struct irq_data *data) in hlwd_gpio_irq_ack() argument 112 gpiochip_get_data(irq_data_get_irq_chip_data(data)); in hlwd_gpio_irq_ack() 114 iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG); in hlwd_gpio_irq_ack() 117 static void hlwd_gpio_irq_mask(struct irq_data *data) in hlwd_gpio_irq_mask() argument 120 gpiochip_get_data(irq_data_get_irq_chip_data(data)); in hlwd_gpio_irq_mask() 126 mask &= ~BIT(data->hwirq); in hlwd_gpio_irq_mask() 131 static void hlwd_gpio_irq_unmask(struct irq_data *data) in hlwd_gpio_irq_unmask() argument 134 gpiochip_get_data(irq_data_get_irq_chip_data(data)); in hlwd_gpio_irq_unmask() 140 mask |= BIT(data->hwirq); in hlwd_gpio_irq_unmask() 145 static void hlwd_gpio_irq_enable(struct irq_data *data) in hlwd_gpio_irq_enable() argument 172 hlwd_gpio_irq_set_type(struct irq_data *data, unsigned int flow_type) hlwd_gpio_irq_set_type() argument [all...] |
H A D | gpio-pcf857x.c | 81 int (*write)(struct i2c_client *client, unsigned data); 89 static int i2c_write_le8(struct i2c_client *client, unsigned data) in i2c_write_le8() argument 91 return i2c_smbus_write_byte(client, data); in i2c_write_le8() 169 static irqreturn_t pcf857x_irq(int irq, void *data) in pcf857x_irq() argument 171 struct pcf857x *gpio = data; in pcf857x_irq() 194 static void noop(struct irq_data *data) { } in noop() argument 196 static int pcf857x_irq_set_wake(struct irq_data *data, unsigned int on) in pcf857x_irq_set_wake() argument 198 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_set_wake() 203 static void pcf857x_irq_enable(struct irq_data *data) in pcf857x_irq_enable() argument 205 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_enable() 210 pcf857x_irq_disable(struct irq_data *data) pcf857x_irq_disable() argument 217 pcf857x_irq_bus_lock(struct irq_data *data) pcf857x_irq_bus_lock() argument 224 pcf857x_irq_bus_sync_unlock(struct irq_data *data) pcf857x_irq_bus_sync_unlock() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | pci-xlp.c | 66 u32 data; in pci_cfg_read_32bit() local 88 data = *cfgaddr; in pci_cfg_read_32bit() 89 return data; in pci_cfg_read_32bit() 93 int where, u32 data) in pci_cfg_write_32bit() 99 *cfgaddr = data; in pci_cfg_write_32bit() 105 u32 data; in nlm_pcibios_read() local 112 data = pci_cfg_read_32bit(bus, devfn, where); in nlm_pcibios_read() 115 *val = (data >> ((where & 3) << 3)) & 0xff; in nlm_pcibios_read() 117 *val = (data >> ((where & 3) << 3)) & 0xffff; in nlm_pcibios_read() 119 *val = data; in nlm_pcibios_read() 92 pci_cfg_write_32bit(struct pci_bus *bus, unsigned int devfn, int where, u32 data) pci_cfg_write_32bit() argument 128 u32 data; nlm_pcibios_write() local [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | qoriq-cpufreq.c | 34 * struct soc_data - SoC specific data 163 struct cpu_data *data; in qoriq_cpufreq_cpu_init() local 171 data = kzalloc(sizeof(*data), GFP_KERNEL); in qoriq_cpufreq_cpu_init() 172 if (!data) in qoriq_cpufreq_cpu_init() 184 data->pclk = kcalloc(count, sizeof(struct clk *), GFP_KERNEL); in qoriq_cpufreq_cpu_init() 185 if (!data->pclk) in qoriq_cpufreq_cpu_init() 194 data->pclk[i] = clk; in qoriq_cpufreq_cpu_init() 203 data->table = table; in qoriq_cpufreq_cpu_init() 207 policy->driver_data = data; in qoriq_cpufreq_cpu_init() 230 struct cpu_data *data = policy->driver_data; qoriq_cpufreq_cpu_exit() local 244 struct cpu_data *data = policy->driver_data; qoriq_cpufreq_target() local [all...] |