Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/node/deps/undici/src/lib/core/
Drequest.js149 this.contentType = null
179 const [bodyStream, contentType] = extractBody(body)
180 if (this.contentType == null) {
181 this.contentType = contentType
182 this.headers += `content-type: ${contentType}\r\n`
186 } else if (util.isBlobLike(body) && this.contentType == null && body.type) {
187 this.contentType = body.type
319 request.contentType === null &&
323 request.contentType = val
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstmpdadaptationsetnode.c46 g_free (self->contentType); in gst_mpd_adaptation_set_node_set_property()
47 self->contentType = g_value_dup_string (value); in gst_mpd_adaptation_set_node_set_property()
65 g_value_set_string (value, self->contentType); in gst_mpd_adaptation_set_node_get_property()
80 if (self->contentType) in gst_mpd_adaptation_set_node_finalize()
81 xmlFree (self->contentType); in gst_mpd_adaptation_set_node_finalize()
127 if (self->contentType) in gst_mpd_adaptation_set_get_xml_node()
129 self->contentType); in gst_mpd_adaptation_set_get_xml_node()
225 self->contentType = NULL; in gst_mpd_adaptation_set_node_init()
Dgstmpdcontentcomponentnode.c36 if (self->contentType) in gst_mpd_content_component_node_finalize()
37 xmlFree (self->contentType); in gst_mpd_content_component_node_finalize()
66 self->contentType); in gst_mpd_content_component_get_xml_node()
101 self->contentType = NULL; in gst_mpd_content_component_node_init()
/third_party/node/lib/internal/
Dblob.js235 slice(start = 0, end = this[kLength], contentType = '') { argument
252 contentType = `${contentType}`;
253 if (RegExpPrototypeExec(disallowedTypeCharacters, contentType) !== null) {
254 contentType = '';
256 contentType = StringPrototypeToLowerCase(contentType);
264 contentType);
Dwasm_web_api.js28 const contentType = response.headers.get('Content-Type');
29 if (contentType !== 'application/wasm') {
31 `has unsupported MIME type '${contentType}'`);
/third_party/node/deps/undici/src/lib/api/
Dutil.js7 async function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessag… property
22 if (statusCode === 204 || !contentType || !chunks) {
28 if (contentType.startsWith('application/json')) {
34 if (contentType.startsWith('text/')) {
Dapi-request.js93 const contentType = parsedHeaders['content-type']
94 const body = new Readable({ resume, abort, contentType, highWaterMark }) property
102 { callback, body, contentType, statusCode, statusMessage, headers } property
/third_party/node/test/parallel/
Dtest-http-header-read.js31 const contentType = 'Content-Type';
33 res.setHeader(contentType, plain);
40 assert.strictEqual(plain, res.getHeader(contentType));
/third_party/openssl/crypto/cms/
Dcms_lib.c123 return cms->contentType; in CMS_get0_type()
131 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create()
167 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
236 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
269 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
312 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
318 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
324 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
328 ->contentType; in cms_get0_econtent_type()
479 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all …]
Dcms_cd.c48 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in ossl_cms_CompressedData_create()
70 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in ossl_cms_CompressedData_init_bio()
Dcms_enc.c221 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init()
240 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
242 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
Dcms_env.c31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type()
48 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped()
57 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped()
73 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init()
75 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init()
76 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init()
93 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init()
95 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init()
96 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_lib.c127 return cms->contentType; in CMS_get0_type()
135 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create()
171 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
240 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
273 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
316 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
322 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
328 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
332 ->contentType; in cms_get0_econtent_type()
483 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all …]
Dcms_cd.c48 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in ossl_cms_CompressedData_create()
70 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in ossl_cms_CompressedData_init_bio()
Dcms_enc.c221 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init()
240 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
242 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
Dcms_env.c31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type()
48 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped()
57 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped()
73 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init()
75 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init()
76 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init()
93 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init()
95 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init()
96 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/
Dresponse.js19 const contentType = extractContentType(body)
20 if (contentType) {
21 headers.append('Content-Type', contentType)
Drequest.js60 const contentType = extractContentType(inputBody) constant
61 if (contentType) {
62 headers.append('Content-Type', contentType)
/third_party/node/deps/undici/src/lib/fetch/
Dbody.js376 const contentType = this.headers.get('Content-Type')
379 if (/multipart\/form-data/.test(contentType)) {
438 } else if (/application\/x-www-form-urlencoded/.test(contentType)) {
589 const contentType = headersList.get('content-type')
591 if (contentType === null) {
595 return parseMIMEType(contentType)
/third_party/skia/tools/
DUrlDataManager.cpp18 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData() argument
27 urlData->fContentType.set(contentType); in addData()
/third_party/node/deps/undici/src/node_modules/busboy/test/
Dtest-types-multipart-stream-pause.js21 function formDataFile(key, filename, contentType) { argument
27 Buffer.from(`Content-Type: ${contentType}\r\n\r\n`),
/third_party/node/lib/internal/source_map/
Dsource_map_cache.js239 const contentType = splitFormat[0];
241 if (contentType === 'application/json') {
252 debug(`unknown content-type ${contentType}`);
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBuilder.h231 AudioStreamBuilder *setContentType(ContentType contentType) { in setContentType() argument
232 mContentType = contentType; in setContentType()
/third_party/jsframework/runtime/main/model/
Ddirective.ts78 contentType: ContentType property
1087 contentType: ContentType.CONTENT_STRING constant
1111 contentType: ContentType.CONTENT_OPEN_QUOTE constant
1119 contentType: ContentType.CONTENT_CLOSE_QUOTE constant
1130 contentType: ContentType.CONTENT_ATTR constant
1139 contentType: ContentType.CONTENT_COUNTER constant
1155 const contentType = finallyItems[i].contentType; constant
1156 switch (contentType) {
/third_party/node/lib/internal/modules/esm/
Dfetch_module.js160 const contentType = headers['content-type'];
161 if (!contentType) {

1234