/third_party/alsa-lib/src/control/ |
H A D | control_remap.c | 178 snd_ctl_remap_id_t *rid; in remap_find_id_child() local 181 rid = priv->remap; in remap_find_id_child() 182 for (count = priv->remap_items; count > 0; count--, rid++) in remap_find_id_child() 183 if (id->numid == rid->id_child.numid) in remap_find_id_child() 184 return rid; in remap_find_id_child() 186 rid = priv->remap; in remap_find_id_child() 187 for (count = priv->remap_items; count > 0; count--, rid++) in remap_find_id_child() 188 if (snd_ctl_elem_id_compare_set(id, &rid->id_child) == 0) in remap_find_id_child() 189 return rid; in remap_find_id_child() 196 snd_ctl_remap_id_t *rid; in remap_find_id_app() local 242 snd_ctl_remap_id_t *rid; remap_id_to_child() local 270 remap_id_to_app(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id, snd_ctl_remap_id_t *rid, int err) remap_id_to_app() argument 348 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_list() local 465 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_info() local 528 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_read() local 603 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_write() local 620 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_lock() local 634 snd_ctl_remap_id_t *rid; snd_ctl_remap_elem_unlock() local 841 snd_ctl_remap_id_t *rid; snd_ctl_remap_read() local 915 snd_ctl_remap_id_t *rid; add_to_remap() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_kari.c | 119 CMS_KeyAgreeRecipientIdentifier *rid = rek->rid; in CMS_RecipientEncryptedKey_get0_id() local 121 if (rid->type == CMS_REK_ISSUER_SERIAL) { in CMS_RecipientEncryptedKey_get0_id() 123 *issuer = rid->d.issuerAndSerialNumber->issuer; in CMS_RecipientEncryptedKey_get0_id() 125 *sno = rid->d.issuerAndSerialNumber->serialNumber; in CMS_RecipientEncryptedKey_get0_id() 132 } else if (rid->type == CMS_REK_KEYIDENTIFIER) { in CMS_RecipientEncryptedKey_get0_id() 134 *keyid = rid->d.rKeyId->subjectKeyIdentifier; in CMS_RecipientEncryptedKey_get0_id() 136 *tm = rid->d.rKeyId->date; in CMS_RecipientEncryptedKey_get0_id() 138 *other = rid->d.rKeyId->other; in CMS_RecipientEncryptedKey_get0_id() 151 CMS_KeyAgreeRecipientIdentifier *rid in CMS_RecipientEncryptedKey_cert_cmp() local [all...] |
/third_party/openssl/crypto/cms/ |
H A D | cms_kari.c | 119 CMS_KeyAgreeRecipientIdentifier *rid = rek->rid; in CMS_RecipientEncryptedKey_get0_id() local 121 if (rid->type == CMS_REK_ISSUER_SERIAL) { in CMS_RecipientEncryptedKey_get0_id() 123 *issuer = rid->d.issuerAndSerialNumber->issuer; in CMS_RecipientEncryptedKey_get0_id() 125 *sno = rid->d.issuerAndSerialNumber->serialNumber; in CMS_RecipientEncryptedKey_get0_id() 132 } else if (rid->type == CMS_REK_KEYIDENTIFIER) { in CMS_RecipientEncryptedKey_get0_id() 134 *keyid = rid->d.rKeyId->subjectKeyIdentifier; in CMS_RecipientEncryptedKey_get0_id() 136 *tm = rid->d.rKeyId->date; in CMS_RecipientEncryptedKey_get0_id() 138 *other = rid->d.rKeyId->other; in CMS_RecipientEncryptedKey_get0_id() 151 CMS_KeyAgreeRecipientIdentifier *rid in CMS_RecipientEncryptedKey_cert_cmp() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ocsp/ |
H A D | ocsp_cl.c | 187 const OCSP_RESPID *rid = &bs->tbsResponseData.responderId; in OCSP_resp_get0_id() local 189 if (rid->type == V_OCSP_RESPID_NAME) { in OCSP_resp_get0_id() 190 *pname = rid->value.byName; in OCSP_resp_get0_id() 192 } else if (rid->type == V_OCSP_RESPID_KEY) { in OCSP_resp_get0_id() 193 *pid = rid->value.byKey; in OCSP_resp_get0_id() 205 const OCSP_RESPID *rid = &bs->tbsResponseData.responderId; in OCSP_resp_get1_id() local 207 if (rid->type == V_OCSP_RESPID_NAME) { in OCSP_resp_get1_id() 208 *pname = X509_NAME_dup(rid->value.byName); in OCSP_resp_get1_id() 210 } else if (rid->type == V_OCSP_RESPID_KEY) { in OCSP_resp_get1_id() 211 *pid = ASN1_OCTET_STRING_dup(rid in OCSP_resp_get1_id() [all...] |
H A D | ocsp_prn.c | 138 OCSP_RESPID *rid = NULL; in OCSP_RESPONSE_print() local 171 rid = &rd->responderId; in OCSP_RESPONSE_print() 172 switch (rid->type) { in OCSP_RESPONSE_print() 174 X509_NAME_print_ex(bp, rid->value.byName, 0, XN_FLAG_ONELINE); in OCSP_RESPONSE_print() 177 i2a_ASN1_STRING(bp, rid->value.byKey, 0); in OCSP_RESPONSE_print()
|
H A D | ocsp_srv.c | 171 OCSP_RESPID *rid; in OCSP_basic_sign_ctx() local 191 rid = &brsp->tbsResponseData.responderId; in OCSP_basic_sign_ctx() 193 if (!OCSP_RESPID_set_by_key(rid, signer)) in OCSP_basic_sign_ctx() 195 } else if (!OCSP_RESPID_set_by_name(rid, signer)) { in OCSP_basic_sign_ctx()
|
/third_party/openssl/crypto/ocsp/ |
H A D | ocsp_cl.c | 187 const OCSP_RESPID *rid = &bs->tbsResponseData.responderId; in OCSP_resp_get0_id() local 189 if (rid->type == V_OCSP_RESPID_NAME) { in OCSP_resp_get0_id() 190 *pname = rid->value.byName; in OCSP_resp_get0_id() 192 } else if (rid->type == V_OCSP_RESPID_KEY) { in OCSP_resp_get0_id() 193 *pid = rid->value.byKey; in OCSP_resp_get0_id() 205 const OCSP_RESPID *rid = &bs->tbsResponseData.responderId; in OCSP_resp_get1_id() local 207 if (rid->type == V_OCSP_RESPID_NAME) { in OCSP_resp_get1_id() 208 *pname = X509_NAME_dup(rid->value.byName); in OCSP_resp_get1_id() 210 } else if (rid->type == V_OCSP_RESPID_KEY) { in OCSP_resp_get1_id() 211 *pid = ASN1_OCTET_STRING_dup(rid in OCSP_resp_get1_id() [all...] |
H A D | ocsp_prn.c | 138 OCSP_RESPID *rid = NULL; in OCSP_RESPONSE_print() local 171 rid = &rd->responderId; in OCSP_RESPONSE_print() 172 switch (rid->type) { in OCSP_RESPONSE_print() 174 X509_NAME_print_ex(bp, rid->value.byName, 0, XN_FLAG_ONELINE); in OCSP_RESPONSE_print() 177 i2a_ASN1_STRING(bp, rid->value.byKey, 0); in OCSP_RESPONSE_print()
|
H A D | ocsp_srv.c | 171 OCSP_RESPID *rid; in OCSP_basic_sign_ctx() local 191 rid = &brsp->tbsResponseData.responderId; in OCSP_basic_sign_ctx() 193 if (!OCSP_RESPID_set_by_key(rid, signer)) in OCSP_basic_sign_ctx() 195 } else if (!OCSP_RESPID_set_by_name(rid, signer)) { in OCSP_basic_sign_ctx()
|
/third_party/libcoap/src/oscore/ |
H A D | oscore_context.c | 600 oscore_add_recipient(oscore_ctx_t *osc_ctx, coap_bin_const_t *rid, in oscore_add_recipient() argument 605 if (rid->length > 7) { in oscore_add_recipient() 611 if (rcp_ctx->recipient_id->length == rid->length && in oscore_add_recipient() 612 memcmp(rcp_ctx->recipient_id->s, rid->s, rid->length) == 0) { in oscore_add_recipient() 613 coap_delete_bin_const(rid); in oscore_add_recipient() 629 rid, in oscore_add_recipient() 634 rid, in oscore_add_recipient() 643 recipient_ctx->recipient_id = rid; in oscore_add_recipient() 654 oscore_delete_recipient(oscore_ctx_t *osc_ctx, coap_bin_const_t *rid) { in oscore_delete_recipient() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_client.c | 250 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in poll_for_response() argument 260 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL) in poll_for_response() 278 pollRep = ossl_cmp_pollrepcontent_get0_pollrep(prc, rid); in poll_for_response() 551 * |rid| must be OSSL_CMP_CERTREQID_NONE if not available, namely for p10cr 557 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in cert_response() argument 580 crep = ossl_cmp_certrepmessage_get0_certresponse(crepmsg, rid); in cert_response() 585 if (rid == OSSL_CMP_CERTREQID_NONE) { /* used for OSSL_CMP_PKIBODY_P10CR */ in cert_response() 586 rid = ossl_cmp_asn1_get_int(crep->certReqId); in cert_response() 587 if (rid < OSSL_CMP_CERTREQID_NONE) { in cert_response() 596 if ((ret = poll_for_response(ctx, sleep, rid, res in cert_response() 693 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID; OSSL_CMP_try_certreq() local 735 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID; OSSL_CMP_exec_certreq() local [all...] |
H A D | cmp_msg.c | 272 OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) in OSSL_CMP_CTX_setup_CRM() argument 301 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM() 957 static int suitable_rid(const ASN1_INTEGER *certReqId, int rid) in suitable_rid() argument 961 if (rid == OSSL_CMP_CERTREQID_NONE) in suitable_rid() 970 return rid == trid; in suitable_rid() 980 int rid) in ossl_cmp_pollrepcontent_get0_pollrep() 990 if (suitable_rid(pollRep->certReqId, rid)) in ossl_cmp_pollrepcontent_get0_pollrep() 995 "expected certReqId = %d", rid); in ossl_cmp_pollrepcontent_get0_pollrep() 1006 int rid) in ossl_cmp_certrepmessage_get0_certresponse() 1016 if (suitable_rid(crep->certReqId, rid)) in ossl_cmp_certrepmessage_get0_certresponse() 979 ossl_cmp_pollrepcontent_get0_pollrep(const OSSL_CMP_POLLREPCONTENT *prc, int rid) ossl_cmp_pollrepcontent_get0_pollrep() argument 1005 ossl_cmp_certrepmessage_get0_certresponse(const OSSL_CMP_CERTREPMESSAGE *crm, int rid) ossl_cmp_certrepmessage_get0_certresponse() argument [all...] |
/third_party/openssl/crypto/cmp/ |
H A D | cmp_client.c | 253 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in poll_for_response() argument 263 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL) in poll_for_response() 281 pollRep = ossl_cmp_pollrepcontent_get0_pollrep(prc, rid); in poll_for_response() 554 * |rid| must be OSSL_CMP_CERTREQID_NONE if not available, namely for p10cr 560 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in cert_response() argument 583 crep = ossl_cmp_certrepmessage_get0_certresponse(crepmsg, rid); in cert_response() 588 if (rid == OSSL_CMP_CERTREQID_NONE) { /* used for OSSL_CMP_PKIBODY_P10CR */ in cert_response() 589 rid = ossl_cmp_asn1_get_int(crep->certReqId); in cert_response() 590 if (rid != OSSL_CMP_CERTREQID_NONE) { in cert_response() 599 if ((ret = poll_for_response(ctx, sleep, rid, res in cert_response() 696 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID; OSSL_CMP_try_certreq() local 738 int rid = is_p10 ? OSSL_CMP_CERTREQID_NONE : OSSL_CMP_CERTREQID; OSSL_CMP_exec_certreq() local [all...] |
H A D | cmp_msg.c | 272 OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) in OSSL_CMP_CTX_setup_CRM() argument 301 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM() 957 static int suitable_rid(const ASN1_INTEGER *certReqId, int rid) in suitable_rid() argument 961 if (rid == OSSL_CMP_CERTREQID_NONE) in suitable_rid() 970 return rid == trid; in suitable_rid() 980 int rid) in ossl_cmp_pollrepcontent_get0_pollrep() 990 if (suitable_rid(pollRep->certReqId, rid)) in ossl_cmp_pollrepcontent_get0_pollrep() 995 "expected certReqId = %d", rid); in ossl_cmp_pollrepcontent_get0_pollrep() 1006 int rid) in ossl_cmp_certrepmessage_get0_certresponse() 1016 if (suitable_rid(crep->certReqId, rid)) in ossl_cmp_certrepmessage_get0_certresponse() 979 ossl_cmp_pollrepcontent_get0_pollrep(const OSSL_CMP_POLLREPCONTENT *prc, int rid) ossl_cmp_pollrepcontent_get0_pollrep() argument 1005 ossl_cmp_certrepmessage_get0_certresponse(const OSSL_CMP_CERTREPMESSAGE *crm, int rid) ossl_cmp_certrepmessage_get0_certresponse() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | inline_pass.cpp | 240 const uint32_t rid = sb_inst->result_id(); in CloneSameBlockOps() local 245 get_decoration_mgr()->CloneDecorations(rid, nid); in CloneSameBlockOps() 247 (*postCallSB)[rid] = nid; in CloneSameBlockOps() 346 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction() local 347 if (rid != 0) { in InlineSingleInstruction() 348 const auto mapItr = callee2caller.find(rid); in InlineSingleInstruction() 354 get_decoration_mgr()->CloneDecorations(rid, nid); in InlineSingleInstruction() 481 const uint32_t rid = cp_inst->result_id(); in MoveCallerInstsAfterFunctionCall() local 482 (*postCallSB)[rid] = rid; in MoveCallerInstsAfterFunctionCall() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | inline_pass.cpp | 240 const uint32_t rid = sb_inst->result_id(); in CloneSameBlockOps() local 245 get_decoration_mgr()->CloneDecorations(rid, nid); in CloneSameBlockOps() 247 (*postCallSB)[rid] = nid; in CloneSameBlockOps() 346 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction() local 347 if (rid != 0) { in InlineSingleInstruction() 348 const auto mapItr = callee2caller.find(rid); in InlineSingleInstruction() 354 get_decoration_mgr()->CloneDecorations(rid, nid); in InlineSingleInstruction() 481 const uint32_t rid = cp_inst->result_id(); in MoveCallerInstsAfterFunctionCall() local 482 (*postCallSB)[rid] = rid; in MoveCallerInstsAfterFunctionCall() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | inline_pass.cpp | 242 const uint32_t rid = sb_inst->result_id(); in CloneSameBlockOps() local 247 get_decoration_mgr()->CloneDecorations(rid, nid); in CloneSameBlockOps() 249 (*postCallSB)[rid] = nid; in CloneSameBlockOps() 349 const uint32_t rid = cp_inst->result_id(); in InlineSingleInstruction() local 350 if (rid != 0) { in InlineSingleInstruction() 351 const auto mapItr = callee2caller.find(rid); in InlineSingleInstruction() 357 get_decoration_mgr()->CloneDecorations(rid, nid); in InlineSingleInstruction() 485 const uint32_t rid = cp_inst->result_id(); in MoveCallerInstsAfterFunctionCall() local 486 (*postCallSB)[rid] = rid; in MoveCallerInstsAfterFunctionCall() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | tls_openssl_ocsp.c | 269 static char * responderid_str(ResponderID *rid) in responderid_str() argument 277 switch (rid->type) { in responderid_str() 279 X509_NAME_print_ex(out, rid->value.byName, 0, XN_FLAG_ONELINE); in responderid_str() 282 i2a_ASN1_STRING(out, rid->value.byKey, V_ASN1_OCTET_STRING); in responderid_str() 460 static X509 * ocsp_find_signer(STACK_OF(X509) *certs, ResponderID *rid) in STACK_OF() 465 if (rid->type == 0) { in STACK_OF() 467 return X509_find_by_subject(certs, rid->value.byName); in STACK_OF() 471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in STACK_OF() 477 if (os_memcmp(rid->value.byKey->data, hash, in STACK_OF()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | tls_openssl_ocsp.c | 269 static char * responderid_str(ResponderID *rid) in responderid_str() argument 277 switch (rid->type) { in responderid_str() 279 X509_NAME_print_ex(out, rid->value.byName, 0, XN_FLAG_ONELINE); in responderid_str() 282 i2a_ASN1_STRING(out, rid->value.byKey, V_ASN1_OCTET_STRING); in responderid_str() 460 static X509 * ocsp_find_signer(STACK_OF(X509) *certs, ResponderID *rid) in STACK_OF() 465 if (rid->type == 0) { in STACK_OF() 467 return X509_find_by_subject(certs, rid->value.byName); in STACK_OF() 471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in STACK_OF() 477 if (os_memcmp(rid->value.byKey->data, hash, in STACK_OF()
|
/third_party/FreeBSD/sys/arm/arm/ |
H A D | nexus.c | 170 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource() argument 175 if (dc == NULL || rid == NULL) { in nexus_alloc_resource() 182 struct resource_list_entry *rle = resource_list_find(res_list, type, *rid); in nexus_alloc_resource()
|
/third_party/libdrm/amdgpu/ |
H A D | amdgpu_asic_id.c | 43 uint32_t rid; in parse_one_line() local 75 rid = strtol(s_rid, &endptr, 16); in parse_one_line() 79 if (rid != dev->info.pci_rev_id) { in parse_one_line()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_hostap.h | 144 ((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data)) 179 u16 rid; member 182 } rid; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_hostap.h | 142 ((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data)) 177 u16 rid; member 180 } rid; member
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_hid.c | 53 int32_t rid; member 115 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid() 117 if (s->last_pos[i].rid == 0) in hid_switch_rid() 122 s->last_pos[i].rid = c->report_ID; in hid_switch_rid() 136 if (s->last_pos[i].rid == next_rID) in hid_switch_rid() 138 if (s->last_pos[i].rid == 0) in hid_switch_rid() 143 s->last_pos[i].rid = next_rID; in hid_switch_rid()
|
/third_party/skia/modules/skresources/src/ |
H A D | SkResources.cpp | 222 const char rid[]) const { in loadImageAsset() 223 return fProxy ? fProxy->loadImageAsset(rpath, rname, rid) in loadImageAsset() 308 const char rid[]) const { in loadImageAsset() 313 return this->INHERITED::loadImageAsset(rpath, rname, rid); in loadImageAsset()
|