Home
last modified time | relevance | path

Searched refs:contentType (Results 1 - 25 of 38) sorted by relevance

12

/third_party/node/lib/internal/
H A Dblob.js232 * @param {string} [contentType]
235 slice(start = 0, end = this[kLength], contentType = '') {
252 contentType = `${contentType}`;
253 if (RegExpPrototypeExec(disallowedTypeCharacters, contentType) !== null) {
254 contentType = '';
256 contentType = StringPrototypeToLowerCase(contentType);
264 contentType);
H A 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/test/parallel/
H A Dtest-http-header-read.js31 const contentType = 'Content-Type';
33 res.setHeader(contentType, plain);
40 assert.strictEqual(plain, res.getHeader(contentType));
/third_party/node/deps/undici/src/lib/core/
H A Drequest.js174 this.contentType = null
207 const [bodyStream, contentType] = extractBody(body)
208 if (this.contentType == null) {
209 this.contentType = contentType
210 this.headers += `content-type: ${contentType}\r\n`
214 } else if (util.isBlobLike(body) && this.contentType == null && body.type) {
215 this.contentType = body.type
443 request.contentType === null &&
447 request.contentType
[all...]
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_lib.c124 return cms->contentType; in CMS_get0_type()
132 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create()
168 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
237 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
270 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
313 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
319 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
325 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
329 ->contentType; in cms_get0_econtent_type()
480 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all...]
H A 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()
H A Dcms_enc.c222 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init()
241 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
243 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
H A Dcms_env.c31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type_simple()
65 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped()
74 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped()
90 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init()
92 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init()
93 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init()
110 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init()
112 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init()
113 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
H A Dcms_asn1.c93 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
290 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
325 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
365 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
H A Dcms_local.h55 ASN1_OBJECT *contentType; member
129 ASN1_OBJECT *contentType; member
364 ASN1_OBJECT *contentType; member
H A Dcms_dd.c36 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest); in ossl_cms_DigestedData_create()
/third_party/openssl/crypto/cms/
H A Dcms_lib.c111 return cms->contentType; in CMS_get0_type()
119 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create()
155 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
224 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
257 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
300 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
306 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
312 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
316 ->contentType; in cms_get0_econtent_type()
467 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
[all...]
H A 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()
H A 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()
H A 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()
H A Dcms_asn1.c104 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
301 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
340 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
380 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
H A Dcms_local.h55 ASN1_OBJECT *contentType; member
129 ASN1_OBJECT *contentType; member
364 ASN1_OBJECT *contentType; member
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/
H A Dresponse.js19 const contentType = extractContentType(body)
20 if (contentType) {
21 headers.append('Content-Type', contentType)
/third_party/skia/tools/
H A DUrlDataManager.cpp18 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData() argument
27 urlData->fContentType.set(contentType); in addData()
H A DUrlDataManager.h34 SkString addData(SkData*, const char* contentType);
/third_party/node/lib/internal/source_map/
H A Dsource_map_cache.js238 const contentType = splitFormat[0];
240 if (contentType === 'application/json') {
251 debug(`unknown content-type ${contentType}`);
/third_party/skia/third_party/externals/oboe/include/oboe/
H A DAudioStreamBuilder.h223 * The contentType is ignored for input streams.
229 * @param contentType the type of audio data, eg. ContentType::Speech
231 AudioStreamBuilder *setContentType(ContentType contentType) { in setContentType() argument
232 mContentType = contentType; in setContentType()
/third_party/node/lib/internal/modules/esm/
H A Dfetch_module.js183 const contentType = headers['content-type'];
184 if (!contentType) {
/third_party/node/deps/undici/src/lib/api/
H A Dreadable.js25 contentType = '',
39 this[kContentType] = contentType
/third_party/skia/third_party/externals/oboe/src/common/
H A DUtilities.cpp223 const char *convertToText<ContentType>(ContentType contentType) { in convertToText() argument
225 switch (contentType) { in convertToText()

Completed in 15 milliseconds

12