/third_party/python/Lib/test/ |
D | test__xxsubinterpreters.py | 221 def run_action(cid, action, end, state, *, hideclosed=True): argument 231 result = _run_action(cid, action, end, state) 242 def _run_action(cid, action, end, state): argument 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) [all …]
|
/third_party/openssl/crypto/ess/ |
D | ess_lib.c | 28 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() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | dnxhddata.c | 1078 const CIDEntry *ff_dnxhd_get_cid_table(int cid) in ff_dnxhd_get_cid_table() argument 1081 if (dnxhd_cid_table[i].cid == cid) in ff_dnxhd_get_cid_table() 1086 int avpriv_dnxhd_get_frame_size(int cid) in avpriv_dnxhd_get_frame_size() argument 1088 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in avpriv_dnxhd_get_frame_size() 1094 int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h) in avpriv_dnxhd_get_hr_frame_size() argument 1096 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in avpriv_dnxhd_get_hr_frame_size() 1108 int avpriv_dnxhd_get_interlaced(int cid) in avpriv_dnxhd_get_interlaced() argument 1110 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in avpriv_dnxhd_get_interlaced() 1144 const CIDEntry *cid = &dnxhd_cid_table[i]; in ff_dnxhd_find_cid() local 1145 int interlaced = cid->flags & DNXHD_INTERLACED ? 1 : 0; in ff_dnxhd_find_cid() [all …]
|
D | dnxhddata.h | 43 int cid; member 61 const CIDEntry *ff_dnxhd_get_cid_table(int cid); 91 int avpriv_dnxhd_get_frame_size(int cid); 92 int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h); 93 int avpriv_dnxhd_get_interlaced(int cid);
|
/third_party/skia/third_party/externals/freetype/src/cid/ |
D | cidload.c | 79 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 = &face->cid; in parse_fd_array() local 284 if ( !cid->font_dicts ) in parse_fd_array() [all …]
|
D | cidobjs.c | 143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init() 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->registry ); in cid_face_done() 251 FT_FREE( cid->ordering ); in cid_face_done() [all …]
|
D | cidriver.c | 54 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() 150 FT_UInt *cid ) in cid_get_cid_from_glyph_index() argument 156 if ( cid ) in cid_get_cid_from_glyph_index() 157 *cid = glyph_index; /* identity mapping */ in cid_get_cid_from_glyph_index()
|
D | cidgload.c | 48 CID_FaceInfo cid = &face->cid; in cid_load_glyph() local 79 if ( error || glyph_data.length < cid->fd_bytes ) in cid_load_glyph() 83 fd_select = cid_get_offset( &p, cid->fd_bytes ); in cid_load_glyph() 85 glyph_length = glyph_data.length - cid->fd_bytes; in cid_load_glyph() 88 FT_MEM_COPY( charstring, glyph_data.pointer + cid->fd_bytes, in cid_load_glyph() 104 FT_UInt entry_len = cid->fd_bytes + cid->gd_bytes; in cid_load_glyph() 108 if ( FT_STREAM_SEEK( cid->data_offset + cid->cidmap_offset + in cid_load_glyph() 114 fd_select = cid_get_offset( &p, cid->fd_bytes ); in cid_load_glyph() 115 off1 = cid_get_offset( &p, cid->gd_bytes ); in cid_load_glyph() 116 p += cid->fd_bytes; in cid_load_glyph() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/cid/ |
D | cidload.c | 79 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 < 0 || 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 >= 0 && 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 = &face->cid; in parse_fd_array() local 284 if ( !cid->font_dicts ) in parse_fd_array() [all …]
|
D | cidobjs.c | 143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init() 200 CID_FaceInfo cid; in cid_face_done() local 207 cid = &face->cid; in cid_face_done() 208 info = &cid->font_info; in cid_face_done() 217 for ( n = 0; n < cid->num_dicts; n++ ) in cid_face_done() 240 FT_FREE( cid->font_dicts ); in cid_face_done() 241 cid->num_dicts = 0; in cid_face_done() 244 FT_FREE( cid->cid_font_name ); in cid_face_done() 245 FT_FREE( cid->registry ); in cid_face_done() 246 FT_FREE( cid->ordering ); in cid_face_done() [all …]
|
D | cidriver.c | 55 const char* result = face->cid.cid_font_name; in cid_get_postscript_name() 80 *afont_info = ((CID_Face)face)->cid.font_info; in cid_ps_get_font_info() 117 CID_FaceInfo cid = &face->cid; in cid_get_ros() local 121 *registry = cid->registry; in cid_get_ros() 124 *ordering = cid->ordering; in cid_get_ros() 127 *supplement = cid->supplement; in cid_get_ros() 151 FT_UInt *cid ) in cid_get_cid_from_glyph_index() argument 157 if ( cid ) in cid_get_cid_from_glyph_index() 158 *cid = glyph_index; /* identity mapping */ in cid_get_cid_from_glyph_index()
|
D | cidgload.c | 49 CID_FaceInfo cid = &face->cid; in cid_load_glyph() local 84 fd_select = cid_get_offset( &p, (FT_Byte)cid->fd_bytes ); in cid_load_glyph() 88 glyph_length = (FT_ULong)( glyph_data.length - cid->fd_bytes ); in cid_load_glyph() 91 ft_memcpy( charstring, glyph_data.pointer + cid->fd_bytes, in cid_load_glyph() 108 FT_UInt entry_len = (FT_UInt)( cid->fd_bytes + cid->gd_bytes ); in cid_load_glyph() 112 if ( FT_STREAM_SEEK( cid->data_offset + cid->cidmap_offset + in cid_load_glyph() 118 fd_select = cid_get_offset( &p, (FT_Byte)cid->fd_bytes ); in cid_load_glyph() 119 off1 = cid_get_offset( &p, (FT_Byte)cid->gd_bytes ); in cid_load_glyph() 120 p += cid->fd_bytes; in cid_load_glyph() 121 off2 = cid_get_offset( &p, (FT_Byte)cid->gd_bytes ); in cid_load_glyph() [all …]
|
/third_party/freetype/src/cid/ |
D | cidload.c | 79 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 = &face->cid; in parse_fd_array() local 284 if ( !cid->font_dicts ) in parse_fd_array() [all …]
|
D | cidobjs.c | 143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init() 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->registry ); in cid_face_done() 251 FT_FREE( cid->ordering ); in cid_face_done() [all …]
|
D | cidriver.c | 54 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() 150 FT_UInt *cid ) in cid_get_cid_from_glyph_index() argument 156 if ( cid ) in cid_get_cid_from_glyph_index() 157 *cid = glyph_index; /* identity mapping */ in cid_get_cid_from_glyph_index()
|
D | cidgload.c | 48 CID_FaceInfo cid = &face->cid; in cid_load_glyph() local 79 if ( error || glyph_data.length < cid->fd_bytes ) in cid_load_glyph() 83 fd_select = cid_get_offset( &p, cid->fd_bytes ); in cid_load_glyph() 85 glyph_length = glyph_data.length - cid->fd_bytes; in cid_load_glyph() 88 FT_MEM_COPY( charstring, glyph_data.pointer + cid->fd_bytes, in cid_load_glyph() 104 FT_UInt entry_len = cid->fd_bytes + cid->gd_bytes; in cid_load_glyph() 108 if ( FT_STREAM_SEEK( cid->data_offset + cid->cidmap_offset + in cid_load_glyph() 114 fd_select = cid_get_offset( &p, cid->fd_bytes ); in cid_load_glyph() 115 off1 = cid_get_offset( &p, cid->gd_bytes ); in cid_load_glyph() 116 p += cid->fd_bytes; in cid_load_glyph() [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 452 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 [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_cmd.c | 175 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() 742 cmd->cid = swc->cid; in SVGA3D_SetShaderConst() 810 cmd->cid = swc->cid; in SVGA3D_SetShaderConsts() 861 cmd->cid = swc->cid; in SVGA3D_SetShader() 913 cmd->cid = swc->cid; in SVGA3D_BeginClear() 1014 cmd->cid = swc->cid; in SVGA3D_BeginDrawPrimitives() [all …]
|
/third_party/python/Modules/ |
D | _xxsubinterpretersmodule.c | 1000 int64_t cid = -1; in _channels_add() local 1019 cid = id; in _channels_add() 1022 return cid; in _channels_add() 1029 _channels_close(_channels *channels, int64_t cid, _PyChannelState **pchan, in _channels_close() argument 1038 _channelref *ref = _channelref_find(channels->head, cid, NULL); in _channels_close() 1040 PyErr_Format(ChannelNotFoundError, "channel %" PRId64 " not found", cid); in _channels_close() 1045 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close() 1049 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close() 1058 "channel %" PRId64 " closed", cid); in _channels_close() 1391 _channel_is_associated(_channels *channels, int64_t cid, int64_t interp, in _channel_is_associated() argument [all …]
|
/third_party/nghttp2/src/ |
D | shrpx_quic.cc | 154 int generate_quic_retry_connection_id(ngtcp2_cid &cid, size_t cidlen, in generate_quic_retry_connection_id() argument 159 if (RAND_bytes(cid.data, cidlen) != 1) { in generate_quic_retry_connection_id() 163 cid.datalen = cidlen; in generate_quic_retry_connection_id() 165 cid.data[0] = (cid.data[0] & 0x3f) | km_id; in generate_quic_retry_connection_id() 167 auto p = cid.data + SHRPX_QUIC_CID_PREFIX_OFFSET; in generate_quic_retry_connection_id() 174 int generate_quic_connection_id(ngtcp2_cid &cid, size_t cidlen, in generate_quic_connection_id() argument 179 if (RAND_bytes(cid.data, cidlen) != 1) { in generate_quic_connection_id() 183 cid.datalen = cidlen; in generate_quic_connection_id() 185 cid.data[0] = (cid.data[0] & 0x3f) | km_id; in generate_quic_connection_id() 187 auto p = cid.data + SHRPX_QUIC_CID_PREFIX_OFFSET; in generate_quic_connection_id() [all …]
|
D | shrpx_quic.h | 42 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,
|
/third_party/openssl/crypto/ocsp/ |
D | ocsp_lib.c | 50 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()
|
D | ocsp_vfy.c | 22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, 269 OCSP_CERTID *tmpid, *cid; in ocsp_check_ids() local 278 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId; in ocsp_check_ids() 284 if (OCSP_id_issuer_cmp(cid, tmpid)) { in ocsp_check_ids() 287 cid->hashAlgorithm.algorithm)) in ocsp_check_ids() 295 *ret = cid; in ocsp_check_ids() 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->issuerNameHash.length != mdlen || in ocsp_match_issuerid() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_getcpuclockid.c | 41 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/python/Lib/idlelib/ |
D | debugger_r.py | 143 cid = id(code) 144 codetable[cid] = code 145 return cid 149 def code_name(self, cid): argument 150 code = codetable[cid] 153 def code_filename(self, cid): argument 154 code = codetable[cid] 222 cid = self._conn.remotecall(self._oid, "frame_code", (self._fid,), {}) 223 return CodeProxy(self._conn, self._oid, cid) 245 def __init__(self, conn, oid, cid): argument [all …]
|