Home
last modified time | relevance | path

Searched refs:cid (Results 1 - 25 of 273) sorted by relevance

1234567891011

/third_party/node/deps/openssl/openssl/crypto/ess/
H A Dess_lib.c28 ESS_CERT_ID *cid = NULL; in OSSL_ESS_signing_cert_new_init() local
38 if ((cid = ESS_CERT_ID_new_init(signcert, set_issuer_serial)) == NULL in OSSL_ESS_signing_cert_new_init()
39 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid)) in OSSL_ESS_signing_cert_new_init()
44 if ((cid = ESS_CERT_ID_new_init(cert, 1)) == NULL in OSSL_ESS_signing_cert_new_init()
45 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid)) in OSSL_ESS_signing_cert_new_init()
52 ESS_CERT_ID_free(cid); in OSSL_ESS_signing_cert_new_init()
60 ESS_CERT_ID *cid = NULL; in ESS_CERT_ID_new_init() local
64 if ((cid = ESS_CERT_ID_new()) == NULL) in ESS_CERT_ID_new_init()
68 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH)) in ESS_CERT_ID_new_init()
73 return cid; in ESS_CERT_ID_new_init()
105 ESS_CERT_ID_V2 *cid = NULL; OSSL_ESS_signing_cert_v2_new_init() local
140 ESS_CERT_ID_V2 *cid; ESS_CERT_ID_V2_new_init() local
217 find(const ESS_CERT_ID *cid, const ESS_CERT_ID_V2 *cid_v2, int index, const STACK_OF(X509) *certs) find() argument
[all...]
/third_party/openssl/crypto/ess/
H A Dess_lib.c28 ESS_CERT_ID *cid = NULL; in OSSL_ESS_signing_cert_new_init() local
38 if ((cid = ESS_CERT_ID_new_init(signcert, set_issuer_serial)) == NULL in OSSL_ESS_signing_cert_new_init()
39 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid)) in OSSL_ESS_signing_cert_new_init()
44 if ((cid = ESS_CERT_ID_new_init(cert, 1)) == NULL in OSSL_ESS_signing_cert_new_init()
45 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid)) in OSSL_ESS_signing_cert_new_init()
52 ESS_CERT_ID_free(cid); in OSSL_ESS_signing_cert_new_init()
60 ESS_CERT_ID *cid = NULL; in ESS_CERT_ID_new_init() local
64 if ((cid = ESS_CERT_ID_new()) == NULL) in ESS_CERT_ID_new_init()
68 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH)) in ESS_CERT_ID_new_init()
73 return cid; in ESS_CERT_ID_new_init()
105 ESS_CERT_ID_V2 *cid = NULL; OSSL_ESS_signing_cert_v2_new_init() local
140 ESS_CERT_ID_V2 *cid; ESS_CERT_ID_V2_new_init() local
217 find(const ESS_CERT_ID *cid, const ESS_CERT_ID_V2 *cid_v2, int index, const STACK_OF(X509) *certs) find() argument
[all...]
/third_party/python/Lib/test/
H A Dtest__xxsubinterpreters.py221 def run_action(cid, action, end, state, *, hideclosed=True):
231 result = _run_action(cid, action, end, state)
242 def _run_action(cid, action, end, state):
245 interpreters.channel_send(cid, b'spam')
250 interpreters.channel_recv(cid)
256 interpreters.channel_recv(cid)
264 interpreters.channel_close(cid, **kwargs)
272 interpreters.channel_close(cid, **kwargs)
289 for cid in interpreters.channel_list_all():
291 interpreters.channel_destroy(cid)
1927 def cid(self): global() member in ChannelCloseFixture
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_cid.c33 void ngtcp2_cid_zero(ngtcp2_cid *cid) { memset(cid, 0, sizeof(*cid)); } in ngtcp2_cid_zero() argument
35 void ngtcp2_cid_init(ngtcp2_cid *cid, const uint8_t *data, size_t datalen) { in ngtcp2_cid_init() argument
38 cid->datalen = datalen; in ngtcp2_cid_init()
40 ngtcp2_cpymem(cid->data, data, datalen); in ngtcp2_cid_init()
44 int ngtcp2_cid_eq(const ngtcp2_cid *cid, const ngtcp2_cid *other) { in ngtcp2_cid_eq() argument
45 return cid->datalen == other->datalen && in ngtcp2_cid_eq()
46 0 == memcmp(cid->data, other->data, cid in ngtcp2_cid_eq()
57 ngtcp2_cid_empty(const ngtcp2_cid *cid) ngtcp2_cid_empty() argument
59 ngtcp2_scid_init(ngtcp2_scid *scid, uint64_t seq, const ngtcp2_cid *cid) ngtcp2_scid_init() argument
73 ngtcp2_dcid_init(ngtcp2_dcid *dcid, uint64_t seq, const ngtcp2_cid *cid, const uint8_t *token) ngtcp2_dcid_init() argument
126 ngtcp2_dcid_verify_uniqueness(ngtcp2_dcid *dcid, uint64_t seq, const ngtcp2_cid *cid, const uint8_t *token) ngtcp2_dcid_verify_uniqueness() argument
[all...]
H A Dngtcp2_cid.h50 /* cid is a connection ID */
51 ngtcp2_cid cid; member
71 /* cid is a connection ID */
72 ngtcp2_cid cid; member
73 /* path is a path which cid is bound to. The addresses are zero
74 length if cid has not been bound to a particular path yet. */
99 /* ngtcp2_cid_zero makes |cid| zero-length. */
100 void ngtcp2_cid_zero(ngtcp2_cid *cid);
109 * ngtcp2_cid_empty returns nonzero if |cid| includes empty connection
112 int ngtcp2_cid_empty(const ngtcp2_cid *cid);
[all...]
H A Dngtcp2_crypto.c127 * which has |cid| as value.
130 const ngtcp2_cid *cid) { in cid_paramlen()
131 return ngtcp2_put_varint_len(id) + ngtcp2_put_varint_len(cid->datalen) + in cid_paramlen()
132 cid->datalen; in cid_paramlen()
136 * write_cid_param writes parameter |id| of the given |cid|. It
140 const ngtcp2_cid *cid) { in write_cid_param()
141 assert(cid->datalen == 0 || cid->datalen >= NGTCP2_MIN_CIDLEN); in write_cid_param()
142 assert(cid->datalen <= NGTCP2_MAX_CIDLEN); in write_cid_param()
145 p = ngtcp2_put_varint(p, cid in write_cid_param()
129 cid_paramlen(ngtcp2_transport_param_id id, const ngtcp2_cid *cid) cid_paramlen() argument
139 write_cid_param(uint8_t *p, ngtcp2_transport_param_id id, const ngtcp2_cid *cid) write_cid_param() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/cid/
H A Dcidload.c79 CID_FaceInfo cid = &face->cid; in cid_load_keyword() local
96 object = (FT_Byte*)cid; in cid_load_keyword()
100 object = (FT_Byte*)&cid->font_info; in cid_load_keyword()
108 object = (FT_Byte*)&cid->font_bbox; in cid_load_keyword()
116 if ( parser->num_dict >= cid->num_dicts ) in cid_load_keyword()
124 dict = cid->font_dicts + parser->num_dict; in cid_load_keyword()
167 if ( parser->num_dict < face->cid.num_dicts ) in cid_parse_font_matrix()
174 dict = face->cid.font_dicts + parser->num_dict; in cid_parse_font_matrix()
243 CID_FaceInfo cid in parse_fd_array() local
516 CID_FaceInfo cid = &face->cid; cid_read_subrs() local
776 CID_FaceInfo cid = &face->cid; FT_LOCAL_DEF() local
[all...]
H A Dcidobjs.c143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in FT_LOCAL_DEF()
205 CID_FaceInfo cid; in cid_face_done() local
212 cid = &face->cid; in cid_face_done()
213 info = &cid->font_info; in cid_face_done()
222 for ( n = 0; n < cid->num_dicts; n++ ) in cid_face_done()
245 FT_FREE( cid->font_dicts ); in cid_face_done()
246 cid->num_dicts = 0; in cid_face_done()
249 FT_FREE( cid->cid_font_name ); in cid_face_done()
250 FT_FREE( cid in cid_face_done()
362 CID_FaceInfo cid = &face->cid; FT_LOCAL_DEF() local
[all...]
H A Dcidriver.c54 const char* result = face->cid.cid_font_name; in cid_get_postscript_name()
79 *afont_info = ((CID_Face)face)->cid.font_info; in cid_ps_get_font_info()
116 CID_FaceInfo cid = &face->cid; in cid_get_ros() local
120 *registry = cid->registry; in cid_get_ros()
123 *ordering = cid->ordering; in cid_get_ros()
126 *supplement = cid->supplement; in cid_get_ros()
141 *is_cid = 1; /* cid driver is only used for CID keyed fonts */ in cid_get_is_cid()
150 FT_UInt *cid ) in cid_get_cid_from_glyph_index()
156 if ( cid ) in cid_get_cid_from_glyph_index()
[all...]
H A Dcidgload.c48 CID_FaceInfo cid = &face->cid; in FT_CALLBACK_DEF() local
79 if ( error || glyph_data.length < cid->fd_bytes ) in FT_CALLBACK_DEF()
83 fd_select = cid_get_offset( &p, cid->fd_bytes ); in FT_CALLBACK_DEF()
85 glyph_length = glyph_data.length - cid->fd_bytes; in FT_CALLBACK_DEF()
88 FT_MEM_COPY( charstring, glyph_data.pointer + cid->fd_bytes, in FT_CALLBACK_DEF()
104 FT_UInt entry_len = cid->fd_bytes + cid->gd_bytes; in FT_CALLBACK_DEF()
108 if ( FT_STREAM_SEEK( cid->data_offset + cid in FT_CALLBACK_DEF()
[all...]
/third_party/ffmpeg/libavcodec/
H A Ddnxhddata.c1080 const CIDEntry *ff_dnxhd_get_cid_table(int cid) in ff_dnxhd_get_cid_table() argument
1083 if (dnxhd_cid_table[i].cid == cid) in ff_dnxhd_get_cid_table()
1088 int ff_dnxhd_get_frame_size(int cid) in ff_dnxhd_get_frame_size() argument
1090 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in ff_dnxhd_get_frame_size()
1096 int ff_dnxhd_get_hr_frame_size(int cid, int w, int h) in ff_dnxhd_get_hr_frame_size() argument
1098 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in ff_dnxhd_get_hr_frame_size()
1138 const CIDEntry *cid = &dnxhd_cid_table[i]; in ff_dnxhd_find_cid() local
1139 int interlaced = cid->flags & DNXHD_INTERLACED ? 1 : 0; in ff_dnxhd_find_cid()
1140 if (cid in ff_dnxhd_find_cid()
1161 const CIDEntry *cid = &dnxhd_cid_table[i]; ff_dnxhd_print_profiles() local
[all...]
H A Ddnxhddata.h44 int cid; member
62 const CIDEntry *ff_dnxhd_get_cid_table(int cid);
92 int ff_dnxhd_get_frame_size(int cid);
93 int ff_dnxhd_get_hr_frame_size(int cid, int w, int h);
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_cmd.h452 uint32 cid; member
460 uint32 cid; member
468 uint32 cid; member
523 uint32 cid; member
532 uint32 cid; member
797 uint32 cid; member
820 uint32 cid; member
834 uint32 cid; member
890 uint32 cid; member
917 uint32 cid; member
933 uint32 cid; global() member
955 uint32 cid; global() member
964 uint32 cid; global() member
983 uint32 cid; global() member
1004 uint32 cid; global() member
1014 uint32 cid; global() member
1024 uint32 cid; global() member
1034 uint32 cid; global() member
1043 uint32 cid; global() member
1052 uint32 cid; global() member
1062 uint32 cid; global() member
1073 uint32 cid; global() member
1083 uint32 cid; global() member
1099 uint32 cid; global() member
1109 uint32 cid; global() member
1118 uint32 cid; global() member
1150 uint32 cid; /* Same parameters passed to END_QUERY */ global() member
1423 uint32 cid; global() member
1941 uint32 cid; global() member
1953 uint32 cid; global() member
1973 uint32 cid; global() member
1988 uint32 cid; global() member
1999 uint32 cid; global() member
2047 uint32 cid; global() member
2066 uint32 cid; global() member
2075 uint32 cid; global() member
2095 uint32 cid; global() member
[all...]
/third_party/python/Modules/
H A D_xxsubinterpretersmodule.c1004 int64_t cid = -1; in _channels_add() local
1023 cid = id; in _channels_add()
1026 return cid; in _channels_add()
1033 _channels_close(_channels *channels, int64_t cid, _PyChannelState **pchan, in _channels_close() argument
1042 _channelref *ref = _channelref_find(channels->head, cid, NULL); in _channels_close()
1044 PyErr_Format(ChannelNotFoundError, "channel %" PRId64 " not found", cid); in _channels_close()
1049 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close()
1053 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close()
1062 "channel %" PRId64 " closed", cid); in _channels_close()
1395 _channel_is_associated(_channels *channels, int64_t cid, int64_ argument
1427 int64_t cid; channel_id_converter() local
1453 newchannelid(PyTypeObject *cls, int64_t cid, int end, _channels *channels, int force, int resolve) newchannelid() argument
1484 int64_t cid; channelid_new() local
1518 int64_t cid = ((channelid *)v)->id; channelid_dealloc() local
1531 channelid *cid = (channelid *)self; channelid_repr() local
1548 channelid *cid = (channelid *)self; channelid_str() local
1555 channelid *cid = (channelid *)self; channelid_int() local
1602 channelid *cid = (channelid *)self; channelid_hash() local
1623 channelid *cid = (channelid *)self; channelid_richcompare() local
1658 _channel_from_cid(PyObject *cid, int end) _channel_from_cid() argument
1694 PyObject *cid = (PyObject *)newchannelid(&ChannelIDtype, xid->id, xid->end, _channelid_from_xid() local
1736 channelid *cid = (channelid *)self; channelid_end() local
2258 int64_t cid = _channel_create(&_globals.channels); channel_create() local
2283 int64_t cid; channel_destroy() local
2342 int64_t cid; /* Channel ID */ channel_list_interpreters() local
2404 int64_t cid; channel_send() local
2426 int64_t cid; channel_recv() local
2461 int64_t cid; channel_close() local
2509 int64_t cid; channel_release() local
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.c175 cmd->cid = swc->cid; in SVGA3D_DefineContext()
209 cmd->cid = swc->cid; in SVGA3D_DestroyContext()
599 cmd->cid = swc->cid; in SVGA3D_SetRenderTarget()
653 cmd->cid = swc->cid; in SVGA3D_DefineShader()
695 cmd->cid = swc->cid; in SVGA3D_DestroyShader()
[all...]
/third_party/nghttp2/src/
H A Dshrpx_quic.h42 std::size_t operator()(const ngtcp2_cid &cid) const noexcept {
45 const uint8_t *p = cid.data, *end = cid.data + cid.datalen;
88 int generate_quic_retry_connection_id(ngtcp2_cid &cid, size_t cidlen,
92 int generate_quic_connection_id(ngtcp2_cid &cid, size_t cidlen,
105 const ngtcp2_cid &cid);
107 int generate_quic_stateless_reset_token(uint8_t *token, const ngtcp2_cid &cid,
H A Dshrpx_quic.cc176 int generate_quic_retry_connection_id(ngtcp2_cid &cid, size_t cidlen, in generate_quic_retry_connection_id() argument
181 if (RAND_bytes(cid.data, cidlen) != 1) { in generate_quic_retry_connection_id()
185 cid.datalen = cidlen; in generate_quic_retry_connection_id()
187 cid.data[0] = (cid.data[0] & 0x3f) | km_id; in generate_quic_retry_connection_id()
189 auto p = cid.data + SHRPX_QUIC_CID_PREFIX_OFFSET; in generate_quic_retry_connection_id()
196 int generate_quic_connection_id(ngtcp2_cid &cid, size_t cidlen, in generate_quic_connection_id() argument
201 if (RAND_bytes(cid.data, cidlen) != 1) { in generate_quic_connection_id()
205 cid.datalen = cidlen; in generate_quic_connection_id()
207 cid in generate_quic_connection_id()
258 generate_quic_hashed_connection_id(ngtcp2_cid &dest, const Address &remote_addr, const Address &local_addr, const ngtcp2_cid &cid) generate_quic_hashed_connection_id() argument
284 generate_quic_stateless_reset_token(uint8_t *token, const ngtcp2_cid &cid, const uint8_t *secret, size_t secretlen) generate_quic_stateless_reset_token() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/ocsp/
H A Docsp_lib.c50 OCSP_CERTID *cid = NULL; in OCSP_cert_id_new() local
53 if ((cid = OCSP_CERTID_new()) == NULL) in OCSP_cert_id_new()
56 alg = &cid->hashAlgorithm; in OCSP_cert_id_new()
70 if (!(ASN1_OCTET_STRING_set(&cid->issuerNameHash, md, i))) in OCSP_cert_id_new()
77 if (!(ASN1_OCTET_STRING_set(&cid->issuerKeyHash, md, i))) in OCSP_cert_id_new()
81 if (ASN1_STRING_copy(&cid->serialNumber, serialNumber) == 0) in OCSP_cert_id_new()
84 return cid; in OCSP_cert_id_new()
88 OCSP_CERTID_free(cid); in OCSP_cert_id_new()
H A Docsp_vfy.c22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
269 OCSP_CERTID *tmpid, *cid; in STACK_OF() local
278 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId; in STACK_OF()
284 if (OCSP_id_issuer_cmp(cid, tmpid)) { in STACK_OF()
287 cid->hashAlgorithm.algorithm)) in STACK_OF()
295 *ret = cid; in STACK_OF()
303 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, in ocsp_match_issuerid() argument
310 if (cid != NULL) { in ocsp_match_issuerid()
316 OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0); in ocsp_match_issuerid()
335 if (cid in ocsp_match_issuerid()
[all...]
/third_party/openssl/crypto/ocsp/
H A Docsp_lib.c50 OCSP_CERTID *cid = NULL; in OCSP_cert_id_new() local
53 if ((cid = OCSP_CERTID_new()) == NULL) in OCSP_cert_id_new()
56 alg = &cid->hashAlgorithm; in OCSP_cert_id_new()
70 if (!(ASN1_OCTET_STRING_set(&cid->issuerNameHash, md, i))) in OCSP_cert_id_new()
77 if (!(ASN1_OCTET_STRING_set(&cid->issuerKeyHash, md, i))) in OCSP_cert_id_new()
81 if (ASN1_STRING_copy(&cid->serialNumber, serialNumber) == 0) in OCSP_cert_id_new()
84 return cid; in OCSP_cert_id_new()
88 OCSP_CERTID_free(cid); in OCSP_cert_id_new()
H A Docsp_vfy.c22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
269 OCSP_CERTID *tmpid, *cid; in STACK_OF() local
278 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId; in STACK_OF()
284 if (OCSP_id_issuer_cmp(cid, tmpid)) { in STACK_OF()
287 cid->hashAlgorithm.algorithm)) in STACK_OF()
295 *ret = cid; in STACK_OF()
303 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, in ocsp_match_issuerid() argument
310 if (cid != NULL) { in ocsp_match_issuerid()
316 OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0); in ocsp_match_issuerid()
335 if (cid in ocsp_match_issuerid()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_getcpuclockid.c41 clockid_t cid; in pthread_getcpuclockid_0100() local
44 ret = pthread_getcpuclockid(pthread_self(), &cid); in pthread_getcpuclockid_0100()
46 EXPECT_TRUE("pthread_getcpuclockid_0100", cid != 0); in pthread_getcpuclockid_0100()
48 ret = pthread_getcpuclockid(thread, &cid); in pthread_getcpuclockid_0100()
50 EXPECT_TRUE("pthread_getcpuclockid_0100", cid != 0); in pthread_getcpuclockid_0100()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dpcy_data.c39 const ASN1_OBJECT *cid, int crit) in ossl_policy_data_new()
44 if (policy == NULL && cid == NULL) in ossl_policy_data_new()
46 if (cid) { in ossl_policy_data_new()
47 id = OBJ_dup(cid); in ossl_policy_data_new()
38 ossl_policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *cid, int crit) ossl_policy_data_new() argument
/third_party/openssl/crypto/x509/
H A Dpcy_data.c39 const ASN1_OBJECT *cid, int crit) in ossl_policy_data_new()
44 if (policy == NULL && cid == NULL) in ossl_policy_data_new()
46 if (cid) { in ossl_policy_data_new()
47 id = OBJ_dup(cid); in ossl_policy_data_new()
38 ossl_policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *cid, int crit) ossl_policy_data_new() argument
/third_party/python/Lib/email/
H A Dcontentmanager.py114 def _finalize_set(msg, disposition, filename, cid, params):
124 if cid is not None:
125 msg['Content-ID'] = cid
184 disposition=None, filename=None, cid=None,
193 _finalize_set(msg, disposition, filename, cid, params)
198 disposition=None, filename=None, cid=None,
226 _finalize_set(msg, disposition, filename, cid, params)
231 disposition=None, filename=None, cid=None,
248 _finalize_set(msg, disposition, filename, cid, params)

Completed in 19 milliseconds

1234567891011