Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 25 of 273) sorted by relevance

1234567891011

/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackstreamreader.c34 read_id *rid = (read_id *) id; in gst_wavpack_stream_reader_read_bytes() local
35 uint32_t left = rid->length - rid->position; in gst_wavpack_stream_reader_read_bytes()
39 rid->length, rid->position); in gst_wavpack_stream_reader_read_bytes()
42 memmove (data, rid->buffer + rid->position, to_read); in gst_wavpack_stream_reader_read_bytes()
43 rid->position += to_read; in gst_wavpack_stream_reader_read_bytes()
77 read_id *rid = (read_id *) id; in gst_wavpack_stream_reader_push_back_byte() local
81 if (rid->position == 0) in gst_wavpack_stream_reader_push_back_byte()
82 return rid->position; in gst_wavpack_stream_reader_push_back_byte()
84 rid->position -= 1; in gst_wavpack_stream_reader_push_back_byte()
85 return rid->position; in gst_wavpack_stream_reader_push_back_byte()
/third_party/alsa-lib/src/control/
Dcontrol_remap.c176 snd_ctl_remap_id_t *rid; in remap_find_id_child() local
179 rid = priv->remap; in remap_find_id_child()
180 for (count = priv->remap_items; count > 0; count--, rid++) in remap_find_id_child()
181 if (id->numid == rid->id_child.numid) in remap_find_id_child()
182 return rid; in remap_find_id_child()
184 rid = priv->remap; in remap_find_id_child()
185 for (count = priv->remap_items; count > 0; count--, rid++) in remap_find_id_child()
186 if (snd_ctl_elem_id_compare_set(id, &rid->id_child) == 0) in remap_find_id_child()
187 return rid; in remap_find_id_child()
194 snd_ctl_remap_id_t *rid; in remap_find_id_app() local
[all …]
/third_party/openssl/crypto/cms/
Dcms_kari.c119 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 = rek->rid; in CMS_RecipientEncryptedKey_cert_cmp() local
153 if (rid->type == CMS_REK_ISSUER_SERIAL) in CMS_RecipientEncryptedKey_cert_cmp()
[all …]
/third_party/openssl/crypto/ocsp/
Docsp_cl.c187 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->value.byKey); in OCSP_resp_get1_id()
Docsp_prn.c138 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()
Docsp_srv.c171 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/flutter/skia/third_party/externals/sdl/src/joystick/bsd/
DSDL_sysjoystick.c94 int rid; /* Report ID */ member
333 rep->rid = hid_get_report_id(fd);
334 if (rep->rid < 0) {
336 if (ioctl(fd, USB_GET_REPORT_ID, &rep->rid) < 0) {
338 rep->rid = -1; /* XXX */
381 hdata = hid_start_parse(hw->repdesc, 1 << hid_input, rep->rid);
538 hdata = hid_start_parse(joy->hwdata->repdesc, 1 << hid_input, rep->rid);
646 len = hid_report_size(rd, r->rid, repinfo[repind].kind);
650 len = hid_report_size(rd, r->rid, repinfo[repind].kind);
652 len = hid_report_size(rd, repinfo[repind].kind, r->rid);
[all …]
/third_party/openssl/crypto/cmp/
Dcmp_client.c254 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in poll_for_response() argument
264 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL) in poll_for_response()
282 pollRep = ossl_cmp_pollrepcontent_get0_pollrep(prc, rid); in poll_for_response()
529 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in cert_response() argument
552 crep = ossl_cmp_certrepmessage_get0_certresponse(crepmsg, rid); in cert_response()
557 if (rid == -1) { in cert_response()
559 rid = ossl_cmp_asn1_get_int(crep->certReqId); in cert_response()
560 if (rid == -1) { in cert_response()
569 if ((ret = poll_for_response(ctx, sleep, rid, resp, checkAfter)) != 0) { in cert_response()
667 int rid = is_p10 ? -1 : OSSL_CMP_CERTREQID; in OSSL_CMP_try_certreq() local
[all …]
Dcmp_msg.c272 OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) in OSSL_CMP_CTX_setup_CRM() argument
307 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM()
965 static int suitable_rid(const ASN1_INTEGER *certReqId, int rid) in suitable_rid() argument
969 if (rid == -1) in suitable_rid()
978 return rid == trid; in suitable_rid()
988 int rid) in ossl_cmp_pollrepcontent_get0_pollrep() argument
998 if (suitable_rid(pollRep->certReqId, rid)) in ossl_cmp_pollrepcontent_get0_pollrep()
1003 "expected certReqId = %d", rid); in ossl_cmp_pollrepcontent_get0_pollrep()
1014 int rid) in ossl_cmp_certrepmessage_get0_certresponse() argument
1024 if (suitable_rid(crep->certReqId, rid)) in ossl_cmp_certrepmessage_get0_certresponse()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.cpp240 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()
591 const uint32_t rid = cpi->result_id(); in GenInlineCode() local
[all …]
/third_party/spirv-tools/source/opt/
Dinline_pass.cpp240 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()
622 const uint32_t rid = cpi->result_id(); in GenInlineCode() local
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp240 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()
591 const uint32_t rid = cpi->result_id(); in GenInlineCode() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_openssl_ocsp.c269 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 ocsp_find_signer() argument
465 if (rid->type == 0) { in ocsp_find_signer()
467 return X509_find_by_subject(certs, rid->value.byName); in ocsp_find_signer()
471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer()
477 if (os_memcmp(rid->value.byKey->data, hash, in ocsp_find_signer()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl_ocsp.c269 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 ocsp_find_signer() argument
465 if (rid->type == 0) { in ocsp_find_signer()
467 return X509_find_by_subject(certs, rid->value.byName); in ocsp_find_signer()
471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer()
477 if (os_memcmp(rid->value.byKey->data, hash, in ocsp_find_signer()
/third_party/libdrm/amdgpu/
Damdgpu_asic_id.c43 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/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dinline_pass.cpp201 const uint32_t rid = sb_inst->result_id(); in CloneSameBlockOps() local
204 (*postCallSB)[rid] = nid; in CloneSameBlockOps()
282 const uint32_t rid = cpi->result_id(); in GenInlineCode() local
283 const auto mapItr = callee2caller.find(rid); in GenInlineCode()
379 const uint32_t rid = cp_inst->result_id(); in GenInlineCode() local
380 postCallSB[rid] = rid; in GenInlineCode()
408 const uint32_t rid = cp_inst->result_id(); in GenInlineCode() local
409 if (rid != 0) { in GenInlineCode()
411 callee2caller[rid] = nid; in GenInlineCode()
/third_party/FreeBSD/sys/arm/arm/
Dnexus.c172 nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, in nexus_alloc_resource() argument
177 if (dc == NULL || rid == NULL) { in nexus_alloc_resource()
184 struct resource_list_entry *rle = resource_list_find(res_list, type, *rid); in nexus_alloc_resource()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_hostap.h144 ((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/
Ddriver_hostap.h142 ((size_t) (&((struct prism2_hostapd_param *) 0)->u.rid.data))
177 u16 rid; member
180 } rid; member
/third_party/openssl/crypto/x509/
Dv3_genn.c127 result = OBJ_cmp(a->d.rid, b->d.rid); in GENERAL_NAME_cmp()
178 a->d.rid = value; in GENERAL_NAME_set0_value()
210 return a->d.rid; in GENERAL_NAME_get0_value()
/third_party/FreeBSD/sys/dev/usb/
Dusb_hid.c54 int32_t rid; member
116 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
118 if (s->last_pos[i].rid == 0) in hid_switch_rid()
123 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
137 if (s->last_pos[i].rid == next_rID) in hid_switch_rid()
139 if (s->last_pos[i].rid == 0) in hid_switch_rid()
144 s->last_pos[i].rid = next_rID; in hid_switch_rid()
/third_party/skia/modules/skresources/src/
DSkResources.cpp222 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()
/third_party/openssl/doc/man3/
DOSSL_CRMF_MSG_set0_validity.pod21 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
38 int rid, int acceptRAVerified,
49 OSSL_CRMF_MSG_set_certReqId() sets I<rid> as the certReqId of I<crm>.
96 the given I<rid> in the list of I<reqs>. Optionally accepts RAVerified. It can
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dextension.rs513 pub fn rid(&mut self, rid: &str) -> &mut SubjectAlternativeName { in rid() method
514 self.names.push(format!("RID:{}", rid)); in rid()
/third_party/FreeBSD/sys/sys/
Dbus.h201 int rid; /**< @brief resource identifier */ member
215 int type, int rid,
219 int type, int rid);
272 struct resource *bus_alloc_resource(device_t dev, int type, int *rid,
281 bus_alloc_resource_any(device_t dev, int type, int *rid, u_int flags) in bus_alloc_resource_any() argument
283 return (bus_alloc_resource(dev, type, rid, 0, ~0, 1, flags)); in bus_alloc_resource_any()

1234567891011