Home
last modified time | relevance | path

Searched refs:content_type (Results 1 - 25 of 227) sorted by relevance

12345678910

/third_party/node/deps/openssl/openssl/util/perl/TLSProxy/
H A DRecord.pm73 my ($content_type, $version, $len) = unpack('Cnn', $packet);
83 print " Content type: ".$record_type{$content_type}."\n";
89 $content_type,
99 if ($content_type != RT_CCS
101 || $content_type != RT_ALERT)) {
113 .$record_type{$record->content_type()}."\n";
168 $content_type,
179 content_type => $content_type,
234 if ($self->content_type()
365 sub content_type global() subroutine
[all...]
H A DMessage.pm180 if ($record->content_type == TLSProxy::Record::RT_CCS) {
192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
270 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
278 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/third_party/openssl/util/perl/TLSProxy/
H A DRecord.pm73 my ($content_type, $version, $len) = unpack('Cnn', $packet);
83 print " Content type: ".$record_type{$content_type}."\n";
89 $content_type,
99 if ($content_type != RT_CCS
101 || $content_type != RT_ALERT)) {
113 .$record_type{$record->content_type()}."\n";
168 $content_type,
179 content_type => $content_type,
234 if ($self->content_type()
365 sub content_type global() subroutine
[all...]
H A DMessage.pm180 if ($record->content_type == TLSProxy::Record::RT_CCS) {
192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
270 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
278 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/third_party/ffmpeg/libavcodec/
H A Dav3a_parser.c76 uint8_t content_type; member
213 uint8_t content_type = 0; in read_av3a_frame_header() local
263 content_type = 0; in read_av3a_frame_header()
313 content_type = 1; in read_av3a_frame_header()
325 content_type = 2; in read_av3a_frame_header()
363 content_type = 3; in read_av3a_frame_header()
423 hdf->content_type = content_type; in read_av3a_frame_header()
425 if (hdf->content_type == 0) { in read_av3a_frame_header()
431 } else if (hdf->content_type in read_av3a_frame_header()
[all...]
H A Dcbs_internal.h72 enum CBSContentType content_type; member
78 // content_type is CBS_CONTENT_TYPE_INTERNAL_REFS.
188 .content_type = CBS_CONTENT_TYPE_POD, \
194 .content_type = CBS_CONTENT_TYPE_INTERNAL_REFS, \
202 .content_type = CBS_CONTENT_TYPE_COMPLEX, \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DSymbolicFile.h68 template <class content_type>
70 : public std::iterator<std::forward_iterator_tag, content_type> {
71 content_type Current;
74 content_iterator(content_type symb) : Current(std::move(symb)) {} in content_iterator()
76 const content_type *operator->() const { return &Current; } in operator ->()
78 const content_type &operator*() const { return Current; } in operator *()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-buffer.hh102 hb_buffer_content_type_t content_type; member
347 assert ((content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS) ||
348 (!len && (content_type == HB_BUFFER_CONTENT_TYPE_INVALID)));
352 assert ((content_type == HB_BUFFER_CONTENT_TYPE_UNICODE) ||
353 (!len && (content_type == HB_BUFFER_CONTENT_TYPE_INVALID)));
357 if (unlikely (content_type != HB_BUFFER_CONTENT_TYPE_GLYPHS))
359 if (content_type != HB_BUFFER_CONTENT_TYPE_INVALID)
362 content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS;
368 if (unlikely (content_type != HB_BUFFER_CONTENT_TYPE_UNICODE))
370 if (content_type !
[all...]
H A Dhb-buffer.cc239 content_type = HB_BUFFER_CONTENT_TYPE_INVALID; in clear()
764 * @content_type: The type of buffer contents to set
773 hb_buffer_content_type_t content_type) in hb_buffer_set_content_type()
775 buffer->content_type = content_type; in hb_buffer_set_content_type()
793 return buffer->content_type; in hb_buffer_get_content_type()
1335 buffer->content_type = HB_BUFFER_CONTENT_TYPE_INVALID; in hb_buffer_set_length()
1607 buffer->content_type = HB_BUFFER_CONTENT_TYPE_UNICODE; in hb_buffer_add_utf()
1771 assert (buffer->content_type == source->content_type || in hb_buffer_append()
772 hb_buffer_set_content_type(hb_buffer_t *buffer, hb_buffer_content_type_t content_type) hb_buffer_set_content_type() argument
[all...]
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/
H A Dstream.py25 ('name', 'type', 'content_type', 'tags'))
88 _maybe_add('contentType', self.content_type)
402 def open_text(self, name, content_type=None, tags=None):
409 content_type (str): The optional content type of the stream. If None, a
420 content_type=content_type,
447 def open_binary(self, name, content_type=None, tags=None):
454 content_type (str): The optional content type of the stream. If None, a
465 content_type=content_type,
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dpostprocessor.c160 char *content_type; member
675 try_match_header ("Content-type: ", buf, &pp->content_type); in process_multipart_headers()
773 pp->content_type, in process_value_to_boundary()
799 if ((NULL != pp->content_type) && (0 == (pp->have & NE_content_type))) in free_unmarked()
801 free (pp->content_type); in free_unmarked()
802 pp->content_type = NULL; in free_unmarked()
970 if ((pp->content_type != NULL) && in post_process_multipart()
971 (MHD_str_equal_caseless_n_ (pp->content_type, in post_process_multipart()
975 pp->nested_boundary = strstr (pp->content_type, "boundary="); in post_process_multipart()
991 free (pp->content_type); in post_process_multipart()
[all...]
H A Dtest_postprocessor_large.c40 const char *content_type, in value_checker()
49 key, filename, content_type, transfer_encoding, size, data); in value_checker()
36 value_checker(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) value_checker() argument
H A Dtest_postprocessor.c87 const char *content_type, in value_checker()
97 key, filename, content_type, transfer_encoding, in value_checker()
107 (mismatch (content_type, want[idx + 2])) || in value_checker()
83 value_checker(void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) value_checker() argument
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dhttp.h48 const char *content_type, int asn1,
50 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
74 const char *content_type, BIO *req,
91 const char *content_type, BIO *req,
/third_party/openssl/include/openssl/
H A Dhttp.h48 const char *content_type, int asn1,
50 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
74 const char *content_type, BIO *req,
91 const char *content_type, BIO *req,
/third_party/ffmpeg/libavformat/
H A Dicecast.c37 char *content_type; member
64 { "content_type", "set content-type, MUST be set if not audio/mpeg", OFFSET(content_type), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
121 if (NOT_EMPTY(s->content_type)) in icecast_open()
122 av_dict_set(&opt_dict, "content_type", s->content_type, 0); in icecast_open()
124 av_dict_set(&opt_dict, "content_type", "audio/mpeg", 0); in icecast_open()
186 if (!s->content_type && size >= 8) { in icecast_write()
192 av_log(h, AV_LOG_WARNING, "Set it with -content_type application/ogg\n"); in icecast_write()
195 av_log(h, AV_LOG_WARNING, "Set it with -content_type audi in icecast_write()
[all...]
/third_party/nghttp2/src/
H A DHttpServer.h95 const std::string *content_type, in FileEntry()
102 content_type(content_type), in FileEntry()
113 const std::string *content_type; member
174 const std::string *content_type,
/third_party/openssl/test/
H A Dhttp_test.c121 const char content_type[] = "application/x-x509-ca-cert"; in test_http_x509() local
134 0 /* buf_size */, headers, content_type, in test_http_x509()
140 0 /* buf_size */, headers, content_type, in test_http_x509()
141 req, content_type, 1 /* expect_asn1 */, in test_http_x509()
163 const char *const content_type = "application/x-x509-ca-cert"; in test_http_keep_alive() local
181 NULL /* content_type */, NULL /* req => GET */, in test_http_keep_alive()
182 content_type, 0 /* ASN.1 not expected */, in test_http_keep_alive()
/third_party/libwebsockets/lib/roles/http/
H A Dheader.c183 const char *content_type, lws_filepos_t content_len, in lws_add_http_common_headers()
193 if (content_type && in lws_add_http_common_headers()
195 (unsigned char *)content_type, in lws_add_http_common_headers()
196 (int)strlen(content_type), p, end)) in lws_add_http_common_headers()
200 if (!wsi->http.lcs && content_type && in lws_add_http_common_headers()
201 (!strncmp(content_type, "text/", 5) || in lws_add_http_common_headers()
202 !strcmp(content_type, "application/javascript") || in lws_add_http_common_headers()
203 !strcmp(content_type, "image/svg+xml"))) in lws_add_http_common_headers()
182 lws_add_http_common_headers(struct lws *wsi, unsigned int code, const char *content_type, lws_filepos_t content_len, unsigned char **p, unsigned char *end) lws_add_http_common_headers() argument
/third_party/python/Modules/_ssl/
H A Ddebughelpers.c11 _PySSL_msg_callback(int write_p, int version, int content_type, in _PySSL_msg_callback() argument
40 switch(content_type) { in _PySSL_msg_callback()
73 version, content_type, msg_type, in _PySSL_msg_callback()
/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c244 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected()
260 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
261 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
274 const char *content_type, BIO *req) in set1_content()
281 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
299 if (content_type != NULL in set1_content()
300 && BIO_printf(rctx->mem, "Content-Type: %s\r\n", content_type) <= 0) in set1_content()
337 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, in OSSL_HTTP_REQ_CTX_set1_req() argument
345 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
1017 const char *content_type, BI in OSSL_HTTP_set1_request()
243 OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, int asn1, int timeout, int keep_alive) OSSL_HTTP_REQ_CTX_set_expected() argument
273 set1_content(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, BIO *req) set1_content() argument
1015 OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_set1_request() argument
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/openssl/crypto/http/
H A Dhttp_client.c237 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected()
253 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
254 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
267 const char *content_type, BIO *req) in set1_content()
274 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
292 if (content_type != NULL in set1_content()
293 && BIO_printf(rctx->mem, "Content-Type: %s\r\n", content_type) <= 0) in set1_content()
330 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, in OSSL_HTTP_REQ_CTX_set1_req() argument
338 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
1006 const char *content_type, BI in OSSL_HTTP_set1_request()
236 OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, int asn1, int timeout, int keep_alive) OSSL_HTTP_REQ_CTX_set_expected() argument
266 set1_content(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, BIO *req) set1_content() argument
1004 OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_set1_request() argument
1201 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/python/Lib/email/
H A Dcontentmanager.py17 content_type = msg.get_content_type()
18 if content_type in self.get_handlers:
19 return self.get_handlers[content_type](msg, *args, **kw)
25 raise KeyError(content_type)
/third_party/mbedtls/library/
H A Dpkcs7.c490 mbedtls_pkcs7_buf content_type; in pkcs7_get_signed_data() local
491 memset(&content_type, 0, sizeof(content_type)); in pkcs7_get_signed_data()
492 ret = pkcs7_get_content_info_type(&p, end, &end_content_info, &content_type); in pkcs7_get_signed_data()
496 if (MBEDTLS_OID_CMP(MBEDTLS_OID_PKCS7_DATA, &content_type)) { in pkcs7_get_signed_data()
/third_party/python/Lib/distutils/
H A Dconfig.py118 content_type = response.getheader('content-type', 'text/plain')
119 encoding = cgi.parse_header(content_type)[1].get('charset', 'ascii')

Completed in 18 milliseconds

12345678910