Home
last modified time | relevance | path

Searched refs:tcr (Results 1 – 12 of 12) sorted by relevance

/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c723 struct lws_tls_client_reuse *tcr; local
830 tcr = lws_container_of(p, struct lws_tls_client_reuse, cc_list);
832 if (!memcmp(hash, tcr->hash, len)) {
836 tcr->refcount++;
837 vh->tls.ssl_client_ctx = tcr->ssl_client_ctx;
838 vh->tls.tcr = tcr;
841 __func__, vh->name, tcr->index,
842 tcr->refcount);
871 tcr = lws_zalloc(sizeof(*tcr), "client ctx tcr");
872 if (!tcr) {
[all …]
Dopenssl-ssl.c145 if (vhost->tls.tcr && --vhost->tls.tcr->refcount) in lws_ssl_destroy_client_ctx()
153 if (vhost->tls.tcr) { in lws_ssl_destroy_client_ctx()
154 lws_dll2_remove(&vhost->tls.tcr->cc_list); in lws_ssl_destroy_client_ctx()
155 lws_free(vhost->tls.tcr); in lws_ssl_destroy_client_ctx()
156 vhost->tls.tcr = NULL; in lws_ssl_destroy_client_ctx()
/third_party/ffmpeg/libavformat/
Ddvenc.c387 AVDictionaryEntry *tcr = av_dict_get(s->metadata, "timecode", NULL, 0); in dv_write_header() local
398 if (!tcr) { // no global timecode, look into the streams in dv_write_header()
401 tcr = av_dict_get(s->streams[i]->metadata, "timecode", NULL, 0); in dv_write_header()
402 if (tcr) in dv_write_header()
406 if (tcr && av_timecode_init_from_string(&dvc->tc, rate, tcr->value, s) >= 0) in dv_write_header()
Dgxfenc.c708 AVDictionaryEntry *tcr = av_dict_get(s->metadata, "timecode", NULL, 0); in gxf_write_header() local
772 if (!tcr) in gxf_write_header()
773 tcr = av_dict_get(st->metadata, "timecode", NULL, 0); in gxf_write_header()
822 if (tcr && vsc) in gxf_write_header()
823 gxf_init_timecode(s, &gxf->tc, tcr->value, vsc->fields); in gxf_write_header()
Dsegment.c361 AVDictionaryEntry *tcr; in segment_end() local
422 tcr = av_dict_get(s->metadata, "timecode", NULL, 0); in segment_end()
423 if (tcr) { in segment_end()
428 err = av_timecode_init_from_string(&tc, rate, tcr->value, s); in segment_end()
Dmxfenc.c2483 AVDictionaryEntry *tcr = av_dict_get(s->metadata, "timecode", NULL, 0); in mxf_init_timecode() local
2495 if (!tcr) in mxf_init_timecode()
2496 tcr = av_dict_get(st->metadata, "timecode", NULL, 0); in mxf_init_timecode()
2498 if (tcr) in mxf_init_timecode()
2499 return av_timecode_init_from_string(&mxf->tc, av_inv_q(tbc), tcr->value, s); in mxf_init_timecode()
Dmov.c7510 AVDictionaryEntry *tcr = av_dict_get(st->metadata, "timecode", NULL, 0); in export_orphan_timecode() local
7511 if (tcr) { in export_orphan_timecode()
7512 av_dict_set(&s->metadata, "timecode", tcr->value, 0); in export_orphan_timecode()
7674 AVDictionaryEntry *tcr; in mov_read_header() local
7683 tcr = av_dict_get(s->streams[tmcd_st_id]->metadata, "timecode", NULL, 0); in mov_read_header()
7684 if (tcr) in mov_read_header()
7685 av_dict_set(&st->metadata, "timecode", tcr->value, 0); in mov_read_header()
/third_party/ffmpeg/libavfilter/
Dvf_bilateral.c183 type tcr = *texture_x++; \
184 type dr = abs(tcr - tpr); \
189 tpr = tcr; \
202 type tcr = *--texture_x; \
203 type dr = abs(tcr - tpr); \
209 tpr = tcr; \
/third_party/libwebsockets/lib/tls/
Dprivate-network.h54 struct lws_tls_client_reuse *tcr; member
/third_party/iptables/iptables/
Dnft.c304 char tcr[128]; in mnl_append_error() local
316 snprintf(tcr, sizeof(tcr), "table %s", in mnl_append_error()
326 snprintf(tcr, sizeof(tcr), "chain %s", in mnl_append_error()
334 snprintf(tcr, sizeof(tcr), "rule in chain %s", in mnl_append_error()
343 snprintf(tcr, sizeof(tcr), "set %s", in mnl_append_error()
356 return snprintf(buf, len, "%s: %s", errmsg, tcr); in mnl_append_error()
/third_party/ffmpeg/libavdevice/
Ddecklink_dec.cpp919 AVTimecode tcr; in VideoInputFrameArrived() local
920 if (get_frame_timecode(avctx, ctx, &tcr, videoFrame) >= 0) { in VideoInputFrameArrived()
922 const char *tc = av_timecode_make_string(&tcr, tcstr, 0); in VideoInputFrameArrived()
928 uint32_t tc_data = av_timecode_get_smpte_from_framenum(&tcr, 0); in VideoInputFrameArrived()
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c3144 char *tcr = av_asprintf("timecode=%s", arg); in opt_timecode() local
3145 if (!tcr) in opt_timecode()
3147 ret = parse_option(o, "metadata:g", tcr, options); in opt_timecode()
3150 av_free(tcr); in opt_timecode()